	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_chksum_pseudo             ## -- Begin function inet_chksum_pseudo
	.p2align	4, 0x90
_inet_chksum_pseudo:                    ## @inet_chksum_pseudo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	rolw	$8, %cx
	testb	$1, (%r15)
	movzwl	%cx, %ebx
	cmovel	%eax, %ebx
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_chksum
	addl	%ebx, %eax
	cmpl	$65536, %eax                    ## imm = 0x10000
	jb	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %ecx
	sarl	$16, %ecx
	movzwl	%ax, %eax
	addl	%ecx, %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	ja	LBB0_3
	jmp	LBB0_4
LBB0_5:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_htons                          ## TAILCALL
	.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_pseudo             ; -- Begin function inet_chksum_pseudo
	.p2align	2
_inet_chksum_pseudo:                    ; @inet_chksum_pseudo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	w21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	rev	w9, w8
	lsr	w9, w9, #16
	ldrb	w10, [x20]
	tst	w10, #0x1
	csel	w21, w8, w9, eq
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldp	w1, w0, [x20]
	bl	_chksum
	add	w8, w21, w0
	cmp	w8, #16, lsl #12                ; =65536
	b.lo	LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w9, w8, #16
	add	w8, w9, w8, uxth
	lsr	w9, w8, #16
	cbnz	w9, LBB0_4
	b	LBB0_2
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_htons
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
