(command.CommandList
  children: [
    (command.ShFunction
      name: _dictdata
      body: 
        (BraceGroup
          children: [
            (command.Pipeline
              children: [
                (command.Simple
                  words: [
                    {<dict>}
                    {($ Id.VSub_DollarName '$host')}
                    {($ Id.VSub_DollarName '$port')}
                    {($ Id.VSub_Number '$1')}
                  ]
                  redirects: [
                    (redir
                      op: <Id.Redir_Great '2>'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<'/dev/null'>}
                    )
                  ]
                  do_fork: T
                )
                (C {<sed>} {<-ne>} 
                  {(SQ <'s/^['>) 
                    (single_quoted
                      left: <Id.Left_DollarSingleQuote '$\''>
                      tokens: [<Id.Char_OneChar '\\t'> <Id.Char_Literals ' '>]
                      multiline: F
                    ) (SQ <']\\{1,\\}\\([^ '>) 
                    (single_quoted
                      left: <Id.Left_DollarSingleQuote '$\''>
                      tokens: [<Id.Char_OneChar '\\t'>]
                      multiline: F
                    ) (SQ <']*\\).*$/\\1/p'>)
                  }
                )
              ]
              negated: F
            )
          ]
        )
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.ShFunction
          name: _dict
          body: 
            (BraceGroup
              children: [
                (C {<local>} {<cur>} {<prev>} {<words>} {<cword>})
                (command.AndOr
                  ops: [Id.Op_DPipe]
                  children: [
                    (C {<_init_completion>})
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                )
                (C {<local>} {<host>} {<port>} {<db>} {<i>})
                (command.ForExpr
                  init: 
                    (arith_expr.BinaryAssign
                      op_id: Id.Arith_Equal
                      left: <Id.Lit_ArithVarLike i>
                      right: {<Id.Lit_Digits 1>}
                    )
                  cond: 
                    (arith_expr.Binary
                      op_id: Id.Arith_Less
                      left: <Id.Lit_ArithVarLike i>
                      right: <Id.Lit_ArithVarLike cword>
                    )
                  update: 
                    (arith_expr.UnaryAssign
                      op_id: Id.Node_PostDPlus
                      child: <Id.Lit_ArithVarLike i>
                    )
                  body: 
                    (command.DoGroup
                      children: [
                        (command.Case
                          to_match: 
                            {
                              (braced_var_sub
                                token: <Id.VSub_Name words>
                                bracket_op: (bracket_op.ArrayIndex expr:<Id.Lit_ArithVarLike i>)
                              )
                            }
                          arms: [
                            (case_arm
                              pat_list: [{<-h>} {<--host>}]
                              action: [
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:host)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (braced_var_sub
                                            token: <Id.VSub_Name words>
                                            bracket_op: 
                                              (bracket_op.ArrayIndex
                                                expr: 
                                                  (arith_expr.Binary
                                                    op_id: Id.Arith_Plus
                                                    left: <Id.Lit_ArithVarLike i>
                                                    right: {<Id.Lit_Digits 1>}
                                                  )
                                              )
                                          )
                                        }
                                      spids: [132]
                                    )
                                  ]
                                )
                                (command.AndOr
                                  ops: [Id.Op_DAmp]
                                  children: [
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.Unary
                                          op_id: Id.BoolUnary_n
                                          child: {($ Id.VSub_DollarName '$host')}
                                        )
                                    )
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:host)
                                          op: assign_op.Equal
                                          rhs: {(DQ <'-h '> ($ Id.VSub_DollarName '$host'))}
                                          spids: [153]
                                        )
                                      ]
                                    )
                                  ]
                                )
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:i)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (word_part.ArithSub
                                            anode: 
                                              (arith_expr.UnaryAssign
                                                op_id: Id.Arith_DPlus
                                                child: <Id.Lit_ArithVarLike i>
                                              )
                                          )
                                        }
                                      spids: [160]
                                    )
                                  ]
                                )
                              ]
                              spids: [126 129 168 -1]
                            )
                            (case_arm
                              pat_list: [{<-p>} {<--port>}]
                              action: [
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:port)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (braced_var_sub
                                            token: <Id.VSub_Name words>
                                            bracket_op: 
                                              (bracket_op.ArrayIndex
                                                expr: 
                                                  (arith_expr.Binary
                                                    op_id: Id.Arith_Plus
                                                    left: <Id.Lit_ArithVarLike i>
                                                    right: {<Id.Lit_Digits 1>}
                                                  )
                                              )
                                          )
                                        }
                                      spids: [177]
                                    )
                                  ]
                                )
                                (command.AndOr
                                  ops: [Id.Op_DAmp]
                                  children: [
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.Unary
                                          op_id: Id.BoolUnary_n
                                          child: {($ Id.VSub_DollarName '$port')}
                                        )
                                    )
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:port)
                                          op: assign_op.Equal
                                          rhs: {(DQ <'-p '> ($ Id.VSub_DollarName '$port'))}
                                          spids: [198]
                                        )
                                      ]
                                    )
                                  ]
                                )
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:i)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (word_part.ArithSub
                                            anode: 
                                              (arith_expr.UnaryAssign
                                                op_id: Id.Arith_DPlus
                                                child: <Id.Lit_ArithVarLike i>
                                              )
                                          )
                                        }
                                      spids: [205]
                                    )
                                  ]
                                )
                              ]
                              spids: [171 174 213 -1]
                            )
                            (case_arm
                              pat_list: [{<-d>} {<--database>}]
                              action: [
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:db)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (braced_var_sub
                                            token: <Id.VSub_Name words>
                                            bracket_op: 
                                              (bracket_op.ArrayIndex
                                                expr: 
                                                  (arith_expr.Binary
                                                    op_id: Id.Arith_Plus
                                                    left: <Id.Lit_ArithVarLike i>
                                                    right: {<Id.Lit_Digits 1>}
                                                  )
                                              )
                                          )
                                        }
                                      spids: [222]
                                    )
                                  ]
                                )
                                (command.AndOr
                                  ops: [Id.Op_DAmp]
                                  children: [
                                    (command.DBracket
                                      expr: 
                                        (bool_expr.Unary
                                          op_id: Id.BoolUnary_n
                                          child: {($ Id.VSub_DollarName '$db')}
                                        )
                                    )
                                    (command.ShAssignment
                                      pairs: [
                                        (assign_pair
                                          lhs: (sh_lhs_expr.Name name:host)
                                          op: assign_op.Equal
                                          rhs: {(DQ <'-d '> ($ Id.VSub_DollarName '$db'))}
                                          spids: [243]
                                        )
                                      ]
                                    )
                                  ]
                                )
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:i)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (word_part.ArithSub
                                            anode: 
                                              (arith_expr.UnaryAssign
                                                op_id: Id.Arith_DPlus
                                                child: <Id.Lit_ArithVarLike i>
                                              )
                                          )
                                        }
                                      spids: [250]
                                    )
                                  ]
                                )
                              ]
                              spids: [216 219 258 -1]
                            )
                            (case_arm
                              pat_list: [{<Id.Lit_Star '*'>}]
                              spids: [261 262 265 -1]
                            )
                          ]
                        )
                      ]
                    )
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Binary
                                      op_id: Id.BoolBinary_GlobDEqual
                                      left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                                      right: {<-> <Id.Lit_Other '*'>}
                                    )
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:COMPREPLY)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (sh_array_literal
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (command_sub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (C {<compgen>} {<-W>} {(SQ <'$( _parse_help "$1" )'>)} {<-->} 
                                              {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [294]
                            )
                          ]
                        )
                        (command.ControlFlow
                          token: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [275 291]
                    )
                  ]
                )
                (command.Case
                  to_match: {($ Id.VSub_DollarName '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{<-d>} {<--database>} {<-i>} {<-info>}]
                      action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:COMPREPLY)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (sh_array_literal
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (command_sub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (C {<compgen>} {<-W>} {(SQ <'$( _dictdata -D )'>)} {<-->} 
                                              {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [344]
                            )
                          ]
                        )
                        (command.ControlFlow
                          token: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [334 341 373 -1]
                    )
                    (case_arm
                      pat_list: [{<-s>} {<--strategy>}]
                      action: [
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:COMPREPLY)
                              op: assign_op.Equal
                              rhs: 
                                {
                                  (sh_array_literal
                                    left: <Id.Op_LParen _>
                                    words: [
                                      {
                                        (command_sub
                                          left_token: <Id.Left_DollarParen '$('>
                                          child: 
                                            (C {<compgen>} {<-W>} {(SQ <'$( _dictdata -S )'>)} {<-->} 
                                              {(DQ ($ Id.VSub_DollarName '$cur'))}
                                            )
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [382]
                            )
                          ]
                        )
                        (command.ControlFlow
                          token: <Id.ControlFlow_Return return>
                          arg_word: {<0>}
                        )
                      ]
                      spids: [376 379 411 -1]
                    )
                    (case_arm
                      pat_list: [{<Id.Lit_Star '*'>}]
                      spids: [414 415 418 -1]
                    )
                  ]
                )
                (C {<local>} {<Id.Lit_VarLike 'dictfile='> <'/usr/share/dict/words'>})
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.Unary
                                      op_id: Id.BoolUnary_r
                                      child: {($ Id.VSub_DollarName '$dictfile')}
                                    )
                                )
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [
                        (command.If
                          arms: [
                            (if_arm
                              cond: 
                                (condition.Shell
                                  commands: [
                                    (command.Sentence
                                      child: 
                                        (command.DBracket
                                          expr: 
                                            (bool_expr.Binary
                                              op_id: Id.BoolBinary_GlobDEqual
                                              left: {($ Id.VSub_DollarName '$cur')}
                                              right: 
                                                {
                                                  (word_part.ExtGlob
                                                    op: <Id.ExtGlob_Plus '+('>
                                                    arms: [{<'[-A-Za-z0-9/.]'>}]
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Id.Op_Semi _>
                                    )
                                  ]
                                )
                              action: [
                                (command.ShAssignment
                                  pairs: [
                                    (assign_pair
                                      lhs: (sh_lhs_expr.Name name:COMPREPLY)
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (sh_array_literal
                                            left: <Id.Op_LParen _>
                                            words: [
                                              {
                                                (command_sub
                                                  left_token: <Id.Left_DollarParen '$('>
                                                  child: 
                                                    (C {<compgen>} {<-W>} 
                                                      {
                                                        (SQ 
                                                          <
'$( command grep "^${cur//./\\\\.}" $dictfile )'
                                                          >
                                                        )
                                                      } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                                    )
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [475]
                                    )
                                  ]
                                )
                              ]
                              spids: [457 472]
                            )
                          ]
                          else_action: [
                            (command.ShAssignment
                              pairs: [
                                (assign_pair
                                  lhs: (sh_lhs_expr.Name name:COMPREPLY)
                                  op: assign_op.Equal
                                  rhs: 
                                    {
                                      (sh_array_literal
                                        left: <Id.Op_LParen _>
                                        words: [
                                          {
                                            (command_sub
                                              left_token: <Id.Left_DollarParen '$('>
                                              child: 
                                                (C {<compgen>} {<-W>} {(SQ <'$( cat $dictfile )'>)} 
                                                  {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                                )
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [504]
                                )
                              ]
                            )
                          ]
                        )
                      ]
                      spids: [431 442]
                    )
                  ]
                )
              ]
            )
        )
        (C {<complete>} {<-F>} {<_dict>} {<-o>} {<default>} {<dict>} {<rdict>})
      ]
    )
  ]
)