	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_user_f
_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	%esi, %ebx
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rsi
	movl	$5, %edi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.1:
	movl	%r15d, %edi
	callq	_conv_uid
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$5, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	testl	%r14d, %r14d
	js	LBB0_11
## %bb.2:
	movq	_User@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%r14d, %r13d
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.3:
	movq	_UG_MODE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$24, %edi
	callq	_zmalloc0
	movq	%rax, %rbx
	movl	$1, (%rax)
	movq	%rax, 8(%rax)
	movq	%rax, 16(%rax)
	movl	%r14d, 4(%rax)
	jmp	LBB0_8
LBB0_12:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_user                       ## TAILCALL
LBB0_5:
	movq	_NOTIFY_MODE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_RECOMMEND_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
LBB0_7:
	movl	$24, %edi
	callq	_zmalloc0
	movq	%rax, %rbx
	movq	%rax, 8(%rax)
	movq	%rax, 16(%rax)
	movl	%r14d, (%rax)
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movl	$5, %edi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	(%r12), %rax
	movq	%rbx, (%rax,%r13,8)
	movq	_max_uid@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jle	LBB0_10
## %bb.9:
	movl	%r14d, (%rax)
LBB0_10:
	movq	_tot_users@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_user_f: user_id = %d, force = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"conv_id = %d\n"

	.comm	_User,8,3                       ## @User
	.comm	_UG_MODE,8,3                    ## @UG_MODE
	.comm	_NOTIFY_MODE,8,3                ## @NOTIFY_MODE
	.comm	_RECOMMEND_MODE,4,2             ## @RECOMMEND_MODE
L_.str.2:                               ## @.str.2
	.asciz	"creating new user: U = %p, user_id = %d\n"

	.comm	_max_uid,4,2                    ## @max_uid
	.comm	_tot_users,4,2                  ## @tot_users
	.no_dead_strip	_get_user_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_user_f
_get_user_f:                            ; @get_user_f
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	mov	x8, x0
	stp	x8, x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #5
	bl	_vkprintf
	cbz	w20, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_conv_uid
	mov	x20, x0
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #5
	bl	_vkprintf
	tbnz	w20, #31, LBB0_6
; %bb.2:
Lloh4:
	adrp	x22, _User@GOTPAGE
Lloh5:
	ldr	x22, [x22, _User@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x21, [x8, w20, uxtw #3]
	cbnz	x21, LBB0_13
; %bb.3:
	mov	w23, w20
Lloh6:
	adrp	x8, _UG_MODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UG_MODE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w0, #24
	bl	_zmalloc0
	mov	x21, x0
	mov	w8, #1
	stp	x0, x0, [x0, #8]
	stp	w8, w20, [x0]
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_get_user
LBB0_6:
	mov	x21, #0
	b	LBB0_13
LBB0_7:
Lloh9:
	adrp	x8, _NOTIFY_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOTIFY_MODE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _RECOMMEND_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RECOMMEND_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_assert
LBB0_9:
	mov	w0, #24
	bl	_zmalloc0
	mov	x21, x0
	stp	x0, x0, [x0, #8]
	str	w20, [x0]
LBB0_10:
	stp	x21, x19, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #5
	bl	_vkprintf
	ldr	x8, [x22]
	str	x21, [x8, x23, lsl #3]
Lloh17:
	adrp	x8, _max_uid@GOTPAGE
Lloh18:
	ldr	x8, [x8, _max_uid@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w20, w9
	b.le	LBB0_12
; %bb.11:
	str	w20, [x8]
LBB0_12:
Lloh19:
	adrp	x8, _tot_users@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tot_users@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_user_f: user_id = %d, force = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"conv_id = %d\n"

	.comm	_User,8,3                       ; @User
	.comm	_UG_MODE,8,3                    ; @UG_MODE
	.comm	_NOTIFY_MODE,8,3                ; @NOTIFY_MODE
	.comm	_RECOMMEND_MODE,4,2             ; @RECOMMEND_MODE
l_.str.2:                               ; @.str.2
	.asciz	"creating new user: U = %p, user_id = %d\n"

	.comm	_max_uid,4,2                    ; @max_uid
	.comm	_tot_users,4,2                  ; @tot_users
	.no_dead_strip	_get_user_f
.subsections_via_symbols
