(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _reportbug
      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>)
              ]
            )
            (command.Case
              to_match: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{<-f>} {<--filename>} {<-i>} {<--include>} {<--mta>} {<-o>} {<--output>}]
                  action: [
                    (C {<_filedir>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [37 50 61 -1]
                )
                (case_arm
                  pat_list: [{<-B>} {<--bts>}]
                  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>} {(DQ <'debian guug kde mandrake help'>)} 
                                          {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [70]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [64 67 101 -1]
                )
                (case_arm
                  pat_list: [{<-e>} {<--editor>} {<--mua>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:words)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {<Id.Lit_ArrayLhsOpen 'words['> <0> <Id.Lit_RBracket ']'>}
                                  {(DQ ($ Id.VSub_DollarName '$cur'))}
                                ]
                              )
                            }
                          spids: [112]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:cword)
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [126]
                        )
                      ]
                    )
                    (C {<_command>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [104 109 138 -1]
                )
                (case_arm
                  pat_list: [{<--mode>}]
                  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>} {(DQ <'novice standard expert'>)} {<-->} 
                                          {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [145]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [141 142 174 -1]
                )
                (case_arm
                  pat_list: [{<-S>} {<--severity>}]
                  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>} 
                                          {
                                            (DQ <'grave serious important normal minor\n'> 
                                              <'                wishlist'>
                                            )
                                          } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [183]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [177 180 213 -1]
                )
                (case_arm
                  pat_list: [{<-u>} {<--ui>} {<--interface>}]
                  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>} {(DQ <'newt text gnome'>)} {<-->} 
                                          {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [224]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [216 221 253 -1]
                )
                (case_arm
                  pat_list: [{<-t>} {<--type>}]
                  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>} {(DQ <'gnats debbugs'>)} {<-->} 
                                          {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [262]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [256 259 291 -1]
                )
                (case_arm
                  pat_list: [{<-T>} {<--tag>}]
                  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>} 
                                          {
                                            (DQ <'none woody potato sarge sarge-ignore\n'> 
                                              <
'                etch etch-ignore lenny lenny-ignore sid experimental confirmed\n'
                                              > <'                d-i fixed fixed-in-experimental fixed-upstream help l10n\n'> 
                                              <
'                moreinfo patch pending security unreproducible upstream wontfix\n'
                                              > <'                ipv6 lfs'>
                                            )
                                          } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [300]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [294 297 333 -1]
                )
                (case_arm
                  pat_list: [{<--from-buildd>}]
                  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>} {<-S>} {(DQ <_>)} {<-W>} 
                                          {
                                            (SQ <'$( apt-cache dumpavail | \\\n'> 
                                              <
'                command grep "^Source: $cur" | sort -u | cut -f2 -d" " )'
                                              >
                                            )
                                          }
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [340]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [336 337 369 -1]
                )
                (case_arm pat_list:[{<Id.Lit_Star '*'>}] spids:[372 373 376 -1])
              ]
            )
            (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 <'--help --version --attach --no-query-bts\n'> 
                                      <
'        --query-bts --bts --body --body-file --bodyfile --no-config-files\n'
                                      > <'        --class --configure --check-available --debug --no-check-available\n'> 
                                      <
'        --debconf --test --draftpath --editor --email --exit-prompt --filename\n'
                                      > <'        --from-buildd --gnupg --gpg --path --gnus --header --include\n'> 
                                      <
'        --no-check-installed --check-installed --justification --kudos --keyid\n'
                                      > <'        --license --list-cc --maintonly --mirror --mode --mua --mta --mutt --mh\n'> 
                                      <
'        --nmh --bugnumber --no-bug-script --no-cc-menu --output --offline\n'
                                      > <'        --print --paranoid --no-paranoid --pgp --proxy --http_proxy\n'> 
                                      <
'        --pseudo-header --quiet --query-only --query-source --no-query-source\n'
                                      > <'        --realname --report-quiet --reply-to --replyto --subject --severity\n'> 
                                      <
'        --smtphost --timeout --tls --smtpuser --smtppasswd --src --source\n'
                                      > <'        --type --tag --template --verify --no-verify --no-cc --package-version\n'> 
                                      <'        --no-compress --ui --interface\n'> <'        wnpp boot-floppies kernel bugs.debian.org cdimage.debian.org general\n'> 
                                      <
'        installation-reports listarchives lists.debian.org mirrors\n'
                                      > <'        nm.debian.org press project qa.debian.org release-notes\n'> 
                                      <
'        security.debian.org tech-ctte upgrade-reports www.debian.org'
                                      >
                                    )
                                  } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                )
                            )
                          }
                          {
                            (command_sub
                              left_token: <Id.Left_DollarParen '$('>
                              child: 
                                (command.Simple
                                  words: [
                                    {<apt-cache>}
                                    {<pkgnames>}
                                    {<-->}
                                    {(DQ ($ Id.VSub_DollarName '$cur'))}
                                  ]
                                  redirects: [
                                    (redir
                                      op: <Id.Redir_Great '2>'>
                                      loc: (redir_loc.Fd fd:2)
                                      arg: {<'/dev/null'>}
                                    )
                                  ]
                                  do_fork: T
                                )
                            )
                          }
                        ]
                      )
                    }
                  spids: [383]
                )
              ]
            )
            (C {<_filedir>})
            (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})
          ]
        )
    )
    (C {<complete>} {<-F>} {<_reportbug>} {<reportbug>})
  ]
)