	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_chksum                    ## -- Begin function inet_chksum
	.p2align	4, 0x90
_inet_chksum:                           ## @inet_chksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_chksum
	movzwl	%ax, %ecx
	sarl	$16, %eax
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$16, %ecx
	addl	%ecx, %eax
	notl	%eax
	orl	$-65536, %eax                   ## imm = 0xFFFF0000
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_chksum                    ; -- Begin function inet_chksum
	.p2align	2
_inet_chksum:                           ; @inet_chksum
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_chksum
	asr	w8, w0, #16
	add	w8, w8, w0, uxth
	add	w8, w8, w8, lsr #16
	mvn	w8, w8
	orr	w0, w8, #0xffff0000
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
