(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _xgamma
          body: 
            (BraceGroup
              children: [
                (Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair lhs:(LhsName name:cur) op:Equal spids:[13])
                    (assign_pair lhs:(LhsName name:prev) op:Equal spids:[15])
                    (assign_pair lhs:(LhsName name:words) op:Equal spids:[17])
                    (assign_pair lhs:(LhsName name:cword) op:Equal spids:[19])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-n)} {(Lit_Other ':')})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {(DQ ($ VSub_Name '$prev'))}
                  arms: [
                    (case_arm
                      pat_list: [{(-screen)}]
                      action: [
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:screens)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [
                                          (Pipeline
                                            children: [
                                              (SimpleCommand
                                                words: [{(xrandr)} {(--query)}]
                                                redirects: [
                                                  (Redir
                                                    op_id: Redir_Great
                                                    fd: 2
                                                    arg_word: {(/dev/null)}
                                                    spids: [56]
                                                  )
                                                ]
                                              )
                                              (SimpleCommand
                                                words: [
                                                  {(sed)}
                                                  {(-n)}
                                                  {
                                                    (SQ 
                                                      <
'/^Screen /s|^Screen \\{1,\\}\\(.*\\):.*$|\\1|p'
                                                      >
                                                    )
                                                  }
                                                ]
                                                redirects: [
                                                  (Redir
                                                    op_id: Redir_Great
                                                    fd: 2
                                                    arg_word: {(/dev/null)}
                                                    spids: [71]
                                                  )
                                                ]
                                              )
                                            ]
                                            negated: False
                                          )
                                        ]
                                      )
                                    left_token: <Left_CommandSub '$('>
                                    spids: [50 74]
                                  )
                                }
                              spids: [49]
                            )
                          ]
                          spids: [47]
                        )
                        (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 '$screens'))} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [80 96]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [77]
                            )
                          ]
                          spids: [77]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [43 44 104 16777215]
                    )
                    (case_arm
                      pat_list: [{(-gamma)} {(-rgamma)} {(-ggamma)} {(-bgamma)}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (LogicalAnd
                                          left: (WordTest w:{($ VSub_Name '$cur')})
                                          right: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobNEqual
                                              left: {(DQ ($ VSub_Name '$cur'))}
                                              right: {(Lit_Other '*') (.) (Lit_Other '*')}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:COMPREPLY)
                                      op: Equal
                                      rhs: {(ArrayLiteralPart words:[{(.)}])}
                                      spids: [145]
                                    )
                                  ]
                                  spids: [145]
                                )
                              ]
                              spids: [16777215 142]
                            )
                          ]
                          spids: [16777215 153]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: PlusEqual
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [(C {(compgen)} {(-W)} {(DQ ('{0..9}'))})]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [159 169]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [156]
                            )
                          ]
                          spids: [156]
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [107 114 184 16777215]
                    )
                    (case_arm
                      pat_list: [{(-display)}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (LogicalAnd
                                          left: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: {(DQ ($ VSub_Name '$cur'))}
                                              right: {(Lit_Other ':') (Lit_Other '*')}
                                            )
                                          right: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobNEqual
                                              left: {(DQ ($ VSub_Name '$cur'))}
                                              right: 
                                                {(Lit_Other ':') (Lit_Other '*') (.) (Lit_Other '*')}
                                            )
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_Local
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:display)
                                      op: Equal
                                      rhs: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name cur>
                                            suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{(':')})
                                            spids: [234 238]
                                          )
                                        }
                                      spids: [233]
                                    )
                                  ]
                                  spids: [231]
                                )
                                (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 
                                                              (BracedVarSub
                                                                token: <VSub_Name display>
                                                                suffix_op: 
                                                                  (StringUnary
                                                                    op_id: VTest_ColonHyphen
                                                                    arg_word: {(0)}
                                                                  )
                                                                spids: [251 255]
                                                              ) (.)
                                                            )
                                                          }
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [244 259]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [241]
                                    )
                                  ]
                                  spids: [241]
                                )
                                (C {(compopt)} {(-o)} {(nospace)})
                              ]
                              spids: [16777215 224]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {(DQ ($ VSub_Name '$cur'))}
                                          right: {(Lit_Other ':') (Lit_Other '*') (.) (Lit_Other '*')}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_Local
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:t)
                                      op: Equal
                                      spids: [298]
                                    )
                                    (assign_pair
                                      lhs: (LhsName name:screens)
                                      op: Equal
                                      rhs: 
                                        {
                                          (CommandSubPart
                                            command_list: 
                                              (CommandList
                                                children: [
                                                  (Pipeline
                                                    children: [
                                                      (SimpleCommand
                                                        words: [{(xrandr)} {(--query)}]
                                                        redirects: [
                                                          (Redir
                                                            op_id: Redir_Great
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                            spids: [307]
                                                          )
                                                        ]
                                                      )
                                                      (SimpleCommand
                                                        words: [
                                                          {(sed)}
                                                          {(-ne)}
                                                          {
                                                            (SQ 
                                                              <
'/^Screen /s|^Screen \\{1,\\}\\(.*\\):.*$|\\1|p'
                                                              >
                                                            )
                                                          }
                                                        ]
                                                        redirects: [
                                                          (Redir
                                                            op_id: Redir_Great
                                                            fd: 2
                                                            arg_word: {(/dev/null)}
                                                            spids: [322]
                                                          )
                                                        ]
                                                      )
                                                    ]
                                                    negated: False
                                                  )
                                                ]
                                              )
                                            left_token: <Left_CommandSub '$('>
                                            spids: [301 325]
                                          )
                                        }
                                      spids: [300]
                                    )
                                  ]
                                  spids: [296]
                                )
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:t)
                                      op: Equal
                                      rhs: 
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              token: <VSub_Name cur>
                                              suffix_op: 
                                                (StringUnary
                                                  op_id: VOp1_Pound
                                                  arg_word: {(':')}
                                                )
                                              spids: [330 334]
                                            )
                                          )
                                        }
                                      spids: [328]
                                    )
                                  ]
                                  spids: [328]
                                )
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:COMPREPLY)
                                      op: Equal
                                      rhs: 
                                        {
                                          (ArrayLiteralPart
                                            words: [
                                              {
                                                (CommandSubPart
                                                  command_list: 
                                                    (CommandList
                                                      children: [
                                                        (C {(compgen)} {(-P)} 
                                                          {
                                                            (DQ 
                                                              (BracedVarSub
                                                                token: <VSub_Name t>
                                                                suffix_op: 
                                                                  (StringUnary
                                                                    op_id: VOp1_Percent
                                                                    arg_word: {('.*')}
                                                                  )
                                                                spids: [348 352]
                                                              ) (.)
                                                            )
                                                          } {(-W)} {(DQ ($ VSub_Name '$screens'))} {(--)} 
                                                          {
                                                            (DQ 
                                                              (BracedVarSub
                                                                token: <VSub_Name cur>
                                                                suffix_op: 
                                                                  (StringUnary
                                                                    op_id: VOp1_DPound
                                                                    arg_word: {('*.')}
                                                                  )
                                                                spids: [367 371]
                                                              )
                                                            )
                                                          }
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [341 374]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [338]
                                    )
                                  ]
                                  spids: [338]
                                )
                              ]
                              spids: [271 289]
                            )
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobNEqual
                                          left: {(DQ ($ VSub_Name '$cur'))}
                                          right: {(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')}
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (C {(_known_hosts_real)} {(-c)} {(DQ ($ VSub_Name '$cur'))})
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (DBracket
                                              expr: 
                                                (LogicalNot
                                                  child: (WordTest w:{($ VSub_Name '$cur')})
                                                )
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:COMPREPLY)
                                              op: PlusEqual
                                              rhs: {(ArrayLiteralPart words:[{(Lit_Other ':')}])}
                                              spids: [426]
                                            )
                                          ]
                                          spids: [426]
                                        )
                                      ]
                                      spids: [16777215 423]
                                    )
                                  ]
                                  spids: [16777215 434]
                                )
                                (C {(compopt)} {(-o)} {(nospace)})
                              ]
                              spids: [379 396]
                            )
                          ]
                          spids: [16777215 444]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [187 188 454 16777215]
                    )
                  ]
                  spids: [34 40 457]
                )
                (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" -help )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [483 499]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [480]
                            )
                          ]
                          spids: [480]
                        )
                        (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
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: (WordTest w:{($ VSub_Name '$COMPREPLY')})
                            )
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          op_id: Op_DAmp
                        )
                      ]
                      spids: [16777215 477]
                    )
                  ]
                  spids: [16777215 535]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_xgamma)} {(xgamma)})
      ]
      op_id: Op_DAmp
    )
  ]
)