	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wow_ap
_ath6kl_wow_ap:                         ## @ath6kl_wow_ap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movl	(%rsi), %esi
	movq	_WOW_LIST_ID@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	_ath6kl_wow_ap.unicst_mask(%rip), %rax
	movq	%rax, (%rsp)
	leaq	_ath6kl_wow_ap.unicst_pattern(%rip), %r9
	movl	$84, %ecx
	xorl	%r8d, %r8d
	callq	_ath6kl_wmi_add_wow_pattern_cmd
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_8
LBB0_2:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	(%r12), %edx
	leaq	_ath6kl_wow_ap.arp_mask(%rip), %rax
	movq	%rax, (%rsp)
	leaq	_ath6kl_wow_ap.arp_pattern(%rip), %r9
	movl	$8, %ecx
	movl	$20, %r8d
	callq	_ath6kl_wmi_add_wow_pattern_cmd
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_4:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	(%r12), %edx
	leaq	_ath6kl_wow_ap.discvr_mask(%rip), %rax
	movq	%rax, (%rsp)
	leaq	_ath6kl_wow_ap.discvr_pattern(%rip), %r9
	movl	$16, %ecx
	movl	$38, %r8d
	callq	_ath6kl_wmi_add_wow_pattern_cmd
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_8
LBB0_6:
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	(%r12), %edx
	leaq	_ath6kl_wow_ap.dhcp_mask(%rip), %rax
	movq	%rax, (%rsp)
	leaq	_ath6kl_wow_ap.dhcp_pattern(%rip), %r9
	xorl	%ebx, %ebx
	movl	$184, %ecx
	xorl	%r8d, %r8d
	callq	_ath6kl_wmi_add_wow_pattern_cmd
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %ebx
LBB0_8:
	callq	_ath6kl_err
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ath6kl_wow_ap.unicst_pattern
_ath6kl_wow_ap.unicst_pattern:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	8                               ## 0x8

	.p2align	4                               ## @ath6kl_wow_ap.unicst_mask
_ath6kl_wow_ap.unicst_mask:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	127                             ## 0x7f

	.p2align	2                               ## @ath6kl_wow_ap.arp_pattern
_ath6kl_wow_ap.arp_pattern:
	.long	8                               ## 0x8
	.long	6                               ## 0x6

	.p2align	2                               ## @ath6kl_wow_ap.arp_mask
_ath6kl_wow_ap.arp_mask:
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.p2align	4                               ## @ath6kl_wow_ap.discvr_pattern
_ath6kl_wow_ap.discvr_pattern:
	.long	224                             ## 0xe0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	248                             ## 0xf8

	.p2align	4                               ## @ath6kl_wow_ap.discvr_mask
_ath6kl_wow_ap.discvr_mask:
	.long	240                             ## 0xf0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	248                             ## 0xf8

	.p2align	4                               ## @ath6kl_wow_ap.dhcp_pattern
_ath6kl_wow_ap.dhcp_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	67                              ## 0x43

	.p2align	4                               ## @ath6kl_wow_ap.dhcp_mask
_ath6kl_wow_ap.dhcp_mask:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.comm	_WOW_LIST_ID,4,2                ## @WOW_LIST_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add WOW unicast IP pattern\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to add WOW ARP pattern\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to add WOW mDNS/SSDP/LLMNR pattern\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to add WOW DHCP broadcast pattern\n"

	.no_dead_strip	_ath6kl_wow_ap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wow_ap
_ath6kl_wow_ap:                         ; @ath6kl_wow_ap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	ldr	w1, [x1]
Lloh0:
	adrp	x22, _WOW_LIST_ID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WOW_LIST_ID@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x5, _ath6kl_wow_ap.unicst_pattern@PAGE
Lloh3:
	add	x5, x5, _ath6kl_wow_ap.unicst_pattern@PAGEOFF
Lloh4:
	adrp	x6, _ath6kl_wow_ap.unicst_mask@PAGE
Lloh5:
	add	x6, x6, _ath6kl_wow_ap.unicst_mask@PAGEOFF
	mov	w3, #84
	mov	w4, #0
	bl	_ath6kl_wmi_add_wow_pattern_cmd
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldr	w2, [x22]
Lloh8:
	adrp	x5, _ath6kl_wow_ap.arp_pattern@PAGE
Lloh9:
	add	x5, x5, _ath6kl_wow_ap.arp_pattern@PAGEOFF
Lloh10:
	adrp	x6, _ath6kl_wow_ap.arp_mask@PAGE
Lloh11:
	add	x6, x6, _ath6kl_wow_ap.arp_mask@PAGEOFF
	mov	w3, #8
	mov	w4, #20
	bl	_ath6kl_wmi_add_wow_pattern_cmd
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldr	w2, [x22]
Lloh14:
	adrp	x5, _ath6kl_wow_ap.discvr_pattern@PAGE
Lloh15:
	add	x5, x5, _ath6kl_wow_ap.discvr_pattern@PAGEOFF
Lloh16:
	adrp	x6, _ath6kl_wow_ap.discvr_mask@PAGE
Lloh17:
	add	x6, x6, _ath6kl_wow_ap.discvr_mask@PAGEOFF
	mov	w3, #16
	mov	w4, #38
	bl	_ath6kl_wmi_add_wow_pattern_cmd
	cbz	w0, LBB0_6
; %bb.5:
	mov	x21, x0
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldr	w2, [x22]
Lloh20:
	adrp	x5, _ath6kl_wow_ap.dhcp_pattern@PAGE
Lloh21:
	add	x5, x5, _ath6kl_wow_ap.dhcp_pattern@PAGEOFF
Lloh22:
	adrp	x6, _ath6kl_wow_ap.dhcp_mask@PAGE
Lloh23:
	add	x6, x6, _ath6kl_wow_ap.dhcp_mask@PAGEOFF
	mov	w3, #184
	mov	w4, #0
	bl	_ath6kl_wmi_add_wow_pattern_cmd
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.7:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:
	bl	_ath6kl_err
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ath6kl_wow_ap.unicst_pattern
_ath6kl_wow_ap.unicst_pattern:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	8                               ; 0x8

	.p2align	2                               ; @ath6kl_wow_ap.unicst_mask
_ath6kl_wow_ap.unicst_mask:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	127                             ; 0x7f

	.p2align	2                               ; @ath6kl_wow_ap.arp_pattern
_ath6kl_wow_ap.arp_pattern:
	.long	8                               ; 0x8
	.long	6                               ; 0x6

	.p2align	2                               ; @ath6kl_wow_ap.arp_mask
_ath6kl_wow_ap.arp_mask:
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.p2align	2                               ; @ath6kl_wow_ap.discvr_pattern
_ath6kl_wow_ap.discvr_pattern:
	.long	224                             ; 0xe0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	248                             ; 0xf8

	.p2align	2                               ; @ath6kl_wow_ap.discvr_mask
_ath6kl_wow_ap.discvr_mask:
	.long	240                             ; 0xf0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	248                             ; 0xf8

	.p2align	2                               ; @ath6kl_wow_ap.dhcp_pattern
_ath6kl_wow_ap.dhcp_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	67                              ; 0x43

	.p2align	2                               ; @ath6kl_wow_ap.dhcp_mask
_ath6kl_wow_ap.dhcp_mask:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.comm	_WOW_LIST_ID,4,2                ; @WOW_LIST_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add WOW unicast IP pattern\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to add WOW ARP pattern\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to add WOW mDNS/SSDP/LLMNR pattern\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to add WOW DHCP broadcast pattern\n"

	.no_dead_strip	_ath6kl_wow_ap
.subsections_via_symbols
