	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_op_configure_filter
_b43legacy_op_configure_filter:         ## @b43legacy_op_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	%rdx, %r12
	movl	%esi, %r15d
	callq	_hw_to_b43legacy_wl
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %r13
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %r8
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %r9
	movl	(%r9), %eax
	orl	(%r8), %eax
	movq	_FIF_PLCPFAIL@GOTPCREL(%rip), %r10
	orl	(%r10), %eax
	movq	_FIF_CONTROL@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FIF_BCN_PRBRESP_PROMISC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	andl	(%r12), %eax
	movl	%eax, (%r12)
	movl	(%r9), %esi
	orl	(%r8), %esi
	orl	(%r10), %esi
	orl	(%rdi), %esi
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	movl	%eax, (%r13)
	testl	%r15d, %esi
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_b43legacy_status
	movq	_B43legacy_STAT_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_b43legacy_adjust_opmode
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_5:
	movl	$0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.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_BCN_PRBRESP_PROMISC,4,2    ## @FIF_BCN_PRBRESP_PROMISC
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ## @B43legacy_STAT_INITIALIZED
	.no_dead_strip	_b43legacy_op_configure_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_op_configure_filter
_b43legacy_op_configure_filter:         ; @b43legacy_op_configure_filter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x2
	mov	x21, x1
	bl	_hw_to_b43legacy_wl
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_5
; %bb.1:
	mov	x22, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _FIF_ALLMULTI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIF_ALLMULTI@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _FIF_FCSFAIL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FIF_FCSFAIL@GOTPAGEOFF]
	ldr	w11, [x10]
	orr	w9, w11, w9
Lloh4:
	adrp	x11, _FIF_PLCPFAIL@GOTPAGE
Lloh5:
	ldr	x11, [x11, _FIF_PLCPFAIL@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w9, w9, w12
Lloh6:
	adrp	x12, _FIF_CONTROL@GOTPAGE
Lloh7:
	ldr	x12, [x12, _FIF_CONTROL@GOTPAGEOFF]
	ldr	w13, [x12]
	orr	w9, w9, w13
Lloh8:
	adrp	x13, _FIF_OTHER_BSS@GOTPAGE
Lloh9:
	ldr	x13, [x13, _FIF_OTHER_BSS@GOTPAGEOFF]
	ldr	w14, [x13]
	orr	w9, w9, w14
Lloh10:
	adrp	x14, _FIF_BCN_PRBRESP_PROMISC@GOTPAGE
Lloh11:
	ldr	x14, [x14, _FIF_BCN_PRBRESP_PROMISC@GOTPAGEOFF]
	ldr	w15, [x14]
	orr	w9, w9, w15
	ldr	w15, [x23]
	and	w9, w15, w9
	str	w9, [x23]
	ldr	w8, [x8]
	ldr	w10, [x10]
	orr	w8, w10, w8
	ldr	w10, [x11]
	orr	w8, w8, w10
	ldr	w10, [x12]
	orr	w8, w8, w10
	ldr	w10, [x13]
	orr	w8, w8, w10
	ldr	w10, [x14]
	orr	w8, w8, w10
	str	w9, [x22]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_b43legacy_status
Lloh12:
	adrp	x8, _B43legacy_STAT_INITIALIZED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43legacy_STAT_INITIALIZED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_b43legacy_adjust_opmode
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_5:
	str	wzr, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.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_BCN_PRBRESP_PROMISC,4,2    ; @FIF_BCN_PRBRESP_PROMISC
	.comm	_B43legacy_STAT_INITIALIZED,8,3 ; @B43legacy_STAT_INITIALIZED
	.no_dead_strip	_b43legacy_op_configure_filter
.subsections_via_symbols
