(AndOr
  ops: [Op_DAmp]
  children: [
    (FuncDef
      name: _slapt_src
      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:words) op:Equal spids:[17])
                (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19])
                (assign_pair lhs:(LhsName name:split) op:Equal spids:[21])
              ]
              spids: [11]
            )
            (AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)} {(-n)} {(Lit_Other ':')})
                (ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (Case
              to_match: {(DQ ($ VSub_Name '$prev'))}
              arms: [
                (case_arm
                  pat_list: [{(--config)} {(-c)}]
                  action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)]
                  spids: [47 50 59 16777215]
                )
                (case_arm
                  pat_list: [{(--search)} {(-s)} {(--postprocess)} {(-p)}]
                  action: [(ControlFlow token:<ControlFlow_Return return>)]
                  spids: [62 69 79 16777215]
                )
              ]
              spids: [38 44 82]
            )
            (AndOr
              ops: [Op_DAmp]
              children: [(C {($ VSub_Name '$split')}) (ControlFlow token:<ControlFlow_Return return>)]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_Name '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (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 <'$( _parse_help "$1" --help )'>)} 
                                              {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [116 132]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [113]
                        )
                      ]
                      spids: [113]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: (WordTest w:{($ VSub_Name '$COMPREPLY')})
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                    )
                  ]
                  spids: [16777215 110]
                )
              ]
              spids: [16777215 168]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair lhs:(LhsName name:i) op:Equal spids:[174])
                (assign_pair lhs:(LhsName name:t) op:Equal spids:[176])
              ]
              spids: [172]
            )
            (ForExpr
              init: 
                (BinaryAssign
                  op_id: Arith_Equal
                  left: (LhsName name:i)
                  right: 
                    (ArithBinary
                      op_id: Arith_Minus
                      left: 
                        (ArithWord
                          w: 
                            {
                              (BracedVarSub
                                token: <VSub_Name words>
                                prefix_op: VSub_Pound
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [189 195]
                              )
                            }
                        )
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                )
              cond: 
                (ArithBinary
                  op_id: Arith_Great
                  left: (ArithVarRef name:i)
                  right: (ArithWord w:{(Lit_Digits 0)})
                )
              update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i))
              body: 
                (DoGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name words>
                                            bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                            spids: [219 224]
                                          )
                                        }
                                      right: {(-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[229 239])}
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:t)
                                  op: Equal
                                  rhs: {(DQ (all))}
                                  spids: [247]
                                )
                              ]
                              spids: [247]
                            )
                            (ControlFlow token:<ControlFlow_Break break>)
                          ]
                          spids: [16777215 244]
                        )
                      ]
                      spids: [16777215 256]
                    )
                  ]
                  spids: [212 259]
                )
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobNEqual
                              left: {($ VSub_Name '$t')}
                              right: {(all)}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(ControlFlow token:<ControlFlow_Return return>)]
                  spids: [16777215 275]
                )
              ]
              spids: [16777215 281]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:config)
                  op: Equal
                  rhs: {(DQ (/etc/slapt-get/slapt-srcrc))}
                  spids: [287]
                )
              ]
              spids: [285]
            )
            (ForExpr
              init: 
                (BinaryAssign
                  op_id: Arith_Equal
                  left: (LhsName name:i)
                  right: 
                    (ArithBinary
                      op_id: Arith_Minus
                      left: 
                        (ArithWord
                          w: 
                            {
                              (BracedVarSub
                                token: <VSub_Name words>
                                prefix_op: VSub_Pound
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [306 312]
                              )
                            }
                        )
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                )
              cond: 
                (ArithBinary
                  op_id: Arith_Great
                  left: (ArithVarRef name:i)
                  right: (ArithWord w:{(Lit_Digits 0)})
                )
              update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i))
              body: 
                (DoGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name words>
                                            bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                            spids: [336 341]
                                          )
                                        }
                                      right: {(-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[346 350])}
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:config)
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name words>
                                          bracket_op: 
                                            (ArrayIndex
                                              expr: 
                                                (ArithBinary
                                                  op_id: Arith_Plus
                                                  left: (ArithVarRef name:i)
                                                  right: (ArithWord w:{(Lit_Digits 1)})
                                                )
                                            )
                                          spids: [360 367]
                                        )
                                      )
                                    }
                                  spids: [358]
                                )
                              ]
                              spids: [358]
                            )
                            (C {(__expand_tilde_by_ref)} {(config)})
                            (ControlFlow token:<ControlFlow_Break break>)
                          ]
                          spids: [16777215 355]
                        )
                      ]
                      spids: [16777215 379]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name words>
                                            bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                            spids: [386 391]
                                          )
                                        }
                                      right: 
                                        {(--config) (BoolBinary_GlobEqual '=') (Lit_Other '?') 
                                          (Lit_Other '*')
                                        }
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:config)
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name words>
                                          bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                          suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{('*=')})
                                          spids: [408 415]
                                        )
                                      )
                                    }
                                  spids: [406]
                                )
                              ]
                              spids: [406]
                            )
                            (ControlFlow token:<ControlFlow_Break break>)
                          ]
                          spids: [16777215 403]
                        )
                      ]
                      spids: [16777215 422]
                    )
                  ]
                  spids: [329 425]
                )
            )
            (AndOr
              ops: [Op_DPipe]
              children: [
                (DBracket
                  expr: (BoolUnary op_id:BoolUnary_r child:{(DQ ($ VSub_Name '$config'))})
                )
                (ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_Name '$cur'))}
                              right: {(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:name)
                          op: Equal
                          rhs: 
                            {
                              (BracedVarSub
                                token: <VSub_Name cur>
                                suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(':*')})
                                spids: [467 471]
                              )
                            }
                          spids: [466]
                        )
                      ]
                      spids: [464]
                    )
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:version)
                          op: Equal
                          rhs: 
                            {
                              (BracedVarSub
                                token: <VSub_Name cur>
                                suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*:')})
                                spids: [477 481]
                              )
                            }
                          spids: [476]
                        )
                      ]
                      spids: [474]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (Pipeline
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(DQ ($ VSub_Number '$1'))}
                                                    {(--config)}
                                                    {(DQ ($ VSub_Name '$config'))}
                                                    {(--search)}
                                                    {(DQ ('^') ($ VSub_Name '$name'))}
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op: <Redir_Great '2>'>
                                                      fd: 2
                                                      arg_word: {(/dev/null)}
                                                    )
                                                  ]
                                                  more_env: [
                                                    (env_pair
                                                      name: LC_ALL
                                                      val: {(C)}
                                                      spids: [489]
                                                    )
                                                  ]
                                                )
                                                (SimpleCommand
                                                  words: [
                                                    {(sed)}
                                                    {(-ne)}
                                                    {
                                                      (DQ ('/^') ($ VSub_Name '$cur') ('/{s/^') 
                                                        ($ VSub_Name '$name') (':') (Lit_Other '\\') ('([^ ]*') (Lit_Other '\\') (') .*') (Lit_Other '$') (/) (Lit_Other '\\') ('1/;p}')
                                                      )
                                                    }
                                                  ]
                                                  more_env: [
                                                    (env_pair
                                                      name: LC_ALL
                                                      val: {(C)}
                                                      spids: [517]
                                                    )
                                                  ]
                                                )
                                              ]
                                              negated: F
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [487 542]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [484]
                        )
                      ]
                      spids: [484]
                    )
                  ]
                  spids: [16777215 461]
                )
              ]
              else_action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (Pipeline
                                          children: [
                                            (SimpleCommand
                                              words: [
                                                {(DQ ($ VSub_Number '$1'))}
                                                {(--config)}
                                                {(DQ ($ VSub_Name '$config'))}
                                                {(--search)}
                                                {(DQ ('^') ($ VSub_Name '$cur'))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op: <Redir_Great '2>'>
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                )
                                              ]
                                              more_env: [(env_pair name:LC_ALL val:{(C)} spids:[555])]
                                            )
                                            (SimpleCommand
                                              words: [
                                                {(sed)}
                                                {(-ne)}
                                                {
                                                  (DQ ('/^') ($ VSub_Name '$cur') ('/{s/ .*') 
                                                    (Lit_Other '$') ('//;p}')
                                                  )
                                                }
                                              ]
                                              more_env: [(env_pair name:LC_ALL val:{(C)} spids:[583])]
                                            )
                                          ]
                                          negated: F
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [553 598]
                                )
                              }
                            ]
                          )
                        }
                      spids: [550]
                    )
                  ]
                  spids: [550]
                )
              ]
              spids: [547 603]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_slapt_src)} {(slapt-src)})
  ]
)