(CommandList
  children: [
    (AndOr
      children: [
        (FuncDef
          name: _wol
          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])
                    (assign_pair lhs:(LhsName name:split) op:Equal spids:[21])
                  ]
                  spids: [11]
                )
                (AndOr
                  children: [
                    (C {(_init_completion)} {(-s)} {(-n)} {(Lit_Other ':')})
                    (ControlFlow token:<ControlFlow_Return return>)
                  ]
                  op_id: Op_DPipe
                )
                (Case
                  to_match: {($ VSub_Name '$prev')}
                  arms: [
                    (case_arm
                      pat_list: [
                        {(-V)}
                        {(--version)}
                        {(--help)}
                        {(-p)}
                        {(--port)}
                        {(--passwd)}
                        {(-w)}
                        {(--wait)}
                      ]
                      action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                      spids: [45 60 68 16777215]
                    )
                    (case_arm
                      pat_list: [{(-h)} {(--host)} {(-i)} {(--ipaddr)}]
                      action: [
                        (Assignment
                          keyword: Assign_Local
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:PATH)
                              op: Equal
                              rhs: {($ VSub_Name '$PATH') (Lit_Other ':') (/sbin)}
                              spids: [87]
                            )
                          ]
                          spids: [85]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:COMPREPLY)
                              op: Equal
                              rhs: 
                                {
                                  (ArrayLiteralPart
                                    words: [
                                      {
                                        (CommandSubPart
                                          command_list: 
                                            (CommandList
                                              children: [
                                                (Pipeline
                                                  children: [
                                                    (BraceGroup
                                                      children: [
                                                        (Sentence
                                                          child: 
                                                            (AndOr
                                                              children: [
                                                                (C {(ip)} {(addr)} {(show)})
                                                                (C {(ifconfig)} {(-a)})
                                                              ]
                                                              op_id: Op_DPipe
                                                            )
                                                          terminator: <Op_Semi ';'>
                                                        )
                                                      ]
                                                      redirects: [
                                                        (Redir
                                                          op_id: Redir_Great
                                                          fd: 2
                                                          arg_word: {(/dev/null)}
                                                          spids: [115]
                                                        )
                                                      ]
                                                      spids: [98]
                                                    )
                                                    (C {(sed)} {(-ne)} 
                                                      {
                                                        (SQ 
                                                          <
's/.*[[:space:]]Bcast:\\([^[:space:]]*\\).*/\\1/p'
                                                          >
                                                        )
                                                      } {(-ne)} {(SQ <'s/.*inet.*[[:space:]]brd[[:space:]]\\([^[:space:]]*\\).*/\\1/p'>)} {(-ne)} 
                                                      {
                                                        (SQ 
                                                          <
's/.*[[:space:]]broadcast[[:space:]]\\{1,\\}\\([^[:space:]]*\\).*/\\1/p'
                                                          >
                                                        )
                                                      }
                                                    )
                                                  ]
                                                  negated: False
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [96 146]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [93]
                            )
                          ]
                          spids: [93]
                        )
                        (C {(_known_hosts_real)} {(DQ ($ VSub_Name '$cur'))})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [71 78 163 16777215]
                    )
                    (case_arm
                      pat_list: [{(-f)} {(--file)}]
                      action: [
                        (C {(_filedir)})
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [166 169 180 16777215]
                    )
                  ]
                  spids: [38 42 183]
                )
                (AndOr
                  children: [
                    (C {($ VSub_Name '$split')})
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
                  ]
                  op_id: Op_DAmp
                )
                (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" )'>)} 
                                                  {(--)} {(DQ ($ VSub_Name '$cur'))}
                                                )
                                              ]
                                            )
                                          left_token: <Left_CommandSub '$('>
                                          spids: [219 235]
                                        )
                                      }
                                    ]
                                  )
                                }
                              spids: [216]
                            )
                          ]
                          spids: [216]
                        )
                        (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
                        )
                        (ControlFlow
                          token: <ControlFlow_Return return>
                          arg_word: {(0)}
                        )
                      ]
                      spids: [16777215 213]
                    )
                  ]
                  spids: [16777215 265]
                )
                (C {(_mac_addresses)})
              ]
              spids: [8]
            )
          spids: [4 7]
        )
        (C {(complete)} {(-F)} {(_wol)} {(wol)})
      ]
      op_id: Op_DAmp
    )
  ]
)