	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checksum
_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
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r8,4), %r9d
	movl	%r9d, %edx
	shrl	$7, %edx
	andl	$1, %edx
	leal	(%rdx,%rax,2), %edx
	movl	%edx, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %eax                    ## imm = 0x8000
	cmovel	%edx, %ecx
	movl	%r9d, %eax
	shrl	$6, %eax
	andl	$1, %eax
	leal	(%rax,%rcx,2), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	movl	%r9d, %eax
	shrl	$5, %eax
	andl	$1, %eax
	leal	(%rax,%rdx,2), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	movl	%r9d, %eax
	shrl	$4, %eax
	andl	$1, %eax
	leal	(%rax,%rcx,2), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	movl	%r9d, %eax
	shrl	$3, %eax
	andl	$1, %eax
	leal	(%rax,%rdx,2), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	movl	%r9d, %eax
	shrl	$2, %eax
	andl	$1, %eax
	leal	(%rax,%rcx,2), %eax
	movl	%eax, %edx
	xorl	$4129, %edx                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%eax, %edx
	movl	%r9d, %eax
	shrl	%eax
	andl	$1, %eax
	leal	(%rax,%rdx,2), %eax
	movl	%eax, %ecx
	xorl	$4129, %ecx                     ## imm = 0x1021
	testl	$32768, %edx                    ## imm = 0x8000
	cmovel	%eax, %ecx
	andl	$1, %r9d
	leal	(%r9,%rcx,2), %edx
	movl	%edx, %eax
	xorl	$4129, %eax                     ## imm = 0x1021
	testl	$32768, %ecx                    ## imm = 0x8000
	cmovel	%edx, %eax
	incq	%r8
	cmpq	%r8, %rsi
	jne	LBB0_2
## %bb.3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checksum
_checksum:                              ; @checksum
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	cbz	x1, LBB0_3
; %bb.1:
	mov	w9, #4129
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #4
	lsr	w11, w10, #7
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #6
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #5
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #4
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #3
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #2
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	lsr	w11, w10, #1
	bfi	w11, w8, #1, #31
	eor	w12, w11, w9
	tst	w8, #0x8000
	csel	w8, w11, w12, eq
	bfi	w10, w8, #1, #31
	eor	w11, w10, w9
	tst	w8, #0x8000
	csel	w8, w10, w11, eq
	subs	x1, x1, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_checksum
.subsections_via_symbols
