(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _timeout
          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])
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[23])
                    (assign_pair
                      lhs: (LhsName name:found)
                      op: Equal
                      rhs: {(false)}
                      spids: [25]
                    )
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (ForExpr
                  init: 
                    (BinaryAssign
                      op_id: Arith_Equal
                      left: (LhsName name:i)
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                  cond: 
                    (ArithBinary
                      op_id: Arith_LessEqual
                      left: (ArithVarRef name:i)
                      right: (ArithVarRef name:COMP_CWORD)
                    )
                  update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                  body: 
                    (DoGroup
                      children: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (LogicalAnd
                                          left: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobNEqual
                                              left: 
                                                {
                                                  (BracedVarSub
                                                    token: <VSub_Name COMP_WORDS>
                                                    bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                                    spids: [69 74]
                                                  )
                                                }
                                              right: {(-) (Lit_Other '*')}
                                            )
                                          right: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobNEqual
                                              left: 
                                                {
                                                  (BracedVarSub
                                                    token: <VSub_Name COMP_WORDS>
                                                    bracket_op: 
                                                      (ArrayIndex
                                                        expr: 
                                                          (ArithBinary
                                                            op_id: Arith_Minus
                                                            left: (ArithVarRef name:i)
                                                            right: (ArithWord w:{(Lit_Digits 1)})
                                                          )
                                                      )
                                                    spids: [83 90]
                                                  )
                                                }
                                              right: {(BoolBinary_GlobEqual '=')}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: (C {($ VSub_Name '$found')})
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (C {(_command_offset)} {($ VSub_Name '$i')})
                                        (ControlFlow
                                          token: <ControlFlow_Return return>
                                        )
                                      ]
                                      spids: [16777215 107]
                                    )
                                  ]
                                  spids: [16777215 119]
                                )
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:found)
                                      op: Equal
                                      rhs: {(true)}
                                      spids: [122]
                                    )
                                  ]
                                  spids: [122]
                                )
                              ]
                              spids: [16777215 99]
                            )
                          ]
                          spids: [16777215 126]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: 
                                    {
                                      (BracedVarSub
                                        token: <VSub_Name COMP_WORDS>
                                        bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                        spids: [131 136]
                                      )
                                    }
                                  right: {(-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[141 149])}
                                )
                            )
                            (DParen
                              child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                            )
                          ]
                          op_id: Op_DAmp
                        )
                      ]
                      spids: [62 162]
                    )
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(--help)} {(--version)} {(-k)} {(--kill-after)}]
                      action: [(ControlFlow token:<ControlFlow_Return return>)]
                      spids: [173 180 186 16777215]
                    )
                    (case_arm
                      pat_list: [{(-s)} {(--signal)}]
                      action: [(C {(_signals)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [189 192 201 16777215]
                    )
                  ]
                  spids: [166 170 204]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DAmp
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ 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" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [236 252]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [233]
                            )
                          ]
                          spids: [233]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$COMPREPLY')}
                                  right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                                )
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                          ]
                          op_id: Op_DAmp
                        )
                      ]
                      spids: [16777215 230]
                    )
                  ]
                  spids: [16777215 277]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_timeout)} {(timeout)})
      ]
      op_id: Op_DAmp
    )
  ]
)