	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_hash
_st_hash:                               ## @st_hash
	.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	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	__DIAGASSERT
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	leaq	-1(%r15), %rax
	movl	%r15d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	andq	$-4, %r15
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shll	$8, %edx
	sarl	$24, %eax
	orl	%edx, %eax
	movsbl	1(%rbx), %edx
	addl	%eax, %edx
	movl	%edx, %eax
	shll	$8, %eax
	sarl	$24, %edx
	orl	%eax, %edx
	movsbl	2(%rbx), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shll	$8, %edx
	sarl	$24, %eax
	orl	%edx, %eax
	movsbl	3(%rbx), %edx
	addq	$4, %rbx
	addl	%eax, %edx
	movl	%edx, %eax
	shll	$8, %eax
	sarl	$24, %edx
	orl	%eax, %edx
	addq	$-4, %r15
	jne	LBB0_5
LBB0_6:
	movl	%edx, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx,%rsi), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shll	$8, %edx
	sarl	$24, %eax
	orl	%edx, %eax
	incq	%rsi
	movl	%eax, %edx
	cmpq	%rsi, %rcx
	jne	LBB0_8
LBB0_9:
	cltd
	idivl	%r14d
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_st_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_hash
_st_hash:                               ; @st_hash
	.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, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	__DIAGASSERT
	mov	w8, #0
	cbz	x20, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w9, [x21], #1
	add	w8, w8, w9
	lsl	w9, w8, #8
	orr	w8, w9, w8, asr #24
	subs	x20, x20, #1
	b.ne	LBB0_1
LBB0_2:
	sdiv	w9, w8, w19
	msub	w0, w9, w19, w8
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_st_hash
.subsections_via_symbols
