(AndOr
  ops: [Op_DAmp]
  children: [
    (FuncDef
      name: _feh
      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])
                (assign_pair lhs:(LhsName name:split) op:Equal spids:[21])
              ]
              spids: [11]
            )
            (AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (Case
              to_match: {(DQ ($ VSub_Name '$prev'))}
              arms: [
                (case_arm
                  pat_list: [{(-B)} {(--image-bg)}]
                  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 <'checks white black'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [52 68]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [49]
                        )
                      ]
                      spids: [49]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [43 46 76 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-f)}
                    {(--filelist)}
                    {(-o)}
                    {(--output)}
                    {(-O)}
                    {(--output-only)}
                    {(-) (EscapedLiteralPart token:<Lit_EscapedChar '\\|'>)}
                    {(--start-at)}
                  ]
                  action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)]
                  spids: [79 95 104 16777215]
                )
                (case_arm
                  pat_list: [{(-K)} {(--caption-path)} {(-C)} {(--fontpath)} {(-j)} {(--output-dir)}]
                  action: [(C {(_filedir)} {(-d)}) (ControlFlow token:<ControlFlow_Return return>)]
                  spids: [107 118 129 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-e)}
                    {(--font)}
                    {(-M)}
                    {(--menu-font)}
                    {(-) (Lit_Other '@')}
                    {(--title-font)}
                  ]
                  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: [
                            (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 ($ VSub_Name '$cur'))} 
                                                      {(-W)} {(SQ <'{0..9}'>)}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [177 193]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [174]
                                )
                              ]
                              spids: [174]
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                            (ControlFlow
                              token: <ControlFlow_Return return>
                            )
                          ]
                          spids: [16777215 168]
                        )
                      ]
                      spids: [16777215 208]
                    )
                    (Assignment
                      keyword: Assign_Local
                      pairs: [(assign_pair lhs:(LhsName name:font_path) op:Equal spids:[213])]
                      spids: [211]
                    )
                    (ForExpr
                      init: 
                        (BinaryAssign
                          op_id: Arith_Equal
                          left: (LhsName 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: [234 240]
                                      )
                                    }
                                )
                              right: (ArithWord w:{(Lit_Digits 1)})
                            )
                        )
                      cond: 
                        (ArithBinary
                          op_id: Arith_Great
                          left: (ArithVarRef name:i)
                          right: (ArithWord w:{(Lit_Digits 0)})
                        )
                      update: (UnaryAssign op_id:Node_PostDMinus 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: [264 269]
                                                  )
                                                }
                                              right: 
                                                {(-) 
                                                  (ExtGlobPart
                                                    op: <ExtGlob_At '@('>
                                                    spids: [274 278]
                                                  )
                                                }
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:font_path)
                                          op: Equal
                                          rhs: 
                                            {
                                              (DQ 
                                                (BracedVarSub
                                                  token: <VSub_Name words>
                                                  bracket_op: 
                                                    (ArrayIndex
                                                      expr: 
                                                        (ArithBinary
                                                          op_id: Arith_Plus
                                                          left: (ArithVarRef name:i)
                                                          right: (ArithWord w:{(Lit_Digits 1)})
                                                        )
                                                    )
                                                  spids: [288 295]
                                                )
                                              )
                                            }
                                          spids: [286]
                                        )
                                      ]
                                      spids: [286]
                                    )
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:COMPREPLY)
                                          op: PlusEqual
                                          rhs: 
                                            {
                                              (ArrayLiteralPart
                                                words: [
                                                  {
                                                    (CommandSubPart
                                                      command_list: 
                                                        (CommandList
                                                          children: [
                                                            (Sentence
                                                              child: 
                                                                (SimpleCommand
                                                                  words: [
                                                                    {(cd)}
                                                                    {(DQ ($ VSub_Name '$font_path'))}
                                                                  ]
                                                                  redirects: [
                                                                    (Redir
                                                                      op: <Redir_Great '2>'>
                                                                      fd: 2
                                                                      arg_word: {(/dev/null)}
                                                                    )
                                                                  ]
                                                                )
                                                              terminator: <Op_Semi ';'>
                                                            )
                                                            (C {(compgen)} {(-f)} {(-X)} 
                                                              {(DQ ('!*.@([tT][tT][fF])'))} {(-S)} {(/)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                            )
                                                          ]
                                                        )
                                                      left_token: <Left_CommandSub '$('>
                                                      spids: [302 337]
                                                    )
                                                  }
                                                ]
                                              )
                                            }
                                          spids: [299]
                                        )
                                      ]
                                      spids: [299]
                                    )
                                  ]
                                  spids: [16777215 283]
                                )
                              ]
                              spids: [16777215 342]
                            )
                          ]
                          spids: [257 345]
                        )
                    )
                    (C {(compopt)} {(-o)} {(nospace)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [132 144 358 16777215]
                )
                (case_arm
                  pat_list: [{(-T)} {(--theme)}]
                  action: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:conf_path)
                          op: Equal
                          rhs: {(TildeSubPart token:<Lit_TildeLike '~'>) (/.config/feh/themes)}
                          spids: [369]
                        )
                      ]
                      spids: [367]
                    )
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:theme_name)
                          op: Equal
                          spids: [376]
                        )
                        (assign_pair
                          lhs: (LhsName name:theme_opts)
                          op: Equal
                          spids: [378]
                        )
                      ]
                      spids: [374]
                    )
                    (AndOr
                      ops: [Op_DPipe]
                      children: [
                        (DBracket
                          expr: (BoolUnary op_id:BoolUnary_r child:{($ VSub_Name '$conf_path')})
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                    )
                    (WhileUntil
                      keyword: <KW_While while>
                      cond: [
                        (Sentence
                          child: (C {(read)} {(theme_name)} {(theme_opts)})
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      body: 
                        (DoGroup
                          children: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (DBracket
                                          expr: 
                                            (LogicalOr
                                              left: 
                                                (BoolBinary
                                                  op_id: BoolBinary_GlobDEqual
                                                  left: {(DQ ($ VSub_Name '$theme_name'))}
                                                  right: {(SQ <'#'>) (Lit_Other '*')}
                                                )
                                              right: 
                                                (BoolBinary
                                                  op_id: BoolBinary_GlobDEqual
                                                  left: {(DQ ($ VSub_Name '$theme_name'))}
                                                  right: {(DQ )}
                                                )
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [(ControlFlow token:<ControlFlow_Continue continue>)]
                                  spids: [16777215 435]
                                )
                              ]
                              spids: [16777215 441]
                            )
                            (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 ($ VSub_Name '$theme_name'))} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [447 463]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [444]
                                )
                              ]
                              spids: [444]
                            )
                          ]
                          spids: [403 468]
                        )
                      redirects: [
                        (Redir
                          op: <Redir_Less '<'>
                          fd: 16777215
                          arg_word: {(DQ ($ VSub_Name '$conf_path'))}
                        )
                      ]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [361 364 480 16777215]
                )
                (case_arm
                  pat_list: [{(-S)} {(--sort)}]
                  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 <'name filename mtime width height\n'> 
                                                  <'                pixels size format'>
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [492 509]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [489]
                        )
                      ]
                      spids: [489]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [483 486 517 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-R)}
                    {(--reload)}
                    {(-H)}
                    {(--limit-height)}
                    {(-W)}
                    {(--limit-width)}
                    {(-E)}
                    {(--thumb-height)}
                    {(-y)}
                    {(--thumb-width)}
                    {(-J)}
                    {(--thumb-redraw)}
                    {(--magick-timeout)}
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [(C {(compgen)} {(-W)} {(SQ <'{0..9}'>)})]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [557 567]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [554]
                        )
                      ]
                      spids: [554]
                    )
                    (C {(compopt)} {(-o)} {(nospace)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [520 547 582 16777215]
                )
                (case_arm
                  pat_list: [{(--zoom)}]
                  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 <'max fill'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [596 612]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [593]
                        )
                      ]
                      spids: [593]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (LogicalOr
                                      left: (LogicalNot child:(WordTest w:{($ VSub_Name '$cur')}))
                                      right: 
                                        (LogicalNot
                                          child: (WordTest w:{($ VSub_Name '$COMPREPLY')})
                                        )
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: PlusEqual
                                  rhs: 
                                    {
                                      (ArrayLiteralPart
                                        words: [
                                          {
                                            (CommandSubPart
                                              command_list: 
                                                (CommandList
                                                  children: [(C {(compgen)} {(-W)} {(SQ <'{0..9}'>)})]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [640 650]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [637]
                                )
                              ]
                              spids: [637]
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                          ]
                          spids: [16777215 634]
                        )
                      ]
                      spids: [16777215 662]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [585 586 668 16777215]
                )
                (case_arm
                  pat_list: [{(-a)} {(--alpha)}]
                  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..255}'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [680 696]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [677]
                        )
                      ]
                      spids: [677]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [671 674 704 16777215]
                )
                (case_arm
                  pat_list: [{(-b)} {(--bg)}]
                  action: [
                    (C {(_filedir)})
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: PlusEqual
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <trans>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [719 735]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [716]
                        )
                      ]
                      spids: [716]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [707 710 743 16777215]
                )
                (case_arm
                  pat_list: [{(-g)} {(--geometry)} {(--max-dimension)} {(--min-dimension)}]
                  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 '*') (x) (Lit_Other '*')}
                                        )
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:COMPREPLY)
                                  op: Equal
                                  rhs: {(ArrayLiteralPart words:[{(x)}])}
                                  spids: [784]
                                )
                              ]
                              spids: [784]
                            )
                          ]
                          spids: [16777215 781]
                        )
                      ]
                      spids: [16777215 792]
                    )
                    (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: [798 808]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [795]
                        )
                      ]
                      spids: [795]
                    )
                    (C {(compopt)} {(-o)} {(nospace)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [746 753 823 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-L)}
                    {(--customlist)}
                    {(--index-info)}
                    {(--info)}
                    {(-D)}
                    {(--slideshow-delay)}
                    {(-) (Lit_TildeLike '~')}
                    {(--thumb-title)}
                    {(-) (Lit_Other '^')}
                    {(--title)}
                  ]
                  action: [(ControlFlow token:<ControlFlow_Return return>)]
                  spids: [826 849 859 16777215]
                )
              ]
              spids: [34 40 862]
            )
            (AndOr
              ops: [Op_DAmp]
              children: [(C {($ VSub_Name '$split')}) (ControlFlow token:<ControlFlow_Return return>)]
            )
            (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: [896 912]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [893]
                        )
                      ]
                      spids: [893]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: (WordTest w:{($ VSub_Name '$COMPREPLY')})
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                    )
                  ]
                  spids: [16777215 890]
                )
              ]
              spids: [16777215 948]
            )
            (C {(_filedir)} 
              {
                (SQ 
                  <
'xpm|tif?(f)|png|p[npgba]m|iff|?(i)lbm|jp?(e)g|jfi?(f)|gif|bmp|arg?(b)|tga|xcf|ani|ico|?(e)ps|pdf|dvi|txt|svg?(z)|cdr|[ot]tf'
                  >
                )
              }
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_feh)} {(feh)})
  ]
)