	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_ipv6_checksum
_update_ipv6_checksum:                  ## @update_ipv6_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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rdi), %ebx
	callq	_skb_transport_offset
	subl	%eax, %ebx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	cmpl	$4, %ebx
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%r13, %rdi
	callq	_tcp_hdr
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inet_proto_csum_replace16      ## TAILCALL
LBB0_3:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_9
## %bb.4:
	xorl	%edi, %edi
	cmpl	$8, %ebx
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%r13, %rdi
	callq	_udp_hdr
	movq	%rax, %r12
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	8(%r13), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_7:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_inet_proto_csum_replace16
	cmpq	$0, (%r12)
	jne	LBB0_9
## %bb.8:
	movq	_CSUM_MANGLED_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_CSUM_MANGLED_0,8,3             ## @CSUM_MANGLED_0
	.no_dead_strip	_update_ipv6_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_ipv6_checksum
_update_ipv6_checksum:                  ; @update_ipv6_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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w23, [x0]
	bl	_skb_transport_offset
	sub	w8, w23, w0
Lloh0:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_3
; %bb.1:
	cmp	w8, #3
	cset	w0, hi
	bl	_likely
	cbz	x0, LBB0_9
; %bb.2:
	mov	x0, x21
	bl	_tcp_hdr
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w4, #1
	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	_inet_proto_csum_replace16
LBB0_3:
Lloh3:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_9
; %bb.4:
	cmp	w8, #7
	cset	w0, hi
	bl	_likely
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x21
	bl	_udp_hdr
	mov	x22, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x21, #8]
Lloh6:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w4, #1
	bl	_inet_proto_csum_replace16
	ldr	x8, [x22]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _CSUM_MANGLED_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CSUM_MANGLED_0@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_CSUM_MANGLED_0,8,3             ; @CSUM_MANGLED_0
	.no_dead_strip	_update_ipv6_checksum
.subsections_via_symbols
