	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_hw_proc_2word_tx_status
_ath5k_hw_proc_2word_tx_status:         ## @ath5k_hw_proc_2word_tx_status
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_AR5K_DESC_TX_STATUS1_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%rsi), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movl	4(%rbx), %edi
	movq	_AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AR5K_REG_MS
	movq	%rax, 48(%r14)
	movl	4(%rbx), %edi
	movq	_AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AR5K_REG_MS
	movq	%rax, 40(%r14)
	movl	4(%rbx), %edi
	movq	_AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AR5K_REG_MS
	movq	%rax, 32(%r14)
	movl	(%rbx), %edi
	movq	_AR5K_DESC_TX_STATUS1_SEQ_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AR5K_REG_MS
	movq	%rax, 24(%r14)
	movl	(%rbx), %edi
	movq	_AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AR5K_REG_MS
	movq	%rax, 16(%r14)
	movq	$1, (%r14)
	movq	$0, 8(%r14)
	movl	4(%rbx), %ecx
	movq	_AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	jne	LBB0_10
## %bb.3:
	movq	_AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_AR5K_TXERR_XRETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 4(%r14)
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
LBB0_6:
	movq	_AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_AR5K_TXERR_FIFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 4(%r14)
LBB0_8:
	movq	_AR5K_DESC_TX_STATUS0_FILTERED@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	testl	%ecx, (%rsi)
	je	LBB0_10
## %bb.9:
	movq	_AR5K_TXERR_FILT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 4(%r14)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_DESC_TX_STATUS1_DONE,4,2  ## @AR5K_DESC_TX_STATUS1_DONE
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP,4,2 ## @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP
	.comm	_AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT,4,2 ## @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT
	.comm	_AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT,4,2 ## @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT
	.comm	_AR5K_DESC_TX_STATUS1_SEQ_NUM,4,2 ## @AR5K_DESC_TX_STATUS1_SEQ_NUM
	.comm	_AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH,4,2 ## @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH
	.comm	_AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK,4,2 ## @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK
	.comm	_AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES,4,2 ## @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES
	.comm	_AR5K_TXERR_XRETRY,4,2          ## @AR5K_TXERR_XRETRY
	.comm	_AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN,4,2 ## @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN
	.comm	_AR5K_TXERR_FIFO,4,2            ## @AR5K_TXERR_FIFO
	.comm	_AR5K_DESC_TX_STATUS0_FILTERED,4,2 ## @AR5K_DESC_TX_STATUS0_FILTERED
	.comm	_AR5K_TXERR_FILT,4,2            ## @AR5K_TXERR_FILT
	.no_dead_strip	_ath5k_hw_proc_2word_tx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ath5k_hw_proc_2word_tx_status
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath5k_hw_proc_2word_tx_status:         ; @ath5k_hw_proc_2word_tx_status
	.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, x2
	mov	x20, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _AR5K_DESC_TX_STATUS1_DONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR5K_DESC_TX_STATUS1_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_2:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x8, _AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_AR5K_REG_MS
	str	x0, [x19, #48]
	ldr	w0, [x20, #4]
Lloh9:
	adrp	x8, _AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_AR5K_REG_MS
	str	x0, [x19, #40]
	ldr	w0, [x20, #4]
Lloh12:
	adrp	x8, _AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_AR5K_REG_MS
	str	x0, [x19, #32]
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _AR5K_DESC_TX_STATUS1_SEQ_NUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR5K_DESC_TX_STATUS1_SEQ_NUM@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_AR5K_REG_MS
	str	x0, [x19, #24]
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_AR5K_REG_MS
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	stp	xzr, x0, [x19, #8]
	ldr	w8, [x20, #4]
Lloh23:
	adrp	x9, _AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
Lloh26:
	adrp	x9, _AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh29:
	adrp	x9, _AR5K_TXERR_XRETRY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AR5K_TXERR_XRETRY@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	str	w9, [x19, #4]
	b	LBB0_7
LBB0_6:
	mov	w9, #0
LBB0_7:
Lloh32:
	adrp	x10, _AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN@GOTPAGE
Lloh33:
	ldr	x10, [x10, _AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
Lloh35:
	adrp	x10, _AR5K_TXERR_FIFO@GOTPAGE
Lloh36:
	ldr	x10, [x10, _AR5K_TXERR_FIFO@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #4]
LBB0_9:
Lloh38:
	adrp	x10, _AR5K_DESC_TX_STATUS0_FILTERED@GOTPAGE
Lloh39:
	ldr	x10, [x10, _AR5K_DESC_TX_STATUS0_FILTERED@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.10:
	mov	w0, #0
Lloh41:
	adrp	x8, _AR5K_TXERR_FILT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AR5K_TXERR_FILT@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_DESC_TX_STATUS1_DONE,4,2  ; @AR5K_DESC_TX_STATUS1_DONE
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP,4,2 ; @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP
	.comm	_AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT,4,2 ; @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT
	.comm	_AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT,4,2 ; @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT
	.comm	_AR5K_DESC_TX_STATUS1_SEQ_NUM,4,2 ; @AR5K_DESC_TX_STATUS1_SEQ_NUM
	.comm	_AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH,4,2 ; @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH
	.comm	_AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK,4,2 ; @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK
	.comm	_AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES,4,2 ; @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES
	.comm	_AR5K_TXERR_XRETRY,4,2          ; @AR5K_TXERR_XRETRY
	.comm	_AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN,4,2 ; @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN
	.comm	_AR5K_TXERR_FIFO,4,2            ; @AR5K_TXERR_FIFO
	.comm	_AR5K_DESC_TX_STATUS0_FILTERED,4,2 ; @AR5K_DESC_TX_STATUS0_FILTERED
	.comm	_AR5K_TXERR_FILT,4,2            ; @AR5K_TXERR_FILT
	.no_dead_strip	_ath5k_hw_proc_2word_tx_status
.subsections_via_symbols
