	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnet_fullcsum_ipv4
_vnet_fullcsum_ipv4:                    ## @vnet_fullcsum_ipv4
	.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	%rdi, %r12
	callq	_ip_hdr
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_skb_transport_offset
	movl	%eax, %r15d
	movq	(%r12), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_8
## %bb.1:
	movq	(%r14), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rcx
	cmpq	%rdx, %rax
	je	LBB0_3
## %bb.2:
	cmpq	%rcx, %rax
	jne	LBB0_8
LBB0_3:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 32(%r12)
	movl	$1, 8(%r12)
	movq	$0, 16(%r12)
	cmpq	%rdx, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_tcp_hdr
	jmp	LBB0_7
LBB0_5:
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.6:
	movq	%rdi, %r13
	movq	%r12, %rdi
	callq	_udp_hdr
LBB0_7:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rax)
	movq	24(%r12), %rdx
	movslq	%r15d, %rbx
	subq	%rbx, %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_skb_checksum
	movq	%rax, 16(%r12)
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	movq	24(%r12), %rdx
	subq	%rbx, %rdx
	movq	(%r13), %rcx
	movq	%rax, %r8
	callq	_csum_tcpudp_magic
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_vnet_fullcsum_ipv4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnet_fullcsum_ipv4
_vnet_fullcsum_ipv4:                    ; @vnet_fullcsum_ipv4
	.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	x19, x0
	bl	_ip_hdr
	mov	x20, x0
	mov	x0, x19
	bl	_skb_transport_offset
	mov	x21, x0
	ldr	x22, [x19]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x9]
Lloh6:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_7
; %bb.2:
Lloh9:
	adrp	x11, _CHECKSUM_NONE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	str	w11, [x19, #32]
	mov	w11, #1
	str	w11, [x19, #8]
	str	xzr, [x19, #16]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_tcp_hdr
	mov	x22, x0
	str	xzr, [x0]
	ldr	x8, [x19, #24]
	sxtw	x23, w21
	sub	x2, x8, x23
Lloh12:
	adrp	x24, _IPPROTO_TCP@GOTPAGE
Lloh13:
	ldr	x24, [x24, _IPPROTO_TCP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_udp_hdr
	mov	x22, x0
	str	xzr, [x0]
	ldr	x8, [x19, #24]
	mov	x9, x21
	sxtw	x23, w9
	sub	x2, x8, x23
Lloh14:
	adrp	x24, _IPPROTO_UDP@GOTPAGE
Lloh15:
	ldr	x24, [x24, _IPPROTO_UDP@GOTPAGEOFF]
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_skb_checksum
	mov	x4, x0
	str	x0, [x19, #16]
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x19, #24]
	sub	x2, x8, x23
	ldr	x3, [x24]
	bl	_csum_tcpudp_magic
	str	x0, [x22]
LBB0_7:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_vnet_fullcsum_ipv4
.subsections_via_symbols
