(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _ionice
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[20])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[22])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[24])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[26])
                  ]
                  spids: [18]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (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: [39]
                    )
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[42])
                  ]
                  spids: [37]
                )
                (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: [73 78]
                              )
                            }
                          arms: [
                            (case_arm
                              pat_list: [{(-h)}]
                              action: [(ControlFlow token:<ControlFlow_Return return>)]
                              spids: [83 84 90 16777215]
                            )
                            (case_arm
                              pat_list: [{(-p)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:offset)
                                      op: Equal
                                      rhs: {(0)}
                                      spids: [97]
                                    )
                                  ]
                                  spids: [97]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Break break>
                                )
                              ]
                              spids: [93 94 104 16777215]
                            )
                            (case_arm
                              pat_list: [{(-c)} {(-n)}]
                              action: [
                                (DParen
                                  child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                                )
                                (ControlFlow
                                  token: <ControlFlow_Continue continue>
                                )
                              ]
                              spids: [107 110 125 16777215]
                            )
                            (case_arm
                              pat_list: [{(-) (Lit_Other '*')}]
                              action: [(ControlFlow token:<ControlFlow_Continue continue>)]
                              spids: [128 130 136 16777215]
                            )
                          ]
                          spids: [71 80 139]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:offset)
                              op: Equal
                              rhs: {($ VSub_Name '$i')}
                              spids: [142]
                            )
                          ]
                          spids: [142]
                        )
                        (ControlFlow token:<ControlFlow_Break break>)
                      ]
                      spids: [68 149]
                    )
                )
                (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 166]
                    )
                  ]
                  spids: [16777215 177]
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(-c)}]
                      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 <'{0..3}'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [195 211]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [192]
                            )
                          ]
                          spids: [192]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [188 189 219 16777215]
                    )
                    (case_arm
                      pat_list: [{(-n)}]
                      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 <'{0..7}'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [229 245]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [226]
                            )
                          ]
                          spids: [226]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [222 223 253 16777215]
                    )
                    (case_arm
                      pat_list: [{(-p)}]
                      action: [(C {(_pids)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [256 257 266 16777215]
                    )
                  ]
                  spids: [181 185 269]
                )
                (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" -h )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [293 309]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [290]
                            )
                          ]
                          spids: [290]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [16777215 287]
                    )
                  ]
                  spids: [16777215 317]
                )
              ]
              spids: [15]
            )
          spids: [11 14]
        )
        (C {(complete)} {(-F)} {(_ionice)} {(ionice)})
      ]
      op_id: Op_DAmp
    )
  ]
)