(AndOr
  ops: [Op_DAmp]
  children: [
    (FuncDef
      name: _tshark
      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
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-n)} {(Lit_Other ':')})
                (ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (Case
              to_match: {($ VSub_Name '$prev')}
              arms: [
                (case_arm
                  pat_list: [
                    {(-f)}
                    {(-s)}
                    {(-B)}
                    {(-D)}
                    {(-L)}
                    {(-c)}
                    {(-R)}
                    {(-N)}
                    {(-d)}
                    {(-C)}
                    {(-e)}
                    {(-E)}
                    {(-z)}
                    {(-h)}
                    {(-v)}
                    {(-o)}
                    {(-K)}
                  ]
                  action: [(ControlFlow token:<ControlFlow_Return return>)]
                  spids: [41 74 80 16777215]
                )
                (case_arm
                  pat_list: [{(-i)}]
                  action: [
                    (C {(_available_interfaces)} {(-a)})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [83 84 95 16777215]
                )
                (case_arm
                  pat_list: [{(-y)}]
                  action: [
                    (Assignment
                      keyword: Assign_Local
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:opts)
                          op: Equal
                          spids: [104]
                        )
                        (assign_pair
                          lhs: (LhsName name:i)
                          op: Equal
                          spids: [106]
                        )
                      ]
                      spids: [102]
                    )
                    (ForExpr
                      init: 
                        (BinaryAssign
                          op_id: Arith_Equal
                          left: (LhsName name:i)
                          right: 
                            (ArithBinary
                              op_id: Arith_Minus
                              left: 
                                (ArithWord
                                  w: 
                                    {
                                      (BracedVarSub
                                        token: <VSub_Name words>
                                        prefix_op: VSub_Pound
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [115 121]
                                      )
                                    }
                                )
                              right: (ArithWord w:{(Lit_Digits 1)})
                            )
                        )
                      cond: 
                        (ArithBinary
                          op_id: Arith_Great
                          left: (ArithVarRef name:i)
                          right: (ArithWord w:{(Lit_Digits 0)})
                        )
                      update: (UnaryAssign op_id:Node_PostDMinus child:(LhsName name:i))
                      body: 
                        (DoGroup
                          children: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (DBracket
                                          expr: 
                                            (BoolBinary
                                              op_id: BoolBinary_GlobDEqual
                                              left: 
                                                {
                                                  (BracedVarSub
                                                    token: <VSub_Name words>
                                                    bracket_op: (ArrayIndex expr:(ArithVarRef name:i))
                                                    spids: [147 152]
                                                  )
                                                }
                                              right: {(-i)}
                                            )
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:opts)
                                          op: PlusEqual
                                          rhs: 
                                            {
                                              (DQ ('-i ') 
                                                (BracedVarSub
                                                  token: <VSub_Name words>
                                                  bracket_op: 
                                                    (ArrayIndex
                                                      expr: 
                                                        (ArithBinary
                                                          op_id: Arith_Plus
                                                          left: (ArithVarRef name:i)
                                                          right: (ArithWord w:{(Lit_Digits 1)})
                                                        )
                                                    )
                                                  spids: [167 174]
                                                )
                                              )
                                            }
                                          spids: [164]
                                        )
                                      ]
                                      spids: [164]
                                    )
                                    (ControlFlow
                                      token: <ControlFlow_Break break>
                                    )
                                  ]
                                  spids: [16777215 161]
                                )
                              ]
                              spids: [16777215 181]
                            )
                          ]
                          spids: [140 184]
                        )
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (Pipeline
                                                            children: [
                                                              (SimpleCommand
                                                                words: [
                                                                  {(DQ ($ VSub_Number '$1'))}
                                                                  {($ VSub_Name '$opts')}
                                                                  {(-L)}
                                                                ]
                                                                redirects: [
                                                                  (Redir
                                                                    op: <Redir_GreatAnd '2>&'>
                                                                    fd: 2
                                                                    arg_word: {(1)}
                                                                  )
                                                                ]
                                                              )
                                                              (C {(awk)} {(SQ <'/^  / { print $1 }'>)})
                                                            ]
                                                            negated: F
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [197 220]
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [190 229]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [187]
                        )
                      ]
                      spids: [187]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [98 99 237 16777215]
                )
                (case_arm
                  pat_list: [{(-a)} {(-b)}]
                  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 <'duration: filesize: files:'>)} 
                                              {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [249 267]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [246]
                        )
                      ]
                      spids: [246]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$COMPREPLY')}
                              right: {(Lit_Other '*') (Lit_Other ':')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [240 243 295 16777215]
                )
                (case_arm
                  pat_list: [{(-r)}]
                  action: [(C {(_filedir)} {(pcap)}) (ControlFlow token:<ControlFlow_Return return>)]
                  spids: [298 299 310 16777215]
                )
                (case_arm
                  pat_list: [{(-H)}]
                  action: [(C {(_filedir)}) (ControlFlow token:<ControlFlow_Return return>)]
                  spids: [313 314 323 16777215]
                )
                (case_arm
                  pat_list: [{(-w)}]
                  action: [
                    (C {(_filedir)})
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$cur')}
                              right: {(ExtGlobPart op:<ExtGlob_At '@('> spids:[339 342])}
                            )
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: PlusEqual
                              rhs: {(ArrayLiteralPart words:[{(-)}])}
                              spids: [348]
                            )
                          ]
                          spids: [348]
                        )
                      ]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [326 327 359 16777215]
                )
                (case_arm
                  pat_list: [{(-F)}]
                  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)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (Pipeline
                                                            children: [
                                                              (SimpleCommand
                                                                words: [
                                                                  {(DQ ($ VSub_Number '$1'))}
                                                                  {(-F)}
                                                                ]
                                                                redirects: [
                                                                  (Redir
                                                                    op: <Redir_GreatAnd '2>&'>
                                                                    fd: 2
                                                                    arg_word: {(1)}
                                                                  )
                                                                ]
                                                              )
                                                              (C {(awk)} {(SQ <'/^  / { print $1 }'>)})
                                                            ]
                                                            negated: F
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [376 397]
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [369 406]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [366]
                        )
                      ]
                      spids: [366]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [362 363 414 16777215]
                )
                (case_arm
                  pat_list: [{(-O)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:prefix)
                              op: Equal
                              rhs: {(EmptyPart)}
                              spids: [423]
                            )
                          ]
                          spids: [421]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_Name '$cur')}
                              right: {(Lit_Other '*') (Lit_Comma ',') (Lit_Other '*')}
                            )
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:prefix)
                              op: Equal
                              rhs: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name cur>
                                      suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(',*')})
                                      spids: [442 446]
                                    ) (',')
                                  )
                                }
                              spids: [440]
                            )
                          ]
                          spids: [440]
                        )
                      ]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:COMPREPLY)
                          op: Equal
                          rhs: 
                            {
                              (ArrayLiteralPart
                                words: [
                                  {
                                    (CommandSubPart
                                      command_list: 
                                        (CommandList
                                          children: [
                                            (C {(compgen)} {(-P)} {(DQ ($ VSub_Name '$prefix'))} {(-W)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (Pipeline
                                                            children: [
                                                              (SimpleCommand
                                                                words: [
                                                                  {(DQ ($ VSub_Number '$1'))}
                                                                  {(-G)}
                                                                  {(protocols)}
                                                                ]
                                                                redirects: [
                                                                  (Redir
                                                                    op: <Redir_GreatAnd '2>&'>
                                                                    fd: 2
                                                                    arg_word: {(1)}
                                                                  )
                                                                ]
                                                              )
                                                              (C {(cut)} {(-f)} {(3)})
                                                            ]
                                                            negated: F
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [469 490]
                                                  )
                                                )
                                              } {(--)} 
                                              {
                                                (DQ 
                                                  (BracedVarSub
                                                    token: <VSub_Name cur>
                                                    suffix_op: 
                                                      (StringUnary
                                                        op_id: VOp1_DPound
                                                        arg_word: {('*,')}
                                                      )
                                                    spids: [498 502]
                                                  )
                                                )
                                              }
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [454 505]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [451]
                        )
                      ]
                      spids: [451]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [417 418 513 16777215]
                )
                (case_arm
                  pat_list: [{(-T)}]
                  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 <'ps text pdml psml fields'>)} 
                                              {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [527 543]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [524]
                        )
                      ]
                      spids: [524]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [516 517 551 16777215]
                )
                (case_arm
                  pat_list: [{(-t)}]
                  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 <'ad a r d dd e'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [565 581]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [562]
                        )
                      ]
                      spids: [562]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [554 555 589 16777215]
                )
                (case_arm
                  pat_list: [{(-u)}]
                  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 <'s hms'>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [603 619]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [600]
                        )
                      ]
                      spids: [600]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [592 593 627 16777215]
                )
                (case_arm
                  pat_list: [{(-W)}]
                  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 <n>)} {(--)} 
                                              {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [637 653]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [634]
                        )
                      ]
                      spids: [634]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [630 631 661 16777215]
                )
                (case_arm
                  pat_list: [{(-X)}]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {($ VSub_Name '$cur')}
                                      right: {(lua_script) (Lit_Other ':') (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: (StringUnary op_id:VOp1_Pound arg_word:{('*:')})
                                        spids: [687 691]
                                      )
                                    }
                                  spids: [686]
                                )
                              ]
                              spids: [686]
                            )
                            (C {(_filedir)} {(lua)})
                          ]
                          spids: [16777215 683]
                        )
                      ]
                      else_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 <'lua_script:'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [705 721]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [702]
                            )
                          ]
                          spids: [702]
                        )
                        (AndOr
                          ops: [Op_DAmp]
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$COMPREPLY')}
                                  right: {(Lit_Other '*') (Lit_Other ':')}
                                )
                            )
                            (C {(compopt)} {(-o)} {(nospace)})
                          ]
                        )
                      ]
                      spids: [699 746]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [664 665 752 16777215]
                )
                (case_arm
                  pat_list: [{(-G)}]
                  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)} 
                                              {
                                                (DQ 
                                                  (CommandSubPart
                                                    command_list: 
                                                      (CommandList
                                                        children: [
                                                          (Pipeline
                                                            children: [
                                                              (C {(DQ ($ VSub_Number '$1'))} {(-G)} 
                                                                {(Lit_Other '?')}
                                                              )
                                                              (C {(awk)} 
                                                                {
                                                                  (SQ <'/^[ \\t]*-G / \\\n'> 
                                                                    <
'                     { sub("^[[]","",$2); sub("[]]$","",$2); print $2 }'
                                                                    >
                                                                  )
                                                                }
                                                              )
                                                            ]
                                                            negated: F
                                                          )
                                                        ]
                                                      )
                                                    left_token: <Left_CommandSub '$('>
                                                    spids: [769 790]
                                                  )
                                                )
                                              } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [762 801]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [759]
                        )
                      ]
                      spids: [759]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [755 756 809 16777215]
                )
              ]
              spids: [34 38 814]
            )
            (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 <'$( _parse_help "$1" -h )'>)} 
                                              {(--)} {(DQ ($ VSub_Name '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [840 856]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [837]
                        )
                      ]
                      spids: [837]
                    )
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  spids: [16777215 834]
                )
              ]
              spids: [16777215 864]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_tshark)} {(tshark)})
  ]
)