	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_rx_data
_p54_rx_data:                           ## @p54_rx_data
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r12
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_RXCB
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	44(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r12), %r13d
	movq	(%r14), %rax
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_20
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	4(%r12), %r14d
	movq	_P54_HDR_FLAG_DATA_IN_FCS_GOOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%r14d, %eax
	je	LBB0_20
## %bb.2:
	movq	%r12, %rdx
	movq	8(%r12), %rax
	movq	_P54_DECRYPT_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_4
## %bb.3:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 24(%r15)
LBB0_4:
	movq	_P54_DECRYPT_FAIL_MICHAEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_6
## %bb.5:
	movq	_P54_DECRYPT_FAIL_TKIP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_6:
	movq	_RX_FLAG_MMIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
LBB0_7:
	andl	$15, %r14d
	movq	%rdx, %r12
	movl	40(%rdx), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_p54_rssi_to_dbm
	movl	%eax, 40(%r15)
	testb	$16, (%r12)
	je	LBB0_9
## %bb.8:
	movq	_RX_ENC_FLAG_SHORTPRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 36(%r15)
LBB0_9:
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	%r14d, %esi
	subl	$4, %esi
	cmovbl	%edx, %esi
	cmpq	(%rcx), %rax
	cmovnel	%r14d, %esi
	movl	%esi, (%r15)
	movl	%r13d, 32(%r15)
	movq	%rax, 8(%r15)
	movl	36(%r12), %eax
	movl	%eax, 28(%r15)
	movl	32(%r12), %edi
	callq	_le32_to_cpu
	cmpl	8(%rbx), %eax
	jge	LBB0_11
## %bb.10:
	incq	24(%rbx)
LBB0_11:
	movl	%eax, 8(%rbx)
	movq	_RX_FLAG_MACTIME_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
	movl	4(%r12), %ebx
	movq	_P54_HDR_FLAG_DATA_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_12
## %bb.13:
	movq	24(%r12), %rax
	movq	(%rax), %rsi
	addq	$48, %rsi
	jmp	LBB0_14
LBB0_12:
	movl	$48, %esi
LBB0_14:
	movq	%r14, %rdi
	callq	_skb_pull
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skb_trim
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ieee80211_is_probe_resp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %edi
	callq	_ieee80211_is_beacon
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	xorl	%eax, %eax
	callq	_ktime_get_boottime_ns
	movl	%eax, 20(%r15)
LBB0_17:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	_IEEE80211_CONF_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_p54_pspoll_workaround
LBB0_19:
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	_ieee80211_rx_irqsafe
	movq	16(%rbx), %r14
	addq	$12, %rbx
	movq	_P54_STATISTICS_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ieee80211_queue_delayed_work
	movl	$-1, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_HDR_FLAG_DATA_IN_FCS_GOOD,4,2 ## @P54_HDR_FLAG_DATA_IN_FCS_GOOD
	.comm	_P54_DECRYPT_OK,8,3             ## @P54_DECRYPT_OK
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_P54_DECRYPT_FAIL_MICHAEL,8,3   ## @P54_DECRYPT_FAIL_MICHAEL
	.comm	_P54_DECRYPT_FAIL_TKIP,8,3      ## @P54_DECRYPT_FAIL_TKIP
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ## @RX_FLAG_MMIC_ERROR
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ## @RX_ENC_FLAG_SHORTPRE
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_RX_FLAG_MACTIME_END,4,2        ## @RX_FLAG_MACTIME_END
	.comm	_P54_HDR_FLAG_DATA_ALIGN,4,2    ## @P54_HDR_FLAG_DATA_ALIGN
	.comm	_IEEE80211_CONF_PS,4,2          ## @IEEE80211_CONF_PS
	.comm	_P54_STATISTICS_UPDATE,4,2      ## @P54_STATISTICS_UPDATE
	.no_dead_strip	_p54_rx_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_rx_data
