(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _nmap
          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: [
                        {(-iL)}
                        {(-oN)}
                        {(-oX)}
                        {(-oS)}
                        {(-oG)}
                        {(---excludefile)}
                        {(--resume)}
                        {(--stylesheet)}
                      ]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [37 52 63 16777215]
                    )
                    (case_arm
                      pat_list: [{(-oA)} {(--datadir)}]
                      action: [
                        (C {(_filedir)} {(-d)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [66 69 82 16777215]
                    )
                    (case_arm
                      pat_list: [{(-e)}]
                      action: [
                        (C {(_available_interfaces)} {(-a)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [85 86 99 16777215]
                    )
                    (case_arm
                      pat_list: [{(-b)} {(--dns-servers)}]
                      action: [
                        (C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [102 105 120 16777215]
                    )
                  ]
                  spids: [30 34 123]
                )
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {(DQ ($ 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 
                                                      <
'-iL -iR --exclude --excludefile -sL -sP -PN\n'
                                                      > <'            -PS -PA -PU -PY -PE -PP -PM -PO -n -R --dns-servers --system-dns\n'> 
                                                      <
'            --traceroute -sS -sT -sA -sW -sM -sU -sN -sF -sX --scanflags -sI\n'
                                                      > <'            -sY -sZ -sO -b -p -F -r --top-ports --port-ratio -sV\n'> 
                                                      <
'            --version-intensity --version-light --version-all --version-trace\n'
                                                      > <'            -sC --script= --script-args= --script-trace --script-updatedb -O\n'> 
                                                      <
'            --osscan-limit --osscan-guess -T0 -T1 -T2 -T3 -T4 -T5\n'
                                                      > <'            --min-hostgroup --max-hostgroup --min-parallelism --max-parallelism\n'> 
                                                      <
'            --min-rtt-timeout --max-rtt-timeout --initial-rtt-timeout\n'
                                                      > <'            --max-retries --host-timeout --scan-delay --max-scan-delay\n'> 
                                                      <
'            --min-rate --max-rate -f --mtu -D -S -e --source-port --data-length\n'
                                                      > <'            --ip-options --ttl --spoof-mac --badsum --adler32 -oN -oX -oS -oG\n'> 
                                                      <
'            -oA -v -d --reason --open --packet-trace --iflist --log-errors\n'
                                                      > <'            --append-output --resume --stylesheet --webxml --no-stylesheet -6\n'> 
                                                      <
'            -A --datadir --send-eth --send-ip --privilege--unprivileged -V\n'
                                                      > <'            -h'>
                                                    )
                                                  } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [149 180]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [146]
                            )
                          ]
                          spids: [146]
                        )
                      ]
                      spids: [16777215 143]
                    )
                  ]
                  else_action: [(C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})]
                  spids: [185 195]
                )
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_nmap)} {(nmap)})
      ]
      op_id: Op_DAmp
    )
  ]
)