	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5210_decode_txdesc
_ar5210_decode_txdesc:                  ## @ar5210_decode_txdesc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %rsi
	leaq	-40(%rbp), %rdi
	movl	$16, %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	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_AR_FrameLen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	-32(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-32(%rbp), %edi
	movq	_AR_XmitRate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r14d
	movl	-32(%rbp), %edi
	movq	_AR_RTSCTSEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r15d
	movl	-32(%rbp), %edi
	movq	_AR_ClearDestMask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-32(%rbp), %edi
	movq	_AR_AntModeXmit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	movl	-32(%rbp), %edi
	movq	_AR_FrmType@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %ebx
	movl	-32(%rbp), %edi
	movq	_AR_TxInterReq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	movl	-32(%rbp), %edi
	movq	_AR_LongPkt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_BufLen@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%edi, %ebx
	movq	_AR_More@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-28(%rbp), %edi
	movq	_AR_EncryptKeyIdx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r15d
	movl	-28(%rbp), %edi
	movq	_AR_RTSDuration@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	addq	$24, %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] TXD\n"

L_.str.1:                               ## @.str.1
	.asciz	"  link=0x%08x, data=0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"    Frame Len=%d\n"

	.comm	_AR_FrameLen,4,2                ## @AR_FrameLen
L_.str.3:                               ## @.str.3
	.asciz	"    TX Rate=0x%02x, RtsEna=%d, ClrDstMask=%d AntModeXmit=0x%02x\n"

	.comm	_AR_XmitRate,4,2                ## @AR_XmitRate
	.comm	_AR_RTSCTSEnable,4,2            ## @AR_RTSCTSEnable
	.comm	_AR_ClearDestMask,4,2           ## @AR_ClearDestMask
	.comm	_AR_AntModeXmit,4,2             ## @AR_AntModeXmit
L_.str.4:                               ## @.str.4
	.asciz	"    FrmType=0x%02x, TxIntrReq=%d\n"

	.comm	_AR_FrmType,4,2                 ## @AR_FrmType
	.comm	_AR_TxInterReq,4,2              ## @AR_TxInterReq
L_.str.5:                               ## @.str.5
	.asciz	"    LongPkt=%d\n"

	.comm	_AR_LongPkt,4,2                 ## @AR_LongPkt
L_.str.6:                               ## @.str.6
	.asciz	"    BufLen=%d, TxMore=%d, EncryptKeyIdx=%d, RtsDuration=%d\n"

	.comm	_AR_BufLen,4,2                  ## @AR_BufLen
	.comm	_AR_More,4,2                    ## @AR_More
	.comm	_AR_EncryptKeyIdx,4,2           ## @AR_EncryptKeyIdx
	.comm	_AR_RTSDuration,4,2             ## @AR_RTSDuration
L_str:                                  ## @str
	.asciz	"\n ------ "

	.no_dead_strip	_ar5210_decode_txdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5210_decode_txdesc
_ar5210_decode_txdesc:                  ; @ar5210_decode_txdesc
	.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, #32
	mov	w2, #16
	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
	ldp	w8, w9, [sp, #32]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #40]
Lloh4:
	adrp	x9, _AR_FrameLen@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AR_FrameLen@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
Lloh9:
	adrp	x8, _AR_XmitRate@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_XmitRate@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MS
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh12:
	adrp	x8, _AR_RTSCTSEnable@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_RTSCTSEnable@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_MF
	mov	x20, x0
	ldr	w0, [sp, #40]
Lloh15:
	adrp	x8, _AR_ClearDestMask@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_ClearDestMask@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_MF
	mov	x21, x0
	ldr	w0, [sp, #40]
Lloh18:
	adrp	x8, _AR_AntModeXmit@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR_AntModeXmit@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
Lloh23:
	adrp	x8, _AR_FrmType@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AR_FrmType@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_MS
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh26:
	adrp	x8, _AR_TxInterReq@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR_TxInterReq@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #40]
Lloh31:
	adrp	x8, _AR_LongPkt@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AR_LongPkt@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
Lloh36:
	adrp	x8, _AR_BufLen@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AR_BufLen@GOTPAGEOFF]
	ldr	w0, [sp, #44]
Lloh38:
	ldr	w8, [x8]
	and	w21, w8, w0
Lloh39:
	adrp	x8, _AR_More@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AR_More@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh42:
	adrp	x8, _AR_EncryptKeyIdx@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AR_EncryptKeyIdx@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh45:
	adrp	x8, _AR_RTSDuration@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AR_RTSDuration@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #16]
	stp	x21, x19, [sp]
Lloh48:
	adrp	x0, l_.str.6@PAGE
Lloh49:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
Lloh50:
	adrp	x0, l_str@PAGE
Lloh51:
	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	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u.%06u] [%llu] TXD\n"

l_.str.1:                               ; @.str.1
	.asciz	"  link=0x%08x, data=0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"    Frame Len=%d\n"

	.comm	_AR_FrameLen,4,2                ; @AR_FrameLen
l_.str.3:                               ; @.str.3
	.asciz	"    TX Rate=0x%02x, RtsEna=%d, ClrDstMask=%d AntModeXmit=0x%02x\n"

	.comm	_AR_XmitRate,4,2                ; @AR_XmitRate
	.comm	_AR_RTSCTSEnable,4,2            ; @AR_RTSCTSEnable
	.comm	_AR_ClearDestMask,4,2           ; @AR_ClearDestMask
	.comm	_AR_AntModeXmit,4,2             ; @AR_AntModeXmit
l_.str.4:                               ; @.str.4
	.asciz	"    FrmType=0x%02x, TxIntrReq=%d\n"

	.comm	_AR_FrmType,4,2                 ; @AR_FrmType
	.comm	_AR_TxInterReq,4,2              ; @AR_TxInterReq
l_.str.5:                               ; @.str.5
	.asciz	"    LongPkt=%d\n"

	.comm	_AR_LongPkt,4,2                 ; @AR_LongPkt
l_.str.6:                               ; @.str.6
	.asciz	"    BufLen=%d, TxMore=%d, EncryptKeyIdx=%d, RtsDuration=%d\n"

	.comm	_AR_BufLen,4,2                  ; @AR_BufLen
	.comm	_AR_More,4,2                    ; @AR_More
	.comm	_AR_EncryptKeyIdx,4,2           ; @AR_EncryptKeyIdx
	.comm	_AR_RTSDuration,4,2             ; @AR_RTSDuration
l_str:                                  ; @str
	.asciz	"\n ------ "

	.no_dead_strip	_ar5210_decode_txdesc
.subsections_via_symbols
