(CommandList
  children: [
    (FuncDef
      name: _rpm_installed_packages
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (LogicalAnd
                              left: (BoolUnary op_id:BoolUnary_r child:{(/var/log/rpmpkgs)})
                              right: 
                                (BoolBinary
                                  op_id: BoolBinary_nt
                                  left: {(/var/log/rpmpkgs)}
                                  right: {(/var/lib/rpm/Packages)}
                                )
                            )
                        )
                      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)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (C {(sed)} {(-ne)} 
                                                            {
                                                              (SQ 
                                                                <
's|^\\([^[:space:]]\\{1,\\}\\)-[^[:space:]-]\\{1,\\}-[^[:space:]-]\\{1,\\}\\.rpm$|\\1|p'
                                                                >
                                                              )
                                                            } {(/var/log/rpmpkgs)}
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [53 69]
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [46 78]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [43]
                        )
                      ]
                      spids: [43]
                    )
                  ]
                  spids: [16777215 36]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(type)} {(rpmqpack)})
                      terminator: <Op_Amp '&'>
                    )
                    (Sentence
                      child: 
                        (SimpleCommand
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [90]
                            )
                          ]
                        )
                      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 <'$( rpmqpack )'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [105 121]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [102]
                        )
                      ]
                      spids: [102]
                    )
                  ]
                  spids: [83 95]
                )
              ]
              else_action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (SimpleCommand
                                          words: [
                                            {
                                              (BracedVarSub
                                                token: <VSub_Number 1>
                                                suffix_op: 
                                                  (StringUnary
                                                    op_id: VTest_ColonHyphen
                                                    arg_word: {(rpm)}
                                                  )
                                                spids: [134 138]
                                              )
                                            }
                                            {(-qa)}
                                            {(--nodigest)}
                                            {(--nosignature)}
                                            {(--queryformat) (Lit_Other '=') (SQ <'%{NAME} '>)}
                                            {(DQ ($ VSub_Name '$cur') ('*'))}
                                          ]
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [159]
                                            )
                                          ]
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [132 162]
                                )
                              }
                            ]
                          )
                        }
                      spids: [129]
                    )
                  ]
                  spids: [129]
                )
              ]
              spids: [126 167]
            )
          ]
          spids: [12]
        )
      spids: [8 11]
    )
    (FuncDef
      name: _rpm_groups
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:IFS)
                  op: Equal
                  rhs: {(SQ <Lit_EscapedChar '\\n'>)}
                  spids: [181]
                )
              ]
              spids: [179]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:COMPREPLY)
                  op: Equal
                  rhs: 
                    {
                      (ArrayLiteralPart
                        words: [
                          {
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (C {(compgen)} {(-W)} 
                                      {
                                        (DQ 
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (SimpleCommand
                                                    words: [
                                                      {
                                                        (BracedVarSub
                                                          token: <VSub_Number 1>
                                                          suffix_op: 
                                                            (StringUnary
                                                              op_id: VTest_ColonHyphen
                                                              arg_word: {(rpm)}
                                                            )
                                                          spids: [199 203]
                                                        )
                                                      }
                                                      {(-qa)}
                                                      {(--nodigest)}
                                                      {(--nosignature)}
                                                      {(--queryformat) (Lit_Other '=') 
                                                        (SQ <'%{GROUP}\\n'>)
                                                      }
                                                    ]
                                                    redirects: [
                                                      (Redir
                                                        op_id: Redir_Great
                                                        fd: 2
                                                        arg_word: {(/dev/null)}
                                                        spids: [219]
                                                      )
                                                    ]
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [197 222]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [190 231]
                            )
                          }
                        ]
                      )
                    }
                  spids: [187]
                )
              ]
              spids: [187]
            )
          ]
          spids: [176]
        )
      spids: [172 175]
    )
    (FuncDef
      name: _rpm_macros
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:COMPREPLY)
                  op: Equal
                  rhs: 
                    {
                      (ArrayLiteralPart
                        words: [
                          {
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (C {(compgen)} {(-W)} 
                                      {
                                        (DQ 
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C 
                                                        {
                                                          (BracedVarSub
                                                            token: <VSub_Number 1>
                                                            suffix_op: 
                                                              (StringUnary
                                                                op_id: VTest_ColonHyphen
                                                                arg_word: {(rpm)}
                                                              )
                                                            spids: [261 265]
                                                          )
                                                        } {(--showrc)}
                                                      )
                                                      (C {(sed)} {(-ne)} 
                                                        {
                                                          (SQ 
                                                            <
's/^-\\{0,1\\}[0-9]\\{1,\\}[:=][[:space:]]\\{1,\\}\\([^[:space:](]\\{3,\\}\\).*/%\\1/p'
                                                            >
                                                          )
                                                        }
                                                      )
                                                    ]
                                                    negated: False
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [259 281]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [252 292]
                            )
                          }
                        ]
                      )
                    }
                  spids: [249]
                )
              ]
              spids: [249]
            )
          ]
          spids: [242]
        )
      spids: [238 241]
    )
    (FuncDef
      name: _rpm_buildarchs
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:COMPREPLY)
                  op: Equal
                  rhs: 
                    {
                      (ArrayLiteralPart
                        words: [
                          {
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (C {(compgen)} {(-W)} 
                                      {
                                        (DQ 
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (C 
                                                        {
                                                          (BracedVarSub
                                                            token: <VSub_Number 1>
                                                            suffix_op: 
                                                              (StringUnary
                                                                op_id: VTest_ColonHyphen
                                                                arg_word: {(rpm)}
                                                              )
                                                            spids: [318 322]
                                                          )
                                                        } {(--showrc)}
                                                      )
                                                      (C {(sed)} {(-ne)} 
                                                        {
                                                          (SQ 
                                                            <
's/^\\s*compatible\\s\\s*build\\s\\s*archs\\s*:\\s*\\(.*\\)/\\1/ p'
                                                            >
                                                          )
                                                        }
                                                      )
                                                    ]
                                                    negated: False
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [316 338]
                                          )
                                        )
                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [309 349]
                            )
                          }
                        ]
                      )
                    }
                  spids: [306]
                )
              ]
              spids: [306]
            )
          ]
          spids: [303]
        )
      spids: [299 302]
    )
    (AndOr
      children: [
        (FuncDef
          name: _rpm
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[371])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[373])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[375])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[377])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[379])
                  ]
                  spids: [369]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_eq
                                  left: {($ VSub_Name '$cword')}
                                  right: {(1)}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Case
                          to_match: {($ VSub_Name '$cur')}
                          arms: [
                            (case_arm
                              pat_list: [{(--) (Lit_Other '*')}]
                              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 <'--help --version --initdb\n'> 
                                                              <
'                    --checksig --addsign --delsign --rebuilddb --showrc\n'
                                                              > <'                    --setperms --setugids --eval --install --upgrade --query\n'> 
                                                              <
'                    --freshen --erase --verify --querytags --import'
                                                              >
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [427 448]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [424]
                                    )
                                  ]
                                  spids: [424]
                                )
                              ]
                              spids: [419 421 453 16777215]
                            )
                            (case_arm
                              pat_list: [{(Lit_Other '*')}]
                              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 <'-e -E -F -i -q -t -U -V'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [463 481]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [460]
                                    )
                                  ]
                                  spids: [460]
                                )
                              ]
                              spids: [456 457 486 16777215]
                            )
                          ]
                          spids: [412 416 489]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [16777215 405]
                    )
                  ]
                  spids: [16777215 497]
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(--dbpath)}
                        {(--excludepath)}
                        {(--prefix)}
                        {(--relocate)}
                        {(--root)}
                        {(-r)}
                      ]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [508 519 532 16777215]
                    )
                    (case_arm
                      pat_list: [{(--eval)} {(-E)}]
                      action: [
                        (C {(_rpm_macros)} {($ VSub_Number '$1')})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [535 538 551 16777215]
                    )
                    (case_arm
                      pat_list: [{(--pipe)}]
                      action: [
                        (C {(compopt)} {(-o)} {(filenames)})
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-c)} {(--)} {(DQ ($ VSub_Name '$cur'))})
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [568 580]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [565]
                            )
                          ]
                          spids: [565]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [554 555 590 16777215]
                    )
                    (case_arm
                      pat_list: [{(--rcfile)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [593 594 605 16777215]
                    )
                    (case_arm
                      pat_list: [{(--specfile)}]
                      action: [
                        (C {(_filedir)} {(spec)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [608 609 626 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(--whatenchances)}
                        {(--whatprovides)}
                        {(--whatrecommends)}
                        {(--whatrequires)}
                        {(--whatsuggests)}
                        {(--whatsupplements)}
                      ]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {(DQ ($ VSub_Name '$cur'))}
                                          right: {(Lit_Other '*') (/) (Lit_Other '*')}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [(C {(_filedir)})]
                              spids: [16777215 662]
                            )
                          ]
                          else_action: [
                            (Assignment
                              keyword: Assign_Local
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:IFS)
                                  op: Equal
                                  rhs: {(SQ <Lit_EscapedChar '\\n'>)}
                                  spids: [677]
                                )
                                (assign_pair
                                  lhs: (LhsName name:fmt)
                                  op: Equal
                                  spids: [682]
                                )
                              ]
                              spids: [675]
                            )
                            (Case
                              to_match: {($ VSub_Name '$prev')}
                              arms: [
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (enhances)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(ENHANCENAME)}
                                          spids: [696]
                                        )
                                      ]
                                      spids: [696]
                                    )
                                  ]
                                  spids: [692 694 699 16777215]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (provides)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(PROVIDENAME)}
                                          spids: [706]
                                        )
                                      ]
                                      spids: [706]
                                    )
                                  ]
                                  spids: [702 704 709 16777215]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (recommends)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(RECOMMENDNAME)}
                                          spids: [716]
                                        )
                                      ]
                                      spids: [716]
                                    )
                                  ]
                                  spids: [712 714 719 16777215]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (requires)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(REQUIRENAME)}
                                          spids: [726]
                                        )
                                      ]
                                      spids: [726]
                                    )
                                  ]
                                  spids: [722 724 729 16777215]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (suggests)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(SUGGESTNAME)}
                                          spids: [736]
                                        )
                                      ]
                                      spids: [736]
                                    )
                                  ]
                                  spids: [732 734 739 16777215]
                                )
                                (case_arm
                                  pat_list: [{(Lit_Other '*') (supplements)}]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:fmt)
                                          op: Equal
                                          rhs: {(SUPPLEMENTNAME)}
                                          spids: [746]
                                        )
                                      ]
                                      spids: [746]
                                    )
                                  ]
                                  spids: [742 744 749 16777215]
                                )
                              ]
                              spids: [685 689 752]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [
                                                    (C {(compgen)} {(-W)} 
                                                      {
                                                        (DQ 
                                                          (CommandSubPart
                                                            command_list: 
                                                              (CommandList
                                                                children: [
                                                                  (Pipeline
                                                                    children: [
                                                                      (SimpleCommand
                                                                        words: [
                                                                          {($ VSub_Number '$1')}
                                                                          {(-qa)}
                                                                          {(--nodigest)}
                                                                          {(--nosignature)}
                                                                          {(--queryformat) 
                                                                            (Lit_Other '=') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (Lit_Other '%') (Lit_LBrace '{') ($ VSub_Name '$fmt') 
                                                                            (Lit_RBrace '}') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>) (n) 
                                                                            (EscapedLiteralPart
                                                                              token: 
                                                                                <Lit_EscapedChar 
'\\"'
                                                                                >
                                                                            )
                                                                          }
                                                                        ]
                                                                        redirects: [
                                                                          (Redir
                                                                            op_id: Redir_Great
                                                                            fd: 2
                                                                            arg_word: {(/dev/null)}
                                                                            spids: [788]
                                                                          )
                                                                        ]
                                                                      )
                                                                      (C {(command)} {(grep)} {(-vF)} 
                                                                        {(SQ <'(none)'>)}
                                                                      )
                                                                    ]
                                                                    negated: False
                                                                  )
                                                                ]
                                                              )
                                                            left_token: <Left_CommandSub '$('>
                                                            spids: [765 804]
                                                          )
                                                        )
                                                      } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [758 813]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [755]
                                )
                              ]
                              spids: [755]
                            )
                          ]
                          spids: [668 818]
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [629 642 826 16777215]
                    )
                    (case_arm
                      pat_list: [{(--define)} {(-D)} {(--fileid)} {(--hdrid)} {(--pkgid)}]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [829 838 850 16777215]
                    )
                  ]
                  spids: [501 505 853]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  op_id: Op_DAmp
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:opts)
                      op: Equal
                      rhs: 
                        {
                          (DQ ('--define= --eval= --macros= --nodigest --nosignature --rcfile=\n') 
                            ('        --quiet --pipe --verbose')
                          )
                        }
                      spids: [873]
                    )
                  ]
                  spids: [871]
                )
                (Case
                  to_match: 
                    {
                      (BracedVarSub
                        token: <VSub_Name words>
                        bracket_op: (ArrayIndex expr:(ArithWord w:{(Lit_Digits 1)}))
                        spids: [883 888]
                      )
                    }
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-) (Lit_Other '[') (iFU) (Lit_Other ']') (Lit_Other '*')}
                        {(--install)}
                        {(--freshen)}
                        {(--upgrade)}
                      ]
                      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)} 
                                                          {
                                                            (DQ ($ VSub_Name '$opts') 
                                                              (' --percent --force --test\n') ('                --replacepkgs --replacefiles --root --excludedocs --includedocs\n') 
                                                              (
'                --noscripts --ignorearch --dbpath --prefix= --ignoreos --nodeps\n'
                                                              ) ('                --allfiles --ftpproxy --ftpport --justdb --httpproxy --httpport\n') 
                                                              (
'                --noorder --relocate= --badreloc --notriggers --excludepath=\n'
                                                              ) ('                --ignoresize --oldpackage --queryformat --repackage\n') 
                                                              ('                --nosuggests')
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [929 952]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [926]
                                    )
                                  ]
                                  spids: [926]
                                )
                              ]
                              spids: [16777215 923]
                            )
                          ]
                          else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})]
                          spids: [957 967]
                        )
                      ]
                      spids: [893 904 970 16777215]
                    )
                    (case_arm
                      pat_list: [{(-e)} {(--erase)}]
                      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)} 
                                                          {
                                                            (DQ ($ VSub_Name '$opts') 
                                                              (' --allmatches --noscripts\n') ('                    --notriggers --nodeps --test --repackage')
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [1001 1019]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [998]
                                    )
                                  ]
                                  spids: [998]
                                )
                              ]
                              spids: [16777215 995]
                            )
                          ]
                          else_action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})]
                          spids: [1024 1032]
                        )
                      ]
                      spids: [973 976 1035 16777215]
                    )
                    (case_arm
                      pat_list: [{(-q) (Lit_Other '*')} {(--query)}]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opts)
                              op: PlusEqual
                              rhs: 
                                {
                                  (DQ (' --changelog --configfiles --conflicts --docfiles --dump\n') 
                                    (
'                --enhances --filesbypkg --filecaps --fileclass --filecolor\n'
                                    ) ('                --fileprovide --filerequire --filesbypkg --info --list\n') 
                                    (
'                --obsoletes --pipe --provides --queryformat= --requires\n'
                                    ) ('                --scripts --suggests --triggers --xml --recommends\n') 
                                    ('                --supplements')
                                  )
                                }
                              spids: [1049]
                            )
                          ]
                          spids: [1049]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1065 1070]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1077 1084]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  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)} 
                                                                  {
                                                                    (DQ ($ VSub_Name '$opts') 
                                                                      (' --dbpath --fscontext\n') ('                        --last --root --state')
                                                                    )
                                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                                )
                                                              ]
                                                            )
                                                          left_token: <Left_CommandSub '$('>
                                                          spids: [1119 1137]
                                                        )
                                                      }
                                                    ]
                                                  )
                                                }
                                              spids: [1116]
                                            )
                                          ]
                                          spids: [1116]
                                        )
                                      ]
                                      spids: [16777215 1113]
                                    )
                                  ]
                                  else_action: [(C {(_filedir)})]
                                  spids: [1142 1148]
                                )
                              ]
                              spids: [16777215 1090]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1155 1160]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1167 1174]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [(C {(_rpm_groups)} {($ VSub_Number '$1')})]
                              spids: [1151 1180]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1196 1201]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1208 1215]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  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)} 
                                                                  {
                                                                    (DQ ($ VSub_Name '$opts') 
                                                                      (' --ftpport --ftpproxy\n') ('                        --httpport --httpproxy --nomanifest')
                                                                    )
                                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                                )
                                                              ]
                                                            )
                                                          left_token: <Left_CommandSub '$('>
                                                          spids: [1250 1268]
                                                        )
                                                      }
                                                    ]
                                                  )
                                                }
                                              spids: [1247]
                                            )
                                          ]
                                          spids: [1247]
                                        )
                                      ]
                                      spids: [16777215 1244]
                                    )
                                  ]
                                  else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})]
                                  spids: [1273 1283]
                                )
                              ]
                              spids: [1192 1221]
                            )
                          ]
                          else_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)} 
                                                              {
                                                                (DQ ($ VSub_Name '$opts') 
                                                                  (' --all --file --fileid\n') ('                        --dbpath --fscontext --ftswalk --group --hdrid --last\n') 
                                                                  (
'                        --package --pkgid --root= --specfile --state\n'
                                                                  ) ('                        --triggeredby --whatenhances --whatprovides\n') 
                                                                  (
'                        --whatrecommends --whatrequires --whatsuggests\n'
                                                                  ) ('                        --whatsupplements')
                                                                )
                                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [1315 1339]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [1312]
                                        )
                                      ]
                                      spids: [1312]
                                    )
                                  ]
                                  spids: [16777215 1309]
                                )
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (DBracket
                                          expr: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobNEqual
                                              left: 
                                                {
                                                  (BracedVarSub
                                                    token: <VSub_Name words>
                                                    bracket_op: (WholeArray op_id:Lit_At)
                                                    spids: [1348 1353]
                                                  )
                                                }
                                              right: 
                                                {(Lit_Other '*') 
                                                  (EscapedLiteralPart
                                                    token: <Lit_EscapedChar '\\ '>
                                                  ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1360 1367]) (Lit_Other '*')
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})]
                                  spids: [1344 1373]
                                )
                              ]
                              spids: [16777215 1381]
                            )
                          ]
                          spids: [1286 1384]
                        )
                      ]
                      spids: [1038 1042 1387 16777215]
                    )
                    (case_arm
                      pat_list: [{(-K) (Lit_Other '*')} {(--checksig)}]
                      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)} 
                                                          {
                                                            (DQ ($ VSub_Name '$opts') 
                                                              (' --nopgp --nogpg --nomd5')
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [1419 1438]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [1416]
                                    )
                                  ]
                                  spids: [1416]
                                )
                              ]
                              spids: [16777215 1413]
                            )
                          ]
                          else_action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})]
                          spids: [1443 1453]
                        )
                      ]
                      spids: [1390 1394 1456 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-) (Lit_Other '[') (Vy) (Lit_Other ']') (Lit_Other '*')}
                        {(--verify)}
                      ]
                      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)} 
                                                          {
                                                            (DQ ($ VSub_Name '$opts') 
                                                              (' --root= --dbpath --nodeps\n') ('                    --nogroup --nolinkto --nomode --nomtime --nordev --nouser\n') 
                                                              (
'                    --nofiles --noscripts --nomd5 --querytags --specfile\n'
                                                              ) ('                    --whatenhances --whatprovides --whatrecommends\n') 
                                                              (
'                    --whatrequires --whatsuggests --whatsupplements'
                                                              )
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [1491 1514]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [1488]
                                    )
                                  ]
                                  spids: [1488]
                                )
                              ]
                              spids: [16777215 1485]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1527 1532]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1539 1546]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [(C {(_filedir)})]
                              spids: [1523 1552]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1562 1567]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1574 1581]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [(C {(_rpm_groups)} {($ VSub_Number '$1')})]
                              spids: [1558 1587]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [1599 1604]
                                              )
                                            }
                                          right: 
                                            {(Lit_Other '*') 
                                              (EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\ '>
                                              ) (-) (ExtGlobPart op:<ExtGlob_At '@('> spids:[1611 1618]) (Lit_Other '*')
                                            }
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})]
                              spids: [1595 1624]
                            )
                          ]
                          else_action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})]
                          spids: [1634 1642]
                        )
                      ]
                      spids: [1459 1466 1645 16777215]
                    )
                    (case_arm
                      pat_list: [{(--resign)} {(--addsign)} {(--delsign)}]
                      action: [(C {(_filedir)} {(SQ <'[rs]pm'>)})]
                      spids: [1648 1653 1663 16777215]
                    )
                    (case_arm
                      pat_list: [{(--setperms)} {(--setgids)}]
                      action: [(C {(_rpm_installed_packages)} {($ VSub_Number '$1')})]
                      spids: [1666 1669 1677 16777215]
                    )
                    (case_arm
                      pat_list: [{(--import)} {(--dbpath)} {(--root)}]
                      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 <'--import --dbpath --root='>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [1710 1728]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [1707]
                                    )
                                  ]
                                  spids: [1707]
                                )
                              ]
                              spids: [16777215 1704]
                            )
                          ]
                          else_action: [(C {(_filedir)})]
                          spids: [1733 1739]
                        )
                      ]
                      spids: [1680 1685 1742 16777215]
                    )
                  ]
                  spids: [881 890 1745]
                )
                (AndOr
                  children: [
                    (DBracket
                      expr: 
                        (BoolBinary
                          op_id: BoolBinary_GlobDEqual
                          left: {($ VSub_Name '$COMPREPLY')}
                          right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                        )
                    )
                    (C {(compopt)} {(-o)} {(nospace)})
                  ]
                  op_id: Op_DAmp
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [366]
            )
          spids: [362 365]
        )
        (C {(complete)} {(-F)} {(_rpm)} {(rpm)})
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [
        (FuncDef
          name: _rpmbuild
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[1795])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[1797])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[1799])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[1801])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[1803])
                  ]
                  spids: [1793]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:rpm)
                      op: Equal
                      rhs: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Number 1>
                              suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{('build*')})
                              spids: [1820 1824]
                            )
                          )
                        }
                      spids: [1818]
                    )
                  ]
                  spids: [1816]
                )
                (Sentence
                  child: 
                    (AndOr
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$rpm')}
                              right: {($ VSub_Number '$1')}
                            )
                        )
                        (Pipeline
                          children: [(C {(type)} {($ VSub_Name '$rpm')})]
                          negated: True
                        )
                      ]
                      op_id: Op_DPipe
                    )
                  terminator: <Op_Amp '&'>
                )
                (AndOr
                  children: [
                    (SimpleCommand
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(/dev/null)}
                          spids: [1847]
                        )
                      ]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:rpm) op:Equal rhs:{(SQ )} spids:[1852])]
                      spids: [1852]
                    )
                  ]
                  op_id: Op_DAmp
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(--buildroot)} {(--root)} {(-r)} {(--dbpath)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [1863 1870 1883 16777215]
                    )
                    (case_arm
                      pat_list: [{(--target)}]
                      action: [
                        (C {(_rpm_buildarchs)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [1886 1887 1898 16777215]
                    )
                    (case_arm
                      pat_list: [{(--eval)} {(-E)}]
                      action: [
                        (C {(_rpm_macros)} {($ VSub_Name '$rpm')})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [1901 1904 1917 16777215]
                    )
                    (case_arm
                      pat_list: [{(--macros)} {(--rcfile)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [1920 1923 1934 16777215]
                    )
                    (case_arm
                      pat_list: [{(--buildpolicy)}]
                      action: [
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:cfgdir)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [
                                          (SimpleCommand
                                            words: [
                                              {($ VSub_Name '$rpm')}
                                              {(--eval)}
                                              {(SQ <'%{_rpmconfigdir}'>)}
                                            ]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_Great
                                                fd: 2
                                                arg_word: {(/dev/null)}
                                                spids: [1954]
                                              )
                                            ]
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [1944 1957]
                                  )
                                }
                              spids: [1943]
                            )
                          ]
                          spids: [1941]
                        )
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: (DBracket expr:(WordTest w:{($ VSub_Name '$cfgdir')}))
                                  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)} 
                                                          {
                                                            (DQ 
                                                              (CommandSubPart
                                                                command_list: 
                                                                  (CommandList
                                                                    children: [
                                                                      (Pipeline
                                                                        children: [
                                                                          (SimpleCommand
                                                                            words: [
                                                                              {(command)}
                                                                              {(ls)}
                                                                              {
                                                                                ($ VSub_Name 
'$cfgdir'
                                                                                )
                                                                              }
                                                                            ]
                                                                            redirects: [
                                                                              (Redir
                                                                                op_id: Redir_Great
                                                                                fd: 2
                                                                                arg_word: 
                                                                                  {(/dev/null)}
                                                                                spids: [1990]
                                                                              )
                                                                            ]
                                                                          )
                                                                          (C {(sed)} {(-ne)} 
                                                                            {(SQ <'s/^brp-//p'>)}
                                                                          )
                                                                        ]
                                                                        negated: False
                                                                      )
                                                                    ]
                                                                  )
                                                                left_token: <Left_CommandSub '$('>
                                                                spids: [1982 2005]
                                                              )
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [1975 2014]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [1972]
                                    )
                                  ]
                                  spids: [1972]
                                )
                              ]
                              spids: [16777215 1969]
                            )
                          ]
                          spids: [16777215 2019]
                        )
                      ]
                      spids: [1937 1938 2022 16777215]
                    )
                    (case_arm
                      pat_list: [{(--define)} {(-D)} {(--with)} {(--without)}]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [2025 2032 2040 16777215]
                    )
                  ]
                  spids: [1856 1860 2043]
                )
                (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: {($ 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)} 
                                                  {
                                                    (DQ 
                                                      (CommandSubPart
                                                        command_list: 
                                                          (CommandList
                                                            children: [
                                                              (C {(_parse_help)} 
                                                                {(DQ ($ VSub_Number '$1'))}
                                                              )
                                                            ]
                                                          )
                                                        left_token: <Left_CommandSub '$('>
                                                        spids: [2084 2092]
                                                      )
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [2077 2101]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [2074]
                            )
                          ]
                          spids: [2074]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$COMPREPLY')}
                                  right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                                )
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                          ]
                          op_id: Op_DAmp
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [16777215 2071]
                    )
                  ]
                  spids: [16777215 2131]
                )
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:word) op:Equal spids:[2141])
                    (assign_pair lhs:(LhsName name:ext) op:Equal spids:[2143])
                  ]
                  spids: [2139]
                )
                (ForEach
                  iter_name: word
                  iter_words: [
                    {
                      (BracedVarSub
                        token: <VSub_Name words>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [2152 2157]
                      )
                    }
                  ]
                  do_arg_iter: False
                  body: 
                    (DoGroup
                      children: [
                        (Case
                          to_match: {($ VSub_Name '$word')}
                          arms: [
                            (case_arm
                              pat_list: [{(-b) (Lit_Other '?')} {(--clean)} {(--nobuild)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:ext)
                                      op: Equal
                                      rhs: {(spec)}
                                      spids: [2179]
                                    )
                                  ]
                                  spids: [2179]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Break break>
                                )
                              ]
                              spids: [2170 2176 2186 16777215]
                            )
                            (case_arm
                              pat_list: [{(-t) (Lit_Other '?')} {(--tarbuild)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:ext)
                                      op: Equal
                                      rhs: {(SQ <'@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'>)}
                                      spids: [2196]
                                    )
                                  ]
                                  spids: [2196]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Break break>
                                )
                              ]
                              spids: [2189 2193 2205 16777215]
                            )
                            (case_arm
                              pat_list: [{(--rebuild)} {(--recompile)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:ext)
                                      op: Equal
                                      rhs: {(SQ <'@(?(no)src.r|s)pm'>)}
                                      spids: [2214]
                                    )
                                  ]
                                  spids: [2214]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Break break>
                                )
                              ]
                              spids: [2208 2211 2223 16777215]
                            )
                          ]
                          spids: [2163 2167 2226]
                        )
                      ]
                      spids: [2160 2229]
                    )
                  spids: [2151 2158]
                )
                (AndOr
                  children: [
                    (DBracket
                      expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$ext')})
                    )
                    (C {(_filedir)} {($ VSub_Name '$ext')})
                  ]
                  op_id: Op_DAmp
                )
              ]
              spids: [1790]
            )
          spids: [1786 1789]
        )
        (C {(complete)} {(-F)} {(_rpmbuild)} {(rpmbuild)} {(rpmbuild-md5)})
      ]
      op_id: Op_DAmp
    )
  ]
)