(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _gkrellm
      body: 
        (command.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: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{<-t>} {<--theme>}]
                  action: [
                    (C {<_filedir>} {<-d>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [37 40 53 -1]
                )
                (case_arm
                  pat_list: [{<-p>} {<--plugin>}]
                  action: [
                    (C {<_filedir>} {<so>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [56 59 72 -1]
                )
                (case_arm
                  pat_list: [{<-s>} {<--server>}]
                  action: [
                    (C {<_known_hosts_real>} {(DQ ($ Id.VSub_DollarName '$cur'))})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [75 78 93 -1]
                )
                (case_arm
                  pat_list: [{<-l>} {<--logfile>}]
                  action: [
                    (C {<_filedir>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [96 99 110 -1]
                )
                (case_arm
                  pat_list: [
                    {<-g>}
                    {<--geometry>}
                    {<-c>}
                    {<--config>}
                    {<-P>}
                    {<--port>}
                    {<-d>}
                    {<--debug-level>}
                  ]
                  action: [(command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})]
                  spids: [113 128 140 -1]
                )
                (case_arm
                  pat_list: [{<-h>} {<--help>} {<-v>} {<--version>}]
                  action: [(command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})]
                  spids: [143 150 162 -1]
                )
              ]
            )
            (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 '$('>
                              command_list: 
                                (command.CommandList
                                  children: [
                                    (C {<compgen>} {<-W>} {(SQ <'$( _parse_help "$1" )'>)} {<-->} 
                                      {(DQ ($ Id.VSub_DollarName '$cur'))}
                                    )
                                  ]
                                )
                            )
                          }
                        ]
                      )
                    }
                  spids: [169]
                )
              ]
            )
          ]
        )
    )
    (C {<complete>} {<-F>} {<_gkrellm>} {<gkrellm>} {<gkrellm2>})
  ]
)