	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_hash                        ## -- Begin function st_hash
	.p2align	4, 0x90
_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	%rbx
	.cfi_offset %rbx, -24
	movl	%edx, %r8d
	movq	_MAXKEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edx
	subl	%esi, %edx
	movl	%esi, %ecx
	cmovll	%ebx, %ecx
	negl	%edx
	xorl	%eax, %eax
	cmpl	%ebx, %esi
	cmovlel	%eax, %edx
	movslq	%edx, %rsi
	addq	%rdi, %rsi
	movl	%ecx, %edx
	andl	$3, %edx
	cmpl	$4, %ecx
	jl	LBB0_7
## %bb.1:
	movl	%ecx, %edi
	shrl	$2, %edi
	cmpl	$1, %edi
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	andl	$-2, %edi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ebx
	movb	%bl, -12(%rbp)
	movzbl	1(%rsi), %ebx
	movb	%bl, -11(%rbp)
	movzbl	2(%rsi), %ebx
	movb	%bl, -10(%rbp)
	movzbl	3(%rsi), %ebx
	movb	%bl, -9(%rbp)
	addl	-12(%rbp), %eax
	movzbl	4(%rsi), %ebx
	movb	%bl, -12(%rbp)
	movzbl	5(%rsi), %ebx
	movb	%bl, -11(%rbp)
	movzbl	6(%rsi), %ebx
	movb	%bl, -10(%rbp)
	movzbl	7(%rsi), %ebx
	movb	%bl, -9(%rbp)
	addq	$8, %rsi
	addl	-12(%rbp), %eax
	addl	$-2, %edi
	jne	LBB0_4
LBB0_5:
	testb	$4, %cl
	je	LBB0_7
## %bb.6:
	movb	(%rsi), %cl
	movb	%cl, -12(%rbp)
	movb	1(%rsi), %cl
	movb	%cl, -11(%rbp)
	movb	2(%rsi), %cl
	movb	%cl, -10(%rbp)
	movb	3(%rsi), %cl
	movb	%cl, -9(%rbp)
	addq	$4, %rsi
	addl	-12(%rbp), %eax
LBB0_7:
	testl	%edx, %edx
	je	LBB0_28
## %bb.8:
	movl	%edx, %r10d
	addq	%rsi, %r10
	leaq	1(%rsi), %r9
	cmpq	%r9, %r10
	cmovaq	%r10, %r9
	leaq	-12(%rbp), %rcx
	movl	$0, -12(%rbp)
	subq	%rsi, %r9
	cmpq	$8, %r9
	jb	LBB0_25
## %bb.9:
	movq	%rcx, %rdx
	subq	%rsi, %rdx
	cmpq	$32, %rdx
	jb	LBB0_25
## %bb.10:
	cmpq	$32, %r9
	jae	LBB0_15
## %bb.11:
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_15:
	movq	%r9, %rdi
	andq	$-32, %rdi
	leaq	-32(%rdi), %rcx
	movq	%rcx, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movl	%edx, %r11d
	andl	$3, %r11d
	cmpq	$96, %rcx
	jae	LBB0_17
## %bb.16:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_17:
	andq	$-4, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx), %xmm0
	movups	16(%rsi,%rcx), %xmm1
	movups	%xmm0, -12(%rbp,%rcx)
	movups	%xmm1, 4(%rbp,%rcx)
	movups	32(%rsi,%rcx), %xmm0
	movups	48(%rsi,%rcx), %xmm1
	movups	%xmm0, 20(%rbp,%rcx)
	movups	%xmm1, 36(%rbp,%rcx)
	movups	64(%rsi,%rcx), %xmm0
	movups	80(%rsi,%rcx), %xmm1
	movups	%xmm0, 52(%rbp,%rcx)
	movups	%xmm1, 68(%rbp,%rcx)
	movups	96(%rsi,%rcx), %xmm0
	movups	112(%rsi,%rcx), %xmm1
	movups	%xmm0, 84(%rbp,%rcx)
	movups	%xmm1, 100(%rbp,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdx
	jne	LBB0_18
LBB0_19:
	testq	%r11, %r11
	je	LBB0_22
## %bb.20:
	leaq	(%rcx,%rbp), %rdx
	addq	$4, %rdx
	addq	%rsi, %rcx
	addq	$16, %rcx
	shlq	$5, %r11
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rbx), %xmm0
	movups	(%rcx,%rbx), %xmm1
	movups	%xmm0, -16(%rdx,%rbx)
	movups	%xmm1, (%rdx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r11
	jne	LBB0_21
LBB0_22:
	cmpq	%rdi, %r9
	je	LBB0_27
## %bb.23:
	testb	$24, %r9b
	je	LBB0_24
LBB0_12:
	movq	%r9, %r11
	andq	$-8, %r11
	leaq	(%rsi,%r11), %rdx
	leaq	(%r11,%rbp), %rcx
	addq	$-12, %rcx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi), %rbx
	movq	%rbx, -12(%rbp,%rdi)
	addq	$8, %rdi
	cmpq	%rdi, %r11
	jne	LBB0_13
