	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_vif_beacon_free     ## -- Begin function ath10k_mac_vif_beacon_free
	.p2align	4, 0x90
_ath10k_mac_vif_beacon_free:            ## @ath10k_mac_vif_beacon_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	leaq	4(%r14), %rdi
	callq	_lockdep_assert_held
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	cmpl	$0, 16(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %r14d
	callq	_ATH10K_SKB_CB
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	callq	_dma_unmap_single
LBB0_3:
	movq	(%rbx), %rax
	movq	_ATH10K_BEACON_SCHEDULED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	setne	%cl
	movq	_ATH10K_BEACON_SENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, 8(%rbx)
	movq	(%r14), %rax
	movq	%rax, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ATH10K_BEACON_SCHEDULED,8,3    ## @ATH10K_BEACON_SCHEDULED
	.comm	_ATH10K_BEACON_SENT,8,3         ## @ATH10K_BEACON_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_vif_beacon_free     ; -- Begin function ath10k_mac_vif_beacon_free
	.p2align	2
_ath10k_mac_vif_beacon_free:            ; @ath10k_mac_vif_beacon_free
	.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, x0
	ldr	x20, [x0, #24]
	add	x0, x20, #4
	bl	_lockdep_assert_held
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w20, [x20]
	bl	_ATH10K_SKB_CB
	ldr	w1, [x0]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_dma_unmap_single
LBB0_3:
	ldr	x8, [x19]
Lloh3:
	adrp	x20, _ATH10K_BEACON_SCHEDULED@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ATH10K_BEACON_SCHEDULED@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
Lloh5:
	adrp	x9, _ATH10K_BEACON_SENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATH10K_BEACON_SENT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
	bl	_dev_kfree_skb_any
	ldr	x8, [x20]
	stp	x8, xzr, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ATH10K_BEACON_SCHEDULED,8,3    ; @ATH10K_BEACON_SCHEDULED
	.comm	_ATH10K_BEACON_SENT,8,3         ; @ATH10K_BEACON_SENT
.subsections_via_symbols
