	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_beacon_remove_slot       ## -- Begin function ath9k_beacon_remove_slot
	.p2align	4, 0x90
_ath9k_beacon_remove_slot:              ## @ath9k_beacon_remove_slot
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	28(%rdi), %edi
	callq	_ath9k_hw_common
	movq	(%r14), %r12
	movq	(%r12), %rcx
	movq	8(%r12), %r14
	movq	_CONFIG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_ath_dbg
	movq	%rbx, %rdi
	callq	_tasklet_disable
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	16(%r14), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	24(%rbx), %edi
	movq	8(%r14), %rsi
	movl	(%r15), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
LBB0_3:
	movq	$0, 8(%r12)
	leaq	8(%rbx), %rsi
	movq	16(%rbx), %rax
	movq	(%r12), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_enable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG,4,2                     ## @CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Removing interface at beacon slot: %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_beacon_remove_slot       ; -- Begin function ath9k_beacon_remove_slot
	.p2align	2
_ath9k_beacon_remove_slot:              ; @ath9k_beacon_remove_slot
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #28]
	bl	_ath9k_hw_common
	ldr	x22, [x20]
Lloh0:
	adrp	x8, _CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x3, x20, [x22]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
	mov	x0, x19
	bl	_tasklet_disable
	cbz	x20, LBB0_3
; %bb.1:
	ldr	x21, [x20, #16]
	cbz	x21, LBB0_3
; %bb.2:
	ldr	w0, [x19, #24]
	ldr	x1, [x20, #8]
	ldr	w2, [x21]
Lloh5:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_dma_unmap_single
	mov	x0, x21
	bl	_dev_kfree_skb_any
	stp	xzr, xzr, [x20, #8]
LBB0_3:
	str	xzr, [x22, #8]
	add	x1, x19, #8
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_list_add_tail
	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
	b	_tasklet_enable
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG,4,2                     ; @CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Removing interface at beacon slot: %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
.subsections_via_symbols
