(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _bzip2
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(cur)} {(prev)} {(words)} {(cword)})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(_init_completion)})
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Return val:return span_id:26)
                )
              ]
            )
            (command.Case
              to_match: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(-b)} {(-h)} {(--help)} {(-p)}]
                  action: [
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:47)
                      arg_word: {(0)}
                    )
                  ]
                  spids: [37 44 52 -1]
                )
                (case_arm
                  pat_list: [{(-n)}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:60)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:62)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (DQ ('{1..') 
                                                  (command_sub
                                                    left_token: 
                                                      (Token
                                                        id: Id.Left_DollarParen
                                                        val: '$('
                                                        span_id: 70
                                                      )
                                                    command_list: 
                                                      (command.CommandList
                                                        children: [(C {(_ncpus)})]
                                                      )
                                                  ) ('}')
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [59]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:87)
                      arg_word: {(0)}
                    )
                  ]
                  spids: [55 56 92 -1]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                              right: {(-) (Id.Lit_Other '*')}
                            )
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:113)
                    )
                  ]
                  action: [
                    (C {(local)} 
                      {(Id.Lit_VarLike 'helpopts=') 
                        (command_sub
                          left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:121)
                          command_list: 
                            (command.CommandList
                              children: [(C {(_parse_help)} {(DQ ($ Id.VSub_Number '$1'))})]
                            )
                        )
                      }
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: (Token id:Id.Op_LParen val:'(' span_id:133)
                                words: [
                                  {
                                    (command_sub
                                      left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:135)
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (DQ 
                                                  (braced_var_sub
                                                    token: 
                                                      (Token
                                                        id: Id.VSub_Name
                                                        val: helpopts
                                                        span_id: 143
                                                      )
                                                    suffix_op: 
                                                      (suffix_op.PatSub
                                                        pat: {(Id.Lit_Pound '#')}
                                                        replace: (word.Empty)
                                                        replace_mode: Id.Lit_Slash
                                                      )
                                                  ) (' -2 -3 -4 -5 -6 -7 -8 -9')
                                                )
                                              } {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [132]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Return val:return span_id:165)
                      arg_word: {(0)}
                    )
                  ]
                  spids: [99 115]
                )
              ]
            )
            (C {(local)} 
              {(Id.Lit_VarLike 'IFS=') 
                (single_quoted
                  left: (Token id:Id.Left_SingleQuoteC val:"$'" span_id:177)
                  tokens: [(Token id:Id.Char_OneChar val:'\\n' span_id:178)]
                )
              } {(Id.Lit_VarLike 'xspec=') (DQ ('*.bz2'))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: {(--) (Id.Lit_Other '*')}
                            )
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:202)
                    )
                  ]
                  action: [
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: 
                                {(--) 
                                  (word_part.ExtGlob
                                    op: (Token id:Id.ExtGlob_At val:'@(' span_id:216)
                                    arms: [{(decompress)} {(list)} {(test)}]
                                  )
                                }
                            )
                        )
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:xspec)
                              op: assign_op.Equal
                              rhs: {(DQ ('!')) ($ Id.VSub_DollarName '$xspec')}
                              spids: [228]
                            )
                          ]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: {(--compress)}
                            )
                        )
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:xspec)
                              op: assign_op.Equal
                              rhs: (word.Empty)
                              spids: [249]
                            )
                          ]
                        )
                      ]
                    )
                  ]
                  spids: [188 204]
                )
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: {(-) (Id.Lit_Other '*')}
                            )
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:266)
                    )
                  ]
                  action: [
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: 
                                {(-) (Id.Lit_Other '*') (Id.Lit_Other '[') (dt) (Id.Lit_Other ']') 
                                  (Id.Lit_Other '*')
                                }
                            )
                        )
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:xspec)
                              op: assign_op.Equal
                              rhs: {(DQ ('!')) ($ Id.VSub_DollarName '$xspec')}
                              spids: [290]
                            )
                          ]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName '$prev'))}
                              right: {(-) (Id.Lit_Other '*') (z) (Id.Lit_Other '*')}
                            )
                        )
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:xspec)
                              op: assign_op.Equal
                              rhs: (word.Empty)
                              spids: [314]
                            )
                          ]
                        )
                      ]
                    )
                  ]
                  spids: [252 268]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {(_expand)})
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Return val:return span_id:325)
                  arg_word: {(0)}
                )
              ]
            )
            (C {(compopt)} {(-o)} {(filenames)})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:COMPREPLY)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (sh_array_literal
                        left: (Token id:Id.Op_LParen val:'(' span_id:339)
                        words: [
                          {
                            (command_sub
                              left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:341)
                              command_list: 
                                (command.CommandList
                                  children: [
                                    (C {(compgen)} {(-f)} {(-X)} {(DQ ($ Id.VSub_DollarName '$xspec'))} 
                                      {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                            )
                          }
                          {
                            (command_sub
                              left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:363)
                              command_list: 
                                (command.CommandList
                                  children: [
                                    (C {(compgen)} {(-d)} {(--)} {(DQ ($ Id.VSub_DollarName '$cur'))})
                                  ]
                                )
                            )
                          }
                        ]
                      )
                    }
                  spids: [338]
                )
              ]
            )
          ]
        )
    )
    (C {(complete)} {(-F)} {(_bzip2)} {(bzip2)} {(pbzip2)} {(lbzip2)})
  ]
)