	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_copy_thread                ## -- Begin function cpu_copy_thread
	.p2align	4, 0x90
_cpu_copy_thread:                       ## @cpu_copy_thread
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	8(%rdi), %rcx
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	16(%rsi), %rax
	movq	16(%rdi), %rcx
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	_fork_return@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rcx
	movq	%rax, 40(%rcx)
	movq	%rdi, 32(%rcx)
	movq	_fork_trampoline@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rcx)
	movq	8(%rdi), %rdi
	callq	_STACKALIGN
	movq	16(%rbx), %rcx
	movl	%eax, 16(%rcx)
	movq	_PSR_C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%rbx), %rcx
	andl	%eax, 8(%rcx)
	movq	$0, (%rcx)
	movl	$1, (%rbx)
	movq	_PSR_SVC32_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fork_return,8,3                ## @fork_return
	.comm	_fork_trampoline,8,3            ## @fork_trampoline
	.comm	_PSR_C,4,2                      ## @PSR_C
	.comm	_PSR_SVC32_MODE,4,2             ## @PSR_SVC32_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_copy_thread                ; -- Begin function cpu_copy_thread
	.p2align	2
_cpu_copy_thread:                       ; @cpu_copy_thread
	.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
	ldr	x8, [x1, #8]
	ldr	x9, [x0, #8]
	ldr	w8, [x8]
	str	w8, [x9]
	ldr	x8, [x1, #16]
	ldr	x9, [x0, #16]
	ldr	w8, [x8]
	str	w8, [x9]
Lloh0:
	adrp	x8, _fork_return@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fork_return@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x0, x9, [x0, #8]
	str	x8, [x9, #40]
Lloh3:
	adrp	x8, _fork_trampoline@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fork_trampoline@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x19, [x9, #24]
	bl	_STACKALIGN
Lloh6:
	adrp	x8, _PSR_C@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSR_C@GOTPAGEOFF]
	ldp	x10, x9, [x19, #8]
	str	w0, [x9, #16]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x10, #8]
	bic	w8, w9, w8
	str	w8, [x10, #8]
	str	xzr, [x10]
	mov	w8, #1
	str	w8, [x19]
Lloh9:
	adrp	x8, _PSR_SVC32_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSR_SVC32_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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	_fork_return,8,3                ; @fork_return
	.comm	_fork_trampoline,8,3            ; @fork_trampoline
	.comm	_PSR_C,4,2                      ; @PSR_C
	.comm	_PSR_SVC32_MODE,4,2             ; @PSR_SVC32_MODE
.subsections_via_symbols
