	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_csum_check
_tcp_csum_check:                        ## @tcp_csum_check
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_ip_hdrlen
	movl	%eax, %r12d
	movl	(%rbx), %eax
	movl	$1, %r14d
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movl	8(%rbx), %edx
	subl	%r12d, %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	callq	_skb_checksum
	movl	%eax, 4(%rbx)
LBB0_3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	8(%rax), %r13d
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	4(%rax), %r15d
	movl	8(%rbx), %r14d
	subl	%r12d, %r14d
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	(%rax), %ecx
	movl	4(%rbx), %r8d
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	$1, %r14d
	callq	_csum_tcpudp_magic
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %r8
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_IP_VS_DBG_RL_PKT
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed checksum for"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_tcp_csum_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_csum_check
_tcp_csum_check:                        ; @tcp_csum_check
	.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, x2
	mov	x19, x1
	mov	x0, x1
	bl	_ip_hdrlen
	mov	x21, x0
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	sub	w2, w8, w21
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_skb_checksum
	str	w0, [x19, #4]
LBB0_3:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w22, [x0, #8]
	mov	x0, x19
	bl	_ip_hdr
	ldr	w23, [x0, #4]
	ldr	w8, [x19, #8]
	sub	w21, w8, w21
	mov	x0, x19
	bl	_ip_hdr
	ldr	w3, [x0]
	ldr	w4, [x19, #4]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	_csum_tcpudp_magic
	cbz	w0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	mov	w0, #0
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_IP_VS_DBG_RL_PKT
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed checksum for"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_tcp_csum_check
.subsections_via_symbols
