	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___hash_string                  ## -- Begin function __hash_string
	.p2align	4, 0x90
___hash_string:                         ## @__hash_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %dl
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	movq	_HASHWORDBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leal	-4(%r8), %ecx
	movl	$15, %r9d
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %r9
	addl	$-8, %r8d
	incq	%rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$4, %rax
	movzbl	%dl, %edx
	addq	%rax, %rdx
	movq	%r9, %rsi
	andq	%rdx, %rsi
	movq	%rsi, %r10
	movl	%r8d, %ecx
	shrq	%cl, %r10
	movq	%rsi, %rax
	xorq	%rdx, %rax
	xorq	%r10, %rax
	testq	%rsi, %rsi
	cmoveq	%rdx, %rax
	movzbl	(%rdi), %edx
	incq	%rdi
	testb	%dl, %dl
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASHWORDBITS,4,2               ## @HASHWORDBITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___hash_string                  ; -- Begin function __hash_string
	.p2align	2
___hash_string:                         ; @__hash_string
	.cfi_startproc
; %bb.0:
	ldrb	w9, [x0]
	cbz	w9, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh0:
	adrp	x10, _HASHWORDBITS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HASHWORDBITS@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x10]
	sub	w10, w11, #4
	mov	w12, #15
	lsl	x10, x12, x10
	sub	w11, w11, #8
	add	x8, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x0, #4
	add	x9, x12, w9, uxtb
	ands	x12, x10, x9
	lsr	x13, x12, x11
	eor	x12, x12, x9
	eor	x12, x12, x13
	csel	x0, x9, x12, eq
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HASHWORDBITS,4,2               ; @HASHWORDBITS
.subsections_via_symbols
