	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	16(%rsi), %rdi
	callq	_update_pcb_bases
	movq	16(%r15), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movq	32(%rax), %rax
	movq	%rax, 32(%rbx)
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movq	_PCB_FPUINITDONE@GOTPCREL(%rip), %rax
	movq	_PCB_USERFPUINITDONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_PCB_KERNFPU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_clear_pcb_flags
	movq	%rbx, %rdi
	callq	_get_pcb_user_save_pcb
	movq	%rax, 32(%rbx)
	movq	%r15, %rdi
	callq	_get_pcb_user_save_td
	movq	32(%rbx), %rdi
	movq	_cpu_max_ext_state_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_memmove
	movq	_PCB_FULL_IRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_set_pcb_flags_raw
	movq	8(%r15), %rax
	movq	8(%r14), %rcx
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	_PSL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%r14), %rcx
	andl	%eax, 24(%rcx)
	movq	_fork_return@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, 16(%rbx)
	addl	$-8, %ecx
	movl	%ecx, 4(%rbx)
	movl	%r14d, 8(%rbx)
	movq	_fork_trampoline@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, (%r14)
	movq	_PSL_KERNEL@GOTPCREL(%rip), %rax
	movq	_PSL_I@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmap_thread_init_invl_gen      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCB_FPUINITDONE,4,2            ## @PCB_FPUINITDONE
	.comm	_PCB_USERFPUINITDONE,4,2        ## @PCB_USERFPUINITDONE
	.comm	_PCB_KERNFPU,4,2                ## @PCB_KERNFPU
	.comm	_cpu_max_ext_state_size,4,2     ## @cpu_max_ext_state_size
	.comm	_PCB_FULL_IRET,4,2              ## @PCB_FULL_IRET
	.comm	_PSL_T,4,2                      ## @PSL_T
	.comm	_fork_return,8,3                ## @fork_return
	.comm	_fork_trampoline,8,3            ## @fork_trampoline
	.comm	_PSL_KERNEL,4,2                 ## @PSL_KERNEL
	.comm	_PSL_I,4,2                      ## @PSL_I
.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	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x0, [x1, #16]
	bl	_update_pcb_bases
	ldr	x8, [x21, #16]
	ldp	q0, q1, [x8]
	ldr	x8, [x8, #32]
	str	x8, [x20, #32]
	stp	q0, q1, [x20]
Lloh0:
	adrp	x8, _PCB_FPUINITDONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCB_FPUINITDONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PCB_USERFPUINITDONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCB_USERFPUINITDONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PCB_KERNFPU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCB_KERNFPU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_clear_pcb_flags
	mov	x0, x20
	bl	_get_pcb_user_save_pcb
	str	x0, [x20, #32]
	mov	x0, x21
	bl	_get_pcb_user_save_td
	mov	x1, x0
	ldr	x0, [x20, #32]
Lloh9:
	adrp	x8, _cpu_max_ext_state_size@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cpu_max_ext_state_size@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memmove
Lloh12:
	adrp	x8, _PCB_FULL_IRET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCB_FULL_IRET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_set_pcb_flags_raw
	ldr	x8, [x21, #8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x9]
Lloh15:
	adrp	x8, _PSL_T@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PSL_T@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, #24]
	bic	w8, w10, w8
	str	w8, [x9, #24]
Lloh18:
	adrp	x8, _fork_return@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fork_return@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	xzr, [x20, #16]
	sub	w9, w9, #8
	stp	w8, w9, [x20]
Lloh21:
	adrp	x8, _fork_trampoline@GOTPAGE
Lloh22:
	ldr	x8, [x8, _fork_trampoline@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	stp	w19, w8, [x20, #8]
	mov	w8, #1
	str	w8, [x19]
Lloh24:
	adrp	x8, _PSL_KERNEL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PSL_KERNEL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _PSL_I@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PSL_I@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	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
	b	_pmap_thread_init_invl_gen
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_PCB_FPUINITDONE,4,2            ; @PCB_FPUINITDONE
	.comm	_PCB_USERFPUINITDONE,4,2        ; @PCB_USERFPUINITDONE
	.comm	_PCB_KERNFPU,4,2                ; @PCB_KERNFPU
	.comm	_cpu_max_ext_state_size,4,2     ; @cpu_max_ext_state_size
	.comm	_PCB_FULL_IRET,4,2              ; @PCB_FULL_IRET
	.comm	_PSL_T,4,2                      ; @PSL_T
	.comm	_fork_return,8,3                ; @fork_return
	.comm	_fork_trampoline,8,3            ; @fork_trampoline
	.comm	_PSL_KERNEL,4,2                 ; @PSL_KERNEL
	.comm	_PSL_I,4,2                      ; @PSL_I
.subsections_via_symbols
