	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_set_beacon_filter        ## -- Begin function ath5k_set_beacon_filter
	.p2align	4, 0x90
_ath5k_set_beacon_filter:               ## @ath5k_set_beacon_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_ath5k_hw_get_rx_filter
	movq	_AR5K_RX_FILTER_BEACON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, %ecx
	orl	%eax, %ecx
	notl	%ebx
	andl	%eax, %ebx
	testl	%r14d, %r14d
	cmovnel	%ecx, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ath5k_hw_set_rx_filter
	movl	%ebx, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_RX_FILTER_BEACON,4,2      ## @AR5K_RX_FILTER_BEACON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_set_beacon_filter        ; -- Begin function ath5k_set_beacon_filter
	.p2align	2
_ath5k_set_beacon_filter:               ; @ath5k_set_beacon_filter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	bl	_ath5k_hw_get_rx_filter
Lloh0:
	adrp	x8, _AR5K_RX_FILTER_BEACON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR5K_RX_FILTER_BEACON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w19, w8, w9, eq
	mov	x0, x20
	mov	x1, x19
	bl	_ath5k_hw_set_rx_filter
	str	w19, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_RX_FILTER_BEACON,4,2      ; @AR5K_RX_FILTER_BEACON
.subsections_via_symbols
