	.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, %r14d
	callq	_conv_uid
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %r13d
	movq	(%rax,%r13,8), %r15
	testq	%r15, %r15
	jne	LBB0_22
## %bb.3:
	movq	_sublists_num@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	48(,%rax,4), %r12d
	movl	%r12d, %edi
	callq	_zmalloc
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movl	%r14d, (%r15)
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, (%rax,%r13,8)
	movq	_max_uid@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_5
## %bb.4:
	movl	%ebx, (%rax)
LBB0_5:
	movq	_min_uid@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_7
## %bb.6:
	movl	%ebx, (%rax)
LBB0_7:
	movq	_tot_users@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r15, %rdi
	callq	_USER_CONN
	movl	%eax, 40(%r15)
	movl	%eax, 44(%r15)
	movq	%r15, %rdi
	callq	_USER_PCONN
	movl	%eax, 32(%r15)
	movl	%eax, 36(%r15)
	movl	%r14d, %edi
	callq	_lookup_user_directory
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movl	(%rax), %ecx
	movl	%ecx, 20(%r15)
	movq	_persistent_history_enabled@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_13
## %bb.12:
	movl	%ecx, 16(%r15)
LBB0_13:
	movq	_sublists_num@GOTPCREL(%rip), %r9
	cmpl	$0, (%r9)
	jle	LBB0_21
## %bb.14:
	movq	8(%r15), %rdx
	movq	8(%rax), %rax
	addq	$12, %rdx
	xorl	%esi, %esi
	movq	_NIL@GOTPCREL(%rip), %r8
	movq	_idx_sublists_offset@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %rdi
	movq	%rdi, -12(%rdx)
	movslq	(%rbx), %rdi
	addq	%rsi, %rdi
	movl	(%rax,%rdi,4), %edi
	movl	%edi, (%rdx)
	movl	%ecx, -4(%rdx)
	incq	%rsi
	movslq	(%r9), %rdi
	addq	$16, %rdx
	cmpq	%rdi, %rsi
	jl	LBB0_15
	jmp	LBB0_21
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_8:
	movq	_sublists_num@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_21
## %bb.9:
	movq	8(%r15), %r8
	leaq	-1(%rdx), %rsi
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rsi
	jae	LBB0_16
## %bb.10:
	xorl	%esi, %esi
	jmp	LBB0_18
LBB0_16:
	andl	$-4, %edx
	leaq	48(%r8), %rdi
	xorl	%esi, %esi
	movq	_NIL@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	%rax, -48(%rdi)
	movq	(%rbx), %rax
	movq	%rax, -32(%rdi)
	movq	(%rbx), %rax
	movq	%rax, -16(%rdi)
	movq	(%rbx), %rax
	movq	%rax, (%rdi)
	addq	$4, %rsi
	addq	$64, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_17
LBB0_18:
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.19:
	shlq	$4, %rsi
	addq	%rsi, %r8
	shlq	$4, %rcx
	xorl	%edx, %edx
	movq	_NIL@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rax
	movq	%rax, (%r8,%rdx)
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_20
LBB0_21:
	movq	_NIL_N@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
LBB0_22:
	movq	%r15, %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	_sublists_num,4,2               ## @sublists_num
	.comm	_max_uid,4,2                    ## @max_uid
	.comm	_min_uid,4,2                    ## @min_uid
	.comm	_tot_users,4,2                  ## @tot_users
	.comm	_persistent_history_enabled,8,3 ## @persistent_history_enabled
	.comm	_NIL,8,3                        ## @NIL
	.comm	_idx_sublists_offset,4,2        ## @idx_sublists_offset
	.comm	_NIL_N,4,2                      ## @NIL_N
.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_conv_uid
	tbnz	w0, #31, LBB0_12
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x24, _User@GOTPAGE
Lloh1:
	ldr	x24, [x24, _User@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x19, [x8, w0, uxtw #3]
	cbnz	x19, LBB0_17
; %bb.2:
	mov	w25, w21
Lloh2:
	adrp	x23, _sublists_num@GOTPAGE
Lloh3:
	ldr	x23, [x23, _sublists_num@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	w8, w8, #2
	add	w22, w8, #48
	mov	x0, x22
	bl	_zmalloc
	mov	x19, x0
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	str	w20, [x19]
	ldr	x8, [x24]
	str	x19, [x8, x25, lsl #3]
Lloh4:
	adrp	x8, _max_uid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _max_uid@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w21, w9
	b.le	LBB0_4
; %bb.3:
	str	w21, [x8]
LBB0_4:
Lloh6:
	adrp	x8, _min_uid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _min_uid@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w21, w9
	b.ge	LBB0_6
; %bb.5:
	str	w21, [x8]
LBB0_6:
Lloh8:
	adrp	x8, _tot_users@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tot_users@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_USER_CONN
	stp	w0, w0, [x19, #40]
	mov	x0, x19
	bl	_USER_PCONN
	stp	w0, w0, [x19, #32]
	mov	x0, x20
	bl	_lookup_user_directory
	str	x0, [x19, #24]
	cbz	x0, LBB0_13
; %bb.7:
	ldr	w8, [x0]
	str	w8, [x19, #20]
Lloh10:
	adrp	x9, _persistent_history_enabled@GOTPAGE
Lloh11:
	ldr	x9, [x9, _persistent_history_enabled@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cbz	x9, LBB0_9
; %bb.8:
	str	w8, [x19, #16]
LBB0_9:
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x9, #0
	ldr	x11, [x19, #8]
	ldr	x10, [x0, #8]
	add	x11, x11, #12
Lloh13:
	adrp	x12, _NIL@GOTPAGE
Lloh14:
	ldr	x12, [x12, _NIL@GOTPAGEOFF]
Lloh15:
	adrp	x13, _idx_sublists_offset@GOTPAGE
Lloh16:
	ldr	x13, [x13, _idx_sublists_offset@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x12]
	stur	x14, [x11, #-12]
	ldrsw	x14, [x13]
	add	x14, x9, x14
	ldr	w14, [x10, x14, lsl #2]
	stp	w8, w14, [x11, #-4]
	add	x9, x9, #1
	ldrsw	x14, [x23]
	add	x11, x11, #16
	cmp	x9, x14
	b.lt	LBB0_11
	b	LBB0_16
LBB0_12:
	mov	x19, #0
	b	LBB0_17
LBB0_13:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	ldr	x9, [x19, #8]
Lloh17:
	adrp	x10, _NIL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NIL@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	str	x11, [x9], #16
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
Lloh19:
	adrp	x8, _NIL_N@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NIL_N@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_17:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_User,8,3                       ; @User
	.comm	_sublists_num,4,2               ; @sublists_num
	.comm	_max_uid,4,2                    ; @max_uid
	.comm	_min_uid,4,2                    ; @min_uid
	.comm	_tot_users,4,2                  ; @tot_users
	.comm	_persistent_history_enabled,8,3 ; @persistent_history_enabled
	.comm	_NIL,8,3                        ; @NIL
	.comm	_idx_sublists_offset,4,2        ; @idx_sublists_offset
	.comm	_NIL_N,4,2                      ; @NIL_N
.subsections_via_symbols
