	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5212_decode_txstatus
_ar5212_decode_txstatus:                ## @ar5212_decode_txstatus
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %rsi
	leaq	-48(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	4(%rbx), %edi
	callq	_be32toh
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_be32toh
	movq	%rax, %r15
	movl	8(%rbx), %edi
	callq	_be64toh
	movq	%rax, %r12
	movl	-48(%rbp), %edi
	movq	_AR_Done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	movq	_AR_SendTimestamp@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_MS
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_printf
	movl	-44(%rbp), %edi
	movq	_AR_FrmXmitOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-44(%rbp), %edi
	movq	_AR_ExcessiveRetries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r15d
	movl	-44(%rbp), %edi
	movq	_AR_FIFOUnderrun@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	movq	_AR_Filtered@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	movl	-44(%rbp), %edi
	movq	_AR_RTSFailCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r14d
	movl	-44(%rbp), %edi
	movq	_AR_DataFailCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	movq	_AR_VirtCollCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printf
	movl	-44(%rbp), %edi
	movl	(%r13), %esi
	callq	_MS
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-48(%rbp), %edi
	movq	_AR_Done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-48(%rbp), %edi
	movq	_AR_SeqNum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r15d
	movl	-48(%rbp), %edi
	movq	_AR_AckSigStrength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	movq	_AR_FinalTSIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	movl	-48(%rbp), %edi
	movq	_AR_CompSuccess@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	movq	_AR_XmitAtenna@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%u.%06u] [%llu] TXSTATUS: TxDone=%d, TS=0x%08x\n\n"

	.comm	_AR_Done,4,2                    ## @AR_Done
	.comm	_AR_SendTimestamp,4,2           ## @AR_SendTimestamp
L_.str.1:                               ## @.str.1
	.asciz	"    Frmok=%d, xretries=%d, fifounderrun=%d, filt=%d\n"

	.comm	_AR_FrmXmitOK,4,2               ## @AR_FrmXmitOK
	.comm	_AR_ExcessiveRetries,4,2        ## @AR_ExcessiveRetries
	.comm	_AR_FIFOUnderrun,4,2            ## @AR_FIFOUnderrun
	.comm	_AR_Filtered,4,2                ## @AR_Filtered
L_.str.2:                               ## @.str.2
	.asciz	"    RTScnt=%d, FailCnt=%d, VCollCnt=%d\n"

	.comm	_AR_RTSFailCnt,4,2              ## @AR_RTSFailCnt
	.comm	_AR_DataFailCnt,4,2             ## @AR_DataFailCnt
	.comm	_AR_VirtCollCnt,4,2             ## @AR_VirtCollCnt
L_.str.3:                               ## @.str.3
	.asciz	"    SndTimestamp=0x%04x\n"

L_.str.4:                               ## @.str.4
	.asciz	"    Done=%d, SeqNum=0x%04x, AckRSSI=%d, FinalTSI=%d\n"

	.comm	_AR_SeqNum,4,2                  ## @AR_SeqNum
	.comm	_AR_AckSigStrength,4,2          ## @AR_AckSigStrength
	.comm	_AR_FinalTSIndex,4,2            ## @AR_FinalTSIndex
L_.str.5:                               ## @.str.5
	.asciz	"    CompSuccess=%d, XmitAntenna=%d\n"

	.comm	_AR_CompSuccess,4,2             ## @AR_CompSuccess
	.comm	_AR_XmitAtenna,4,2              ## @AR_XmitAtenna