_p54_rx_data:                           ; @p54_rx_data
	.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	x20, x1
	mov	x19, x0
	ldr	x23, [x1]
	mov	x0, x1
	bl	_IEEE80211_SKB_RXCB
	mov	x21, x0
	ldr	w0, [x23, #44]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w24, [x23]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_20
LBB0_2:
	ldr	w25, [x23, #4]
Lloh3:
	adrp	x8, _P54_HDR_FLAG_DATA_IN_FCS_GOOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_IN_FCS_GOOD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	tst	w0, w25
	b.eq	LBB0_1
; %bb.3:
	ldr	x8, [x23, #8]
Lloh6:
	adrp	x9, _P54_DECRYPT_OK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P54_DECRYPT_OK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x21, #24]
	orr	w9, w10, w9
	str	w9, [x21, #24]
LBB0_5:
Lloh12:
	adrp	x9, _P54_DECRYPT_FAIL_MICHAEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _P54_DECRYPT_FAIL_MICHAEL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _P54_DECRYPT_FAIL_TKIP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _P54_DECRYPT_FAIL_TKIP@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _RX_FLAG_MMIC_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RX_FLAG_MMIC_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x21, #24]
	orr	w8, w9, w8
	str	w8, [x21, #24]
LBB0_7:
	and	w24, w24, #0xf
	ldr	w1, [x23, #40]
	mov	x0, x19
	bl	_p54_rssi_to_dbm
	str	w0, [x21, #40]
	ldrb	w8, [x23]
	tbz	w8, #4, LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _RX_ENC_FLAG_SHORTPRE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RX_ENC_FLAG_SHORTPRE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x21, #36]
	orr	w8, w9, w8
	str	w8, [x21, #36]
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
Lloh24:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh25:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh26:
	ldr	x9, [x9]
	subs	w10, w24, #4
	csel	w10, wzr, w10, lo
	cmp	x8, x9
	csel	w9, w10, w24, eq
	str	w9, [x21]
	str	x8, [x21, #8]
	ldp	w0, w8, [x23, #32]
	stp	w8, w22, [x21, #28]
	bl	_le32_to_cpu
	ldr	w8, [x19, #8]
	cmp	w0, w8
	b.ge	LBB0_11
; %bb.10:
	ldr	x8, [x19, #24]
	add	x8, x8, #1
	str	x8, [x19, #24]
LBB0_11:
	str	w0, [x19, #8]
Lloh27:
	adrp	x8, _RX_FLAG_MACTIME_END@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RX_FLAG_MACTIME_END@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x21, #24]
	orr	w8, w9, w8
	str	w8, [x21, #24]
	ldr	w22, [x23, #4]
Lloh30:
	adrp	x8, _P54_HDR_FLAG_DATA_ALIGN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _P54_HDR_FLAG_DATA_ALIGN@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	tst	w0, w22
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	add	x1, x8, #48
	b	LBB0_14
LBB0_13:
	mov	w1, #48
LBB0_14:
	mov	x0, x20
	bl	_skb_pull
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x20
	bl	_skb_trim
	ldr	x8, [x20]
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ieee80211_is_probe_resp
	cbnz	x0, LBB0_16
; %bb.15:
	mov	x0, x22
	bl	_ieee80211_is_beacon
	cbz	x0, LBB0_17
LBB0_16:
	bl	_ktime_get_boottime_ns
	str	w0, [x21, #20]
LBB0_17:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _IEEE80211_CONF_PS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IEEE80211_CONF_PS@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x19
	mov	x1, x20
	bl	_p54_pspoll_workaround
LBB0_19:
	ldr	x0, [x19, #16]
	mov	x1, x20
	bl	_ieee80211_rx_irqsafe
	ldr	x20, [x19, #16]
	add	x19, x19, #12
Lloh36:
	adrp	x8, _P54_STATISTICS_UPDATE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _P54_STATISTICS_UPDATE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_queue_delayed_work
	mov	w0, #-1
LBB0_20:
	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
	.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
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_HDR_FLAG_DATA_IN_FCS_GOOD,4,2 ; @P54_HDR_FLAG_DATA_IN_FCS_GOOD
	.comm	_P54_DECRYPT_OK,8,3             ; @P54_DECRYPT_OK
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_P54_DECRYPT_FAIL_MICHAEL,8,3   ; @P54_DECRYPT_FAIL_MICHAEL
	.comm	_P54_DECRYPT_FAIL_TKIP,8,3      ; @P54_DECRYPT_FAIL_TKIP
	.comm	_RX_FLAG_MMIC_ERROR,4,2         ; @RX_FLAG_MMIC_ERROR
	.comm	_RX_ENC_FLAG_SHORTPRE,4,2       ; @RX_ENC_FLAG_SHORTPRE
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_RX_FLAG_MACTIME_END,4,2        ; @RX_FLAG_MACTIME_END
	.comm	_P54_HDR_FLAG_DATA_ALIGN,4,2    ; @P54_HDR_FLAG_DATA_ALIGN
	.comm	_IEEE80211_CONF_PS,4,2          ; @IEEE80211_CONF_PS
	.comm	_P54_STATISTICS_UPDATE,4,2      ; @P54_STATISTICS_UPDATE
	.no_dead_strip	_p54_rx_data
.subsections_via_symbols
