	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_numtxpending          ## -- Begin function ath9k_hw_numtxpending
	.p2align	4, 0x90
_ath9k_hw_numtxpending:                 ## @ath9k_hw_numtxpending
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_AR_QSTS
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_REG_READ
	movq	_AR_Q_STS_PEND_FR_CNT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_AR_Q_TXE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movl	%eax, %ecx
	xorl	%eax, %eax
	btl	%r14d, %ecx
	setb	%al
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_Q_STS_PEND_FR_CNT,4,2       ## @AR_Q_STS_PEND_FR_CNT
	.comm	_AR_Q_TXE,4,2                   ## @AR_Q_TXE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_numtxpending          ; -- Begin function ath9k_hw_numtxpending
	.p2align	2
_ath9k_hw_numtxpending:                 ; @ath9k_hw_numtxpending
	.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
	mov	x20, x0
	mov	x0, x1
	bl	_AR_QSTS
	mov	x1, x0
	mov	x0, x20
	bl	_REG_READ
Lloh0:
	adrp	x8, _AR_Q_STS_PEND_FR_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_Q_STS_PEND_FR_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w0, w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AR_Q_TXE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_Q_TXE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_REG_READ
	lsr	w8, w0, w19
	and	w0, w8, #0x1
LBB0_2:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_Q_STS_PEND_FR_CNT,4,2       ; @AR_Q_STS_PEND_FR_CNT
	.comm	_AR_Q_TXE,4,2                   ; @AR_Q_TXE
.subsections_via_symbols