## %bb.14:
	cmpq	%r11, %r9
	jne	LBB0_26
	jmp	LBB0_27
LBB0_24:
	leaq	(%rdi,%rbp), %rcx
	addq	$-12, %rcx
	addq	%rdi, %rsi
LBB0_25:
	movq	%rsi, %rdx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ebx
	incq	%rdx
	movb	%bl, (%rcx)
	incq	%rcx
	cmpq	%r10, %rdx
	jb	LBB0_26
LBB0_27:
	addl	-12(%rbp), %eax
LBB0_28:
	cltd
	idivl	%r8d
	movl	%edx, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXKEYLEN,4,2                  ## @MAXKEYLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_hash                        ; -- Begin function st_hash
	.p2align	2
_st_hash:                               ; @st_hash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
Lloh0:
	adrp	x9, _MAXKEYLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAXKEYLEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	subs	w10, w1, w9
	csel	w10, w10, wzr, gt
	add	x10, x0, w10, sxtw
	cmp	w9, w1
	csel	w11, w9, w1, lt
	and	w9, w11, #0x3
	cmp	w11, #4
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
	lsr	w11, w11, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	str	w12, [sp, #12]
	add	w8, w12, w8
	subs	w11, w11, #1
	b.ne	LBB0_2
; %bb.3:
	cbnz	w9, LBB0_5
	b	LBB0_21
LBB0_4:
	mov	w8, #0
	cbz	w9, LBB0_21
LBB0_5:
	add	x12, sp, #12
	str	wzr, [sp, #12]
	add	x9, x10, w9, uxtw
	add	x11, x10, #1
	cmp	x9, x11
	csinc	x11, x9, x10, hi
	sub	x11, x11, x10
	cmp	x11, #8
	b.lo	LBB0_9
; %bb.6:
	sub	x13, x12, x10
	cmp	x13, #64
	b.lo	LBB0_10
; %bb.7:
	cmp	x11, #64
	b.hs	LBB0_11
; %bb.8:
	mov	x14, #0
	b	LBB0_15
LBB0_9:
	mov	x13, x10
	b	LBB0_19
LBB0_10:
	mov	x13, x10
	b	LBB0_19
LBB0_11:
	and	x14, x11, #0xffffffffffffffc0
	add	x12, x10, #32
	add	x13, sp, #12
	add	x13, x13, #32
	mov	x15, x14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #64
	b.ne	LBB0_12
; %bb.13:
	cmp	x11, x14
	b.eq	LBB0_20
; %bb.14:
	tst	x11, #0x38
	b.eq	LBB0_18
LBB0_15:
	and	x15, x11, #0xfffffffffffffff8
	add	x13, x10, x15
	add	x16, sp, #12
	add	x12, x16, x15
	add	x16, x16, x14
	add	x10, x10, x14
	sub	x14, x14, x15
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x16], #8
	adds	x14, x14, #8
	b.ne	LBB0_16
; %bb.17:
	cmp	x11, x15
	b.ne	LBB0_19
	b	LBB0_20
LBB0_18:
	add	x11, sp, #12
	add	x12, x11, x14
	add	x13, x10, x14
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x13], #1
	strb	w10, [x12], #1
	cmp	x13, x9
	b.lo	LBB0_19
LBB0_20:
	ldr	w9, [sp, #12]
	add	w8, w9, w8
LBB0_21:
	sdiv	w9, w8, w2
	msub	w0, w9, w2, w8
	add	sp, sp, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXKEYLEN,4,2                  ; @MAXKEYLEN
.subsections_via_symbols
