	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_user_f                     ## -- Begin function get_user_f
	.p2align	4, 0x90
_get_user_f:                            ## @get_user_f
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	callq	_conv_user_id
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	_User@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%r14d, %r13d
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.3:
	movl	$32, %edi
	callq	_zmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_lrand48
	orl	$-256, %eax
	movl	%eax, (%rbx)
	movl	%r14d, 4(%rbx)
	movl	%r15d, 8(%rbx)
	movl	$1, 12(%rbx)
	movq	_user_creations@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, 24(%rbx)
	movq	(%r12), %rax
	movq	%rbx, (%rax,%r13,8)
	movq	_max_uid@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jle	LBB0_5
## %bb.4:
	movl	%r14d, (%rax)
LBB0_5:
	movq	_tot_users@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	callq	_lrand48
	movl	%eax, 16(%rbx)
	movq	_rate_tree@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_utree_insert_node
	movq	%rax, (%r14)
	movq	%r14, (%rax)
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_User,8,3                       ## @User
	.comm	_user_creations,8,3             ## @user_creations
	.comm	_max_uid,4,2                    ## @max_uid
	.comm	_tot_users,4,2                  ## @tot_users
	.comm	_rate_tree,8,3                  ## @rate_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_user_f                     ; -- Begin function get_user_f
	.p2align	2
_get_user_f:                            ; @get_user_f
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_conv_user_id
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x22, _User@GOTPAGE
Lloh1:
	ldr	x22, [x22, _User@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x19, [x8, w0, uxtw #3]
	cbnz	x19, LBB0_6
; %bb.2:
	mov	w23, w20
	mov	w0, #32
	bl	_zmalloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	bl	_lrand48
	orr	w8, w0, #0xffffff00
	stp	w8, w20, [x19]
	mov	w8, #1
Lloh2:
	adrp	x9, _user_creations@GOTPAGE
Lloh3:
	ldr	x9, [x9, _user_creations@GOTPAGEOFF]
	stp	w21, w8, [x19, #8]
	ldr	x8, [x9]
	add	x8, x8, #1
	str	x8, [x9]
	str	x8, [x19, #24]
	ldr	x8, [x22]
	str	x19, [x8, x23, lsl #3]
Lloh4:
	adrp	x8, _max_uid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _max_uid@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w20, w9
	b.le	LBB0_4
; %bb.3:
	str	w20, [x8]
LBB0_4:
Lloh6:
	adrp	x8, _tot_users@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tot_users@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_lrand48
	str	w0, [x19, #16]
Lloh8:
	adrp	x20, _rate_tree@GOTPAGE
Lloh9:
	ldr	x20, [x20, _rate_tree@GOTPAGEOFF]
	ldr	x0, [x20]
	mov	x1, x19
	bl	_utree_insert_node
	str	x0, [x20]
	str	x20, [x0]
	b	LBB0_6
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_User,8,3                       ; @User
	.comm	_user_creations,8,3             ; @user_creations
	.comm	_max_uid,4,2                    ; @max_uid
	.comm	_tot_users,4,2                  ; @tot_users
	.comm	_rate_tree,8,3                  ; @rate_tree
.subsections_via_symbols
