	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_ip_checksum                 ## -- Begin function nf_ip_checksum
	.p2align	4, 0x90
_nf_ip_checksum:                        ## @nf_ip_checksum
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_ip_hdr
	movq	%rax, %r12
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.2:
	movq	_NF_INET_PRE_ROUTING@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_NF_INET_LOCAL_IN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_8
LBB0_4:
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	callq	_csum_fold
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %r8d
	subl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_csum_tcpudp_magic
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.11:
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movl	4(%rbx), %edx
	subl	%r15d, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_csum_tcpudp_nofold
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
LBB0_12:
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___skb_checksum_complete        ## TAILCALL
LBB0_7:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_INET_PRE_ROUTING,4,2        ## @NF_INET_PRE_ROUTING
	.comm	_NF_INET_LOCAL_IN,4,2           ## @NF_INET_LOCAL_IN
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nf_ip_checksum                 ; -- Begin function nf_ip_checksum
	.p2align	2
_nf_ip_checksum:                        ; @nf_ip_checksum
	.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, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	bl	_ip_hdr
	mov	x22, x0
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.2:
Lloh0:
	adrp	x8, _NF_INET_PRE_ROUTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NF_INET_PRE_ROUTING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NF_INET_LOCAL_IN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NF_INET_LOCAL_IN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w23
	ccmp	w9, w23, #4, ne
	b.ne	LBB0_11
; %bb.3:
	cbnz	w20, LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_csum_fold
	cbz	w0, LBB0_10
LBB0_5:
	ldp	w1, w0, [x22]
	ldp	w8, w4, [x19, #4]
	sub	w2, w8, w21
	mov	x3, x20
	bl	_csum_tcpudp_magic
	cbz	w0, LBB0_10
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
	ldp	w1, w0, [x22]
	ldr	w8, [x19, #4]
	sub	w2, w8, w21
	mov	x3, x20
	mov	w4, #0
	bl	_csum_tcpudp_nofold
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	str	w0, [x19, #8]
	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	___skb_checksum_complete
LBB0_10:
Lloh6:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_11:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_INET_PRE_ROUTING,4,2        ; @NF_INET_PRE_ROUTING
	.comm	_NF_INET_LOCAL_IN,4,2           ; @NF_INET_LOCAL_IN
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
.subsections_via_symbols
