	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8xxxu_parse_rxdesc16        ## -- Begin function rtl8xxxu_parse_rxdesc16
	.p2align	4, 0x90
_rtl8xxxu_parse_rxdesc16:               ## @rtl8xxxu_parse_rxdesc16
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r13d
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rbx
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, (%rbx)
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 4(%rbx)
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 8(%rbx)
	movl	12(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 16(%rbx)
	movl	20(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 20(%rbx)
	movl	24(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 24(%rbx)
	movl	28(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 28(%rbx)
	movl	32(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 32(%rbx)
	movl	36(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 36(%rbx)
	movl	40(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 40(%rbx)
	movl	44(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 44(%rbx)
	movl	48(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 48(%rbx)
	movl	52(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 52(%rbx)
	movl	56(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 56(%rbx)
	movl	60(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, 60(%rbx)
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %r14d
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rbx), %eax
	movl	8(%rbx), %r15d
	shll	$3, %r15d
	addl	12(%rbx), %r15d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	(%rax,%r15), %edi
	addl	$64, %edi
	movl	$128, %esi
	callq	_roundup
	cmpl	$2, %r14d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jl	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r13d, %rdx
	movslq	%eax, %rcx
	addq	$64, %rcx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_clone
	movq	%rax, %r12
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r12, %rdi
	movl	$64, %esi
	callq	_skb_pull
	movq	8(%r12), %r13
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_skb_pull
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_trim
	cmpq	$0, 56(%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_rtl8xxxu_rx_parse_phystats
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	52(%rbx), %eax
	movl	%eax, 28(%r14)
	movl	24(%r14), %eax
	movq	_RX_FLAG_MACTIME_START@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 24(%r14)
	cmpl	$0, 48(%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 24(%r14)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpq	$0, 40(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_RX_FLAG_FAILED_FCS_CRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 24(%r14)
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_RX_ENC_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	16(%rbx), %rax
	movq	_DESC_RATE_MCS0@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rax
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, 8(%r14)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r14)
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r12, %rsi
	callq	_ieee80211_rx_irqsafe
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_skb_pull
	subl	%r14d, %r13d
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rbx), %eax
	movq	%r12, %rsi
	cmpl	$1, %ebx
	movl	%eax, %r14d
	jg	LBB0_1
LBB0_20:
	movq	_RX_TYPE_DATA_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_RX_FLAG_MACTIME_START,4,2      ## @RX_FLAG_MACTIME_START
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ## @RX_FLAG_FAILED_FCS_CRC
	.comm	_RATE_INFO_BW_40,4,2            ## @RATE_INFO_BW_40
	.comm	_RX_ENC_HT,4,2                  ## @RX_ENC_HT
	.comm	_DESC_RATE_MCS0,8,3             ## @DESC_RATE_MCS0
	.comm	_RX_TYPE_DATA_PKT,4,2           ## @RX_TYPE_DATA_PKT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8xxxu_parse_rxdesc16        ; -- Begin function rtl8xxxu_parse_rxdesc16
	.p2align	2
_rtl8xxxu_parse_rxdesc16:               ; @rtl8xxxu_parse_rxdesc16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	w28, #0
	mov	x21, #0
	ldr	x8, [x0]
	stp	x0, x8, [sp]                    ; 16-byte Folded Spill
	ldr	w19, [x1]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x22, #8]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	str	w0, [x20]
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	str	w0, [x20, #4]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	str	w0, [x20, #8]
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	str	w0, [x20, #12]
	ldr	w0, [x20, #16]
	bl	_le32_to_cpu
	str	w0, [x20, #16]
	ldr	w0, [x20, #20]
	bl	_le32_to_cpu
	str	w0, [x20, #20]
	ldr	w0, [x20, #24]
	bl	_le32_to_cpu
	str	w0, [x20, #24]
	ldr	w0, [x20, #28]
	bl	_le32_to_cpu
	str	w0, [x20, #28]
	ldr	w0, [x20, #32]
	bl	_le32_to_cpu
	str	w0, [x20, #32]
	ldr	w0, [x20, #36]
	bl	_le32_to_cpu
	str	w0, [x20, #36]
	ldr	w0, [x20, #40]
	bl	_le32_to_cpu
	str	w0, [x20, #40]
	ldr	w0, [x20, #44]
	bl	_le32_to_cpu
	str	w0, [x20, #44]
	ldr	w0, [x20, #48]
	bl	_le32_to_cpu
	str	w0, [x20, #48]
	ldr	w0, [x20, #52]
	bl	_le32_to_cpu
	str	w0, [x20, #52]
	ldr	w0, [x20, #56]
	bl	_le32_to_cpu
	str	w0, [x20, #56]
	ldr	w0, [x20, #60]
	bl	_le32_to_cpu
	str	w0, [x20, #60]
	cbnz	w28, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w28, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	w25, w8, [x20, #4]
	ldr	w9, [x20, #12]
	add	w26, w9, w8, lsl #3
	add	w8, w26, w25
	add	w0, w8, #64
	mov	w1, #128
	bl	_roundup
	mov	x23, x0
	cmp	w28, #2
	b.lt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	sxtw	x8, w23
	add	x8, x8, #64
	cmp	x8, w19, sxtw
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_skb_clone
	mov	x21, x0
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_IEEE80211_SKB_RXCB
	mov	x24, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x22
	mov	w1, #64
	bl	_skb_pull
	ldr	x27, [x22, #8]
	mov	x0, x22
	mov	x1, x26
	bl	_skb_pull
	mov	x0, x22
	mov	x1, x25
	bl	_skb_trim
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x3, [x20, #16]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x27
	bl	_rtl8xxxu_rx_parse_phystats
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
Lloh3:
	adrp	x8, _RX_FLAG_MACTIME_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_FLAG_MACTIME_START@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x24, #24]
	orr	w8, w9, w8
	ldp	w10, w9, [x20, #48]
	stp	w8, w9, [x24, #24]
	cbz	w10, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x20, #40]
	cbz	x9, LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh6:
	adrp	x9, _RX_FLAG_FAILED_FCS_CRC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_FLAG_FAILED_FCS_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x24, #24]
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
Lloh9:
	adrp	x8, _RATE_INFO_BW_40@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RATE_INFO_BW_40@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x24, #20]
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
Lloh12:
	adrp	x8, _RX_ENC_HT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RX_ENC_HT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x24, #16]
	ldr	x8, [x20, #16]
Lloh15:
	adrp	x9, _DESC_RATE_MCS0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DESC_RATE_MCS0@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	sub	x8, x8, x9
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh18:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x24, #24]
	ldr	x9, [x20, #40]
	cbnz	x9, LBB0_10
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20, #16]
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x8, [x24, #8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x0]
	ldr	d0, [x8]
	str	d0, [x24]
	mov	x1, x22
	bl	_ieee80211_rx_irqsafe
	cbz	x21, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_skb_pull
	sub	w19, w19, w23
	cmp	w19, #1
	b.lt	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w28, #1
	mov	x22, x21
	cmp	w28, #1
	mov	x28, x8
	b.gt	LBB0_1
LBB0_20:
Lloh21:
	adrp	x8, _RX_TYPE_DATA_PKT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RX_TYPE_DATA_PKT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_RX_FLAG_MACTIME_START,4,2      ; @RX_FLAG_MACTIME_START
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ; @RX_FLAG_FAILED_FCS_CRC
	.comm	_RATE_INFO_BW_40,4,2            ; @RATE_INFO_BW_40
	.comm	_RX_ENC_HT,4,2                  ; @RX_ENC_HT
	.comm	_DESC_RATE_MCS0,8,3             ; @DESC_RATE_MCS0
	.comm	_RX_TYPE_DATA_PKT,4,2           ; @RX_TYPE_DATA_PKT
.subsections_via_symbols
