	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_configure_filter        ## -- Begin function il4965_configure_filter
	.p2align	4, 0x90
_il4965_configure_filter:               ## @il4965_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, %r14
	movq	(%rdi), %r13
	movl	(%rdx), %edx
	leaq	L_.str(%rip), %rdi
	callq	_D_MAC80211
	movl	(%r14), %ebx
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_RXON_FILTER_PROMISC_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovnel	%ecx, %eax
	movl	$0, %edx
	cmovel	%ecx, %edx
	movq	_FIF_CONTROL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%ebx, %esi
	movq	_RXON_FILTER_CTL2HOST_MSK@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	testl	%esi, %esi
	cmovnel	%ecx, %eax
	cmovnel	%edx, %ecx
	movq	_FIF_BCN_PRBRESP_PROMISC@GOTPCREL(%rip), %r12
	andl	(%r12), %ebx
	movq	_RXON_FILTER_BCON_AWARE_MSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovnel	%edx, %ebx
	cmovel	%edx, %r15d
	orl	%eax, %ebx
	orl	%ecx, %r15d
	movq	%r13, %rdi
	callq	_mutex_lock
	notl	%r15d
	andl	4(%r13), %r15d
	orl	%ebx, %r15d
	movl	%r15d, 4(%r13)
	movq	%r13, %rdi
	callq	_mutex_unlock
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%r12), %eax
	movq	_FIF_CONTROL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter: changed: 0x%x, total: 0x%x\n"

	.comm	_FIF_OTHER_BSS,4,2              ## @FIF_OTHER_BSS
	.comm	_RXON_FILTER_PROMISC_MSK,4,2    ## @RXON_FILTER_PROMISC_MSK
	.comm	_FIF_CONTROL,4,2                ## @FIF_CONTROL
	.comm	_RXON_FILTER_CTL2HOST_MSK,4,2   ## @RXON_FILTER_CTL2HOST_MSK
	.comm	_FIF_BCN_PRBRESP_PROMISC,4,2    ## @FIF_BCN_PRBRESP_PROMISC
	.comm	_RXON_FILTER_BCON_AWARE_MSK,4,2 ## @RXON_FILTER_BCON_AWARE_MSK
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_configure_filter        ; -- Begin function il4965_configure_filter
	.p2align	2
_il4965_configure_filter:               ; @il4965_configure_filter
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	ldr	x20, [x0]
	ldr	w2, [x2]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_MAC80211
	ldr	w8, [x19]
Lloh2:
	adrp	x21, _FIF_OTHER_BSS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FIF_OTHER_BSS@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh4:
	adrp	x10, _RXON_FILTER_PROMISC_MSK@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RXON_FILTER_PROMISC_MSK@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
	csel	w11, w10, wzr, eq
Lloh7:
	adrp	x22, _FIF_CONTROL@GOTPAGE
Lloh8:
	ldr	x22, [x22, _FIF_CONTROL@GOTPAGEOFF]
	ldr	w12, [x22]
Lloh9:
	adrp	x13, _RXON_FILTER_CTL2HOST_MSK@GOTPAGE
Lloh10:
	ldr	x13, [x13, _RXON_FILTER_CTL2HOST_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	orr	w10, w13, w10
	tst	w12, w8
	csel	w9, w9, w10, eq
	csel	w10, w10, w11, eq
Lloh12:
	adrp	x23, _FIF_BCN_PRBRESP_PROMISC@GOTPAGE
Lloh13:
	ldr	x23, [x23, _FIF_BCN_PRBRESP_PROMISC@GOTPAGEOFF]
	ldr	w11, [x23]
Lloh14:
	adrp	x12, _RXON_FILTER_BCON_AWARE_MSK@GOTPAGE
Lloh15:
	ldr	x12, [x12, _RXON_FILTER_BCON_AWARE_MSK@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	tst	w11, w8
	csel	w8, wzr, w12, eq
	orr	w24, w8, w9
	csel	w8, w12, wzr, eq
	orr	w25, w8, w10
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x20, #4]
	bic	w8, w8, w25
	orr	w8, w24, w8
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w8, [x21]
Lloh17:
	adrp	x9, _FIF_ALLMULTI@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FIF_ALLMULTI@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	ldr	w9, [x19]
	and	w8, w9, w8
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter: changed: 0x%x, total: 0x%x\n"

	.comm	_FIF_OTHER_BSS,4,2              ; @FIF_OTHER_BSS
	.comm	_RXON_FILTER_PROMISC_MSK,4,2    ; @RXON_FILTER_PROMISC_MSK
	.comm	_FIF_CONTROL,4,2                ; @FIF_CONTROL
	.comm	_RXON_FILTER_CTL2HOST_MSK,4,2   ; @RXON_FILTER_CTL2HOST_MSK
	.comm	_FIF_BCN_PRBRESP_PROMISC,4,2    ; @FIF_BCN_PRBRESP_PROMISC
	.comm	_RXON_FILTER_BCON_AWARE_MSK,4,2 ; @RXON_FILTER_BCON_AWARE_MSK
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
.subsections_via_symbols
