(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _lzop
      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: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{<-o>} {<--output>}]
                  action: [
                    (C {<_filedir>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [37 40 51 -1]
                )
                (case_arm
                  pat_list: [{<--path>}]
                  action: [
                    (C {<_filedir>} {<-d>})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [54 55 68 -1]
                )
                (case_arm
                  pat_list: [{<-S>} {<--suffix>}]
                  action: [(command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})]
                  spids: [71 74 82 -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 <'-1 -2 -3 -4 -5 -6 -7 -8 -9 -P\n'> 
                                              <
'            --fast --best --decompress --extract --test --list --ls --info\n'
                                              > <'            --sysinfo --license --help --version --stdout --output --path\n'> 
                                              <
'            --force --no-checksum --no-name --name --no-mode --no-time --suffix\n'
                                              > <'            --keep --delete --crc32 --no-warn --ignore-warn --quiet --verbose\n'> 
                                              <
'            --no-stdin --filter --checksum --no-color --mono --color'
                                              >
                                            )
                                          } {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))}
                                        )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [108]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [89 105]
                )
              ]
            )
            (C {<local>} {<Id.Lit_VarLike 'xspec='> (DQ <'*.?(t)lzo'>)})
            (command.Case
              to_match: {($ Id.VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [
                    {<--decompress>}
                    {<--uncompress>}
                    {<--extract>}
                    {<--list>}
                    {<--ls>}
                    {<--info>}
                    {<--test>}
                  ]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:xspec)
                          op: assign_op.Equal
                          rhs: {(DQ <'!'>) ($ Id.VSub_DollarName '$xspec')}
                          spids: [179]
                        )
                      ]
                    )
                  ]
                  spids: [163 176 186 -1]
                )
                (case_arm
                  pat_list: [{<--force>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:xspec)
                          op: assign_op.Equal
                          rhs: (word.Empty)
                          spids: [193]
                        )
                      ]
                    )
                  ]
                  spids: [189 190 196 -1]
                )
                (case_arm pat_list:[{<--> <Id.Lit_Star '*'>}] spids:[199 201 204 -1])
                (case_arm
                  pat_list: [{<-> <Id.Lit_Star '*'> <f> <Id.Lit_Star '*'>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:xspec)
                          op: assign_op.Equal
                          rhs: (word.Empty)
                          spids: [214]
                        )
                      ]
                    )
                  ]
                  spids: [207 211 217 -1]
                )
                (case_arm
                  pat_list: [
                    {<-> <Id.Lit_Star '*'> <Id.Lit_LBracket '['> <dltx> <Id.Lit_RBracket ']'> 
                      <Id.Lit_Star '*'>
                    }
                  ]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:xspec)
                          op: assign_op.Equal
                          rhs: {(DQ <'!'>) ($ Id.VSub_DollarName '$xspec')}
                          spids: [229]
                        )
                      ]
                    )
                  ]
                  spids: [220 226 236 -1]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<_expand>})
                (command.ControlFlow
                  token: <Id.ControlFlow_Return return>
                  arg_word: {<0>}
                )
              ]
            )
            (C {<local>} 
              {<Id.Lit_VarLike 'IFS='> 
                (single_quoted
                  left: <Id.Left_DollarSingleQuote '$\''>
                  tokens: [<Id.Char_OneChar '\\n'>]
                  multiline: F
                )
              }
            )
            (C {<compopt>} {<-o>} {<filenames>})
            (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>} {<-X>} {(DQ ($ Id.VSub_DollarName '$xspec'))} {<-->} 
                                  {(DQ ($ Id.VSub_DollarName '$cur'))}
                                )
                            )
                          }
                          {
                            (command_sub
                              left_token: <Id.Left_DollarParen '$('>
                              child: (C {<compgen>} {<-d>} {<-->} {(DQ ($ Id.VSub_DollarName '$cur'))})
                            )
                          }
                        ]
                      )
                    }
                  spids: [268]
                )
              ]
            )
          ]
        )
    )
    (C {<complete>} {<-F>} {<_lzop>} {<lzop>})
  ]
)