	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inf_validate_procinfo
_inf_validate_procinfo:                 ## @inf_validate_procinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -16(%rbp)
	movq	$0, -32(%rbp)
	movl	$0, -20(%rbp)
	movq	_proc_server@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	leaq	-16(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-20(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-32(%rbp), %r8
	leaq	-48(%rbp), %r9
	callq	_proc_getprocinfo
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-40(%rbp), %rax
	movl	(%rax), %eax
	movq	_PI_STOPPED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, (%rbx)
	movq	_PI_NOMSG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, 4(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_PI_TRACED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 8(%rbx)
LBB0_3:
	xorl	%eax, %eax
	callq	_mach_task_self
	movl	-40(%rbp), %esi
	movq	-32(%rbp), %rdx
	movl	%eax, %edi
	callq	_vm_deallocate
	cmpq	$0, -16(%rbp)
	jle	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_mach_task_self
	movl	-48(%rbp), %esi
	movq	-16(%rbp), %rdx
	movl	%eax, %edi
	callq	_vm_deallocate
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_proc_server,4,2                ## @proc_server
	.comm	_PI_STOPPED,4,2                 ## @PI_STOPPED
	.comm	_PI_NOMSG,4,2                   ## @PI_NOMSG
	.comm	_PI_TRACED,4,2                  ## @PI_TRACED
	.no_dead_strip	_inf_validate_procinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inf_validate_procinfo
_inf_validate_procinfo:                 ; @inf_validate_procinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	str	xzr, [sp, #32]
	str	xzr, [sp, #16]
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _proc_server@GOTPAGE
Lloh1:
	ldr	x8, [x8, _proc_server@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	add	x2, sp, #12
	add	x3, sp, #24
	add	x4, sp, #16
	sub	x5, x29, #24
	add	x6, sp, #32
	bl	_proc_getprocinfo
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PI_STOPPED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PI_STOPPED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
	str	w9, [x19]
Lloh6:
	adrp	x9, _PI_NOMSG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PI_NOMSG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ands	w9, w9, w8
	cset	w10, ne
	str	w10, [x19, #4]
	cbz	w9, LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _PI_TRACED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PI_TRACED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #8]
LBB0_3:
	bl	_mach_task_self
	ldr	w1, [sp, #24]
	ldr	x2, [sp, #16]
	bl	_vm_deallocate
	ldr	x8, [sp, #32]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
	bl	_mach_task_self
	ldur	w1, [x29, #-24]
	ldr	x2, [sp, #32]
	bl	_vm_deallocate
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_proc_server,4,2                ; @proc_server
	.comm	_PI_STOPPED,4,2                 ; @PI_STOPPED
	.comm	_PI_NOMSG,4,2                   ; @PI_NOMSG
	.comm	_PI_TRACED,4,2                  ; @PI_TRACED
	.no_dead_strip	_inf_validate_procinfo
.subsections_via_symbols
