(CommandList
  children: [
    (FuncDef
      name: _yum_list
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_Number '$1'))}
                              right: {(all)}
                            )
                        )
                      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: [
                                            (Pipeline
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(yum)}
                                                    {(-d)}
                                                    {(0)}
                                                    {(-C)}
                                                    {(list)}
                                                    {($ VSub_Number '$1')}
                                                    {(DQ ($ VSub_Name '$cur') ('*'))}
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 2
                                                      arg_word: {(/dev/null)}
                                                      spids: [67]
                                                    )
                                                  ]
                                                )
                                                (C {(sed)} {(-ne)} {(SQ <'/^Available /d'>)} {(-e)} 
                                                  {(SQ <'/^Installed /d'>)} {(-e)} {(SQ <'/^Updated /d'>)} {(-e)} {(SQ <'s/[[:space:]].*//p'>)}
                                                )
                                              ]
                                              negated: False
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [48 102]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [45]
                        )
                      ]
                      spids: [45]
                    )
                  ]
                  spids: [16777215 34]
                )
              ]
              else_action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:COMPREPLY)
                      op: Equal
                      rhs: 
                        {
                          (ArrayLiteralPart
                            words: [
                              {
                                (CommandSubPart
                                  command_list: 
                                    (CommandList
                                      children: [
                                        (Pipeline
                                          children: [
                                            (SimpleCommand
                                              words: [
                                                {(yum)}
                                                {(-d)}
                                                {(0)}
                                                {(-C)}
                                                {(list)}
                                                {($ VSub_Number '$1')}
                                                {(DQ ($ VSub_Name '$cur') ('*'))}
                                              ]
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [136]
                                                )
                                              ]
                                            )
                                            (C {(sed)} {(-ne)} {(1d)} {(-e)} {(SQ <'s/[[:space:]].*//p'>)})
                                          ]
                                          negated: False
                                        )
                                      ]
                                    )
                                  left_token: <Left_CommandSub '$('>
                                  spids: [117 155]
                                )
                              }
                            ]
                          )
                        }
                      spids: [114]
                    )
                  ]
                  spids: [114]
                )
              ]
              spids: [107 160]
            )
          ]
          spids: [15]
        )
      spids: [11 14]
    )
    (FuncDef
      name: _yum_repolist
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (SimpleCommand
                  words: [{(yum)} {(--noplugins)} {(-C)} {(repolist)} {($ VSub_Number '$1')}]
                  redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[194])]
                )
                (C {(sed)} {(-ne)} {(SQ <'/^repo\\s\\s*id/d'>)} {(-e)} {(SQ <'/^repolist:/d'>)} {(-e)} 
                  {(SQ <'s/[[:space:]].*//p'>)}
                )
              ]
              negated: False
            )
          ]
          spids: [169]
        )
      spids: [165 168]
    )
    (FuncDef
      name: _yum_plugins
      body: 
        (BraceGroup
          children: [
            (Pipeline
              children: [
                (SimpleCommand
                  words: [
                    {(command)}
                    {(ls)}
                    (BracedWordTree
                      parts: [
                        (/usr/lib/yum-plugins/)
                        (Lit_Other '*')
                        (.py)
                        (BracedAltPart words:[{} {(c)} {(o)}])
                      ]
                    )
                  ]
                  redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[245])]
                )
                (C {(sed)} {(-ne)} {(SQ <'s|.*/\\([^./]*\\)\\.py[co]\\{0,1\\}$|\\1|p'>)})
                (C {(sort)} {(-u)})
              ]
              negated: False
            )
          ]
          spids: [228]
        )
      spids: [224 227]
    )
    (AndOr
      children: [
        (FuncDef
          name: _yum
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[278])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[280])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[282])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[284])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[286])
                  ]
                  spids: [276]
                )
                (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:special) op:Equal spids:[301])
                    (assign_pair lhs:(LhsName name:i) op:Equal spids:[303])
                  ]
                  spids: [299]
                )
                (ForExpr
                  init: 
                    (BinaryAssign
                      op_id: Arith_Equal
                      left: (LhsName name:i)
                      right: (ArithWord w:{(Lit_Digits 0)})
                    )
                  cond: 
                    (ArithBinary
                      op_id: Arith_Less
                      left: (ArithVarRef name:i)
                      right: 
                        (ArithBinary
                          op_id: Arith_Minus
                          left: 
                            (ArithWord
                              w: 
                                {
                                  (BracedVarSub
                                    token: <VSub_Name words>
                                    prefix_op: VSub_Pound
                                    bracket_op: (WholeArray op_id:Lit_At)
                                    spids: [319 325]
                                  )
                                }
                            )
                          right: (ArithWord w:{(Lit_Digits 1)})
                        )
                    )
                  update: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:i))
                  body: 
                    (DoGroup
                      children: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: 
                                            {
                                              (BracedVarSub
                                                token: <VSub_Name words>
                                                bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                                spids: [344 349]
                                              )
                                            }
                                          right: {(ExtGlobPart op:<ExtGlob_At '@('> spids:[353 367])}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:special)
                                      op: Equal
                                      rhs: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name words>
                                            bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                            spids: [376 381]
                                          )
                                        }
                                      spids: [375]
                                    )
                                  ]
                                  spids: [375]
                                )
                              ]
                              spids: [16777215 372]
                            )
                          ]
                          spids: [16777215 384]
                        )
                      ]
                      spids: [337 387]
                    )
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name '$special')})
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (LogicalAnd
                                          left: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_Name '$cur'))}
                                              right: 
                                                {(ExtGlobPart op:<ExtGlob_At '@('> spids:[419 424]) 
                                                  (Lit_Other '*')
                                                }
                                            )
                                          right: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_Name '$special'))}
                                              right: 
                                                {(ExtGlobPart op:<ExtGlob_At '@('> spids:[437 445])}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (C {(_filedir)} {(rpm)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [16777215 450]
                            )
                          ]
                          spids: [16777215 463]
                        )
                        (Case
                          to_match: {($ VSub_Name '$special')}
                          arms: [
                            (case_arm
                              pat_list: [{(install)}]
                              action: [
                                (C {(_yum_list)} {(available)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [473 474 487 16777215]
                            )
                            (case_arm
                              pat_list: [{(deplist)} {(info)}]
                              action: [
                                (C {(_yum_list)} {(all)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [490 493 506 16777215]
                            )
                            (case_arm
                              pat_list: [{(upgrade)} {(update)}]
                              action: [
                                (C {(_yum_list)} {(updates)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [509 512 525 16777215]
                            )
                            (case_arm
                              pat_list: [{(remove)} {(erase)}]
                              action: [
                                (C {(_yum_list)} {(installed)})
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                  arg_word: {(0)}
                                )
                              ]
                              spids: [528 531 548 16777215]
                            )
                          ]
                          spids: [466 470 551]
                        )
                      ]
                      spids: [16777215 402]
                    )
                  ]
                  spids: [16777215 554]
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [{(list)}]
                      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 <'all available updates installed extras\n'> 
                                                      <'                obsoletes recent'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [572 589]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [569]
                            )
                          ]
                          spids: [569]
                        )
                      ]
                      spids: [565 566 594 16777215]
                    )
                    (case_arm
                      pat_list: [{(clean)}]
                      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 <'packages headers metadata cache dbcache\n'> 
                                                      <'                all'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [604 621]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [601]
                            )
                          ]
                          spids: [601]
                        )
                      ]
                      spids: [597 598 626 16777215]
                    )
                    (case_arm
                      pat_list: [{(repolist)}]
                      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 <'all enabled disabled'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [636 652]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [633]
                            )
                          ]
                          spids: [633]
                        )
                      ]
                      spids: [629 630 657 16777215]
                    )
                    (case_arm
                      pat_list: [{(localinstall)} {(localupdate)}]
                      action: [(C {(_filedir)} {(rpm)})]
                      spids: [660 663 675 16777215]
                    )
                    (case_arm
                      pat_list: [{(-d)} {(-e)}]
                      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 <'{0..10}'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [687 703]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [684]
                            )
                          ]
                          spids: [684]
                        )
                      ]
                      spids: [678 681 708 16777215]
                    )
                    (case_arm
                      pat_list: [{(-c)}]
                      action: [(C {(_filedir)})]
                      spids: [711 712 718 16777215]
                    )
                    (case_arm
                      pat_list: [{(--installroot)}]
                      action: [(C {(_filedir)} {(-d)})]
                      spids: [721 722 730 16777215]
                    )
                    (case_arm
                      pat_list: [{(--enablerepo)}]
                      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 <'$( _yum_repolist disabled )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [740 758]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [737]
                            )
                          ]
                          spids: [737]
                        )
                      ]
                      spids: [733 734 763 16777215]
                    )
                    (case_arm
                      pat_list: [{(--disablerepo)}]
                      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 <'$( _yum_repolist enabled )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [773 789]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [770]
                            )
                          ]
                          spids: [770]
                        )
                      ]
                      spids: [766 767 794 16777215]
                    )
                    (case_arm
                      pat_list: [{(--disableexcludes)}]
                      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 <'$( _yum_repolist all ) all main'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [804 822]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [801]
                            )
                          ]
                          spids: [801]
                        )
                      ]
                      spids: [797 798 827 16777215]
                    )
                    (case_arm
                      pat_list: [{(--enableplugin)} {(--disableplugin)}]
                      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 <'$( _yum_plugins )'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [839 855]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [836]
                            )
                          ]
                          spids: [836]
                        )
                      ]
                      spids: [830 833 860 16777215]
                    )
                    (case_arm
                      pat_list: [{(--color)}]
                      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 <'always auto never'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [870 886]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [867]
                            )
                          ]
                          spids: [867]
                        )
                      ]
                      spids: [863 864 891 16777215]
                    )
                    (case_arm
                      pat_list: [{(-R)} {(-x)} {(--exclude)}]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [894 899 911 16777215]
                    )
                    (case_arm
                      pat_list: [{(-h)} {(--help)} {(--version)}]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [914 919 931 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 <'install update check-update upgrade\n'> 
                                                      <
'                remove erase list info provides whatprovides clean makecache\n'
                                                      > <'                groupinstall groupupdate grouplist groupremove groupinfo\n'> 
                                                      <
'                search shell resolvedep localinstall localupdate deplist\n'
                                                      > <'                repolist help'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [941 961]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [938]
                            )
                          ]
                          spids: [938]
                        )
                      ]
                      spids: [934 935 966 16777215]
                    )
                  ]
                  spids: [558 562 969]
                )
                (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: {(DQ ($ VSub_Name '$cur'))}
                                  right: {(-) (Lit_Other '*')}
                                )
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (C {(compgen)} {(-W)} {(SQ <'$( _parse_help "$1" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [1005 1021]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [1002]
                            )
                          ]
                          spids: [1002]
                        )
                        (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 999]
                    )
                  ]
                  spids: [16777215 1051]
                )
              ]
              spids: [273]
            )
          spids: [269 272]
        )
        (C {(complete)} {(-F)} {(_yum)} {(yum)})
      ]
      op_id: Op_DAmp
    )
  ]
)