	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_hash
_do_hash:                               ## @do_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r8d
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r9d
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	cmpl	$256, %ecx                      ## imm = 0x100
	cmovll	%ecx, %eax
	incq	%rsi
	cmpl	%esi, %r9d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rsi), %ecx
	addl	%eax, %ecx
	movzbl	%cl, %edx
	movl	$0, %eax
	cmpl	$255, %edx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	cltd
	idivl	%r8d
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_do_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_hash
_do_hash:                               ; @do_hash
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	cbz	w1, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0], #1
	add	w8, w8, w9
	and	w9, w8, #0xff
	cmp	w9, #255
	csel	w9, wzr, w9, eq
	cmp	w8, #255
	csinc	w8, w8, w9, le
	sub	w1, w1, #1
	cbnz	w1, LBB0_1
LBB0_2:
	sdiv	w9, w8, w2
	msub	w0, w9, w2, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_do_hash
.subsections_via_symbols
