(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _ping
          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)} {(-n)} {(Lit_Other '=')})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-c)}
                        {(-F)}
                        {(-G)}
                        {(-g)}
                        {(-h)}
                        {(-i)}
                        {(-l)}
                        {(-m)}
                        {(-P)}
                        {(-p)}
                        {(-s)}
                        {(-t)}
                        {(-V)}
                        {(-W)}
                        {(-w)}
                        {(-z)}
                      ]
                      action: [(ControlFlow token:<ControlFlow_Return return>)]
                      spids: [41 72 78 16777215]
                    )
                    (case_arm
                      pat_list: [{(-I)}]
                      action: [
                        (C {(_available_interfaces)} {(-a)})
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [81 82 93 16777215]
                    )
                    (case_arm
                      pat_list: [{(-M)}]
                      action: [
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opts)
                              op: Equal
                              rhs: {(DQ ('do want dont'))}
                              spids: [106]
                            )
                          ]
                          spids: [104]
                        )
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$OSTYPE')}
                                  right: {(Lit_Other '*') (bsd) (Lit_Other '*')}
                                )
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:opts)
                                  op: Equal
                                  rhs: {(DQ ('mask time'))}
                                  spids: [126]
                                )
                              ]
                              spids: [126]
                            )
                          ]
                          op_id: Op_DAmp
                        )
                        (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 <'$opts'>)} {(--)} 
                                                  {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [135 151]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [132]
                            )
                          ]
                          spids: [132]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [96 97 159 16777215]
                    )
                    (case_arm
                      pat_list: [{(-N)}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobNEqual
                                          left: {($ VSub_Name '$cur')}
                                          right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                                        )
                                    )
                                  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 
                                                              <
'name ipv6 ipv6-global ipv6-sitelocal\n'
                                                              > <'                    ipv6-linklocal ipv6-all ipv4 ipv4-all subject-ipv6=\n'> 
                                                              <
'                    subject-ipv4= subject-name= subject-fqdn='
                                                              >
                                                            )
                                                          } {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [186 204]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [183]
                                    )
                                  ]
                                  spids: [183]
                                )
                                (AndOr
                                  children: [
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobDEqual
                                          left: {($ VSub_Name '$COMPREPLY')}
                                          right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                                        )
                                    )
                                    (C {(compopt)} {(-o)} {(nospace)})
                                  ]
                                  op_id: Op_DAmp
                                )
                              ]
                              spids: [16777215 180]
                            )
                          ]
                          spids: [16777215 229]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [162 163 235 16777215]
                    )
                    (case_arm
                      pat_list: [{(-Q)}]
                      action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (DBracket
                                      expr: 
                                        (BoolBinary
                                          op_id: BoolBinary_GlobNEqual
                                          left: {($ VSub_Name '$OSTYPE')}
                                          right: {(Lit_Other '*') (bsd) (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 <'{0..7}'>)} {(--)} 
                                                          {(DQ ($ VSub_Name '$cur'))}
                                                        )
                                                      ]
                                                    )
                                                  left_token: <Left_CommandSub '$('>
                                                  spids: [267 283]
                                                )
                                              }
                                            ]
                                          )
                                        }
                                      spids: [264]
                                    )
                                  ]
                                  spids: [264]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Return return>
                                )
                              ]
                              spids: [16777215 261]
                            )
                          ]
                          spids: [16777215 291]
                        )
                      ]
                      spids: [238 239 294 16777215]
                    )
                    (case_arm
                      pat_list: [{(-S)}]
                      action: [
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$OSTYPE')}
                                  right: {(Lit_Other '*') (bsd) (Lit_Other '*')}
                                )
                            )
                            (C {(_ip_addresses)})
                          ]
                          op_id: Op_DAmp
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [297 298 325 16777215]
                    )
                    (case_arm
                      pat_list: [{(-T)}]
                      action: [
                        (AndOr
                          children: [
                            (DBracket
                              expr: 
                                (BoolBinary
                                  op_id: BoolBinary_GlobDEqual
                                  left: {($ VSub_Name '$OSTYPE')}
                                  right: {(Lit_Other '*') (bsd) (Lit_Other '*')}
                                )
                            )
                            (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 <'tsonly tsandaddr'>)} 
                                                      {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                    )
                                                  ]
                                                )
                                              left_token: <Left_CommandSub '$('>
                                              spids: [355 371]
                                            )
                                          }
                                        ]
                                      )
                                    }
                                  spids: [352]
                                )
                              ]
                              spids: [352]
                            )
                          ]
                          op_id: Op_DPipe
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [328 329 379 16777215]
                    )
                  ]
                  spids: [34 38 382]
                )
                (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_usage "$1" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [406 422]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [403]
                            )
                          ]
                          spids: [403]
                        )
                        (ControlFlow token:<ControlFlow_Return return>)
                      ]
                      spids: [16777215 400]
                    )
                  ]
                  spids: [16777215 430]
                )
                (C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_ping)} {(ping)} {(ping6)})
      ]
      op_id: Op_DAmp
    )
  ]
)