	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_rx_csum
_nfp_net_rx_csum:                       ## @nfp_net_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	%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	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%r8, %rdi
	callq	_skb_checksum_none_assert
	movq	(%rbx), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.1:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, 8(%r12)
	movl	(%r13), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	leaq	16(%r14), %rax
	jmp	LBB0_11
LBB0_3:
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, %edi
	callq	_nfp_net_rx_csum_has_errors
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	leaq	12(%r14), %rax
	jmp	LBB0_11
LBB0_5:
	movl	(%r15), %eax
	movq	_PCIE_DESC_RX_TCP_CSUM_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	_PCIE_DESC_RX_UDP_CSUM_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_7:
	movq	%r12, %rdi
	callq	___skb_incr_checksum_unnecessary
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	incl	8(%r14)
	movq	%r14, %rdi
	callq	_u64_stats_update_end
	movl	(%r15), %eax
LBB0_8:
	movq	_PCIE_DESC_RX_I_TCP_CSUM_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	_PCIE_DESC_RX_I_UDP_CSUM_OK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
LBB0_10:
	movq	%r12, %rdi
	callq	___skb_incr_checksum_unnecessary
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	leaq	4(%r14), %rax
LBB0_11:
	incl	(%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_u64_stats_update_end           ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_PCIE_DESC_RX_TCP_CSUM_OK,4,2   ## @PCIE_DESC_RX_TCP_CSUM_OK
	.comm	_PCIE_DESC_RX_UDP_CSUM_OK,4,2   ## @PCIE_DESC_RX_UDP_CSUM_OK
	.comm	_PCIE_DESC_RX_I_TCP_CSUM_OK,4,2 ## @PCIE_DESC_RX_I_TCP_CSUM_OK
	.comm	_PCIE_DESC_RX_I_UDP_CSUM_OK,4,2 ## @PCIE_DESC_RX_I_UDP_CSUM_OK
	.no_dead_strip	_nfp_net_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_rx_csum
_nfp_net_rx_csum:                       ; @nfp_net_rx_csum
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	mov	x0, x4
	bl	_skb_checksum_none_assert
	ldr	x8, [x23]
	ldr	w8, [x8]
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_12
; %bb.1:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_3
; %bb.2:
	str	x8, [x20, #8]
	ldr	w8, [x22]
	str	w8, [x20]
	mov	x0, x19
	bl	_u64_stats_update_begin
	add	x8, x19, #16
	b	LBB0_11
LBB0_3:
	ldr	w0, [x21]
	bl	_le16_to_cpu
	bl	_nfp_net_rx_csum_has_errors
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_u64_stats_update_begin
	add	x8, x19, #12
	b	LBB0_11
LBB0_5:
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _PCIE_DESC_RX_TCP_CSUM_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCIE_DESC_RX_TCP_CSUM_OK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
Lloh6:
	adrp	x9, _PCIE_DESC_RX_UDP_CSUM_OK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCIE_DESC_RX_UDP_CSUM_OK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	___skb_incr_checksum_unnecessary
	mov	x0, x19
	bl	_u64_stats_update_begin
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_u64_stats_update_end
	ldr	w8, [x21]
LBB0_8:
Lloh9:
	adrp	x9, _PCIE_DESC_RX_I_TCP_CSUM_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCIE_DESC_RX_I_TCP_CSUM_OK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.9:
Lloh12:
	adrp	x9, _PCIE_DESC_RX_I_UDP_CSUM_OK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PCIE_DESC_RX_I_UDP_CSUM_OK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	___skb_incr_checksum_unnecessary
	mov	x0, x19
	bl	_u64_stats_update_begin
	add	x8, x19, #4
LBB0_11:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_u64_stats_update_end
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_PCIE_DESC_RX_TCP_CSUM_OK,4,2   ; @PCIE_DESC_RX_TCP_CSUM_OK
	.comm	_PCIE_DESC_RX_UDP_CSUM_OK,4,2   ; @PCIE_DESC_RX_UDP_CSUM_OK
	.comm	_PCIE_DESC_RX_I_TCP_CSUM_OK,4,2 ; @PCIE_DESC_RX_I_TCP_CSUM_OK
	.comm	_PCIE_DESC_RX_I_UDP_CSUM_OK,4,2 ; @PCIE_DESC_RX_I_UDP_CSUM_OK
	.no_dead_strip	_nfp_net_rx_csum
.subsections_via_symbols
