	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_rx_csum
_iwl_mvm_rx_csum:                       ## @iwl_mvm_rx_csum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	callq	_iwl_mvm_sta_from_mac80211
	movl	(%rax), %edi
	callq	_iwl_mvm_vif_from_mac80211
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_RX_MPDU_RES_STATUS_CSUM_DONE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_RX_MPDU_RES_STATUS_CSUM_OK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_RX_MPDU_RES_STATUS_CSUM_DONE,4,2 ## @RX_MPDU_RES_STATUS_CSUM_DONE
	.comm	_RX_MPDU_RES_STATUS_CSUM_OK,4,2 ## @RX_MPDU_RES_STATUS_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_iwl_mvm_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_rx_csum
_iwl_mvm_rx_csum:                       ; @iwl_mvm_rx_csum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	bl	_iwl_mvm_sta_from_mac80211
	ldr	w0, [x0]
	bl	_iwl_mvm_vif_from_mac80211
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _RX_MPDU_RES_STATUS_CSUM_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_MPDU_RES_STATUS_CSUM_DONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _RX_MPDU_RES_STATUS_CSUM_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_MPDU_RES_STATUS_CSUM_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_RX_MPDU_RES_STATUS_CSUM_DONE,4,2 ; @RX_MPDU_RES_STATUS_CSUM_DONE
	.comm	_RX_MPDU_RES_STATUS_CSUM_OK,4,2 ; @RX_MPDU_RES_STATUS_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_iwl_mvm_rx_csum
.subsections_via_symbols
