(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _fbi
      body: 
        (BraceGroup
          children: [
            (C {<local>} {<cur>} {<prev>} {<words>} {<cword>})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<_init_completion>})
                (command.ControlFlow token:<Id.ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {(DQ ($ Id.VSub_DollarName '$prev'))}
              arms: [
                (case_arm
                  pat_list: [{<-l>} {<--list>}]
                  action: [(C {<_filedir>}) (command.ControlFlow token:<Id.ControlFlow_Return return>)]
                  spids: [39 42 51 -1]
                )
                (case_arm
                  pat_list: [{<-r>} {<--resolution>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.PlusEqual
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (command_sub
                                      left_token: <Id.Left_DollarParen '$('>
                                      child: (C {<compgen>} {<-W>} {(SQ <'{1..5}'>)})
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [60]
                        )
                      ]
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                  spids: [54 57 81 -1]
                )
                (case_arm
                  pat_list: [{<-f>} {<--font>}]
                  action: [
                    (C {<local>} 
                      {<Id.Lit_VarLike 'IFS='> 
                        (single_quoted
                          left: <Id.Left_DollarSingleQuote '$\''>
                          tokens: [<Id.Char_OneChar '\\n'>]
                          multiline: F
                        )
                      }
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (command_sub
                                      left_token: <Id.Left_DollarParen '$('>
                                      child: 
                                        (C {<compgen>} {<-W>} {(SQ <'$( fc-list 2> /dev/null )'>)} {<-->} 
                                          {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [98]
                        )
                      ]
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                  spids: [84 87 125 -1]
                )
                (case_arm
                  pat_list: [{<-m>} {<--mode>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (command_sub
                                      left_token: <Id.Left_DollarParen '$('>
                                      child: 
                                        (C {<compgen>} {<-W>} 
                                          {
                                            (SQ <'$( sed \\\n'> 
                                              <
'                -n "/^mode/{s/^mode \\{1,\\}\\"\\([^\\"]\\{1,\\}\\)\\"/\\1/g;p}" \\\n'
                                              > <'                /etc/fb.modes 2> /dev/null )'>
                                            )
                                          } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [134]
                        )
                      ]
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                  spids: [128 131 163 -1]
                )
                (case_arm
                  pat_list: [{<-d>} {<--device>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (command_sub
                                      left_token: <Id.Left_DollarParen '$('>
                                      child: 
                                        (C {<compgen>} {<-f>} {<-d>} {<-->} 
                                          {
                                            (DQ 
                                              (braced_var_sub
                                                token: <Id.VSub_Name cur>
                                                suffix_op: 
                                                  (suffix_op.Unary
                                                    tok: <Id.VTest_ColonHyphen ':-'>
                                                    arg_word: 
                                                      {<Id.Lit_Slash '/'> <dev> <Id.Lit_Slash '/'>}
                                                  )
                                              )
                                            )
                                          }
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [172]
                        )
                      ]
                    )
                    (command.ControlFlow token:<Id.ControlFlow_Return return>)
                  ]
                  spids: [166 169 203 -1]
                )
                (case_arm
                  pat_list: [
                    {<--cachemem>}
                    {<--blend>}
                    {<-T>}
                    {<--vt>}
                    {<-s>}
                    {<--scroll>}
                    {<-t>}
                    {<--timeout>}
                    {<-g>}
                    {<--gamma>}
                  ]
                  action: [(command.ControlFlow token:<Id.ControlFlow_Return return>)]
                  spids: [206 225 235 -1]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobDEqual
                                  left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                                  right: {<-> <Id.Lit_Other '*'>}
                                )
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (command_sub
                                      left_token: <Id.Left_DollarParen '$('>
                                      child: 
                                        (C {<compgen>} {<-W>} 
                                          {
                                            (SQ <'--help --version --store --list --text\n'> 
                                              <
'            --autozoom --{,no}autoup --{,no}autodown --{,no}fitwidth\n'
                                              > <'            --{,no}verbose --{,no}random --{,no}comments --{,no}edit\n'> 
                                              <
'            --{,no}backup --{,no}preserve --{,no}readahead --cachemem --blend\n'
                                              > <'            --vt --scroll --timeout --{,no}once --resolution --gamma --font\n'> 
                                              <'            --device --mode'>
                                            )
                                          } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [261]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: (bool_expr.WordTest w:{($ Id.VSub_DollarName '$COMPREPLY')})
                        )
                        (command.ControlFlow
                          token: <Id.ControlFlow_Return return>
                        )
                      ]
                    )
                  ]
                  spids: [242 258]
                )
              ]
            )
            (C {<_filedir>} 
              {
                (SQ 
                  <
'bmp|gif|jp?(e)g|pcd|png|p[pgb]m|tif?(f)|webp|xpm|xwd|?(e)ps|pdf|dvi|txt|svg?(z)|cdr|[ot]tf'
                  >
                )
              }
            )
          ]
        )
    )
    (C {<complete>} {<-F>} {<_fbi>} {<fbi>})
  ]
)