	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_pid_to_exec_file         ## -- Begin function child_pid_to_exec_file
	.p2align	4, 0x90
_child_pid_to_exec_file:                ## @child_pid_to_exec_file
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_TT_PROC_GET_PATHNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_child_pid_to_exec_file.exec_file_buffer(%rip), %rbx
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$1023, %ecx                     ## imm = 0x3FF
	xorl	%r8d, %r8d
	callq	_call_ttrace
	testl	%eax, %eax
	jns	LBB0_6
## %bb.1:
	leaq	_child_pid_to_exec_file.buf(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$8, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_pstat_getproc
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.2:
	movq	_child_pid_to_exec_file.buf(%rip), %rax
	testb	$-33, (%rax)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	testb	$-33, (%rax)
	jne	LBB0_4
LBB0_5:
	movb	$0, (%rax)
	movq	_child_pid_to_exec_file.buf(%rip), %rbx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_child_pid_to_exec_file.exec_file_buffer,1024,4 ## @child_pid_to_exec_file.exec_file_buffer
.zerofill __DATA,__bss,_child_pid_to_exec_file.buf,8,3 ## @child_pid_to_exec_file.buf
	.comm	_TT_PROC_GET_PATHNAME,4,2       ## @TT_PROC_GET_PATHNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_pid_to_exec_file         ; -- Begin function child_pid_to_exec_file
	.p2align	2
_child_pid_to_exec_file:                ; @child_pid_to_exec_file
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _TT_PROC_GET_PATHNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TT_PROC_GET_PATHNAME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x20, _child_pid_to_exec_file.exec_file_buffer@PAGE
Lloh4:
	add	x20, x20, _child_pid_to_exec_file.exec_file_buffer@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	w3, #1023
	mov	w4, #0
	bl	_call_ttrace
	tbz	w0, #31, LBB0_7
; %bb.1:
Lloh5:
	adrp	x0, _child_pid_to_exec_file.buf@PAGE
Lloh6:
	add	x0, x0, _child_pid_to_exec_file.buf@PAGEOFF
	mov	w1, #8
	mov	w2, #0
	mov	x3, x19
	bl	_pstat_getproc
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	adrp	x8, _child_pid_to_exec_file.buf@PAGE
	ldr	x9, [x8, _child_pid_to_exec_file.buf@PAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	orr	w10, w10, #0x20
	cmp	w10, #32
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	b	LBB0_3
LBB0_5:
	strb	wzr, [x9]
	ldr	x20, [x8, _child_pid_to_exec_file.buf@PAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_child_pid_to_exec_file.exec_file_buffer,1024,0 ; @child_pid_to_exec_file.exec_file_buffer
.zerofill __DATA,__bss,_child_pid_to_exec_file.buf,8,3 ; @child_pid_to_exec_file.buf
	.comm	_TT_PROC_GET_PATHNAME,4,2       ; @TT_PROC_GET_PATHNAME
.subsections_via_symbols
