	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uid_name                       ## -- Begin function uid_name
	.p2align	4, 0x90
_uid_name:                              ## @uid_name
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_strlen
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	cmpb	$0, (%r14)
	je	LBB0_20
## %bb.2:
	movl	%eax, %r13d
	movq	_usrtb@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_usrtb_start
	testq	%rax, %rax
	js	LBB0_20
## %bb.4:
	movq	_usrtb@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_UNM_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_st_hash
	movq	(%rbx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.6:
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	jle	LBB0_10
## %bb.7:
	movq	8(%r12), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_10:
	movq	_pwopn@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_11
## %bb.12:
	testq	%r12, %r12
	jne	LBB0_16
	jmp	LBB0_13
LBB0_11:
	movl	$1, %edi
	callq	_setpassent
	incl	(%rbx)
	testq	%r12, %r12
	jne	LBB0_16
LBB0_13:
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r12
	movq	_usrtb@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_UNM_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_st_hash
	movq	%r12, (%rbx,%rax,8)
	testq	%r12, %r12
	je	LBB0_14
LBB0_16:
	movq	8(%r12), %rdi
	movq	_UNMLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	decl	%edx
	movq	%r14, %rsi
	callq	_strncpy
	movq	8(%r12), %rax
	movslq	(%rbx), %rcx
	movb	$0, -1(%rcx,%rax)
	movq	%r14, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	_VALID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r12)
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
LBB0_19:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_17:
	movq	_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	jmp	LBB0_20
LBB0_8:
	movq	_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_20
## %bb.9:
	movl	16(%r12), %eax
	jmp	LBB0_19
LBB0_14:
	movq	%r14, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	movl	(%rax), %eax
	jmp	LBB0_19
LBB0_20:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_usrtb,8,3                      ## @usrtb
	.comm	_UNM_SZ,4,2                     ## @UNM_SZ
	.comm	_INVALID,8,3                    ## @INVALID
	.comm	_pwopn,4,2                      ## @pwopn
	.comm	_UNMLEN,4,2                     ## @UNMLEN
	.comm	_VALID,8,3                      ## @VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uid_name                       ; -- Begin function uid_name
	.p2align	2
_uid_name:                              ; @uid_name
	.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	x19, x1
	mov	x20, x0
	bl	_strlen
	cbz	w0, LBB0_20
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_20
; %bb.2:
	mov	x22, x0
Lloh0:
	adrp	x23, _usrtb@GOTPAGE
Lloh1:
	ldr	x23, [x23, _usrtb@GOTPAGEOFF]
	ldr	x21, [x23]
	cbnz	x21, LBB0_5
; %bb.3:
	bl	_usrtb_start
	tbnz	x0, #63, LBB0_20
; %bb.4:
	ldr	x21, [x23]
LBB0_5:
Lloh2:
	adrp	x24, _UNM_SZ@GOTPAGE
Lloh3:
	ldr	x24, [x24, _UNM_SZ@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_st_hash
	ldr	x21, [x21, x0, lsl #3]
	cbz	x21, LBB0_8
; %bb.6:
	ldr	x25, [x21]
	cmp	x25, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	x1, [x21, #8]
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_16
LBB0_8:
Lloh4:
	adrp	x25, _pwopn@GOTPAGE
Lloh5:
	ldr	x25, [x25, _pwopn@GOTPAGEOFF]
	ldr	w8, [x25]
	cbz	w8, LBB0_10
; %bb.9:
	cbnz	x21, LBB0_12
	b	LBB0_11
LBB0_10:
	mov	w0, #1
	bl	_setpassent
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
	cbnz	x21, LBB0_12
LBB0_11:
	mov	w0, #24
	bl	_malloc
	mov	x21, x0
	ldr	x23, [x23]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_st_hash
	str	x21, [x23, x0, lsl #3]
	cbz	x21, LBB0_18
LBB0_12:
	ldr	x0, [x21, #8]
Lloh6:
	adrp	x22, _UNMLEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _UNMLEN@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w2, w8, #1
	mov	x1, x20
	bl	_strncpy
	ldr	x8, [x21, #8]
	ldrsw	x9, [x22]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
	mov	x0, x20
	bl	_getpwnam
	cbz	x0, LBB0_15
; %bb.13:
	mov	x8, x0
	mov	w0, #0
Lloh8:
	adrp	x9, _VALID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VALID@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [x21]
	ldr	w8, [x8]
	str	w8, [x21, #16]
LBB0_14:
	str	w8, [x19]
	b	LBB0_21
LBB0_15:
Lloh11:
	adrp	x8, _INVALID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INVALID@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_20
LBB0_16:
Lloh14:
	adrp	x8, _INVALID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INVALID@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x25, x8
	b.eq	LBB0_20
; %bb.17:
	mov	w0, #0
	ldr	w8, [x21, #16]
	b	LBB0_14
LBB0_18:
	mov	x0, x20
	bl	_getpwnam
	cbz	x0, LBB0_20
; %bb.19:
	mov	x8, x0
	mov	w0, #0
	ldr	w8, [x8]
	b	LBB0_14
LBB0_20:
	mov	w0, #-1
LBB0_21:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_usrtb,8,3                      ; @usrtb
	.comm	_UNM_SZ,4,2                     ; @UNM_SZ
	.comm	_INVALID,8,3                    ; @INVALID
	.comm	_pwopn,4,2                      ; @pwopn
	.comm	_UNMLEN,4,2                     ; @UNMLEN
	.comm	_VALID,8,3                      ; @VALID
.subsections_via_symbols
