	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hash                       ## -- Begin function get_hash
	.p2align	4, 0x90
_get_hash:                              ## @get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%edi, %edi
	testl	%r14d, %r14d
	setg	%dil
	callq	_assert
	movq	_PRIME@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	movl	%r14d, %eax
	cltd
	idivl	%esi
	movl	%edx, %ebx
	leal	-1(%rsi), %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movslq	%ebx, %rdi
	movl	(%r10,%rdi,4), %r9d
	testl	%r9d, %r9d
	sete	%cl
	je	LBB0_7
## %bb.1:
	cmpl	%r14d, %r9d
	je	LBB0_7
## %bb.2:
	incl	%edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edx, %ebx
	xorl	%ecx, %ecx
	cmpl	%esi, %ebx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%ecx, %ebx
	movslq	%ebx, %rdi
	movl	(%r10,%rdi,4), %eax
	testl	%eax, %eax
	sete	%cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, %eax
	jne	LBB0_3
LBB0_7:
	testb	%cl, %cl
	je	LBB0_9
## %bb.8:
	movl	%r14d, (%r10,%rdi,4)
	movq	_tot_users@GOTPCREL(%rip), %r15
	movl	(%r8), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	xorl	%edi, %edi
	cmpl	%ecx, (%r15)
	setl	%dil
	callq	_assert
	movq	_UserList@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r15), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r15)
	movl	%r14d, (%rax,%rcx,4)
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRIME,4,2                      ## @PRIME
	.comm	_User,8,3                       ## @User
	.comm	_tot_users,4,2                  ## @tot_users
	.comm	_UserList,8,3                   ## @UserList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_hash                       ; -- Begin function get_hash
	.p2align	2
_get_hash:                              ; @get_hash
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
Lloh0:
	adrp	x8, _PRIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRIME@GOTPAGEOFF]
	ldr	w10, [x8]
	sdiv	w9, w19, w10
	msub	w20, w9, w10, w19
Lloh2:
	adrp	x9, _User@GOTPAGE
Lloh3:
	ldr	x9, [x9, _User@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w12, [x9, w20, sxtw #2]
	cmp	w12, #0
	cset	w11, eq
	ccmp	w12, w19, #4, ne
	b.ne	LBB0_2
; %bb.1:
	sxtw	x10, w20
	cbnz	w11, LBB0_5
	b	LBB0_6
LBB0_2:
	sub	w11, w10, #1
	sdiv	w12, w19, w11
	msub	w11, w12, w11, w19
	add	w12, w11, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w12, w20
	cmp	w11, w10
	csel	w13, wzr, w10, lt
	sub	w20, w11, w13
	ldr	w13, [x9, w20, sxtw #2]
	cmp	w13, #0
	cset	w11, eq
	ccmp	w13, w19, #4, ne
	b.ne	LBB0_3
; %bb.4:
	mov	x10, x20
	sxtw	x10, w10
	cbz	w11, LBB0_6
LBB0_5:
	str	w19, [x9, x10, lsl #2]
Lloh5:
	adrp	x21, _tot_users@GOTPAGE
Lloh6:
	ldr	x21, [x21, _tot_users@GOTPAGEOFF]
	ldr	w9, [x21]
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w9, w8, asr #1
	cset	w0, lt
	bl	_assert
Lloh7:
	adrp	x8, _UserList@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UserList@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	add	w10, w9, #1
	str	w10, [x21]
	str	w19, [x8, x9, lsl #2]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PRIME,4,2                      ; @PRIME
	.comm	_User,8,3                       ; @User
	.comm	_tot_users,4,2                  ; @tot_users
	.comm	_UserList,8,3                   ; @UserList
.subsections_via_symbols
