(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _useradd
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[17])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[21])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-c)}
                        {(--comment)}
                        {(-h)}
                        {(--help)}
                        {(-e)}
                        {(--expiredate)}
                        {(-f)}
                        {(--inactive)}
                        {(-K)}
                        {(--key)}
                        {(-p)}
                        {(--password)}
                        {(-u)}
                        {(--uid)}
                        {(-Z)}
                        {(--selinux-user)}
                      ]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [50 83 91 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-b)}
                        {(--base-dir)}
                        {(-d)}
                        {(--home-dir)}
                        {(-k)}
                        {(--skel)}
                        {(-R)}
                        {(--root)}
                      ]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [94 109 122 16777215]
                    )
                    (case_arm
                      pat_list: [{(-g)} {(--gid)}]
                      action: [
                        (C {(_gids)})
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} 
                                                  {(SQ <'${COMPREPLY[@]} $( compgen -g )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [137 155]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [134]
                            )
                          ]
                          spids: [134]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [125 128 165 16777215]
                    )
                    (case_arm
                      pat_list: [{(-G)} {(--groups)}]
                      action: [
                        (Sentence
                          child: 
                            (Assignment
                              keyword: Assign_Local
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:prefix)
                                  op: Equal
                                  rhs: {(SQ )}
                                  spids: [176]
                                )
                              ]
                              spids: [174]
                            )
                          terminator: <Op_Semi ';'>
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$cur')}
                                  right: {(Lit_Other '*') (Lit_Comma ',') (Lit_Other '*')}
                                )
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:prefix)
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name cur>
                                          suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(',*')})
                                          spids: [195 199]
                                        ) (',')
                                      )
                                    }
                                  spids: [193]
                                )
                              ]
                              spids: [193]
                            )
                          ]
                          op_id: Op_DAmp
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-P)} {(DQ ($ VSub_Name '$prefix'))} 
                                                  {(-g)} {(--)} 
                                                  {
                                                    (DQ 
                                                      (BracedVarSub
                                                        token: <VSub_Name cur>
                                                        suffix_op: 
                                                          (StringUnary
                                                            op_id: VOp1_DPound
                                                            arg_word: {('*,')}
                                                          )
                                                        spids: [222 226]
                                                      )
                                                    )
                                                  }
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [207 229]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [204]
                            )
                          ]
                          spids: [204]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [168 171 239 16777215]
                    )
                    (case_arm
                      pat_list: [{(-s)} {(--shell)}]
                      action: [
                        (C {(_shells)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [242 245 256 16777215]
                    )
                  ]
                  spids: [43 47 259]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  op_id: Op_DAmp
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {(DQ ($ VSub_Name '$cur'))}
                                  right: {(-) (Lit_Other '*')}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [295 311]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [292]
                            )
                          ]
                          spids: [292]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [16777215 289]
                    )
                  ]
                  spids: [16777215 321]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_useradd)} {(useradd)})
      ]
      op_id: Op_DAmp
    )
  ]
)