(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _ssh_keygen
      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)} {(-n)} {(Lit_Other '=')})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [
                    {(-a)}
                    {(-b)}
                    {(-C)}
                    {(-D)}
                    {(-I)}
                    {(-J)}
                    {(-j)}
                    {(-M)}
                    {(-N)}
                    {(-n)}
                    {(-r)}
                    {(-P)}
                    {(-S)}
                    {(-V)}
                    {(-W)}
                    {(-z)}
                  ]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [41 72 78 16777215]
                )
                (case_arm
                  pat_list: [{(-F)} {(-R)}]
                  action: [
                    (C {(_known_hosts_real)} {(DQ ($ VSub_DollarName '$cur'))})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [81 84 101 16777215]
                )
                (case_arm
                  pat_list: [{(-f)} {(-G)} {(-K)} {(-s)} {(-T)}]
                  action: [(C {(_filedir)}) (command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [104 113 122 16777215]
                )
                (case_arm
                  pat_list: [{(-m)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[129])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'PEM PKCS8 RFC4716'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [132 148]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [129]
                        )
                      ]
                      spids: [129]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [125 126 156 16777215]
                )
                (case_arm
                  pat_list: [{(-O)}]
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DBracket
                                  expr: 
                                    (bool_expr.BoolBinary
                                      op_id: BoolBinary_GlobNEqual
                                      left: {($ VSub_DollarName '$cur')}
                                      right: 
                                        {(Lit_Other '*') (BoolBinary_GlobEqual '=') (Lit_Other '*')}
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:COMPREPLY spids:[181])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArrayLiteralPart
                                        words: [
                                          {
                                            (word_part.CommandSubPart
                                              command_list: 
                                                (command.CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {
                                                        (SQ <'clear force-command=\n'> 
                                                          <
'                    no-agent-forwarding no-port-forwarding no-pty no-user-rc\n'
                                                          > <'                    no-x11-forwarding permit-agent-forwarding\n'> 
                                                          <
'                    permit-port-forwarding permit-pty permit-user-rc\n'
                                                          > <'                    permit-x11-forwarding source-address='>
                                                        )
                                                      } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [184 204]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [181]
                                )
                              ]
                              spids: [181]
                            )
                            (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)})
                              ]
                            )
                          ]
                          spids: [16777215 178]
                        )
                      ]
                      spids: [16777215 229]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [159 160 235 16777215]
                )
                (case_arm
                  pat_list: [{(-t)}]
                  action: [
                    (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)} {(-W)} {(SQ <'dsa ecdsa rsa rsa1'>)} {(--)} 
                                              {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [245 261]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [242]
                        )
                      ]
                      spids: [242]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [238 239 269 16777215]
                )
              ]
              spids: [34 38 272]
            )
            (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:[293])
                          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: [296 312]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [293]
                        )
                      ]
                      spids: [293]
                    )
                  ]
                  spids: [16777215 290]
                )
              ]
              spids: [16777215 317]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_ssh_keygen)} {(ssh-keygen)})
  ]
)