	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_txq_props         ## -- Begin function ath9k_hw_get_txq_props
	.p2align	4, 0x90
_ath9k_hw_get_txq_props:                ## @ath9k_hw_get_txq_props
	.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
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_ath9k_hw_common
	movq	(%rbx), %rcx
	movslq	%r14d, %rdx
	shlq	$6, %rdx
	movq	(%rcx,%rdx), %rsi
	movq	_ATH9K_TX_QUEUE_INACTIVE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_2
## %bb.1:
	movq	_QUEUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movl	%r14d, %ecx
	callq	_ath_dbg
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movl	48(%rcx,%rdx), %eax
	movl	%eax, 48(%r15)
	movl	56(%rcx,%rdx), %eax
	movl	%eax, 56(%r15)
	movups	40(%rcx,%rdx), %xmm0
	movups	%xmm0, 40(%r15)
	movups	24(%rcx,%rdx), %xmm0
	movups	%xmm0, 24(%r15)
	movups	8(%rcx,%rdx), %xmm0
	movups	%xmm0, 8(%r15)
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_TX_QUEUE_INACTIVE,8,3    ## @ATH9K_TX_QUEUE_INACTIVE
	.comm	_QUEUE,4,2                      ## @QUEUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Get TXQ properties, inactive queue: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_txq_props         ; -- Begin function ath9k_hw_get_txq_props
	.p2align	2
_ath9k_hw_get_txq_props:                ; @ath9k_hw_get_txq_props
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_ath9k_hw_common
	ldr	x8, [x21]
	sbfiz	x9, x20, #6, #32
	ldr	x9, [x8, x9]
Lloh0:
	adrp	x10, _ATH9K_TX_QUEUE_INACTIVE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ATH9K_TX_QUEUE_INACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _QUEUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUEUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_ath_dbg
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	sxtw	x9, w20
	add	x8, x8, x9, lsl #6
	ldr	w9, [x8, #48]
	str	w9, [x19, #48]
	ldr	w9, [x8, #56]
	str	w9, [x19, #56]
	ldur	q0, [x8, #40]
	stur	q0, [x19, #40]
	ldur	q0, [x8, #24]
	stur	q0, [x19, #24]
	ldur	q0, [x8, #8]
	stur	q0, [x19, #8]
	mov	w0, #1
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_TX_QUEUE_INACTIVE,8,3    ; @ATH9K_TX_QUEUE_INACTIVE
	.comm	_QUEUE,4,2                      ; @QUEUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Get TXQ properties, inactive queue: %u\n"

.subsections_via_symbols
