	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_target__parse_uid         ## -- Begin function perf_target__parse_uid
	.p2align	4, 0x90
_perf_target__parse_uid:                ## @perf_target__parse_uid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$1072, %rsp                     ## imm = 0x430
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdi), %rbx
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	leaq	-1072(%rbp), %rsi
	leaq	-1056(%rbp), %rdx
	leaq	-1064(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_getpwnam_r
	movq	-1064(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_7:
	movq	_PERF_ERRNO_TARGET__SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$1072, %rsp                     ## imm = 0x430
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	-1080(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-1080(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_PERF_ERRNO_TARGET__INVALID_UID@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	leaq	-1072(%rbp), %rsi
	leaq	-1056(%rbp), %rdx
	leaq	-1064(%rbp), %r8
	movl	%eax, %edi
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_getpwuid_r
	movq	-1064(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_PERF_ERRNO_TARGET__USER_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_PERF_ERRNO_TARGET__SUCCESS,4,2 ## @PERF_ERRNO_TARGET__SUCCESS
	.comm	_PERF_ERRNO_TARGET__INVALID_UID,4,2 ## @PERF_ERRNO_TARGET__INVALID_UID
	.comm	_PERF_ERRNO_TARGET__USER_NOT_FOUND,4,2 ## @PERF_ERRNO_TARGET__USER_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_target__parse_uid         ; -- Begin function perf_target__parse_uid
	.p2align	2
_perf_target__parse_uid:                ; @perf_target__parse_uid
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #1056
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x20, [x0]
Lloh3:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #16
	add	x2, sp, #24
	add	x4, sp, #8
	mov	x0, x20
	mov	w3, #1024
	bl	_getpwnam_r
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_3:
Lloh6:
	adrp	x8, _PERF_ERRNO_TARGET__SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PERF_ERRNO_TARGET__SUCCESS@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.5:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x1, sp
	mov	x0, x20
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _PERF_ERRNO_TARGET__INVALID_UID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PERF_ERRNO_TARGET__INVALID_UID@GOTPAGEOFF]
	b	LBB0_4
LBB0_8:
	add	x1, sp, #16
	add	x2, sp, #24
	add	x4, sp, #8
	mov	w3, #1024
	bl	_getpwuid_r
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_2
; %bb.9:
Lloh13:
	adrp	x8, _PERF_ERRNO_TARGET__USER_NOT_FOUND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PERF_ERRNO_TARGET__USER_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_PERF_ERRNO_TARGET__SUCCESS,4,2 ; @PERF_ERRNO_TARGET__SUCCESS
	.comm	_PERF_ERRNO_TARGET__INVALID_UID,4,2 ; @PERF_ERRNO_TARGET__INVALID_UID
	.comm	_PERF_ERRNO_TARGET__USER_NOT_FOUND,4,2 ; @PERF_ERRNO_TARGET__USER_NOT_FOUND
.subsections_via_symbols
