(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _repomanage
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[20])
                  op: Equal
                  spids: [20]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[22])
                  op: Equal
                  spids: [22]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[24])
                  op: Equal
                  spids: [24]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[26])
                  op: Equal
                  spids: [26]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:split spids:[28])
                  op: Equal
                  spids: [28]
                )
              ]
              spids: [18]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (command.DBracket
                  expr: 
                    (bool_expr.BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: {(DQ ($ VSub_DollarName '$prev'))}
                      right: 
                        {(-) 
                          (word_part.ExtGlobPart
                            op: <ExtGlob_At '@('>
                            arms: [{('[hk]')} {(-help)} {(-keep)}]
                            spids: [50 56]
                          )
                        }
                    )
                )
                (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {($ VSub_DollarName '$split')})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_DollarName '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[96])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [99 115]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [96]
                        )
                      ]
                      spids: [96]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                  ]
                  spids: [16777215 93]
                )
              ]
              else_action: [(C {(_filedir)} {(-d)})]
              spids: [140 148]
            )
          ]
          spids: [15]
        )
      spids: [11 14]
    )
    (C {(complete)} {(-F)} {(_repomanage)} {(repomanage)})
  ]
)