	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_rx_mac_status
_carl9170_rx_mac_status:                ## @carl9170_rx_mac_status
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	$1, %edi
	callq	_BUILD_BUG_ON
	movl	$1, %edi
	callq	_BUILD_BUG_ON
	movl	(%r13), %ebx
	movq	_AR9170_RX_ERROR_WRONG_RA@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_2
## %bb.1:
	cmpl	$0, 24(%r12)
	je	LBB0_20
LBB0_2:
	movq	_AR9170_RX_ERROR_PLCP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_FIF_PLCPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_20
## %bb.4:
	movq	_RX_FLAG_FAILED_PLCP_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_5:
	movq	_AR9170_RX_ERROR_FCS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.6:
	incl	28(%r12)
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_20
## %bb.7:
	movq	_RX_FLAG_FAILED_FCS_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_8:
	movq	%r13, %rdi
	callq	_ar9170_get_decrypt_type
	movq	_AR9170_RX_ENC_SOFTWARE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_14
## %bb.9:
	movq	_AR9170_ENC_ALG_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.10:
	movq	_AR9170_ENC_ALG_TKIP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.11:
	movq	_AR9170_RX_ERROR_MMIC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_RX_FLAG_MMIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_13:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_14:
	movq	_AR9170_RX_ERROR_DECRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_16
## %bb.15:
	cmpl	$0, 24(%r12)
	je	LBB0_30
LBB0_16:
	movq	_AR9170_RX_ERROR_MMIC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AR9170_RX_ERROR_FCS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%r15), %eax
	movq	_AR9170_RX_ERROR_PLCP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, %ebx
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_wiphy_dbg
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_21:
	xorl	%r13d, %r13d
LBB0_22:
	subl	(%rax), %r13d
LBB0_23:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movl	4(%rax), %ecx
	movl	%ecx, 16(%r14)
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
LBB0_26:
	movl	4(%r13), %eax
	movq	_AR9170_RX_STATUS_MODULATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	addl	$-136, %ecx
	cmpl	$3, %ecx
	ja	LBB0_41
## %bb.27:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_28:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_19
## %bb.29:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_44:
	callq	_wiphy_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_30:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_31:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testb	$-128, 12(%rax)
	je	LBB0_33
## %bb.32:
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r14)
LBB0_33:
	testb	$-128, 24(%rax)
	je	LBB0_35
## %bb.34:
	movq	_RX_ENC_FLAG_SHORT_GI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
LBB0_35:
	movl	12(%rax), %edi
	andl	$127, %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$75, %edx
	callq	_clamp
	movl	%eax, (%r14)
	movq	_RX_ENC_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_23
LBB0_36:
	movq	_AR9170_RX_STATUS_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_38
## %bb.37:
	movq	_RX_ENC_FLAG_SHORTPRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_38:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movl	$-140, %eax
	addl	(%rcx), %eax
	cmpl	$3, %eax
	ja	LBB0_42
## %bb.39:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_40:
	movl	$2, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_23
LBB0_41:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BUG
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_42:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_19
## %bb.43:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_44
LBB0_45:
	movl	$1, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_23
LBB0_46:
	movl	$0, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_23
LBB0_47:
	movl	$3, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
LJTI0_0:
	.long	L0_0_set_28
	.long	L0_0_set_31
	.long	L0_0_set_28
	.long	L0_0_set_36
.set L0_1_set_40, LBB0_40-LJTI0_1
.set L0_1_set_45, LBB0_45-LJTI0_1
.set L0_1_set_46, LBB0_46-LJTI0_1
.set L0_1_set_47, LBB0_47-LJTI0_1
LJTI0_1:
	.long	L0_1_set_40
	.long	L0_1_set_45
	.long	L0_1_set_46
	.long	L0_1_set_47
	.end_data_region
                                        ## -- End function
	.comm	_AR9170_RX_ERROR_WRONG_RA,4,2   ## @AR9170_RX_ERROR_WRONG_RA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AR9170_RX_ERROR_PLCP,4,2       ## @AR9170_RX_ERROR_PLCP
	.comm	_FIF_PLCPFAIL,4,2               ## @FIF_PLCPFAIL
	.comm	_RX_FLAG_FAILED_PLCP_CRC,4,2    ## @RX_FLAG_FAILED_PLCP_CRC
	.comm	_AR9170_RX_ERROR_FCS,4,2        ## @AR9170_RX_ERROR_FCS
	.comm	_FIF_FCSFAIL,4,2                ## @FIF_FCSFAIL
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ## @RX_FLAG_FAILED_FCS_CRC
	.comm	_AR9170_RX_ENC_SOFTWARE,4,2     ## @AR9170_RX_ENC_SOFTWARE
	.comm	_AR9170_ENC_ALG_NONE,4,2        ## @AR9170_ENC_ALG_NONE
	.comm	_AR9170_ENC_ALG_TKIP,4,2        ## @AR9170_ENC_ALG_TKIP
	.comm	_AR9170_RX_ERROR_MMIC,4,2       ## @AR9170_RX_ERROR_MMIC
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ## @RX_FLAG_MMIC_ERROR
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_AR9170_RX_ERROR_DECRYPT,4,2    ## @AR9170_RX_ERROR_DECRYPT
	.comm	_ENODATA,4,2                    ## @ENODATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received frame with suspicious error code (%#x).\n"

	.comm	_AR9170_RX_STATUS_MODULATION,4,2 ## @AR9170_RX_STATUS_MODULATION
	.comm	_AR9170_RX_STATUS_SHORT_PREAMBLE,4,2 ## @AR9170_RX_STATUS_SHORT_PREAMBLE
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ## @RX_ENC_FLAG_SHORTPRE
L_.str.1:                               ## @.str.1
	.asciz	"invalid plcp cck rate (%x).\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid plcp ofdm rate (%x).\n"

	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_RATE_INFO_BW_40,4,2            ## @RATE_INFO_BW_40
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ## @RX_ENC_FLAG_SHORT_GI
	.comm	_RX_ENC_HT,4,2                  ## @RX_ENC_HT
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_carl9170_rx_mac_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_rx_mac_status
_carl9170_rx_mac_status:                ; @carl9170_rx_mac_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #1
	bl	_BUILD_BUG_ON
	mov	w0, #1
	bl	_BUILD_BUG_ON
	ldr	w23, [x22]
