	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checksum                       ## -- Begin function checksum
	.p2align	4, 0x90
_checksum:                              ## @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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rsi, %rsi
	jle	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_READ_SHORT
                                        ## kill: def $ax killed $ax def $rax
	addw	%r12w, %ax
	adcw	$0, %ax
	addq	$2, %rbx
	movl	%eax, %r12d
	cmpq	%r15, %rbx
	jl	LBB0_3
## %bb.4:
	testb	$1, %r15b
	je	LBB0_6
LBB0_5:
	movzbl	(%r14,%rbx), %ecx
	addw	%cx, %ax
	adcw	$0, %ax
LBB0_6:
	movzwl	%ax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	testb	$1, %r15b
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checksum                       ; -- Begin function checksum
	.p2align	2
_checksum:                              ; @checksum
	.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	x20, x1
	mov	x19, x0
	cmp	x1, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w22, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_READ_SHORT
	add	w8, w0, w22, uxth
	add	w22, w8, w8, lsr #16
	add	x21, x21, #2
	cmp	x21, x20
	b.lt	LBB0_2
; %bb.3:
	tbz	w20, #0, LBB0_5
LBB0_4:
	ldrb	w8, [x19, x21]
	add	w8, w8, w22, uxth
	add	w22, w8, w8, lsr #16
LBB0_5:
	and	w0, w22, #0xffff
	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
	ret
LBB0_6:
	mov	x21, #0
	mov	w22, #0
	tbnz	w20, #0, LBB0_4
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
