(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _postsuper
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[13])
                  op: Equal
                  spids: [13]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[15])
                  op: Equal
                  spids: [15]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[17])
                  op: Equal
                  spids: [17]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[19])
                  op: Equal
                  spids: [19]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:pval spids:[32])
                  op: Equal
                  spids: [32]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:len spids:[34])
                  op: Equal
                  spids: [34]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:idx spids:[36])
                  op: Equal
                  spids: [36]
                )
              ]
              spids: [30]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(-c)}]
                  action: [
                    (C {(_filedir)} {(-d)})
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [47 48 61 16777215]
                )
                (case_arm
                  pat_list: [{(-) (Lit_Other '[') (dr) (Lit_Other ']')}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:len spids:[71])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name cur>
                                prefix_op: VSub_Pound
                                spids: [72 75]
                              )
                            }
                          spids: [71]
                        )
                      ]
                      spids: [71]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:idx spids:[78])
                          op: Equal
                          rhs: {(0)}
                          spids: [78]
                        )
                      ]
                      spids: [78]
                    )
                    (command.ForEach
                      iter_name: pval
                      iter_words: [
                        {(ALL)}
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (command.SimpleCommand
                                        words: [{(mailq)}]
                                        redirects: [
                                          (redir.Redir
                                            op: <Redir_Great '2>'>
                                            fd: 2
                                            arg_word: {(/dev/null)}
                                          )
                                        ]
                                      )
                                      (C {(sed)} {(-e)} 
                                        {(SQ <'1d; $d; /^[^0-9A-Z]/d; /^$/d; s/[* !].*$//'>)}
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [90 109]
                          )
                        }
                      ]
                      do_arg_iter: F
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_DollarName '$cur'))}
                                              right: 
                                                {
                                                  (DQ 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name pval>
                                                      suffix_op: 
                                                        (suffix_op.Slice
                                                          begin: 
                                                            (arith_expr.ArithWord
                                                              w: {(Lit_Digits 0)}
                                                            )
                                                          length: 
                                                            (arith_expr.ArithWord
                                                              w: {($ VSub_DollarName '$len')}
                                                            )
                                                        )
                                                      spids: [126 132]
                                                    )
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: 
                                            (lhs_expr.LhsIndexedName
                                              name: COMPREPLY
                                              index: 
                                                (arith_expr.ArithWord
                                                  w: {($ VSub_DollarName '$idx')}
                                                )
                                              spids: [141]
                                            )
                                          op: Equal
                                          rhs: {($ VSub_DollarName '$pval')}
                                          spids: [141]
                                        )
                                      ]
                                      spids: [141]
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:idx spids:[147])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArithSubPart
                                                anode: 
                                                  (arith_expr.ArithBinary
                                                    op_id: Arith_Plus
                                                    left: 
                                                      (arith_expr.ArithWord
                                                        w: {($ VSub_DollarName '$idx')}
                                                      )
                                                    right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                                  )
                                                spids: [148 153]
                                              )
                                            }
                                          spids: [147]
                                        )
                                      ]
                                      spids: [147]
                                    )
                                  ]
                                  spids: [16777215 138]
                                )
                              ]
                              spids: [16777215 156]
                            )
                          ]
                          spids: [112 159]
                        )
                      spids: [87 110]
                    )
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [64 68 167 16777215]
                )
                (case_arm
                  pat_list: [{(-h)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:len spids:[174])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name cur>
                                prefix_op: VSub_Pound
                                spids: [175 178]
                              )
                            }
                          spids: [174]
                        )
                      ]
                      spids: [174]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:idx spids:[181])
                          op: Equal
                          rhs: {(0)}
                          spids: [181]
                        )
                      ]
                      spids: [181]
                    )
                    (command.ForEach
                      iter_name: pval
                      iter_words: [
                        {(ALL)}
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (command.SimpleCommand
                                        words: [{(mailq)}]
                                        redirects: [
                                          (redir.Redir
                                            op: <Redir_Great '2>'>
                                            fd: 2
                                            arg_word: {(/dev/null)}
                                          )
                                        ]
                                      )
                                      (C {(sed)} {(-e)} 
                                        {(SQ <'1d; $d; /^[^0-9A-Z]/d; /^$/d; s/[* ].*$//; /!$/d'>)}
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [193 212]
                          )
                        }
                      ]
                      do_arg_iter: F
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_DollarName '$cur'))}
                                              right: 
                                                {
                                                  (DQ 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name pval>
                                                      suffix_op: 
                                                        (suffix_op.Slice
                                                          begin: 
                                                            (arith_expr.ArithWord
                                                              w: {(Lit_Digits 0)}
                                                            )
                                                          length: 
                                                            (arith_expr.ArithWord
                                                              w: {($ VSub_DollarName '$len')}
                                                            )
                                                        )
                                                      spids: [229 235]
                                                    )
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: 
                                            (lhs_expr.LhsIndexedName
                                              name: COMPREPLY
                                              index: 
                                                (arith_expr.ArithWord
                                                  w: {($ VSub_DollarName '$idx')}
                                                )
                                              spids: [244]
                                            )
                                          op: Equal
                                          rhs: {($ VSub_DollarName '$pval')}
                                          spids: [244]
                                        )
                                      ]
                                      spids: [244]
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:idx spids:[250])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArithSubPart
                                                anode: 
                                                  (arith_expr.ArithBinary
                                                    op_id: Arith_Plus
                                                    left: 
                                                      (arith_expr.ArithWord
                                                        w: {($ VSub_DollarName '$idx')}
                                                      )
                                                    right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                                  )
                                                spids: [251 256]
                                              )
                                            }
                                          spids: [250]
                                        )
                                      ]
                                      spids: [250]
                                    )
                                  ]
                                  spids: [16777215 241]
                                )
                              ]
                              spids: [16777215 259]
                            )
                          ]
                          spids: [215 262]
                        )
                      spids: [190 213]
                    )
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [170 171 270 16777215]
                )
                (case_arm
                  pat_list: [{(-H)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:len spids:[277])
                          op: Equal
                          rhs: 
                            {
                              (word_part.BracedVarSub
                                token: <VSub_Name cur>
                                prefix_op: VSub_Pound
                                spids: [278 281]
                              )
                            }
                          spids: [277]
                        )
                      ]
                      spids: [277]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:idx spids:[284])
                          op: Equal
                          rhs: {(0)}
                          spids: [284]
                        )
                      ]
                      spids: [284]
                    )
                    (command.ForEach
                      iter_name: pval
                      iter_words: [
                        {(ALL)}
                        {
                          (word_part.CommandSubPart
                            command_list: 
                              (command.CommandList
                                children: [
                                  (command.Pipeline
                                    children: [
                                      (command.SimpleCommand
                                        words: [{(mailq)}]
                                        redirects: [
                                          (redir.Redir
                                            op: <Redir_Great '2>'>
                                            fd: 2
                                            arg_word: {(/dev/null)}
                                          )
                                        ]
                                      )
                                      (C {(sed)} {(-e)} 
                                        {
                                          (SQ 
                                            <
'1d; $d; /^[^0-9A-Z]/d; /^$/d; /^[0-9A-Z]*[* ]/d; s/!.*$//'
                                            >
                                          )
                                        }
                                      )
                                    ]
                                    negated: F
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [296 315]
                          )
                        }
                      ]
                      do_arg_iter: F
                      body: 
                        (command.DoGroup
                          children: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_DollarName '$cur'))}
                                              right: 
                                                {
                                                  (DQ 
                                                    (word_part.BracedVarSub
                                                      token: <VSub_Name pval>
                                                      suffix_op: 
                                                        (suffix_op.Slice
                                                          begin: 
                                                            (arith_expr.ArithWord
                                                              w: {(Lit_Digits 0)}
                                                            )
                                                          length: 
                                                            (arith_expr.ArithWord
                                                              w: {($ VSub_DollarName '$len')}
                                                            )
                                                        )
                                                      spids: [332 338]
                                                    )
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: 
                                            (lhs_expr.LhsIndexedName
                                              name: COMPREPLY
                                              index: 
                                                (arith_expr.ArithWord
                                                  w: {($ VSub_DollarName '$idx')}
                                                )
                                              spids: [347]
                                            )
                                          op: Equal
                                          rhs: {($ VSub_DollarName '$pval')}
                                          spids: [347]
                                        )
                                      ]
                                      spids: [347]
                                    )
                                    (command.Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (lhs_expr.LhsName name:idx spids:[353])
                                          op: Equal
                                          rhs: 
                                            {
                                              (word_part.ArithSubPart
                                                anode: 
                                                  (arith_expr.ArithBinary
                                                    op_id: Arith_Plus
                                                    left: 
                                                      (arith_expr.ArithWord
                                                        w: {($ VSub_DollarName '$idx')}
                                                      )
                                                    right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                                  )
                                                spids: [354 359]
                                              )
                                            }
                                          spids: [353]
                                        )
                                      ]
                                      spids: [353]
                                    )
                                  ]
                                  spids: [16777215 344]
                                )
                              ]
                              spids: [16777215 362]
                            )
                          ]
                          spids: [318 365]
                        )
                      spids: [293 316]
                    )
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [273 274 373 16777215]
                )
              ]
              spids: [40 44 376]
            )
            (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 spids:[397])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [400 416]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [397]
                        )
                      ]
                      spids: [397]
                    )
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [16777215 394]
                )
              ]
              spids: [16777215 426]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[430])
                  op: Equal
                  rhs: 
                    {
                      (word_part.ArrayLiteralPart
                        words: [
                          {
                            (word_part.CommandSubPart
                              command_list: 
                                (command.CommandList
                                  children: [
                                    (C {(compgen)} {(-W)} {(SQ <'hold incoming active deferred'>)} {(--)} 
                                      {(DQ ($ VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [433 449]
                            )
                          }
                        ]
                      )
                    }
                  spids: [430]
                )
              ]
              spids: [430]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_postsuper)} {(postsuper)})
  ]
)