	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_touch_threads_of_process
_can_touch_threads_of_process:          ## @can_touch_threads_of_process
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	movl	%esi, %edi
	movl	%ebx, %esi
	callq	_CHILD_VFORKED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_vforking_child_pid@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_vfork_in_flight@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_2:
	movq	_vfork_in_flight@GOTPCREL(%rip), %r12
	movl	$1, %r14d
	cmpl	$0, (%r12)
	je	LBB0_7
## %bb.3:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_PARENT_VFORKED
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_CHILD_URPED
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movl	$0, (%r12)
	movq	_vforking_child_pid@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r14d, %r14d
	cmpl	$0, (%r12)
	sete	%r14b
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_vforking_child_pid,4,2         ## @vforking_child_pid
	.comm	_vfork_in_flight,4,2            ## @vfork_in_flight
	.no_dead_strip	_can_touch_threads_of_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_touch_threads_of_process
_can_touch_threads_of_process:          ; @can_touch_threads_of_process
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x19
	bl	_CHILD_VFORKED
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x8, _vforking_child_pid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vforking_child_pid@GOTPAGEOFF]
Lloh2:
	str	w19, [x8]
Lloh3:
	adrp	x8, _vfork_in_flight@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vfork_in_flight@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
	b	LBB0_7
LBB0_2:
Lloh6:
	adrp	x21, _vfork_in_flight@GOTPAGE
Lloh7:
	ldr	x21, [x21, _vfork_in_flight@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_PARENT_VFORKED
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_CHILD_URPED
	cbz	x0, LBB0_8
LBB0_5:
	str	wzr, [x21]
Lloh8:
	adrp	x8, _vforking_child_pid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vforking_child_pid@GOTPAGEOFF]
Lloh10:
	str	wzr, [x8]
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_vforking_child_pid,4,2         ; @vforking_child_pid
	.comm	_vfork_in_flight,4,2            ; @vfork_in_flight
	.no_dead_strip	_can_touch_threads_of_process
.subsections_via_symbols
