	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_rx_csum
_vmxnet3_rx_csum:                       ## @vmxnet3_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
	movq	%rsi, %r14
	cmpl	$0, 48(%rdx)
	je	LBB0_1
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_skb_checksum_none_assert       ## TAILCALL
LBB0_1:
	movq	(%rdi), %rax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.2:
	movq	%rdx, %rbx
	cmpq	$0, 40(%rdx)
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	callq	_le32_to_cpu
	movq	_VMXNET3_RCD_CSUM_OK@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_7:
	cmpq	$0, 32(%rbx)
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	callq	_le32_to_cpu
	movq	_VMXNET3_RCD_TUC_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_9
LBB0_4:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
LBB0_6:
	callq	_BUG_ON
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
LBB0_9:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_htons
	movl	%eax, 8(%r14)
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_VMXNET3_RCD_CSUM_OK,4,2        ## @VMXNET3_RCD_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,8,3       ## @CHECKSUM_UNNECESSARY
	.comm	_VMXNET3_RCD_TUC_SHIFT,4,2      ## @VMXNET3_RCD_TUC_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.no_dead_strip	_vmxnet3_rx_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_rx_csum
_vmxnet3_rx_csum:                       ; @vmxnet3_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, x1
	ldr	w8, [x2, #48]
	cbz	w8, LBB0_2
LBB0_1:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_skb_checksum_none_assert
LBB0_2:
	ldr	x8, [x0]
	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_1
; %bb.3:
	mov	x19, x2
	ldr	x8, [x2, #40]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _VMXNET3_RCD_CSUM_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMXNET3_RCD_CSUM_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.eq	LBB0_7
LBB0_5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_le32_to_cpu
Lloh6:
	adrp	x8, _VMXNET3_RCD_TUC_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMXNET3_RCD_TUC_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsr	w8, w0, w8
	tbz	w8, #0, LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_1
; %bb.10:
	bl	_htons
	str	w0, [x20, #8]
Lloh12:
	adrp	x8, _CHECKSUM_PARTIAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
LBB0_12:
	bl	_BUG_ON
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG_ON
	.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	_VMXNET3_RCD_CSUM_OK,4,2        ; @VMXNET3_RCD_CSUM_OK
	.comm	_CHECKSUM_UNNECESSARY,8,3       ; @CHECKSUM_UNNECESSARY
	.comm	_VMXNET3_RCD_TUC_SHIFT,4,2      ; @VMXNET3_RCD_TUC_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.no_dead_strip	_vmxnet3_rx_csum
.subsections_via_symbols