Lloh0:
	adrp	x24, _AR9170_RX_ERROR_WRONG_RA@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AR9170_RX_ERROR_WRONG_RA@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_25
LBB0_2:
Lloh2:
	adrp	x25, _AR9170_RX_ERROR_PLCP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AR9170_RX_ERROR_PLCP@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _FIF_PLCPFAIL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FIF_PLCPFAIL@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.4:
Lloh7:
	adrp	x8, _RX_FLAG_FAILED_PLCP_CRC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RX_FLAG_FAILED_PLCP_CRC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_5:
Lloh10:
	adrp	x26, _AR9170_RX_ERROR_FCS@GOTPAGE
Lloh11:
	ldr	x26, [x26, _AR9170_RX_ERROR_FCS@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w23
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _FIF_FCSFAIL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIF_FCSFAIL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.7:
Lloh15:
	adrp	x8, _RX_FLAG_FAILED_FCS_CRC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RX_FLAG_FAILED_FCS_CRC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_8:
	mov	x0, x22
	bl	_ar9170_get_decrypt_type
Lloh18:
	adrp	x8, _AR9170_RX_ENC_SOFTWARE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR9170_RX_ENC_SOFTWARE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _AR9170_ENC_ALG_NONE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AR9170_ENC_ALG_NONE@GOTPAGEOFF]
	and	w8, w8, w0
Lloh23:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w0, w9, #4, eq
Lloh24:
	adrp	x8, _AR9170_RX_ERROR_MMIC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AR9170_RX_ERROR_MMIC@GOTPAGEOFF]
	b.eq	LBB0_13
; %bb.9:
Lloh26:
	adrp	x9, _AR9170_ENC_ALG_TKIP@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AR9170_ENC_ALG_TKIP@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_12
; %bb.10:
	ldr	w9, [x8]
	tst	w9, w23
	b.eq	LBB0_12
