(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _curl
          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])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [(C {(_init_completion)}) (ControlFlow token:<ControlFlow_Return return>)]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(--ciphers)}
                        {(--connect-timeout)}
                        {(-C)}
                        {(--continue-at)}
                        {(-F)}
                        {(--form)}
                        {(--form-string)}
                        {(--ftp-account)}
                        {(--ftp-alternative-to-user)}
                        {(-P)}
                        {(--ftp-port)}
                        {(-H)}
                        {(--header)}
                        {(-h)}
                        {(--help)}
                        {(--hostpubmd5)}
                        {(--keepalive-time)}
                        {(--krb)}
                        {(--limit-rate)}
                        {(--local-port)}
                        {(--mail-from)}
                        {(--mail-rcpt)}
                        {(--max-filesize)}
                        {(--max-redirs)}
                        {(-m)}
                        {(--max-time)}
                        {(--pass)}
                        {(--proto)}
                        {(--proto-redir)}
                        {(--proxy-user)}
                        {(--proxy1.0)}
                        {(-Q)}
                        {(--quote)}
                        {(-r)}
                        {(--range)}
                        {(-X)}
                        {(--request)}
                        {(--retry)}
                        {(--retry-delay)}
                        {(--retry-max-time)}
                        {(--socks5-gssapi-service)}
                        {(-t)}
                        {(--telnet-option)}
                        {(--tftp-blksize)}
                        {(-z)}
                        {(--time-cond)}
                        {(--url)}
                        {(-u)}
                        {(--user)}
                        {(-A)}
                        {(--user-agent)}
                        {(-V)}
                        {(--version)}
                        {(-w)}
                        {(--write-out)}
                        {(--resolve)}
                        {(--tlsuser)}
                        {(--tlspassword)}
                      ]
                      action: [(ControlFlow token:<ControlFlow_Return return>)]
                      spids: [37 168 174 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-K)}
                        {(--config)}
                        {(-b)}
                        {(--cookie)}
                        {(-c)}
                        {(--cookie-jar)}
                        {(-D)}
                        {(--dump-header)}
                        {(--egd-file)}
                        {(--key)}
                        {(--libcurl)}
                        {(-o)}
                        {(--output)}
                        {(--random-file)}
                        {(-T)}
                        {(--upload-file)}
                        {(--trace)}
                        {(--trace-ascii)}
                        {(--netrc-file)}
                      ]
                      action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [177 218 227 16777215]
                    )
                    (case_arm
                      pat_list: [{(--cacert)} {(-E)} {(--cert)}]
                      action: [
                        (C {(_filedir)} {(SQ <'@(c?(e)rt|cer|pem|der)'>)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [230 235 248 16777215]
                    )
                    (case_arm
                      pat_list: [{(--capath)}]
                      action: [(C {(_filedir)} {(-d)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [251 252 263 16777215]
                    )
                    (case_arm
                      pat_list: [{(--cert-type)} {(--key-type)}]
                      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 <'DER PEM ENG'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [275 291]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [272]
                            )
                          ]
                          spids: [272]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [266 269 299 16777215]
                    )
                    (case_arm
                      pat_list: [{(--crlfile)}]
                      action: [(C {(_filedir)} {(crl)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [302 303 314 16777215]
                    )
                    (case_arm
                      pat_list: [{(-d)} {(--data)} {(--data-ascii)} {(--data-binary)} {(--data-urlencode)}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {($ VSub_Name '$cur')}
                                          right: 
                                            {(EscapedLiteralPart token:<Lit_EscapedChar '\\@'>) 
                                              (Lit_Other '*')
                                            }
                                        )
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:cur)
                                      op: Equal
                                      rhs: 
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name cur>
                                            suffix_op: (Slice begin:(ArithWord w:{(Lit_Digits 1)}))
                                            spids: [347 351]
                                          )
                                        }
                                      spids: [346]
                                    )
                                  ]
                                  spids: [346]
                                )
                                (C {(_filedir)})
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:COMPREPLY)
                                      op: Equal
                                      rhs: 
                                        {
                                          (ArrayLiteralPart
                                            words: [
                                              {
                                                (DQ 
                                                  (BracedVarSub
                                                    token: <VSub_Name COMPREPLY>
                                                    bracket_op: (WholeArray op_id:Lit_At)
                                                    suffix_op: 
                                                      (PatSub
                                                        pat: {}
                                                        replace: {('@')}
                                                        do_all: False
                                                        do_prefix: True
                                                        do_suffix: False
                                                      )
                                                    spids: [361 370]
                                                  )
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [357]
                                    )
                                  ]
                                  spids: [357]
                                )
                              ]
                              spids: [16777215 343]
                            )
                          ]
                          spids: [16777215 376]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [317 326 382 16777215]
                    )
                    (case_arm
                      pat_list: [{(--delegation)}]
                      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 <'none policy always'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [392 408]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [389]
                            )
                          ]
                          spids: [389]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [385 386 416 16777215]
                    )
                    (case_arm
                      pat_list: [{(--engine)}]
                      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 <list>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [426 442]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [423]
                            )
                          ]
                          spids: [423]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [419 420 450 16777215]
                    )
                    (case_arm
                      pat_list: [{(--ftp-method)}]
                      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 <'multicwd nocwd singlecwd'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [460 476]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [457]
                            )
                          ]
                          spids: [457]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [453 454 484 16777215]
                    )
                    (case_arm
                      pat_list: [{(--ftp-ssl-ccc-mode)}]
                      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 <'active passive'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [494 510]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [491]
                            )
                          ]
                          spids: [491]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [487 488 518 16777215]
                    )
                    (case_arm
                      pat_list: [{(--interface)}]
                      action: [
                        (C {(_available_interfaces)} {(-a)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [521 522 533 16777215]
                    )
                    (case_arm
                      pat_list: [
                        {(-x)}
                        {(--proxy)}
                        {(--socks4)}
                        {(--socks4a)}
                        {(--socks5)}
                        {(--socks5-hostname)}
                      ]
                      action: [
                        (C {(_known_hosts_real)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [536 547 556 16777215]
                    )
                    (case_arm
                      pat_list: [{(--pubkey)}]
                      action: [(C {(_filedir)} {(pub)}) (ControlFlow token:<ControlFlow_Return return>)]
                      spids: [559 560 571 16777215]
                    )
                    (case_arm
                      pat_list: [{(--stderr)}]
                      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 <->)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [581 597]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [578]
                            )
                          ]
                          spids: [578]
                        )
                        (C {(_filedir)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [574 575 608 16777215]
                    )
                    (case_arm
                      pat_list: [{(--tlsauthtype)}]
                      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 <SRP>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [618 634]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [615]
                            )
                          ]
                          spids: [615]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [611 612 642 16777215]
                    )
                  ]
                  spids: [30 34 645]
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ 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" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [669 685]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [666]
                            )
                          ]
                          spids: [666]
                        )
                      ]
                      spids: [16777215 663]
                    )
                  ]
                  spids: [16777215 690]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_curl)} {(curl)})
      ]
      op_id: Op_DAmp
    )
  ]
)