	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_acx_beacon_filter_table ## -- Begin function wl1271_acx_beacon_filter_table
	.p2align	4, 0x90
_wl1271_acx_beacon_filter_table:        ## @wl1271_acx_beacon_filter_table
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_DEBUG_ACX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %eax
	movl	%eax, 16(%r12)
	movq	$0, 8(%r12)
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:
	xorl	%ebx, %ebx
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %r9
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%edx, %r14
	leaq	(%rsi,%r14,8), %rdi
	movl	28(%r15,%rbx), %esi
	movq	_CONF_BCN_IE_OUI_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_memcpy
	movq	_CONF_BCN_IE_OUI_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	16(%r15,%rbx), %rax
	movq	(%r12), %rcx
	movslq	%r14d, %r14
	movq	%rax, (%rcx,%r14,8)
	leaq	8(%rcx,%r14,8), %rdi
	movl	24(%r15,%rbx), %esi
	movq	_CONF_BCN_IE_VER_LEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	callq	_memcpy
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %r9
	movl	(%r15), %eax
	leal	(%rax,%r14), %edx
	incl	%edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	$1, %r8d
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	8(%r12)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$32, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	movq	(%r15,%rbx), %rdi
	movq	(%r12), %rsi
	movslq	%edx, %rcx
	movq	%rdi, (%rsi,%rcx,8)
	movq	8(%r15,%rbx), %rdi
	leal	2(%rcx), %edx
	movq	%rdi, 8(%rsi,%rcx,8)
	movq	(%r15,%rbx), %rcx
	cmpq	(%r9), %rcx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	testl	%r8d, %r8d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %r8d
	jmp	LBB0_9
LBB0_10:
	movq	_ACX_BEACON_FILTER_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	$24, %ecx
	callq	_wl1271_cmd_configure
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_wl1271_warning
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_12:
	movq	%r12, %rdi
	callq	_kfree
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_ACX,4,2                  ## @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acx beacon filter table"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_CONF_BCN_IE_OUI_LEN,8,3        ## @CONF_BCN_IE_OUI_LEN
	.comm	_CONF_BCN_IE_VER_LEN,8,3        ## @CONF_BCN_IE_VER_LEN
	.comm	_ACX_BEACON_FILTER_TABLE,4,2    ## @ACX_BEACON_FILTER_TABLE
L_.str.1:                               ## @.str.1
	.asciz	"failed to set beacon filter table: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_acx_beacon_filter_table ; -- Begin function wl1271_acx_beacon_filter_table
	.p2align	2
_wl1271_acx_beacon_filter_table:        ; @wl1271_acx_beacon_filter_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DEBUG_ACX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_ACX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x21]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x21, #0
	mov	x22, #0
	mov	w9, #0
	mov	w26, #0
Lloh8:
	adrp	x23, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh10:
	adrp	x24, _CONF_BCN_IE_OUI_LEN@GOTPAGE
Lloh11:
	ldr	x24, [x24, _CONF_BCN_IE_OUI_LEN@GOTPAGEOFF]
Lloh12:
	adrp	x25, _CONF_BCN_IE_VER_LEN@GOTPAGE
Lloh13:
	ldr	x25, [x25, _CONF_BCN_IE_VER_LEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x11, x26, lsl #3
	add	x27, x10, x21
	ldr	w1, [x27, #28]
	ldr	x2, [x24]
	bl	_memcpy
	ldr	w8, [x24]
	add	w8, w26, w8
	ldr	x9, [x27, #16]
	ldr	x10, [x19]
	sxtw	x11, w8
	add	x26, x11, #1
	str	x9, [x10, w8, sxtw #3]
	add	x0, x10, x26, lsl #3
	ldr	w1, [x27, #24]
	ldr	x2, [x25]
	bl	_memcpy
	ldr	w8, [x25]
	add	w26, w26, w8
	ldr	w8, [x20]
	mov	w9, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x10, [x19, #8]
	add	x10, x10, #1
	str	x10, [x19, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x21, x21, #32
	cmp	x22, w8, sxtw
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #8]
	add	x12, x10, x21
	ldr	x13, [x12]
	ldr	x11, [x19]
	sxtw	x14, w26
	add	x15, x11, w26, sxtw #3
	str	x13, [x15]
	ldr	x13, [x12, #8]
	add	x26, x14, #2
	str	x13, [x15, #8]
	ldr	x12, [x12]
	ldr	x13, [x23]
	cmp	x12, x13
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w9, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #1
	b	LBB0_5
LBB0_9:
Lloh14:
	adrp	x8, _ACX_BEACON_FILTER_TABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACX_BEACON_FILTER_TABLE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #24
	bl	_wl1271_cmd_configure
	mov	x20, x0
	tbz	w0, #31, LBB0_12
; %bb.10:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_wl1271_warning
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x19
	bl	_kfree
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_ACX,4,2                  ; @DEBUG_ACX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acx beacon filter table"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WLAN_EID_VENDOR_SPECIFIC,8,3   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_CONF_BCN_IE_OUI_LEN,8,3        ; @CONF_BCN_IE_OUI_LEN
	.comm	_CONF_BCN_IE_VER_LEN,8,3        ; @CONF_BCN_IE_VER_LEN
	.comm	_ACX_BEACON_FILTER_TABLE,4,2    ; @ACX_BEACON_FILTER_TABLE
l_.str.1:                               ; @.str.1
	.asciz	"failed to set beacon filter table: %d"

.subsections_via_symbols
