	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5211_decode_rxstatus
_ar5211_decode_rxstatus:                ## @ar5211_decode_rxstatus
	.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
	movl	-32(%rbp), %edi
	movq	_AR_DataLen@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%edi, %ebx
	movq	_AR_More@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-32(%rbp), %edi
	movq	_AR_RcvSigStrength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r15d
	movl	-32(%rbp), %edi
	movq	_AR_RcvAntenna@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_Done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r14d
	movl	-28(%rbp), %edi
	movq	_AR_FrmRcvOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %r15d
	movl	-28(%rbp), %edi
	movq	_AR_CRCErr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	movl	%eax, %ebx
	movl	-28(%rbp), %edi
	movq	_AR_DecryptCRCErr@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	-28(%rbp), %edi
	movq	_AR_KeyIdxValid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_PHYErr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_KeyCacheMiss@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MF
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	-28(%rbp), %edi
	movq	_AR_RcvTimestamp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	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] RXSTATUS\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"  DataLen=%d, ArMore=%d, RSSI=%d, RcvAntenna=0x%x\n"

	.comm	_AR_DataLen,4,2                 ## @AR_DataLen
	.comm	_AR_More,4,2                    ## @AR_More
	.comm	_AR_RcvSigStrength,4,2          ## @AR_RcvSigStrength
	.comm	_AR_RcvAntenna,4,2              ## @AR_RcvAntenna
L_.str.3:                               ## @.str.3
	.asciz	"  RxDone=%d, RxFrameOk=%d, CrcErr=%d, DecryptCrcErr=%d\n"

	.comm	_AR_Done,4,2                    ## @AR_Done
	.comm	_AR_FrmRcvOK,4,2                ## @AR_FrmRcvOK
	.comm	_AR_CRCErr,4,2                  ## @AR_CRCErr
	.comm	_AR_DecryptCRCErr,4,2           ## @AR_DecryptCRCErr
L_.str.4:                               ## @.str.4
	.asciz	"  KeyIdxValid=%d\n"

	.comm	_AR_KeyIdxValid,4,2             ## @AR_KeyIdxValid
L_.str.5:                               ## @.str.5
	.asciz	"  PhyErrCode=0x%02x\n"

	.comm	_AR_PHYErr,4,2                  ## @AR_PHYErr
L_.str.6:                               ## @.str.6
	.asciz	"  KeyMiss=%d\n"

	.comm	_AR_KeyCacheMiss,4,2            ## @AR_KeyCacheMiss
L_.str.7:                               ## @.str.7
	.asciz	"  Timetamp: 0x%05x\n"

	.comm	_AR_RcvTimestamp,4,2            ## @AR_RcvTimestamp
L_str:                                  ## @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5211_decode_rxstatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5211_decode_rxstatus
_ar5211_decode_rxstatus:                ; @ar5211_decode_rxstatus
	.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
Lloh4:
	adrp	x8, _AR_DataLen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AR_DataLen@GOTPAGEOFF]
	ldr	w0, [sp, #40]
Lloh6:
	ldr	w8, [x8]
	and	w21, w8, w0
Lloh7:
	adrp	x8, _AR_More@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AR_More@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #40]
Lloh10:
	adrp	x8, _AR_RcvSigStrength@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AR_RcvSigStrength@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_MS
	mov	x20, x0
	ldr	w0, [sp, #40]
Lloh13:
	adrp	x8, _AR_RcvAntenna@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AR_RcvAntenna@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #16]
	stp	x21, x19, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh18:
	adrp	x8, _AR_Done@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR_Done@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_MF
	mov	x19, x0
	ldr	w0, [sp, #44]
Lloh21:
	adrp	x8, _AR_FrmRcvOK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR_FrmRcvOK@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_MF
	mov	x20, x0
	ldr	w0, [sp, #44]
Lloh24:
	adrp	x8, _AR_CRCErr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AR_CRCErr@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_MF
	mov	x21, x0
	ldr	w0, [sp, #44]
Lloh27:
	adrp	x8, _AR_DecryptCRCErr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_DecryptCRCErr@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh32:
	adrp	x8, _AR_KeyIdxValid@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AR_KeyIdxValid@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh37:
	adrp	x8, _AR_PHYErr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AR_PHYErr@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh42:
	adrp	x8, _AR_KeyCacheMiss@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AR_KeyCacheMiss@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_MF
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh45:
	adrp	x0, l_.str.6@PAGE
Lloh46:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #44]
Lloh47:
	adrp	x8, _AR_RcvTimestamp@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AR_RcvTimestamp@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_MS
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh50:
	adrp	x0, l_.str.7@PAGE
Lloh51:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
Lloh52:
	adrp	x0, l_str@PAGE
Lloh53:
	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	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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] RXSTATUS\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"  DataLen=%d, ArMore=%d, RSSI=%d, RcvAntenna=0x%x\n"

	.comm	_AR_DataLen,4,2                 ; @AR_DataLen
	.comm	_AR_More,4,2                    ; @AR_More
	.comm	_AR_RcvSigStrength,4,2          ; @AR_RcvSigStrength
	.comm	_AR_RcvAntenna,4,2              ; @AR_RcvAntenna
l_.str.3:                               ; @.str.3
	.asciz	"  RxDone=%d, RxFrameOk=%d, CrcErr=%d, DecryptCrcErr=%d\n"

	.comm	_AR_Done,4,2                    ; @AR_Done
	.comm	_AR_FrmRcvOK,4,2                ; @AR_FrmRcvOK
	.comm	_AR_CRCErr,4,2                  ; @AR_CRCErr
	.comm	_AR_DecryptCRCErr,4,2           ; @AR_DecryptCRCErr
l_.str.4:                               ; @.str.4
	.asciz	"  KeyIdxValid=%d\n"

	.comm	_AR_KeyIdxValid,4,2             ; @AR_KeyIdxValid
l_.str.5:                               ; @.str.5
	.asciz	"  PhyErrCode=0x%02x\n"

	.comm	_AR_PHYErr,4,2                  ; @AR_PHYErr
l_.str.6:                               ; @.str.6
	.asciz	"  KeyMiss=%d\n"

	.comm	_AR_KeyCacheMiss,4,2            ; @AR_KeyCacheMiss
l_.str.7:                               ; @.str.7
	.asciz	"  Timetamp: 0x%05x\n"

	.comm	_AR_RcvTimestamp,4,2            ; @AR_RcvTimestamp
l_str:                                  ; @str
	.asciz	"\n ------"

	.no_dead_strip	_ar5211_decode_rxstatus
.subsections_via_symbols
