(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _luseradd
      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]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:split spids:[21])
                  op: Equal
                  spids: [21]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [
                    {(-) (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\?'>)}
                    {(--help)}
                    {(--usage)}
                    {(-c)}
                    {(--gecos)}
                    {(-u)}
                    {(--uid)}
                    {(-l)}
                    {(--login)}
                    {(-P)}
                    {(--plainpassword)}
                    {(-p)}
                    {(--password)}
                    {(--commonname)}
                    {(--givenname)}
                    {(--surname)}
                    {(--roomnumber)}
                    {(--telephonenumber)}
                    {(--homephone)}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [41 83 89 16777215]
                )
                (case_arm
                  pat_list: [{(-d)} {(--directory)} {(-k)} {(--skeleton)}]
                  action: [
                    (C {(_filedir)} {(-d)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [92 99 110 16777215]
                )
                (case_arm
                  pat_list: [{(-s)} {(--shell)}]
                  action: [(C {(_shells)}) (command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [113 116 125 16777215]
                )
                (case_arm
                  pat_list: [{(-g)} {(--gid)}]
                  action: [(C {(_gids)}) (command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [128 131 140 16777215]
                )
              ]
              spids: [34 38 143]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {($ VSub_DollarName '$split')})
                (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: {(DQ ($ 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:[174])
                          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: [177 193]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [174]
                        )
                      ]
                      spids: [174]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [16777215 171]
                )
              ]
              spids: [16777215 221]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (command.DBracket
                  expr: 
                    (bool_expr.BoolBinary
                      op_id: BoolBinary_GlobDEqual
                      left: 
                        {
                          (word_part.BracedVarSub
                            token: <VSub_Number 1>
                            suffix_op: 
                              (suffix_op.StringUnary
                                op_id: VOp1_DPound
                                arg_word: {('*') (Lit_Slash /)}
                              )
                            spids: [227 232]
                          )
                        }
                      right: {(luseradd)}
                    )
                )
                (command.Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:COMPREPLY spids:[242])
                      op: Equal
                      rhs: 
                        {
                          (word_part.ArrayLiteralPart
                            words: [
                              {
                                (word_part.CommandSubPart
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (C {(compgen)} {(-u)} {(--)} {(DQ ($ VSub_DollarName '$cur'))})
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [245 257]
                                )
                              }
                            ]
                          )
                        }
                      spids: [242]
                    )
                  ]
                  spids: [242]
                )
              ]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_luseradd)} {(luseradd)} {(lusermod)})
  ]
)