	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_target__validate          ## -- Begin function perf_target__validate
	.p2align	4, 0x90
_perf_target__validate:                 ## @perf_target__validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PERF_ERRNO_TARGET__SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	32(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, 16(%rdi)
	jmp	LBB0_3
LBB0_2:
	cmpq	$0, 16(%rdi)
	je	LBB0_10
LBB0_3:
	cmpq	$0, 24(%rdi)
	movl	%eax, %edx
	je	LBB0_5
## %bb.4:
	movq	$0, 24(%rdi)
	movq	_PERF_ERRNO_TARGET__PID_OVERRIDE_CPU@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_5:
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.6:
	movq	$0, 8(%rdi)
	cmpl	%eax, %edx
	jne	LBB0_8
## %bb.7:
	movq	_PERF_ERRNO_TARGET__PID_OVERRIDE_UID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_8:
	movl	%edx, %eax
	cmpl	$0, (%rdi)
	je	LBB0_17
## %bb.9:
	movq	_PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM@GOTPCREL(%rip), %rdx
LBB0_15:
	movl	$0, (%rdi)
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movl	(%rdx), %eax
LBB0_17:
	popq	%rbp
	retq
LBB0_10:
	cmpq	$0, 8(%rdi)
	je	LBB0_17
## %bb.11:
	cmpq	$0, 24(%rdi)
	je	LBB0_13
## %bb.12:
	movq	$0, 24(%rdi)
	movq	_PERF_ERRNO_TARGET__UID_OVERRIDE_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	cmpl	$0, (%rdi)
	je	LBB0_17
## %bb.14:
	movq	_PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM@GOTPCREL(%rip), %rdx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_ERRNO_TARGET__SUCCESS,4,2 ## @PERF_ERRNO_TARGET__SUCCESS
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_CPU,4,2 ## @PERF_ERRNO_TARGET__PID_OVERRIDE_CPU
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_UID,4,2 ## @PERF_ERRNO_TARGET__PID_OVERRIDE_UID
	.comm	_PERF_ERRNO_TARGET__UID_OVERRIDE_CPU,4,2 ## @PERF_ERRNO_TARGET__UID_OVERRIDE_CPU
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM,4,2 ## @PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM
	.comm	_PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM,4,2 ## @PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_target__validate          ; -- Begin function perf_target__validate
	.p2align	2
_perf_target__validate:                 ; @perf_target__validate
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _PERF_ERRNO_TARGET__SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PERF_ERRNO_TARGET__SUCCESS@GOTPAGEOFF]
	ldr	w10, [x9]
	mov	x0, x10
	ldr	x11, [x8, #32]
	cbz	x11, LBB0_2
; %bb.1:
	str	x11, [x8, #16]
	b	LBB0_3
LBB0_2:
	ldr	x11, [x8, #16]
	cbz	x11, LBB0_11
LBB0_3:
	ldr	x11, [x8, #24]
	cbz	x11, LBB0_5
; %bb.4:
	str	xzr, [x8, #24]
Lloh2:
	adrp	x11, _PERF_ERRNO_TARGET__PID_OVERRIDE_CPU@GOTPAGE
Lloh3:
	ldr	x11, [x11, _PERF_ERRNO_TARGET__PID_OVERRIDE_CPU@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x11]
LBB0_5:
	ldr	x11, [x8, #8]
	cbz	x11, LBB0_7
; %bb.6:
	str	xzr, [x8, #8]
Lloh5:
	adrp	x11, _PERF_ERRNO_TARGET__PID_OVERRIDE_UID@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PERF_ERRNO_TARGET__PID_OVERRIDE_UID@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	cmp	w0, w10
	csel	w0, w11, w0, eq
LBB0_7:
	ldr	w10, [x8]
	cbz	w10, LBB0_10
; %bb.8:
Lloh8:
	adrp	x10, _PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM@GOTPAGEOFF]
LBB0_9:
	str	wzr, [x8]
	ldr	w8, [x9]
	ldr	w9, [x10]
	cmp	w0, w8
	csel	w0, w9, w0, eq
LBB0_10:
	ret
LBB0_11:
	ldr	x10, [x8, #8]
	cbz	x10, LBB0_10
; %bb.12:
	ldr	x10, [x8, #24]
	cbz	x10, LBB0_14
; %bb.13:
	str	xzr, [x8, #24]
Lloh10:
	adrp	x10, _PERF_ERRNO_TARGET__UID_OVERRIDE_CPU@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PERF_ERRNO_TARGET__UID_OVERRIDE_CPU@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x10]
LBB0_14:
	ldr	w10, [x8]
	cbz	w10, LBB0_10
; %bb.15:
Lloh13:
	adrp	x10, _PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_ERRNO_TARGET__SUCCESS,4,2 ; @PERF_ERRNO_TARGET__SUCCESS
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_CPU,4,2 ; @PERF_ERRNO_TARGET__PID_OVERRIDE_CPU
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_UID,4,2 ; @PERF_ERRNO_TARGET__PID_OVERRIDE_UID
	.comm	_PERF_ERRNO_TARGET__UID_OVERRIDE_CPU,4,2 ; @PERF_ERRNO_TARGET__UID_OVERRIDE_CPU
	.comm	_PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM,4,2 ; @PERF_ERRNO_TARGET__PID_OVERRIDE_SYSTEM
	.comm	_PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM,4,2 ; @PERF_ERRNO_TARGET__UID_OVERRIDE_SYSTEM
.subsections_via_symbols
