(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _links
          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 '$cur')}
                  arms: [
                    (case_arm
                      pat_list: [{(--) (Lit_Other '*')}]
                      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 <--help>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [45 61]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [42]
                            )
                          ]
                          spids: [42]
                        )
                      ]
                      spids: [37 39 66 16777215]
                    )
                    (case_arm
                      pat_list: [{(-) (Lit_Other '*')}]
                      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 <'-async-dns -max-connections\n'> 
                                                      <
'                -max-connections-to-host -retries -receive-timeout\n'
                                                      > <'                -unrestartable-receive-timeout -format-cache-size\n'> 
                                                      <
'                -memory-cache-size -http-proxy -ftp-proxy -download-dir\n'
                                                      > <'                -assume-codepage -anonymous -dump -no-connect -source -version\n'> 
                                                      <'                -help'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [77 98]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [74]
                            )
                          ]
                          spids: [74]
                        )
                      ]
                      spids: [69 71 103 16777215]
                    )
                    (case_arm
                      pat_list: [{(Lit_Other '*')}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolUnary
                                          op_id: BoolUnary_r
                                          child: {(Lit_Tilde '~') (/.links/links.his)}
                                        )
                                    )
                                  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 <'$( < ~/.links/links.his )'>)} {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [128 146]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [125]
                                    )
                                  ]
                                  spids: [125]
                                )
                              ]
                              spids: [16777215 122]
                            )
                          ]
                          spids: [16777215 151]
                        )
                        (C {(_filedir)} {(SQ <'@(htm|html)'>)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [106 107 166 16777215]
                    )
                  ]
                  spids: [30 34 169]
                )
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_links)} {(links)})
      ]
      op_id: Op_DAmp
    )
  ]
)