	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_releasetxqueue        ## -- Begin function ath9k_hw_releasetxqueue
	.p2align	4, 0x90
_ath9k_hw_releasetxqueue:               ## @ath9k_hw_releasetxqueue
	.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
	callq	_ath9k_hw_common
	movq	(%rbx), %rcx
	movq	(%rcx,%r14,8), %rdx
	movq	_ATH9K_TX_QUEUE_INACTIVE@GOTPCREL(%rip), %r12
	movq	_QUEUE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpq	(%r12), %rdx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%r14, %rcx
	callq	_ath_dbg
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	leaq	(%rcx,%r14,8), %r15
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rdi
	movq	%r14, %rcx
	callq	_ath_dbg
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ath9k_hw_clear_queue_interrupts
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ath9k_hw_set_txq_interrupts
	movl	$1, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	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	"Release TXQ, inactive queue: %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"Release TX queue: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_releasetxqueue        ; -- Begin function ath9k_hw_releasetxqueue
	.p2align	2
_ath9k_hw_releasetxqueue:               ; @ath9k_hw_releasetxqueue
	.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, x1
	mov	x20, x0
	bl	_ath9k_hw_common
	ldr	x8, [x20]
	add	x21, x8, x19, lsl #3
Lloh0:
	adrp	x22, _ATH9K_TX_QUEUE_INACTIVE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH9K_TX_QUEUE_INACTIVE@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x22]
Lloh2:
	adrp	x10, _QUEUE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QUEUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x10]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_ath_dbg
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x19
	bl	_ath_dbg
	ldr	x8, [x22]
	str	x8, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_ath9k_hw_clear_queue_interrupts
	mov	x0, x20
	mov	x1, x21
	bl	_ath9k_hw_set_txq_interrupts
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.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	"Release TXQ, inactive queue: %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"Release TX queue: %u\n"

.subsections_via_symbols
