	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_store_filter_flags
_il3945_store_filter_flags:             ## @il3945_store_filter_flags
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_simple_strtoul
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	cmpq	%r15, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_il_scan_cancel_timeout
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_IL_WARN
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_D_INFO
	movq	%r15, %rdi
	callq	_cpu_to_le32
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_il3945_commit_rxon
LBB0_4:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not cancel scan.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Committing rxon.filter_flags = 0x%04X\n"

	.no_dead_strip	_il3945_store_filter_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_store_filter_flags
_il3945_store_filter_flags:             ; @il3945_store_filter_flags
	.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, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x0, x21
	mov	x1, #0
	mov	w2, #0
	bl	_simple_strtoul
	mov	x21, x0
	mov	x0, x20
	bl	_mutex_lock
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	cmp	x0, x21
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x20
	mov	w1, #100
	bl	_il_scan_cancel_timeout
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IL_WARN
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_D_INFO
	mov	x0, x21
	bl	_cpu_to_le32
	str	w0, [x20, #4]
	mov	x0, x20
	bl	_il3945_commit_rxon
LBB0_4:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not cancel scan.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Committing rxon.filter_flags = 0x%04X\n"

	.no_dead_strip	_il3945_store_filter_flags
.subsections_via_symbols
