	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_process_rxwi            ## -- Begin function rt2800_process_rxwi
	.p2align	4, 0x90
_rt2800_process_rxwi:                   ## @rt2800_process_rxwi
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rt2x00_desc_read
	movl	%eax, %ebx
	movq	_RXWI_W0_UDF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movq	%rax, 40(%r12)
	movq	_RXWI_W0_MPDU_TOTAL_BYTE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movq	%rax, 32(%r12)
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rt2x00_desc_read
	movl	%eax, %ebx
	movq	_RXWI_W1_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RX_ENC_FLAG_SHORT_GI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%r12)
LBB0_2:
	movq	_RXWI_W1_BW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
LBB0_4:
	movq	_RXDONE_SIGNAL_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r12)
	movq	_RXWI_W1_MCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movl	%eax, (%r12)
	movq	_RXWI_W1_PHYMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rt2x00_get_field32
	movq	%rax, 8(%r12)
	movq	_RATE_MODE_CCK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_6
## %bb.5:
	andb	$-9, (%r12)
LBB0_6:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_rt2x00_desc_read
	movq	(%r14), %rcx
	movl	4(%rcx), %edi
	movl	%eax, %esi
	callq	_rt2800_agc_to_rssi
	movl	%eax, 16(%r12)
	movq	(%r14), %rax
	movq	8(%r14), %rdi
	movl	(%rax), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_pull                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RXWI_W0_UDF,4,2                ## @RXWI_W0_UDF
	.comm	_RXWI_W0_MPDU_TOTAL_BYTE_COUNT,4,2 ## @RXWI_W0_MPDU_TOTAL_BYTE_COUNT
	.comm	_RXWI_W1_SHORT_GI,4,2           ## @RXWI_W1_SHORT_GI
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ## @RX_ENC_FLAG_SHORT_GI
	.comm	_RXWI_W1_BW,4,2                 ## @RXWI_W1_BW
	.comm	_RATE_INFO_BW_40,4,2            ## @RATE_INFO_BW_40
	.comm	_RXDONE_SIGNAL_MCS,4,2          ## @RXDONE_SIGNAL_MCS
	.comm	_RXWI_W1_MCS,4,2                ## @RXWI_W1_MCS
	.comm	_RXWI_W1_PHYMODE,4,2            ## @RXWI_W1_PHYMODE
	.comm	_RATE_MODE_CCK,8,3              ## @RATE_MODE_CCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_process_rxwi            ; -- Begin function rt2800_process_rxwi
	.p2align	2
_rt2800_process_rxwi:                   ; @rt2800_process_rxwi
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_rt2x00_desc_read
	mov	x22, x0
Lloh0:
	adrp	x8, _RXWI_W0_UDF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXWI_W0_UDF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_get_field32
	str	x0, [x20, #40]
Lloh3:
	adrp	x8, _RXWI_W0_MPDU_TOTAL_BYTE_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXWI_W0_MPDU_TOTAL_BYTE_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_rt2x00_get_field32
	str	x0, [x20, #32]
	mov	x0, x21
	mov	w1, #1
	bl	_rt2x00_desc_read
	mov	x22, x0
Lloh6:
	adrp	x8, _RXWI_W1_SHORT_GI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXWI_W1_SHORT_GI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_rt2x00_get_field32
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_ENC_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20, #28]
	orr	w8, w9, w8
	str	w8, [x20, #28]
LBB0_2:
Lloh12:
	adrp	x8, _RXWI_W1_BW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXWI_W1_BW@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_rt2x00_get_field32
	cbz	x0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _RATE_INFO_BW_40@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RATE_INFO_BW_40@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20, #24]
LBB0_4:
Lloh18:
	adrp	x8, _RXDONE_SIGNAL_MCS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RXDONE_SIGNAL_MCS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x20, #20]
	orr	w8, w9, w8
	str	w8, [x20, #20]
Lloh21:
	adrp	x8, _RXWI_W1_MCS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RXWI_W1_MCS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_rt2x00_get_field32
	str	w0, [x20]
Lloh24:
	adrp	x8, _RXWI_W1_PHYMODE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RXWI_W1_PHYMODE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_rt2x00_get_field32
	str	x0, [x20, #8]
Lloh27:
	adrp	x8, _RATE_MODE_CCK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RATE_MODE_CCK@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x20]
	and	w8, w8, #0xfffffff7
	str	w8, [x20]
LBB0_6:
	mov	x0, x21
	mov	w1, #2
	bl	_rt2x00_desc_read
	mov	x1, x0
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_rt2800_agc_to_rssi
	str	w0, [x20, #16]
	ldp	x8, x0, [x19]
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_skb_pull
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_RXWI_W0_UDF,4,2                ; @RXWI_W0_UDF
	.comm	_RXWI_W0_MPDU_TOTAL_BYTE_COUNT,4,2 ; @RXWI_W0_MPDU_TOTAL_BYTE_COUNT
	.comm	_RXWI_W1_SHORT_GI,4,2           ; @RXWI_W1_SHORT_GI
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ; @RX_ENC_FLAG_SHORT_GI
	.comm	_RXWI_W1_BW,4,2                 ; @RXWI_W1_BW
	.comm	_RATE_INFO_BW_40,4,2            ; @RATE_INFO_BW_40
	.comm	_RXDONE_SIGNAL_MCS,4,2          ; @RXDONE_SIGNAL_MCS
	.comm	_RXWI_W1_MCS,4,2                ; @RXWI_W1_MCS
	.comm	_RXWI_W1_PHYMODE,4,2            ; @RXWI_W1_PHYMODE
	.comm	_RATE_MODE_CCK,8,3              ; @RATE_MODE_CCK
.subsections_via_symbols
