	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_proc0
_init_proc0:                            ## @init_proc0
	.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	%rdi, %rbx
	movq	___pcpu@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_proc0@GOTPCREL(%rip), %rdi
	movq	_thread0@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	callq	_proc_linkup0
	movq	%rbx, 24(%r14)
	movq	_KSTACK_PAGES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%eax, (%r14)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	leaq	(%rcx,%rbx), %rax
	addq	$-8, %rax
	movq	%rax, 8(%r14)
	movq	$0, -8(%rcx,%rbx)
	movq	_proc0_tf@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%r14)
	movq	%rax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___pcpu,8,3                     ## @__pcpu
	.comm	_proc0,4,2                      ## @proc0
	.comm	_thread0,32,3                   ## @thread0
	.comm	_KSTACK_PAGES,4,2               ## @KSTACK_PAGES
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_proc0_tf,4,2                   ## @proc0_tf
	.no_dead_strip	_init_proc0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_proc0
_init_proc0:                            ; @init_proc0
	.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
Lloh0:
	adrp	x8, ___pcpu@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___pcpu@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x0, _proc0@GOTPAGE
Lloh4:
	ldr	x0, [x0, _proc0@GOTPAGEOFF]
Lloh5:
	adrp	x20, _thread0@GOTPAGE
Lloh6:
	ldr	x20, [x20, _thread0@GOTPAGEOFF]
	mov	x1, x20
	bl	_proc_linkup0
	str	x19, [x20, #24]
Lloh7:
	adrp	x8, _KSTACK_PAGES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KSTACK_PAGES@GOTPAGEOFF]
Lloh9:
	ldrsw	x8, [x8]
Lloh10:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh12:
	ldrsw	x9, [x9]
	madd	x9, x9, x8, x19
	str	xzr, [x9, #-8]!
	str	w8, [x20]
Lloh13:
	adrp	x8, _proc0_tf@GOTPAGE
Lloh14:
	ldr	x8, [x8, _proc0_tf@GOTPAGEOFF]
	stp	x9, x8, [x20, #8]
	str	x9, [x21]
	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 AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___pcpu,8,3                     ; @__pcpu
	.comm	_proc0,4,2                      ; @proc0
	.comm	_thread0,32,3                   ; @thread0
	.comm	_KSTACK_PAGES,4,2               ; @KSTACK_PAGES
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_proc0_tf,4,2                   ; @proc0_tf
	.no_dead_strip	_init_proc0
.subsections_via_symbols
