(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _fbgs
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[13])
                  op: Equal
                  spids: [13]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[15])
                  op: Equal
                  spids: [15]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[17])
                  op: Equal
                  spids: [17]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[19])
                  op: Equal
                  spids: [19]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {(DQ ($ VSub_DollarName '$prev'))}
              arms: [
                (case_arm
                  pat_list: [{(-f)} {(--font)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:IFS spids:[47])
                          op: Equal
                          rhs: 
                            {
                              (word_part.SingleQuotedPart
                                left: <Left_DollarSingleQuote "$'">
                                tokens: [<Char_OneChar '\\n'>]
                                spids: [48 50]
                              )
                            }
                          spids: [47]
                        )
                      ]
                      spids: [45]
                    )
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[53])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} {(SQ <'$( fc-list 2>/dev/null )'>)} 
                                              {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [56 72]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [53]
                        )
                      ]
                      spids: [53]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [39 42 80 16777215]
                )
                (case_arm
                  pat_list: [{(-m)} {(--mode)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[89])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ <'$( sed \\\n'> 
                                                  <
'                -n "/^mode/{s/^mode \\{1,\\}\\"\\([^\\"]\\{1,\\}\\)\\"/\\1/g;p}" \\\n'
                                                  > <'                /etc/fb.modes 2> /dev/null )'>
                                                )
                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [92 110]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [89]
                        )
                      ]
                      spids: [89]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [83 86 118 16777215]
                )
                (case_arm
                  pat_list: [{(-d)} {(--device)}]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[127])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-f)} {(-d)} {(--)} 
                                              {
                                                (DQ 
                                                  (word_part.BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (suffix_op.StringUnary
                                                        op_id: VTest_ColonHyphen
                                                        arg_word: {(Lit_Slash /) (dev) (Lit_Slash /)}
                                                      )
                                                    spids: [141 147]
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [130 150]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [127]
                        )
                      ]
                      spids: [127]
                    )
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [121 124 158 16777215]
                )
                (case_arm
                  pat_list: [
                    {(-fp)}
                    {(--firstpage)}
                    {(-lp)}
                    {(--lastpage)}
                    {(-r)}
                    {(--resolution)}
                    {(-s)}
                    {(--scroll)}
                    {(-t)}
                    {(--timeout)}
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[189])
                          op: PlusEqual
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [(C {(compgen)} {(-W)} {(SQ <'{0..9}'>)})]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [192 202]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [189]
                        )
                      ]
                      spids: [189]
                    )
                    (C {(compopt)} {(-o)} {(nospace)})
                    (command.ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [161 182 217 16777215]
                )
                (case_arm
                  pat_list: [{(-T)} {(--vt)} {(-p)} {(--password)} {(-g)} {(--gamma)}]
                  action: [(command.ControlFlow token:<ControlFlow_Return return>)]
                  spids: [220 231 241 16777215]
                )
              ]
              spids: [30 36 244]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_DollarName '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[267])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ <'--bell --help --password -fp --firstpage\n'> 
                                                  <
'            -lp --lastpage --color -l -xl -xxl --resolution --autozoom\n'
                                                  > <'            --{,no}autoup --{,no}autodown --{,no}fitwidth --{,no}verbose\n'> 
                                                  <
'            --{,no}random --vt --scroll --timeout --{,no}once --gamma --font\n'
                                                  > <'            --device --mode'>
                                                )
                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [270 290]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [267]
                        )
                      ]
                      spids: [267]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: (bool_expr.WordTest w:{($ VSub_DollarName '$COMPREPLY')})
                        )
                        (command.ControlFlow
                          token: <ControlFlow_Return return>
                        )
                      ]
                    )
                  ]
                  spids: [16777215 264]
                )
              ]
              spids: [16777215 306]
            )
            (C {(_filedir)} {(SQ <'?(e)ps|pdf'>)})
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_fbgs)} {(fbgs)})
  ]
)