(CommandList
  children: [
    (AndOr
      children: [
        (DBracket
          expr: 
            (BoolBinary
              op_id: BoolBinary_GlobDEqual
              left: {($ VSub_Name '$OSTYPE')}
              right: {(Lit_Other '*') (linux) (Lit_Other '*')}
            )
        )
        (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
      ]
      op_id: Op_DPipe
    )
    (AndOr
      children: [
        (FuncDef
          name: _watch
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[32])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[34])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[36])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[38])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[40])
                  ]
                  spids: [30]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:offset)
                      op: Equal
                      rhs: {(0)}
                      spids: [55]
                    )
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[58])
                  ]
                  spids: [53]
                )
                (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:cword)
                    )
                  update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                  body: 
                    (DoGroup
                      children: [
                        (Case
                          to_match: 
                            {
                              (BracedVarSub
                                token: <VSub_Name words>
                                bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                spids: [89 94]
                              )
                            }
                          arms: [
                            (case_arm
                              pat_list: [{(-h)} {(--help)} {(--version)}]
                              action: [(ControlFlow token:<ControlFlow_Return return>)]
                              spids: [99 104 110 16777215]
                            )
                            (case_arm
                              pat_list: [{(-n)} {(--interval)}]
                              action: [
                                (DParen
                                  child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                                )
                                (ControlFlow
                                  token: <ControlFlow_Continue continue>
                                )
                              ]
                              spids: [113 116 131 16777215]
                            )
                            (case_arm
                              pat_list: [{(-) (Lit_Other '*')}]
                              action: [(ControlFlow token:<ControlFlow_Continue continue>)]
                              spids: [134 136 142 16777215]
                            )
                          ]
                          spids: [87 96 145]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:offset)
                              op: Equal
                              rhs: {($ VSub_Name '$i')}
                              spids: [148]
                            )
                          ]
                          spids: [148]
                        )
                        (ControlFlow token:<ControlFlow_Break break>)
                      ]
                      spids: [84 155]
                    )
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_gt
                                  left: {($ VSub_Name '$offset')}
                                  right: {(0)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (C {(_command_offset)} {($ VSub_Name '$offset')})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [16777215 172]
                    )
                  ]
                  spids: [16777215 183]
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-d)} {(--differences)}]
                      action: [
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobNEqual
                                  left: {($ VSub_Name '$cur')}
                                  right: {(-) (Lit_Other '*')}
                                )
                            )
                            (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 <cumulative>)} {(--)} 
                                                      {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [218 234]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [215]
                                )
                              ]
                              spids: [215]
                            )
                          ]
                          op_id: Op_DAmp
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [194 197 242 16777215]
                    )
                    (case_arm
                      pat_list: [{(-n)} {(--interval)}]
                      action: [(ControlFlow token:<ControlFlow_Return return>)]
                      spids: [245 248 254 16777215]
                    )
                  ]
                  spids: [187 191 257]
                )
                (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: [289 305]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [286]
                            )
                          ]
                          spids: [286]
                        )
                        (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
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [16777215 283]
                    )
                  ]
                  spids: [16777215 333]
                )
              ]
              spids: [27]
            )
          spids: [23 26]
        )
        (C {(complete)} {(-F)} {(_watch)} {(watch)})
      ]
      op_id: Op_DAmp
    )
  ]
)