	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_process                   ## -- Begin function copy_process
	.p2align	4, 0x90
_copy_process:                          ## @copy_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_preempt_disable
	xorl	%eax, %eax
	callq	_get_free_page
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%rax)
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rax)
	movq	%rbx, 8(%rax)
	movl	$1, 16(%rax)
	movq	$0, 24(%rax)
	movq	%r15, 32(%rax)
	movq	%r14, 40(%rax)
	movq	_ret_from_fork@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movq	_THREAD_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 56(%rax)
	movq	_init@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.4:
	movq	%rax, 24(%rdx)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_preempt_enable
	jmp	LBB0_5
LBB0_1:
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.comm	_ret_from_fork,8,3              ## @ret_from_fork
	.comm	_THREAD_SIZE,8,3                ## @THREAD_SIZE
	.comm	_init,8,3                       ## @init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_process                   ; -- Begin function copy_process
	.p2align	2
_copy_process:                          ; @copy_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	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_preempt_disable
	bl	_get_free_page
	mov	w8, #1
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, _TASK_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TASK_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x0, #64]
	stp	x21, x21, [x0]
	str	w8, [x0, #16]
Lloh3:
	adrp	x8, _ret_from_fork@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ret_from_fork@GOTPAGEOFF]
	stp	xzr, x20, [x0, #24]
Lloh5:
	ldr	x8, [x8]
	stp	x19, x8, [x0, #40]
Lloh6:
	adrp	x8, _THREAD_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _THREAD_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, x0
	str	x8, [x0, #56]
Lloh9:
	adrp	x8, _init@GOTPAGE
Lloh10:
	ldr	x8, [x8, _init@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_2
; %bb.3:
	str	x0, [x9, #24]
	bl	_preempt_enable
	mov	w8, #0
LBB0_4:
	mov	x0, x8
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.comm	_ret_from_fork,8,3              ; @ret_from_fork
	.comm	_THREAD_SIZE,8,3                ; @THREAD_SIZE
	.comm	_init,8,3                       ; @init
.subsections_via_symbols
