	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nhash
_nhash:                                 ## @nhash
	.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), %cl
	testb	%cl, %cl
	je	LBB0_1
## %bb.2:
	incq	%rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%cl, %ecx
	roll	%eax
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	xorl	%ecx, %eax
	movzbl	(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	movq	_nhash_tbl@GOTPCREL(%rip), %rcx
	movq	_NHASH_LEN@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movslq	%edx, %rax
	shlq	$3, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nhash_tbl,8,3                  ## @nhash_tbl
	.comm	_NHASH_LEN,4,2                  ## @NHASH_LEN
	.no_dead_strip	_nhash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nhash
_nhash:                                 ; @nhash
	.cfi_startproc
; %bb.0:
	ldrb	w10, [x0]
	cbz	w10, LBB0_3
; %bb.1:
	mov	w8, #0
	add	x9, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w10, w10
	ror	w8, w8, #31
	and	w8, w8, #0x7fffffff
	eor	w8, w8, w10
	ldrb	w10, [x9], #1
	cbnz	w10, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
Lloh0:
	adrp	x9, _nhash_tbl@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nhash_tbl@GOTPAGEOFF]
Lloh2:
	adrp	x10, _NHASH_LEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _NHASH_LEN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	w10, [x10]
	sdiv	w11, w8, w10
	msub	w8, w11, w10, w8
	add	x0, x9, w8, sxtw #3
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_nhash_tbl,8,3                  ; @nhash_tbl
	.comm	_NHASH_LEN,4,2                  ; @NHASH_LEN
	.no_dead_strip	_nhash
.subsections_via_symbols
