	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat64_cksum_convert
_nat64_cksum_convert:                   ## @nat64_cksum_convert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	movl	4(%rsi), %eax
	notl	%eax
	movzwl	%ax, %edx
	sarl	$16, %eax
	addl	%eax, %edx
	notl	%ecx
	movzwl	%cx, %eax
	sarl	$16, %ecx
	addl	%edx, %ecx
	addl	%ecx, %eax
	addl	(%rdi), %eax
	addl	4(%rdi), %eax
	cmpl	$65536, %eax                    ## imm = 0x10000
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	sarl	$16, %ecx
	movzwl	%ax, %eax
	addl	%ecx, %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	ja	LBB0_1
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nat64_cksum_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat64_cksum_convert
_nat64_cksum_convert:                   ; @nat64_cksum_convert
	.cfi_startproc
; %bb.0:
	ldp	w9, w8, [x1]
	mvn	w8, w8
	asr	w10, w8, #16
	add	w8, w10, w8, uxth
	mvn	w9, w9
	add	w8, w8, w9, asr #16
	add	w8, w8, w9, uxth
	ldp	w9, w10, [x0]
	add	w8, w9, w8
	add	w0, w10, w8
	cmp	w0, #16, lsl #12                ; =65536
	b.lo	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	asr	w8, w0, #16
	add	w0, w8, w0, uxth
	lsr	w8, w0, #16
	cbnz	w8, LBB0_1
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nat64_cksum_convert
.subsections_via_symbols
