	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_fork                       ## -- Begin function cpu_fork
	.p2align	4, 0x90
_cpu_fork:                              ## @cpu_fork
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RFPROC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	32(%rdx), %rax
	movslq	(%rdx), %rcx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	leaq	(%rax,%rdx), %rcx
	addq	$-48, %rcx
	movq	%rcx, 24(%rbx)
	movq	24(%rdi), %rcx
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movups	32(%rcx), %xmm2
	movups	%xmm2, -16(%rax,%rdx)
	movups	%xmm1, -32(%rax,%rdx)
	movups	%xmm0, -48(%rax,%rdx)
	leaq	(%rax,%rdx), %rdi
	addq	$-96, %rdi
	callq	_STACKALIGN
	movq	16(%r14), %rcx
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movups	32(%rcx), %xmm2
	movups	%xmm2, 32(%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	movq	40(%rax), %rcx
	movq	$0, (%rcx)
	movq	32(%rax), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	_SSTATUS_SPIE@GOTPCREL(%rip), %rcx
	movl	24(%rax), %edx
	orl	(%rcx), %edx
	movq	_SSTATUS_SPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%edx, %ecx
	movl	%ecx, 24(%rax)
	movq	%rax, 16(%rbx)
	movq	_fork_return@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	24(%rbx), %rdx
	movq	(%rdx), %rsi
	movq	%rcx, (%rsi)
	movq	%rbx, 8(%rsi)
	movq	_fork_trampoline@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rdx)
	movq	%rax, 16(%rdx)
	movl	$1, 4(%rbx)
	movq	_SSTATUS_SIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFPROC,4,2                     ## @RFPROC
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_SSTATUS_SPIE,4,2               ## @SSTATUS_SPIE
	.comm	_SSTATUS_SPP,4,2                ## @SSTATUS_SPP
	.comm	_fork_return,8,3                ## @fork_return
	.comm	_fork_trampoline,8,3            ## @fork_trampoline
	.comm	_SSTATUS_SIE,4,2                ## @SSTATUS_SIE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_fork                       ; -- Begin function cpu_fork
	.p2align	2
_cpu_fork:                              ; @cpu_fork
	.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
Lloh0:
	adrp	x8, _RFPROC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFPROC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x2, #32]
	ldrsw	x9, [x2]
Lloh3:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
	madd	x8, x10, x9, x8
	sub	x9, x8, #48
	str	x9, [x2, #24]
	ldr	x9, [x0, #24]
	ldp	q0, q1, [x9]
	ldr	q2, [x9, #32]
	stp	q1, q2, [x8, #-32]
	stur	q0, [x8, #-48]
	sub	x0, x8, #96
	bl	_STACKALIGN
	ldr	x8, [x20, #16]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	stp	q1, q2, [x0, #16]
	str	q0, [x0]
	ldp	x9, x8, [x0, #32]
	str	xzr, [x8]
	stp	xzr, xzr, [x9]
Lloh6:
	adrp	x8, _SSTATUS_SPIE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSTATUS_SPIE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _SSTATUS_SPP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSTATUS_SPP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x0, #24]
	str	x0, [x19, #16]
Lloh12:
	adrp	x8, _fork_return@GOTPAGE
Lloh13:
	ldr	x8, [x8, _fork_return@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	ldr	x10, [x9]
	stp	x8, x19, [x10]
Lloh15:
	adrp	x8, _fork_trampoline@GOTPAGE
Lloh16:
	ldr	x8, [x8, _fork_trampoline@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x0, [x9, #8]
	mov	w8, #1
Lloh18:
	adrp	x9, _SSTATUS_SIE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SSTATUS_SIE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_RFPROC,4,2                     ; @RFPROC
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_SSTATUS_SPIE,4,2               ; @SSTATUS_SPIE
	.comm	_SSTATUS_SPP,4,2                ; @SSTATUS_SPP
	.comm	_fork_return,8,3                ; @fork_return
	.comm	_fork_trampoline,8,3            ; @fork_trampoline
	.comm	_SSTATUS_SIE,4,2                ; @SSTATUS_SIE
.subsections_via_symbols
