	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_db_hash                    ## -- Begin function get_db_hash
	.p2align	4, 0x90
_get_db_hash:                           ## @get_db_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r10d
	movq	%rdi, %r11
	testl	%edx, %edx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%r10d, %r9d
	xorl	%ebx, %ebx
	movq	_HASH_PRIME@GOTPCREL(%rip), %r8
	movl	%r10d, %r13d
	movl	%r10d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	imull	$239, %r12d, %eax
	movsbl	%dl, %edi
	addl	%edi, %eax
	movl	(%r8), %ecx
	cltd
	idivl	%ecx
	movl	%r13d, %eax
	shll	$4, %eax
	addl	%r13d, %eax
	addl	%edi, %eax
	decl	%ecx
	movl	%edx, %r12d
	cltd
	idivl	%ecx
	incq	%rbx
	movl	%edx, %r13d
	cmpl	%ebx, %r9d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rbx), %edx
	leal	-65(%rdx), %eax
	cmpb	$25, %al
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addb	$32, %dl
	movb	%dl, (%rsi,%rbx)
	jmp	LBB0_5
LBB0_6:
	incl	%r13d
	jmp	LBB0_7
LBB0_1:
	movl	$1, %r13d
	xorl	%r12d, %r12d
LBB0_7:
	movslq	%r12d, %r15
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%r11,%rax), %rcx
	movq	(%r11,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	movq	_HASH_PRIME@GOTPCREL(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	addl	%r13d, %r12d
	movl	(%rdx), %eax
	cmpl	%eax, %r12d
	cmovll	%r8d, %eax
	subl	%eax, %r12d
	movslq	%r12d, %r15
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%r11,%rax), %rcx
	movq	(%r11,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$4, %r15
	cmpl	%r10d, 8(%r11,%r15)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r10d, %edx
	movq	%r10, %r15
	movq	%rsi, %rbx
	movq	%rcx, %r14
	callq	_memcmp
	xorl	%r8d, %r8d
	movq	_HASH_PRIME@GOTPCREL(%rip), %rdx
	movq	%r14, %rcx
	movq	-56(%rbp), %r11                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %r10
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_15
LBB0_12:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.14:
	leal	1(%r10), %edi
	movq	%r10, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r11, %r14
	movq	%rcx, %r13
	callq	_zmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r13, %rcx
	movslq	%r12d, %rax
	movb	$0, (%rbx,%rax)
	movq	%rbx, (%r13)
	shlq	$4, %r15
	movl	%r12d, 8(%r14,%r15)
	jmp	LBB0_15
LBB0_13:
	xorl	%ecx, %ecx
LBB0_15:
	movq	%rcx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_PRIME,4,2                 ## @HASH_PRIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_db_hash                    ; -- Begin function get_db_hash
	.p2align	2
_get_db_hash:                           ; @get_db_hash
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _HASH_PRIME@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HASH_PRIME@GOTPAGEOFF]
	cbz	w2, LBB0_6
; %bb.1:
	mov	w8, #239
	mov	x9, x19
	mov	x10, x21
	mov	x11, x19
	mov	x25, x19
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w12, w12
	madd	w13, w25, w8, w12
	ldr	w14, [x24]
	sdiv	w15, w13, w14
	msub	w25, w15, w14, w13
	add	w11, w11, w11, lsl #4
	add	w11, w11, w12
	sub	w12, w14, #1
	sdiv	w13, w11, w12
	msub	w11, w13, w12, w11
	add	x10, x10, #1
	cbz	w9, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #1
	ldrb	w12, [x10]
	sub	w13, w12, #65
	cmp	w13, #25
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w12, w12, #32
	strb	w12, [x10]
	b	LBB0_2
LBB0_5:
	add	w26, w11, #1
	b	LBB0_7
LBB0_6:
	mov	w25, #0
	mov	w26, #1
LBB0_7:
	mov	x8, x25
	sxtw	x27, w8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x24]
	add	w9, w26, w25
	cmp	w9, w8
	csel	w8, wzr, w8, lt
	sub	w25, w9, w8
	sxtw	x27, w25
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x20, w25, sxtw #4
	ldr	x0, [x23]
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x20, x27, lsl #4
	ldr	w8, [x8, #8]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x21
	mov	x2, x19
	bl	_memcmp
	cbnz	w0, LBB0_8
	b	LBB0_15
LBB0_12:
	cbz	w22, LBB0_14
; %bb.13:
	add	w0, w19, #1
	bl	_zmalloc
	mov	x22, x0
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	strb	wzr, [x22, w19, sxtw]
	str	x22, [x23]
	add	x8, x20, x27, lsl #4
	str	w19, [x8, #8]
	b	LBB0_15
LBB0_14:
	mov	x23, #0
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_PRIME,4,2                 ; @HASH_PRIME
.subsections_via_symbols
