(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _uscan
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[17])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(--package)}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(_xfunc)} {(apt-cache)} {(_apt_cache_src_packages)})
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [44 52]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [41]
                            )
                          ]
                          spids: [41]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [37 38 61 16777215]
                    )
                    (case_arm
                      pat_list: [{(--watchfile)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [64 65 76 16777215]
                    )
                    (case_arm
                      pat_list: [{(--destdir)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [79 80 93 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(--timeout)}
                        {(--upstream-version)}
                        {(--download-version)}
                        {(--check-dirname-level)}
                        {(--check-dirname-regex)}
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: {(ArrayLiteralPart)}
                              spids: [108]
                            )
                          ]
                          spids: [108]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [96 105 119 16777215]
                    )
                  ]
                  spids: [30 34 122]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  op_id: Op_DAmp
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (C {(compgen)} {(-W)} 
                                          {
                                            (SQ <' --report --no-download --report-status\n'> 
                                              <
'    --download --destdir --force-download --pasv --no-pasv --symlink --rename\n'
                                              > <'    --repack --no-symlink --dehs --no-dehs --download-current-version --verbose\n'> 
                                              <
'    --no-verbose --debug --user-agent --useragent --no-conf --help\n'
                                              > <'    --version --timeout --package --upstream-version --watchfile\n'> 
                                              <
'    --download-version --check-dirname-level --check-dirname-regex\n'
                                              > <'    '>
                                            )
                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [139 161]
                                )
                              }
                            ]
                          )
                        }
                      spids: [136]
                    )
                  ]
                  spids: [136]
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_uscan)} {(uscan)})
      ]
      op_id: Op_DAmp
    )
  ]
)