	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hw_set_txq_interrupts
_ath9k_hw_set_txq_interrupts:           ## @ath9k_hw_set_txq_interrupts
	.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	%rdi, %rbx
	callq	_ath9k_hw_common
	movq	_INTERRUPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	20(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	16(%rbx), %r9d
	movl	(%rbx), %r10d
	movl	8(%rbx), %r11d
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	pushq	%r10
	pushq	%r11
	callq	_ath_dbg
	addq	$16, %rsp
	movq	%rbx, %rdi
	callq	_ENABLE_REGWRITE_BUFFER
	movq	_AR_IMR_S0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	20(%rbx), %edi
	movq	_AR_IMR_S0_QCU_TXOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, %r15d
	movl	16(%rbx), %edi
	movq	_AR_IMR_S0_QCU_TXDESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_REG_WRITE
	movq	_AR_IMR_S1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	12(%rbx), %edi
	movq	_AR_IMR_S1_QCU_TXERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	movq	_AR_IMR_S1_QCU_TXEOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_REG_WRITE
	movq	_AR_IMR_S2_QCU_TXURN@GOTPCREL(%rip), %rax
	movl	4(%rbx), %ecx
	movl	(%rbx), %edx
	xorl	%ecx, %edx
	andl	(%rax), %edx
	xorl	%ecx, %edx
	movl	%edx, 4(%rbx)
	movq	_AR_IMR_S2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REGWRITE_BUFFER_FLUSH          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERRUPT,4,2                  ## @INTERRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx ok 0x%x err 0x%x desc 0x%x eol 0x%x urn 0x%x\n"

	.comm	_AR_IMR_S0,4,2                  ## @AR_IMR_S0
	.comm	_AR_IMR_S0_QCU_TXOK,4,2         ## @AR_IMR_S0_QCU_TXOK
	.comm	_AR_IMR_S0_QCU_TXDESC,4,2       ## @AR_IMR_S0_QCU_TXDESC
	.comm	_AR_IMR_S1,4,2                  ## @AR_IMR_S1
	.comm	_AR_IMR_S1_QCU_TXERR,4,2        ## @AR_IMR_S1_QCU_TXERR
	.comm	_AR_IMR_S1_QCU_TXEOL,4,2        ## @AR_IMR_S1_QCU_TXEOL
	.comm	_AR_IMR_S2_QCU_TXURN,4,2        ## @AR_IMR_S2_QCU_TXURN
	.comm	_AR_IMR_S2,4,2                  ## @AR_IMR_S2
	.no_dead_strip	_ath9k_hw_set_txq_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hw_set_txq_interrupts
_ath9k_hw_set_txq_interrupts:           ; @ath9k_hw_set_txq_interrupts
	.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, x0
	bl	_ath9k_hw_common
Lloh0:
	adrp	x8, _INTERRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w5, w3, [x19, #16]
	ldp	w6, w4, [x19, #8]
	ldr	w7, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
	mov	x0, x19
	bl	_ENABLE_REGWRITE_BUFFER
Lloh5:
	adrp	x8, _AR_IMR_S0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_IMR_S0@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w0, [x19, #20]
Lloh8:
	adrp	x8, _AR_IMR_S0_QCU_TXOK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_IMR_S0_QCU_TXOK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_SM
	mov	x21, x0
	ldr	w0, [x19, #16]
Lloh11:
	adrp	x8, _AR_IMR_S0_QCU_TXDESC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_IMR_S0_QCU_TXDESC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_SM
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_REG_WRITE
Lloh14:
	adrp	x8, _AR_IMR_S1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_IMR_S1@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	ldr	w0, [x19, #12]
Lloh17:
	adrp	x8, _AR_IMR_S1_QCU_TXERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AR_IMR_S1_QCU_TXERR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_SM
	mov	x21, x0
	ldr	w0, [x19, #8]
Lloh20:
	adrp	x8, _AR_IMR_S1_QCU_TXEOL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AR_IMR_S1_QCU_TXEOL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_SM
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_REG_WRITE
Lloh23:
	adrp	x8, _AR_IMR_S2_QCU_TXURN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AR_IMR_S2_QCU_TXURN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldp	w10, w9, [x19]
	bic	w9, w9, w8
	and	w8, w10, w8
	orr	w2, w8, w9
	str	w2, [x19, #4]
Lloh26:
	adrp	x8, _AR_IMR_S2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR_IMR_S2@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_WRITE
	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	_REGWRITE_BUFFER_FLUSH
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERRUPT,4,2                  ; @INTERRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx ok 0x%x err 0x%x desc 0x%x eol 0x%x urn 0x%x\n"

	.comm	_AR_IMR_S0,4,2                  ; @AR_IMR_S0
	.comm	_AR_IMR_S0_QCU_TXOK,4,2         ; @AR_IMR_S0_QCU_TXOK
	.comm	_AR_IMR_S0_QCU_TXDESC,4,2       ; @AR_IMR_S0_QCU_TXDESC
	.comm	_AR_IMR_S1,4,2                  ; @AR_IMR_S1
	.comm	_AR_IMR_S1_QCU_TXERR,4,2        ; @AR_IMR_S1_QCU_TXERR
	.comm	_AR_IMR_S1_QCU_TXEOL,4,2        ; @AR_IMR_S1_QCU_TXEOL
	.comm	_AR_IMR_S2_QCU_TXURN,4,2        ; @AR_IMR_S2_QCU_TXURN
	.comm	_AR_IMR_S2,4,2                  ; @AR_IMR_S2
	.no_dead_strip	_ath9k_hw_set_txq_interrupts
.subsections_via_symbols
