	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_configure_filter     ## -- Begin function ieee80211_configure_filter
	.p2align	4, 0x90
_ieee80211_configure_filter:            ## @ieee80211_configure_filter
	.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	%rdi, %rbx
	addq	$92, %rdi
	callq	_atomic_read
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FIF_PROMISC_IN_BSS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	leaq	88(%rbx), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	%r13d, -44(%rbp)
LBB0_4:
	cmpq	$0, 80(%rbx)
	jne	LBB0_7
## %bb.5:
	movq	_SCAN_SW_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	72(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_SCAN_ONCHANNEL_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	_FIF_BCN_PRBRESP_PROMISC@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_8:
	cmpq	$0, 64(%rbx)
	jne	LBB0_10
## %bb.9:
	cmpq	$0, 56(%rbx)
	je	LBB0_11
LBB0_10:
	movq	_FIF_PROBE_REQ@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_11:
	cmpq	$0, 48(%rbx)
	movl	$0, %eax
	je	LBB0_13
## %bb.12:
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	cmpq	$0, 40(%rbx)
	movl	$0, %ecx
	je	LBB0_15
## %bb.14:
	movq	_FIF_PLCPFAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:
	orl	%ecx, %eax
	cmpq	$0, 32(%rbx)
	movl	$0, %ecx
	je	LBB0_17
## %bb.16:
	movq	_FIF_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_17:
	orl	%ecx, %eax
	cmpq	$0, 24(%rbx)
	movl	$0, %ecx
	je	LBB0_19
## %bb.18:
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_19:
	orl	%ecx, %eax
	cmpq	$0, 16(%rbx)
	movl	$0, %ecx
	je	LBB0_21
## %bb.20:
	movq	_FIF_PSPOLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_21:
	orl	%ecx, %eax
	orl	%eax, %r13d
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	(%rbx), %r15d
	xorl	%r13d, %r15d
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_drv_prepare_multicast
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	orl	$-2147483648, %r13d             ## imm = 0x80000000
	movl	%r13d, -44(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	callq	_drv_configure_filter
	movl	$-2147483648, %edi              ## imm = 0x80000000
	andl	-44(%rbp), %edi
	callq	_WARN_ON
	movl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	andl	-44(%rbp), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIF_PROMISC_IN_BSS,4,2         ## @FIF_PROMISC_IN_BSS
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.comm	_SCAN_SW_SCANNING,4,2           ## @SCAN_SW_SCANNING
	.comm	_SCAN_ONCHANNEL_SCANNING,4,2    ## @SCAN_ONCHANNEL_SCANNING
	.comm	_FIF_BCN_PRBRESP_PROMISC,4,2    ## @FIF_BCN_PRBRESP_PROMISC
	.comm	_FIF_PROBE_REQ,4,2              ## @FIF_PROBE_REQ
	.comm	_FIF_FCSFAIL,4,2                ## @FIF_FCSFAIL
	.comm	_FIF_PLCPFAIL,4,2               ## @FIF_PLCPFAIL
	.comm	_FIF_CONTROL,4,2                ## @FIF_CONTROL
	.comm	_FIF_OTHER_BSS,4,2              ## @FIF_OTHER_BSS
	.comm	_FIF_PSPOLL,4,2                 ## @FIF_PSPOLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_configure_filter     ; -- Begin function ieee80211_configure_filter
	.p2align	2
_ieee80211_configure_filter:            ; @ieee80211_configure_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	add	x0, x0, #92
	bl	_atomic_read
Lloh0:
	adrp	x8, _FIF_PROMISC_IN_BSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIF_PROMISC_IN_BSS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, wzr, w8, eq
	add	x0, x19, #88
	bl	_atomic_read
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FIF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w21, w21, w8
	str	w21, [sp, #12]
LBB0_2:
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _SCAN_SW_SCANNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCAN_SW_SCANNING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x20, x19, #72
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _SCAN_ONCHANNEL_SCANNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCAN_ONCHANNEL_SCANNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _FIF_BCN_PRBRESP_PROMISC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FIF_BCN_PRBRESP_PROMISC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w21, w21, w8
LBB0_6:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _FIF_PROBE_REQ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FIF_PROBE_REQ@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w21, w21, w8
LBB0_9:
	ldp	x10, x8, [x19, #40]
Lloh18:
	adrp	x9, _FIF_FCSFAIL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FIF_FCSFAIL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w8, w21, w8
Lloh21:
	adrp	x9, _FIF_PLCPFAIL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FIF_PLCPFAIL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldr	x11, [x19, #32]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _FIF_CONTROL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FIF_CONTROL@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _FIF_OTHER_BSS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FIF_OTHER_BSS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldp	x11, x10, [x19, #16]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
Lloh30:
	adrp	x10, _FIF_PSPOLL@GOTPAGE
Lloh31:
	ldr	x10, [x10, _FIF_PSPOLL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh32:
	ldr	w9, [x10]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w23, w8, w9
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	w8, [x19]
	eor	w21, w23, w8
	ldp	w8, w1, [x19, #8]
	str	x8, [sp]
	mov	x0, x19
	bl	_drv_prepare_multicast
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_bh
	orr	w8, w23, #0x80000000
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	bl	_drv_configure_filter
	ldr	w8, [sp, #12]
	and	w0, w8, #0x80000000
	bl	_WARN_ON
	ldr	w8, [sp, #12]
	and	w8, w8, #0x7fffffff
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FIF_PROMISC_IN_BSS,4,2         ; @FIF_PROMISC_IN_BSS
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.comm	_SCAN_SW_SCANNING,4,2           ; @SCAN_SW_SCANNING
	.comm	_SCAN_ONCHANNEL_SCANNING,4,2    ; @SCAN_ONCHANNEL_SCANNING
	.comm	_FIF_BCN_PRBRESP_PROMISC,4,2    ; @FIF_BCN_PRBRESP_PROMISC
	.comm	_FIF_PROBE_REQ,4,2              ; @FIF_PROBE_REQ
	.comm	_FIF_FCSFAIL,4,2                ; @FIF_FCSFAIL
	.comm	_FIF_PLCPFAIL,4,2               ; @FIF_PLCPFAIL
	.comm	_FIF_CONTROL,4,2                ; @FIF_CONTROL
	.comm	_FIF_OTHER_BSS,4,2              ; @FIF_OTHER_BSS
	.comm	_FIF_PSPOLL,4,2                 ; @FIF_PSPOLL
.subsections_via_symbols
