(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _htpasswd
          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])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[32])
                    (assign_pair
                      lhs: (LhsName name:o)
                      op: Equal
                      rhs: {(0)}
                      spids: [34]
                    )
                  ]
                  spids: [30]
                )
                (ForExpr
                  init: 
                    (BinaryAssign
                      op_id: Arith_Equal
                      left: (LhsName name:i)
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                  cond: 
                    (ArithBinary
                      op_id: Arith_LessEqual
                      left: (ArithVarRef name:i)
                      right: (ArithVarRef name:cword)
                    )
                  update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                  body: 
                    (DoGroup
                      children: [
                        (Case
                          to_match: 
                            {
                              (BracedVarSub
                                token: <VSub_Name words>
                                bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                spids: [69 74]
                              )
                            }
                          arms: [
                            (case_arm
                              pat_list: [{(-) (Lit_Other '*') (n) (Lit_Other '*')}]
                              action: [(ControlFlow token:<ControlFlow_Return return>)]
                              spids: [79 83 87 16777215]
                            )
                            (case_arm
                              pat_list: [{(-) (Lit_Other '*')}]
                              spids: [90 92 94 16777215]
                            )
                            (case_arm
                              pat_list: [{(Lit_Other '*')}]
                              action: [
                                (Sentence
                                  child: 
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:o)
                                          op: Equal
                                          rhs: {($ VSub_Name '$i')}
                                          spids: [100]
                                        )
                                      ]
                                      spids: [100]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                                (ControlFlow
                                  token: <ControlFlow_Break break>
                                )
                              ]
                              spids: [97 98 107 16777215]
                            )
                          ]
                          spids: [67 76 110]
                        )
                      ]
                      spids: [64 113]
                    )
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (LogicalOr
                                  left: 
                                    (BoolBinary
                                      op_id: BoolBinary_eq
                                      left: {($ VSub_Name '$o')}
                                      right: {(0)}
                                    )
                                  right: 
                                    (BoolBinary
                                      op_id: BoolBinary_eq
                                      left: {($ VSub_Name '$o')}
                                      right: {($ VSub_Name '$cword')}
                                    )
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (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: [163 179]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [160]
                                    )
                                  ]
                                  spids: [160]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                )
                              ]
                              spids: [16777215 157]
                            )
                          ]
                          spids: [16777215 187]
                        )
                        (C {(_filedir)})
                      ]
                      spids: [16777215 138]
                    )
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_eq
                                  left: {($ VSub_Name '$o')}
                                  right: {($ VSub_Name '$cword') (-1)}
                                )
                            )
                          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 
                                                      <
'$( cut -d: -f1 "${words[o]}" 2>/dev/null )'
                                                      >
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [222 240]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [219]
                            )
                          ]
                          spids: [219]
                        )
                      ]
                      spids: [198 212]
                    )
                  ]
                  spids: [16777215 245]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_htpasswd)} {(htpasswd)})
      ]
      op_id: Op_DAmp
    )
  ]
)