L_str:                                  ## @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5212_decode_txstatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5212_decode_txstatus
_ar5212_decode_txstatus:                ; @ar5212_decode_txstatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	x1, x0, #12
	add	x0, sp, #40
	mov	w2, #8
	bl	_memcpy
	ldr	w0, [x19, #4]
	bl	_be32toh
	mov	x20, x0
	ldr	w0, [x19]
	bl	_be32toh
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_be64toh
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh0:
	adrp	x23, _AR_Done@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AR_Done@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_MF
	mov	x22, x0
	ldr	w0, [sp, #44]
Lloh2:
	adrp	x24, _AR_SendTimestamp@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AR_SendTimestamp@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #24]
	stp	x21, x19, [sp, #8]
	str	x20, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh6:
	adrp	x8, _AR_FrmXmitOK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_FrmXmitOK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh9:
	adrp	x8, _AR_ExcessiveRetries@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_ExcessiveRetries@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MF
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh12:
	adrp	x8, _AR_FIFOUnderrun@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_FIFOUnderrun@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_MF
	mov	x21, x0
	ldr	w0, [sp, #44]
Lloh15:
	adrp	x8, _AR_Filtered@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_Filtered@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh20:
	adrp	x8, _AR_RTSFailCnt@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AR_RTSFailCnt@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_MS
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh23:
	adrp	x8, _AR_DataFailCnt@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AR_DataFailCnt@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh26:
	adrp	x8, _AR_VirtCollCnt@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR_VirtCollCnt@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
	ldr	w1, [x24]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
	ldr	w1, [x23]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh33:
	adrp	x8, _AR_SeqNum@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AR_SeqNum@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #40]
Lloh36:
	adrp	x8, _AR_AckSigStrength@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AR_AckSigStrength@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_MS
	mov	x21, x0
	ldr	w0, [sp, #40]
Lloh39:
	adrp	x8, _AR_FinalTSIndex@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AR_FinalTSIndex@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
Lloh44:
	adrp	x8, _AR_CompSuccess@GOTPAGE
Lloh45:
	ldr	x8, [x8, _AR_CompSuccess@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh47:
	adrp	x8, _AR_XmitAtenna@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AR_XmitAtenna@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh50:
	adrp	x0, l_.str.5@PAGE
Lloh51:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
Lloh52:
	adrp	x0, l_str@PAGE
Lloh53:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u.%06u] [%llu] TXSTATUS: TxDone=%d, TS=0x%08x\n\n"

	.comm	_AR_Done,4,2                    ; @AR_Done
	.comm	_AR_SendTimestamp,4,2           ; @AR_SendTimestamp
l_.str.1:                               ; @.str.1
	.asciz	"    Frmok=%d, xretries=%d, fifounderrun=%d, filt=%d\n"

	.comm	_AR_FrmXmitOK,4,2               ; @AR_FrmXmitOK
	.comm	_AR_ExcessiveRetries,4,2        ; @AR_ExcessiveRetries
	.comm	_AR_FIFOUnderrun,4,2            ; @AR_FIFOUnderrun
	.comm	_AR_Filtered,4,2                ; @AR_Filtered
l_.str.2:                               ; @.str.2
	.asciz	"    RTScnt=%d, FailCnt=%d, VCollCnt=%d\n"

	.comm	_AR_RTSFailCnt,4,2              ; @AR_RTSFailCnt
	.comm	_AR_DataFailCnt,4,2             ; @AR_DataFailCnt
	.comm	_AR_VirtCollCnt,4,2             ; @AR_VirtCollCnt
l_.str.3:                               ; @.str.3
	.asciz	"    SndTimestamp=0x%04x\n"

l_.str.4:                               ; @.str.4
	.asciz	"    Done=%d, SeqNum=0x%04x, AckRSSI=%d, FinalTSI=%d\n"

	.comm	_AR_SeqNum,4,2                  ; @AR_SeqNum
	.comm	_AR_AckSigStrength,4,2          ; @AR_AckSigStrength
	.comm	_AR_FinalTSIndex,4,2            ; @AR_FinalTSIndex
l_.str.5:                               ; @.str.5
	.asciz	"    CompSuccess=%d, XmitAntenna=%d\n"

	.comm	_AR_CompSuccess,4,2             ; @AR_CompSuccess
	.comm	_AR_XmitAtenna,4,2              ; @AR_XmitAtenna
l_str:                                  ; @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5212_decode_txstatus
.subsections_via_symbols
