	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tdb_hash
_tdb_hash:                              ## @tdb_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_strlen
	imull	$596579247, %eax, %eax          ## imm = 0x238F13AF
	movb	(%r14), %bl
	testb	%bl, %bl
	je	LBB0_3
## %bb.1:
	xorl	%edx, %edx
	movl	$1, %esi
	movl	$2863311531, %r8d               ## imm = 0xAAAAAAAB
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ecx
	imulq	%r8, %rcx
	shrq	$36, %rcx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %edi
	movl	%edx, %ecx
	subl	%edi, %ecx
	movzbl	%bl, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	addl	%edi, %eax
	movl	%esi, %ecx
	movzbl	(%r14,%rcx), %ebx
	addl	$5, %edx
	incl	%esi
	testb	%bl, %bl
	jne	LBB0_2
LBB0_3:
	imull	$1103515243, %eax, %eax         ## imm = 0x41C64E6B
	addl	$12345, %eax                    ## imm = 0x3039
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tdb_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tdb_hash
_tdb_hash:                              ; @tdb_hash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	mov	w8, #5039
	movk	w8, #9103, lsl #16
	mul	w8, w0, w8
	ldrb	w10, [x19]
	cbz	w10, LBB0_3
; %bb.1:
	mov	w9, #0
	mov	w11, #1
	mov	w12, #43691
	movk	w12, #43690, lsl #16
	mov	w13, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	umull	x14, w9, w12
	lsr	x14, x14, #36
	msub	w14, w14, w13, w9
	lsl	w10, w10, w14
	add	w8, w10, w8
	ldrb	w10, [x19, w11, uxtw]
	add	w9, w9, #5
	add	w11, w11, #1
	cbnz	w10, LBB0_2
LBB0_3:
	mov	w9, #20075
	movk	w9, #16838, lsl #16
	mov	w10, #12345
	madd	w0, w8, w9, w10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tdb_hash
.subsections_via_symbols
