(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _7z
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair lhs:(lhs_expr.LhsName name:cur) op:Equal)
                (assign_pair lhs:(lhs_expr.LhsName name:prev) op:Equal)
                (assign_pair lhs:(lhs_expr.LhsName name:words) op:Equal)
                (assign_pair lhs:(lhs_expr.LhsName name:cword) op:Equal)
              ]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-n)} {(Lit_Other '=')})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_eq
                              left: {($ VSub_DollarName '$cword')}
                              right: {(1)}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'a b d e l t u x'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
              ]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:mode) op:Equal)]
            )
            (command.AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (command.DBracket
                  expr: 
                    (bool_expr.BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: 
                        {
                          (word_part.BracedVarSub
                            token: <VSub_Name words>
                            bracket_op: 
                              (bracket_op.ArrayIndex
                                expr: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                              )
                          )
                        }
                      right: {(Lit_Other '[') (adu) (Lit_Other ']')}
                    )
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [(assign_pair lhs:(lhs_expr.LhsName name:mode) op:Equal rhs:{(w)})]
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [(assign_pair lhs:(lhs_expr.LhsName name:mode) op:Equal rhs:{(r)})]
                )
              ]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$cur')}
              arms: [
                (case_arm
                  pat_list: [{(-ao) (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} 
                                              {(-P) 
                                                (word_part.BracedVarSub
                                                  token: <VSub_Name cur>
                                                  suffix_op: 
                                                    (suffix_op.Slice
                                                      begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                                      length: (arith_expr.ArithWord w:{(Lit_Digits 3)})
                                                    )
                                                )
                                              } {(-W)} {(SQ <'a s t u'>)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.Slice
                                                        begin: 
                                                          (arith_expr.ArithWord
                                                            w: {(Lit_Digits 3)}
                                                          )
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [
                    {(-) (word_part.ExtGlobPart op:<ExtGlob_QMark '?('> arms:[{(a)}]) (Lit_Other '[') 
                      (ix) (Lit_Other ']') (Lit_Other '*')
                    }
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [(assign_pair lhs:(lhs_expr.LhsName name:opt) op:Equal)]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_DollarName '$cur')}
                                      right: 
                                        {(BoolUnary_a -a) (Lit_Other '[') (ix) (Lit_Other ']') 
                                          (Lit_Other '*')
                                        }
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:opt)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.BracedVarSub
                                        token: <VSub_Name cur>
                                        suffix_op: 
                                          (suffix_op.Slice
                                            begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                            length: (arith_expr.ArithWord w:{(Lit_Digits 3)})
                                          )
                                      )
                                    }
                                )
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:cur)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.BracedVarSub
                                        token: <VSub_Name cur>
                                        suffix_op: 
                                          (suffix_op.Slice
                                            begin: (arith_expr.ArithWord w:{(Lit_Digits 3)})
                                          )
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                      ]
                      else_action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:opt)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.BracedVarSub
                                    token: <VSub_Name cur>
                                    suffix_op: 
                                      (suffix_op.Slice
                                        begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                        length: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                      )
                                  )
                                }
                            )
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:cur)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.BracedVarSub
                                    token: <VSub_Name cur>
                                    suffix_op: 
                                      (suffix_op.Slice
                                        begin: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                      )
                                  )
                                }
                            )
                          ]
                        )
                      ]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_GlobNEqual
                                      left: {($ VSub_DollarName '$cur')}
                                      right: 
                                        {(Lit_Other '*') (Lit_Other '[') (Lit_Other '@') 
                                          (word_part.EscapedLiteralPart
                                            token: <Lit_EscapedChar '\\!'>
                                          ) (Lit_Other ']') (Lit_Other '*')
                                        }
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-P) ($ VSub_DollarName '$opt')} 
                                                      {(-W)} {(SQ <'@ ! r@ r-@ r0@ r! r-! r0!'>)} {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                            )
                                          }
                                        ]
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_DollarName '$cur')}
                                      right: 
                                        {
                                          (word_part.ExtGlobPart
                                            op: <ExtGlob_QMark '?('>
                                            arms: [
                                              {(r) 
                                                (word_part.ExtGlobPart
                                                  op: <ExtGlob_At '@('>
                                                  arms: [{(-)} {(0)} {}]
                                                )
                                              }
                                            ]
                                          ) (Lit_Other '@') (Lit_Other '*')
                                        }
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_Local
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:x)
                                  op: Equal
                                )
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:tmp)
                                  op: Equal
                                )
                              ]
                            )
                            (command.AndOr
                              ops: [Op_DAmp]
                              children: [
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (lhs_expr.LhsName name:x)
                                      op: Equal
                                      rhs: 
                                        {
                                          (word_part.CommandSubPart
                                            command_list: 
                                              (command.CommandList
                                                children: [
                                                  (C {(compgen)} 
                                                    {(-P) 
                                                      (DQ (${ VSub_Name opt) 
                                                        (word_part.BracedVarSub
                                                          token: <VSub_Name cur>
                                                          suffix_op: 
                                                            (suffix_op.StringUnary
                                                              op_id: VOp1_DPercent
                                                              arg_word: {('@*')}
                                                            )
                                                        ) ('@')
                                                      )
                                                    } {(-f)} {(--)} 
                                                    {
                                                      (DQ 
                                                        (word_part.BracedVarSub
                                                          token: <VSub_Name cur>
                                                          suffix_op: 
                                                            (suffix_op.StringUnary
                                                              op_id: VOp1_Pound
                                                              arg_word: {('*@')}
                                                            )
                                                        )
                                                      )
                                                    }
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                          )
                                        }
                                    )
                                  ]
                                )
                                (command.WhileUntil
                                  keyword: <KW_While while>
                                  cond: [
                                    (command.Sentence
                                      child: (C {(read)} {(-r)} {(tmp)})
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  body: 
                                    (command.DoGroup
                                      children: [
                                        (command.Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (lhs_expr.LhsName name:COMPREPLY)
                                              op: PlusEqual
                                              rhs: 
                                                {
                                                  (word_part.ArrayLiteralPart
                                                    words: [{(DQ ($ VSub_DollarName '$tmp'))}]
                                                  )
                                                }
                                            )
                                          ]
                                        )
                                      ]
                                    )
                                  redirects: [
                                    (redir.Redir
                                      op: <Redir_TLess '<<<'>
                                      fd: 16777215
                                      arg_word: {(DQ ($ VSub_DollarName '$x'))}
                                    )
                                  ]
                                )
                              ]
                            )
                            (C {(compopt)} {(-o)} {(filenames)})
                          ]
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [
                    {(-mhe) (Lit_Other '=') (Lit_Other '*')}
                    {(-mhc) (Lit_Other '=') (Lit_Other '*')}
                    {(-ms) (Lit_Other '=') (Lit_Other '*')}
                    {(-mt) (Lit_Other '=') (Lit_Other '*')}
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'on off'>)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.StringUnary
                                                        op_id: VOp1_Pound
                                                        arg_word: {('*=')}
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-mx) (Lit_Other '=') (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'0 1 3 5 7 9'>)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.StringUnary
                                                        op_id: VOp1_Pound
                                                        arg_word: {('*=')}
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-o) (Lit_Other '*')} {(-w) (Lit_Other '?') (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair lhs:(lhs_expr.LhsName name:x) op:Equal)
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:tmp)
                          op: Equal
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:x)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.CommandSubPart
                                    command_list: 
                                      (command.CommandList
                                        children: [
                                          (C {(compgen)} 
                                            {(-P) 
                                              (word_part.BracedVarSub
                                                token: <VSub_Name cur>
                                                suffix_op: 
                                                  (suffix_op.Slice
                                                    begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                                    length: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                                  )
                                              )
                                            } {(-S/)} {(-d)} {(--)} 
                                            {
                                              (DQ 
                                                (word_part.BracedVarSub
                                                  token: <VSub_Name cur>
                                                  suffix_op: 
                                                    (suffix_op.Slice
                                                      begin: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                                    )
                                                )
                                              )
                                            }
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                  )
                                }
                            )
                          ]
                        )
                        (command.WhileUntil
                          keyword: <KW_While while>
                          cond: [
                            (command.Sentence
                              child: (C {(read)} {(-r)} {(tmp)})
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          body: 
                            (command.DoGroup
                              children: [
                                (command.Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (lhs_expr.LhsName name:COMPREPLY)
                                      op: PlusEqual
                                      rhs: 
                                        {
                                          (word_part.ArrayLiteralPart
                                            words: [{(DQ ($ VSub_DollarName '$tmp'))}]
                                          )
                                        }
                                    )
                                  ]
                                )
                              ]
                            )
                          redirects: [
                            (redir.Redir
                              op: <Redir_TLess '<<<'>
                              fd: 16777215
                              arg_word: {(DQ ($ VSub_DollarName '$x'))}
                            )
                          ]
                        )
                      ]
                    )
                    (C {(compopt)} {(-o)} {(nospace)} {(-o)} {(filenames)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-r) (Lit_Other '?') (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} 
                                              {(-P) 
                                                (word_part.BracedVarSub
                                                  token: <VSub_Name cur>
                                                  suffix_op: 
                                                    (suffix_op.Slice
                                                      begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                                      length: (arith_expr.ArithWord w:{(Lit_Digits 2)})
                                                    )
                                                )
                                              } {(-W)} {(SQ <'- 0'>)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.Slice
                                                        begin: 
                                                          (arith_expr.ArithWord
                                                            w: {(Lit_Digits 2)}
                                                          )
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-scs) (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} 
                                              {(-P) 
                                                (word_part.BracedVarSub
                                                  token: <VSub_Name cur>
                                                  suffix_op: 
                                                    (suffix_op.Slice
                                                      begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                                      length: (arith_expr.ArithWord w:{(Lit_Digits 4)})
                                                    )
                                                )
                                              } {(-W)} {(SQ <'UTF-8 WIN DOS'>)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.Slice
                                                        begin: 
                                                          (arith_expr.ArithWord
                                                            w: {(Lit_Digits 4)}
                                                          )
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-ssc) (Lit_Other '?') (Lit_Other '*')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} 
                                              {(-P) 
                                                (word_part.BracedVarSub
                                                  token: <VSub_Name cur>
                                                  suffix_op: 
                                                    (suffix_op.Slice
                                                      begin: (arith_expr.ArithWord w:{(Lit_Digits 0)})
                                                      length: (arith_expr.ArithWord w:{(Lit_Digits 4)})
                                                    )
                                                )
                                              } {(-W)} {(SQ <->)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.Slice
                                                        begin: 
                                                          (arith_expr.ArithWord
                                                            w: {(Lit_Digits 4)}
                                                          )
                                                      )
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [{(-t) (Lit_Other '*')}]
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_DollarName '$mode')}
                                      right: {(w)}
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} 
                                                      {(-P) 
                                                        (word_part.BracedVarSub
                                                          token: <VSub_Name cur>
                                                          suffix_op: 
                                                            (suffix_op.Slice
                                                              begin: 
                                                                (arith_expr.ArithWord
                                                                  w: {(Lit_Digits 0)}
                                                                )
                                                              length: 
                                                                (arith_expr.ArithWord
                                                                  w: {(Lit_Digits 2)}
                                                                )
                                                            )
                                                        )
                                                      } {(-W)} {(SQ <'7z bzip2 gzip swfc\n'> <'                    tar wim xz zip'>)} {(--)} 
                                                      {
                                                        (DQ 
                                                          (word_part.BracedVarSub
                                                            token: <VSub_Name cur>
                                                            suffix_op: 
                                                              (suffix_op.Slice
                                                                begin: 
                                                                  (arith_expr.ArithWord
                                                                    w: {(Lit_Digits 2)}
                                                                  )
                                                              )
                                                          )
                                                        )
                                                      }
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                            )
                                          }
                                        ]
                                      )
                                    }
                                )
                              ]
                            )
                          ]
                        )
                      ]
                      else_action: [
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} 
                                                  {(-P) 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name cur>
                                                      suffix_op: 
                                                        (suffix_op.Slice
                                                          begin: 
                                                            (arith_expr.ArithWord
                                                              w: {(Lit_Digits 0)}
                                                            )
                                                          length: 
                                                            (arith_expr.ArithWord
                                                              w: {(Lit_Digits 2)}
                                                            )
                                                        )
                                                    )
                                                  } {(-W)} 
                                                  {
                                                    (SQ <'7z apm arj bzip2 cab\n'> 
                                                      <
'                    chm cpio cramfs deb dmg elf fat flv gzip hfs iso lzh lzma\n'
                                                      > <'                    lzma86 macho mbr mslz mub nsis ntfs pe ppmd rar rpm\n'> 
                                                      <
'                    squashfs swf swfc tar udf vhd wim xar xz z zip'
                                                      >
                                                    )
                                                  } {(--)} 
                                                  {
                                                    (DQ 
                                                      (word_part.BracedVarSub
                                                        token: <VSub_Name cur>
                                                        suffix_op: 
                                                          (suffix_op.Slice
                                                            begin: 
                                                              (arith_expr.ArithWord
                                                                w: {(Lit_Digits 2)}
                                                              )
                                                          )
                                                      )
                                                    )
                                                  }
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                        )
                                      }
                                    ]
                                  )
                                }
                            )
                          ]
                        )
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
                (case_arm
                  pat_list: [
                    {(-m) (Lit_Other '*') (Lit_Other '=') (Lit_Other '*')}
                    {(-p) (Lit_Other '*')}
                    {(-u) (Lit_Other '*')}
                    {(-v) (Lit_Other '*')}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$cur')}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ <'-ai -an -ao -ax -bd -i -m{x,s,f,he,hc,mt}=\n'> 
                                                  <
'            -o -p -r -scs -sfx -si -slp -slt -so -ssc -t -u -v -w -x -y'
                                                  >
                                                )
                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                    )
                                  }
                                ]
                              )
                            }
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Op_DPipe]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$COMPREPLY')}
                              right: 
                                {(-) 
                                  (word_part.ExtGlobPart
                                    op: <ExtGlob_At '@('>
                                    arms: [{(an)} {(bd)} {(sfx)} {(si)} {(slt)} {(so)} {(ssc)} {('[rwy]')}]
                                  )
                                }
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                )
              ]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(lhs_expr.LhsName name:args) op:Equal)]
            )
            (C {(_count_args)} {(Lit_Other '=')})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_eq
                              left: {($ VSub_DollarName '$args')}
                              right: {(2)}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(_filedir_xspec)} {(unzip)})
                    (command.AndOr
                      ops: [Op_DAmp Op_DPipe]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$mode')}
                              right: {(w)}
                            )
                        )
                        (C {(_filedir)} {(SQ <'@(7z|bz2|swf|?(g)tar|?(t)[bglx]z|tb?(z)2|wim)'>)})
                        (C {(_filedir)} 
                          {
                            (SQ 
                              <
'@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
                              >
                            )
                          }
                        )
                      ]
                    )
                  ]
                )
              ]
              else_action: [
                (command.If
                  arms: [
                    (if_arm
                      cond: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: 
                                    {
                                      (word_part.BracedVarSub
                                        token: <VSub_Name words>
                                        bracket_op: 
                                          (bracket_op.ArrayIndex
                                            expr: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                          )
                                      )
                                    }
                                  right: {(d)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (command.Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:IFS)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.SingleQuotedPart
                                    left: <Left_DollarSingleQuote "$'">
                                    tokens: [<Char_OneChar '\\n'>]
                                  )
                                }
                            )
                          ]
                        )
                        (command.Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (lhs_expr.LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (word_part.ArrayLiteralPart
                                    words: [
                                      {
                                        (word_part.CommandSubPart
                                          command_list: 
                                            (command.CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {
                                                    (DQ 
                                                      (word_part.CommandSubPart
                                                        command_list: 
                                                          (command.CommandList
                                                            children: [
                                                              (C {(printf)} {(SQ <'%s\\n'>)} 
                                                                {
                                                                  (word_part.CommandSubPart
                                                                    command_list: 
                                                                      (command.CommandList
                                                                        children: [
                                                                          (command.Pipeline
                                                                            children: [
                                                                              (command.SimpleCommand
                                                                                words: [
                                                                                  {
                                                                                    ($ VSub_Number 
'$1'
                                                                                    )
                                                                                  }
                                                                                  {(l)}
                                                                                  {
                                                                                    (word_part.BracedVarSub
                                                                                      token: 
                                                                                        <VSub_Name 
words
                                                                                        >
                                                                                      bracket_op: 
                                                                                        (bracket_op.ArrayIndex
                                                                                          expr: 
                                                                                            (arith_expr.ArithWord
                                                                                              w: 
                                                                                                {
                                                                                                  (
Lit_Digits 2
                                                                                                  )
                                                                                                }
                                                                                            )
                                                                                        )
                                                                                    )
                                                                                  }
                                                                                  {(-slt)}
                                                                                ]
                                                                                redirects: [
                                                                                  (redir.Redir
                                                                                    op: 
                                                                                      <Redir_Great 
'2>'
                                                                                      >
                                                                                    fd: 2
                                                                                    arg_word: 
                                                                                      {(/dev/null)}
                                                                                  )
                                                                                ]
                                                                              )
                                                                              (command.SimpleCommand
                                                                                words: [
                                                                                  {(sed)}
                                                                                  {(-n)}
                                                                                  {
                                                                                    (SQ 
                                                                                      <
'/^Path =/s/^Path = \\(.*\\)$/\\1/p'
                                                                                      >
                                                                                    )
                                                                                  }
                                                                                ]
                                                                                redirects: [
                                                                                  (redir.Redir
                                                                                    op: 
                                                                                      <Redir_Great 
'2>'
                                                                                      >
                                                                                    fd: 2
                                                                                    arg_word: 
                                                                                      {(/dev/null)}
                                                                                  )
                                                                                ]
                                                                              )
                                                                              (C {(tail)} 
                                                                                {(-n) (Lit_Other '+') 
                                                                                  (2)
                                                                                }
                                                                              )
                                                                            ]
                                                                            negated: F
                                                                          )
                                                                        ]
                                                                      )
                                                                    left_token: 
                                                                      <Left_CommandSub '$('>
                                                                  )
                                                                }
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_CommandSub '$('>
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                        )
                                      }
                                    ]
                                  )
                                }
                            )
                          ]
                        )
                        (C {(compopt)} {(-o)} {(filenames)})
                      ]
                    )
                  ]
                  else_action: [(C {(_filedir)})]
                )
              ]
            )
          ]
        )
    )
    (C {(complete)} {(-F)} {(_7z)} {(7z)} {(7za)})
  ]
)