	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash                           ## -- Begin function hash
	.p2align	4, 0x90
_hash:                                  ## @hash
	.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), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	incq	%rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %eax
	leal	(%rax,%rcx,4), %ecx
	movzbl	(%rdi), %eax
	incq	%rdi
	testb	%al, %al
	jne	LBB0_3
## %bb.4:
	movl	%ecx, %edx
	negl	%edx
	xorl	%eax, %eax
	testl	%edx, %edx
	cmovgl	%edx, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movq	_HSHSIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HSHSIZE,4,2                    ## @HSHSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash                           ; -- Begin function hash
	.p2align	2
_hash:                                  ; @hash
	.cfi_startproc
; %bb.0:
	ldrb	w9, [x0]
	cbz	w9, LBB0_4
; %bb.1:
	mov	w8, #0
	add	x10, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w8, #2
	add	w8, w8, w9, sxtb
	ldrb	w9, [x10], #1
	cbnz	w9, LBB0_2
; %bb.3:
	neg	w9, w8
	cmp	w9, #0
	csneg	w9, wzr, w8, le
	cmp	w8, #0
	csel	w8, w9, w8, lt
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
Lloh0:
	adrp	x9, _HSHSIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HSHSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HSHSIZE,4,2                    ; @HSHSIZE
.subsections_via_symbols