; %bb.11:
Lloh29:
	adrp	x9, _RX_FLAG_MMIC_ERROR@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RX_FLAG_MMIC_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	ldr	w10, [x19, #24]
	orr	w9, w10, w9
	str	w9, [x19, #24]
LBB0_12:
Lloh32:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	ldr	w10, [x19, #24]
	orr	w9, w10, w9
	str	w9, [x19, #24]
LBB0_13:
Lloh35:
	adrp	x9, _AR9170_RX_ERROR_DECRYPT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _AR9170_RX_ERROR_DECRYPT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w23
	b.eq	LBB0_15
; %bb.14:
	ldr	w10, [x20, #24]
	cbz	w10, LBB0_28
LBB0_15:
	ldr	w8, [x8]
	ldr	w10, [x26]
	ldr	w11, [x24]
	ldr	w12, [x25]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	bic	w23, w23, w8
	mov	x0, x23
	bl	_unlikely
	cbz	x0, LBB0_18
; %bb.16:
	bl	_net_ratelimit
	cbz	x0, LBB0_25
; %bb.17:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str@PAGE
Lloh39:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_wiphy_dbg
	b	LBB0_25
LBB0_18:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_20
; %bb.19:
	ldr	d0, [x8]
	rev64.2s	v0, v0
	str	d0, [x19, #16]
LBB0_20:
	ldr	w8, [x22, #4]
Lloh40:
	adrp	x9, _AR9170_RX_STATUS_MODULATION@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AR9170_RX_STATUS_MODULATION@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	and	w9, w9, w8
	sub	w9, w9, #136
	cmp	w9, #3
	b.hi	LBB0_39
; %bb.21:
Lloh43:
	adrp	x10, lJTI0_0@PAGE
Lloh44:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_22
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_22:
	bl	_net_ratelimit
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_24:
	bl	_wiphy_err
LBB0_25:
Lloh47:
	adrp	x8, _EINVAL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_28:
Lloh49:
	adrp	x8, _ENODATA@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
	b	LBB0_26
LBB0_29:
	ldr	x8, [x21]
	ldrb	w9, [x8, #12]
	tbz	w9, #7, LBB0_31
; %bb.30:
Lloh51:
	adrp	x9, _RATE_INFO_BW_40@GOTPAGE
Lloh52:
	ldr	x9, [x9, _RATE_INFO_BW_40@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	str	w9, [x19, #12]
LBB0_31:
	ldrb	w9, [x8, #24]
	tbz	w9, #7, LBB0_33
; %bb.32:
Lloh54:
	adrp	x9, _RX_ENC_FLAG_SHORT_GI@GOTPAGE
Lloh55:
	ldr	x9, [x9, _RX_ENC_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	orr	w9, w10, w9
	str	w9, [x19, #8]
LBB0_33:
	ldr	w8, [x8, #12]
	and	w0, w8, #0x7f
	mov	w1, #0
	mov	w2, #75
	bl	_clamp
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
Lloh57:
	adrp	x8, _RX_ENC_HT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _RX_ENC_HT@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_27
LBB0_34:
Lloh60:
	adrp	x9, _AR9170_RX_STATUS_SHORT_PREAMBLE@GOTPAGE
Lloh61:
	ldr	x9, [x9, _AR9170_RX_STATUS_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
Lloh63:
	adrp	x8, _RX_ENC_FLAG_SHORTPRE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _RX_ENC_FLAG_SHORTPRE@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_36:
	ldr	x8, [x21]
	ldr	w8, [x8]
	sub	w8, w8, #140
	cmp	w8, #3
	b.hi	LBB0_40
; %bb.37:
Lloh66:
	adrp	x9, lJTI0_1@PAGE
Lloh67:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_38
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_38:
	mov	w0, #0
	mov	w8, #2
	str	w8, [x19]
	b	LBB0_27
LBB0_39:
	bl	_BUG
Lloh68:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_26
LBB0_40:
	bl	_net_ratelimit
	cbz	x0, LBB0_25
; %bb.41:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh70:
	adrp	x1, l_.str.1@PAGE
Lloh71:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_42:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_27
LBB0_43:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_27
LBB0_44:
	mov	w0, #0
	mov	w8, #3
	str	w8, [x19]
	b	LBB0_27
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_34-LBB0_22)>>2
lJTI0_1:
	.byte	(LBB0_38-LBB0_38)>>2
	.byte	(LBB0_42-LBB0_38)>>2
	.byte	(LBB0_43-LBB0_38)>>2
	.byte	(LBB0_44-LBB0_38)>>2
                                        ; -- End function
	.comm	_AR9170_RX_ERROR_WRONG_RA,4,2   ; @AR9170_RX_ERROR_WRONG_RA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AR9170_RX_ERROR_PLCP,4,2       ; @AR9170_RX_ERROR_PLCP
	.comm	_FIF_PLCPFAIL,4,2               ; @FIF_PLCPFAIL
	.comm	_RX_FLAG_FAILED_PLCP_CRC,4,2    ; @RX_FLAG_FAILED_PLCP_CRC
	.comm	_AR9170_RX_ERROR_FCS,4,2        ; @AR9170_RX_ERROR_FCS
	.comm	_FIF_FCSFAIL,4,2                ; @FIF_FCSFAIL
	.comm	_RX_FLAG_FAILED_FCS_CRC,4,2     ; @RX_FLAG_FAILED_FCS_CRC
	.comm	_AR9170_RX_ENC_SOFTWARE,4,2     ; @AR9170_RX_ENC_SOFTWARE
	.comm	_AR9170_ENC_ALG_NONE,4,2        ; @AR9170_ENC_ALG_NONE
	.comm	_AR9170_ENC_ALG_TKIP,4,2        ; @AR9170_ENC_ALG_TKIP
	.comm	_AR9170_RX_ERROR_MMIC,4,2       ; @AR9170_RX_ERROR_MMIC
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ; @RX_FLAG_MMIC_ERROR
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_AR9170_RX_ERROR_DECRYPT,4,2    ; @AR9170_RX_ERROR_DECRYPT
	.comm	_ENODATA,4,2                    ; @ENODATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received frame with suspicious error code (%#x).\n"

	.comm	_AR9170_RX_STATUS_MODULATION,4,2 ; @AR9170_RX_STATUS_MODULATION
	.comm	_AR9170_RX_STATUS_SHORT_PREAMBLE,4,2 ; @AR9170_RX_STATUS_SHORT_PREAMBLE
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ; @RX_ENC_FLAG_SHORTPRE
l_.str.1:                               ; @.str.1
	.asciz	"invalid plcp cck rate (%x).\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid plcp ofdm rate (%x).\n"

	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_RATE_INFO_BW_40,4,2            ; @RATE_INFO_BW_40
	.comm	_RX_ENC_FLAG_SHORT_GI,4,2       ; @RX_ENC_FLAG_SHORT_GI
	.comm	_RX_ENC_HT,4,2                  ; @RX_ENC_HT
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_carl9170_rx_mac_status
.subsections_via_symbols
