	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_bsp_pcpu_init2           ## -- Begin function amd64_bsp_pcpu_init2
	.p2align	4, 0x90
_amd64_bsp_pcpu_init2:                  ## @amd64_bsp_pcpu_init2
	.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
	movl	%edi, %esi
	callq	_PCPU_SET
	movq	_pti_rsp0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_pti_stack@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_PTR
	movq	_PC_PTI_STACK_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,4), %esi
	andl	$-16, %esi
	movl	%ebx, %edi
	callq	_PCPU_SET
	movq	_curpcb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_thread0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PCPU_SET                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pti_rsp0,4,2                   ## @pti_rsp0
	.comm	_pti_stack,4,2                  ## @pti_stack
	.comm	_PC_PTI_STACK_SZ,4,2            ## @PC_PTI_STACK_SZ
	.comm	_curpcb,4,2                     ## @curpcb
	.comm	_thread0,4,2                    ## @thread0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_bsp_pcpu_init2           ; -- Begin function amd64_bsp_pcpu_init2
	.p2align	2
_amd64_bsp_pcpu_init2:                  ; @amd64_bsp_pcpu_init2
	.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	x1, x0
	bl	_PCPU_SET
Lloh0:
	adrp	x8, _pti_rsp0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pti_rsp0@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _pti_stack@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pti_stack@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PCPU_PTR
Lloh6:
	adrp	x8, _PC_PTI_STACK_SZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PC_PTI_STACK_SZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w8, w0, w8, lsl #2
	and	w1, w8, #0xfffffff0
	mov	x0, x19
	bl	_PCPU_SET
Lloh9:
	adrp	x8, _curpcb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _curpcb@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _thread0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _thread0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PCPU_SET
	.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	_pti_rsp0,4,2                   ; @pti_rsp0
	.comm	_pti_stack,4,2                  ; @pti_stack
	.comm	_PC_PTI_STACK_SZ,4,2            ; @PC_PTI_STACK_SZ
	.comm	_curpcb,4,2                     ; @curpcb
	.comm	_thread0,4,2                    ; @thread0
.subsections_via_symbols
