	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5211_decode_txstatus
_ar5211_decode_txstatus:                ## @ar5211_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %rsi
	leaq	-32(%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
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_FrmXmitOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-28(%rbp), %edi
	movq	_AR_ExcessiveRetries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r15d
	movl	-28(%rbp), %edi
	movq	_AR_FIFOUnderrun@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-28(%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	-28(%rbp), %edi
	movq	_AR_LongRetryCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r14d
	movl	-28(%rbp), %edi
	movq	_AR_ShortRetryCnt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %ebx
	movl	-28(%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	-28(%rbp), %edi
	movq	_AR_SendTimestamp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-32(%rbp), %edi
	movq	_AR_Done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-32(%rbp), %edi
	movq	_AR_SeqNum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %ebx
	movl	-32(%rbp), %edi
	movq	_AR_AckSigStrength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%u.%06u] [%llu] TXSTATUS\n"

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	"    LongRetryCnt=%d, ShortRetryCnt=%d, VCollCnt=%d\n"

	.comm	_AR_LongRetryCnt,4,2            ## @AR_LongRetryCnt
	.comm	_AR_ShortRetryCnt,4,2           ## @AR_ShortRetryCnt
	.comm	_AR_VirtCollCnt,4,2             ## @AR_VirtCollCnt
L_.str.3:                               ## @.str.3
	.asciz	"    SndTimestamp=0x%04x\n"

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

	.comm	_AR_Done,4,2                    ## @AR_Done
	.comm	_AR_SeqNum,4,2                  ## @AR_SeqNum
	.comm	_AR_AckSigStrength,4,2          ## @AR_AckSigStrength
L_str:                                  ## @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5211_decode_txstatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5211_decode_txstatus
_ar5211_decode_txstatus:                ; @ar5211_decode_txstatus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	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
	stp	x21, x0, [sp, #8]
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh2:
	adrp	x8, _AR_FrmXmitOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AR_FrmXmitOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh5:
	adrp	x8, _AR_ExcessiveRetries@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_ExcessiveRetries@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_MF
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh8:
	adrp	x8, _AR_FIFOUnderrun@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_FIFOUnderrun@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_MF
	mov	x21, x0
	ldr	w0, [sp, #44]
Lloh11:
	adrp	x8, _AR_Filtered@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_Filtered@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh16:
	adrp	x8, _AR_LongRetryCnt@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AR_LongRetryCnt@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_MS
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh19:
	adrp	x8, _AR_ShortRetryCnt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AR_ShortRetryCnt@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh22:
	adrp	x8, _AR_VirtCollCnt@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AR_VirtCollCnt@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh27:
	adrp	x8, _AR_SendTimestamp@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_SendTimestamp@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
Lloh32:
	adrp	x8, _AR_Done@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AR_Done@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh35:
	adrp	x8, _AR_SeqNum@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AR_SeqNum@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #40]
Lloh38:
	adrp	x8, _AR_AckSigStrength@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AR_AckSigStrength@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh43:
	adrp	x0, l_str@PAGE
Lloh44:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u.%06u] [%llu] TXSTATUS\n"

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	"    LongRetryCnt=%d, ShortRetryCnt=%d, VCollCnt=%d\n"

	.comm	_AR_LongRetryCnt,4,2            ; @AR_LongRetryCnt
	.comm	_AR_ShortRetryCnt,4,2           ; @AR_ShortRetryCnt
	.comm	_AR_VirtCollCnt,4,2             ; @AR_VirtCollCnt
l_.str.3:                               ; @.str.3
	.asciz	"    SndTimestamp=0x%04x\n"

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

	.comm	_AR_Done,4,2                    ; @AR_Done
	.comm	_AR_SeqNum,4,2                  ; @AR_SeqNum
	.comm	_AR_AckSigStrength,4,2          ; @AR_AckSigStrength
l_str:                                  ; @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5211_decode_txstatus
.subsections_via_symbols
