	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movq	16(%rsi), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movq	48(%rax), %rax
	movq	%rax, 48(%r12)
	movups	%xmm2, 32(%r12)
	movups	%xmm1, 16(%r12)
	movups	%xmm0, (%r12)
	movq	8(%rdi), %rbx
	movq	8(%rsi), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movq	48(%rax), %rax
	movq	%rax, 48(%rbx)
	movups	%xmm2, 32(%rbx)
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movq	_FIRSTARG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	$0, (%rax,%rdx,8)
	movq	(%rcx), %rcx
	movq	$0, 8(%rax,%rcx,8)
	andb	$-17, 3(%rbx)
	leaq	-24(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_fork_return@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbx)
	movq	%r15, -16(%rbx)
	movq	%rbx, -24(%rbx)
	movq	%r14, 40(%r12)
	movq	_fork_trampoline@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	movq	24(%r12), %rcx
	movq	%rax, (%rcx)
	movq	$0, 8(%r12)
	movl	$1, (%r15)
	movq	_psl_kernset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRSTARG,8,3                   ## @FIRSTARG
	.comm	_fork_return,8,3                ## @fork_return
	.comm	_fork_trampoline,8,3            ## @fork_trampoline
	.comm	_psl_kernset,4,2                ## @psl_kernset
	.comm	_SPEFSCR_FDBZE,4,2              ## @SPEFSCR_FDBZE
	.comm	_SPEFSCR_FINVE,4,2              ## @SPEFSCR_FINVE
	.comm	_SPEFSCR_FOVFE,4,2              ## @SPEFSCR_FOVFE
	.comm	_SPEFSCR_FUNFE,4,2              ## @SPEFSCR_FUNFE
.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	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	x19, x0
	ldr	x21, [x0, #16]
	ldr	x8, [x1, #16]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	ldr	x8, [x8, #48]
	str	x8, [x21, #48]
	stp	q1, q2, [x21, #16]
	str	q0, [x21]
	ldr	x22, [x0, #8]
	ldr	x8, [x1, #8]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	ldr	x8, [x8, #48]
	str	x8, [x22, #48]
	stp	q1, q2, [x22, #16]
	str	q0, [x22]
Lloh0:
	adrp	x9, _FIRSTARG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FIRSTARG@GOTPAGEOFF]
	ldr	x10, [x9]
	str	xzr, [x8, x10, lsl #3]
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
	str	xzr, [x8, #8]
	ldr	w8, [x22]
	and	w8, w8, #0xefffffff
	str	w8, [x22]
	sub	x20, x22, #24
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh2:
	adrp	x8, _fork_return@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fork_return@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x19, x8, [x22, #-16]
	stur	x22, [x22, #-24]
Lloh5:
	adrp	x8, _fork_trampoline@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fork_trampoline@GOTPAGEOFF]
	str	x20, [x21, #40]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x21, #24]
	str	x8, [x21, #16]
	str	x8, [x9]
	str	xzr, [x21, #8]
	mov	w8, #1
	str	w8, [x19]
Lloh8:
	adrp	x8, _psl_kernset@GOTPAGE
Lloh9:
	ldr	x8, [x8, _psl_kernset@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRSTARG,8,3                   ; @FIRSTARG
	.comm	_fork_return,8,3                ; @fork_return
	.comm	_fork_trampoline,8,3            ; @fork_trampoline
	.comm	_psl_kernset,4,2                ; @psl_kernset
	.comm	_SPEFSCR_FDBZE,4,2              ; @SPEFSCR_FDBZE
	.comm	_SPEFSCR_FINVE,4,2              ; @SPEFSCR_FINVE
	.comm	_SPEFSCR_FOVFE,4,2              ; @SPEFSCR_FOVFE
	.comm	_SPEFSCR_FUNFE,4,2              ; @SPEFSCR_FUNFE
.subsections_via_symbols
