	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_beaconq_setup         ## -- Begin function ath9k_hw_beaconq_setup
	.p2align	4, 0x90
_ath9k_hw_beaconq_setup:                ## @ath9k_hw_beaconq_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	$1, -32(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	movq	_ATH9K_HW_CAP_EDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_TXQ_FLAG_TXINT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
LBB0_2:
	movq	_ATH9K_TX_QUEUE_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_ath9k_hw_setuptxqueue
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_HW_CAP_EDMA,4,2          ## @ATH9K_HW_CAP_EDMA
	.comm	_TXQ_FLAG_TXINT_ENABLE,4,2      ## @TXQ_FLAG_TXINT_ENABLE
	.comm	_ATH9K_TX_QUEUE_BEACON,4,2      ## @ATH9K_TX_QUEUE_BEACON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_beaconq_setup         ; -- Begin function ath9k_hw_beaconq_setup
	.p2align	2
_ath9k_hw_beaconq_setup:                ; @ath9k_hw_beaconq_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #8]
	stp	xzr, xzr, [sp, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ATH9K_HW_CAP_EDMA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATH9K_HW_CAP_EDMA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _TXQ_FLAG_TXINT_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXQ_FLAG_TXINT_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
LBB0_2:
Lloh6:
	adrp	x8, _ATH9K_TX_QUEUE_BEACON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH9K_TX_QUEUE_BEACON@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ath9k_hw_setuptxqueue
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_HW_CAP_EDMA,4,2          ; @ATH9K_HW_CAP_EDMA
	.comm	_TXQ_FLAG_TXINT_ENABLE,4,2      ; @TXQ_FLAG_TXINT_ENABLE
	.comm	_ATH9K_TX_QUEUE_BEACON,4,2      ; @ATH9K_TX_QUEUE_BEACON
.subsections_via_symbols
