	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xp_init_sn2                    ## -- Begin function xp_init_sn2
	.p2align	4, 0x90
_xp_init_sn2:                           ## @xp_init_sn2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_is_shub
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_XP_MAX_NPARTITIONS_SN2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_max_npartitions@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_sn_partition_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_partition_id@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_sn_region_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_region_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_pa_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_pa@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_socket_pa_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_socket_pa@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_remote_memcpy_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_remote_memcpy@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_cpu_to_nasid_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_cpu_to_nasid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_expand_memprotect_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_expand_memprotect@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xp_restrict_memprotect_sn2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xp_restrict_memprotect@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_xp_register_nofault_code_sn2   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XP_MAX_NPARTITIONS_SN2,4,2     ## @XP_MAX_NPARTITIONS_SN2
	.comm	_xp_max_npartitions,4,2         ## @xp_max_npartitions
	.comm	_sn_partition_id,4,2            ## @sn_partition_id
	.comm	_xp_partition_id,4,2            ## @xp_partition_id
	.comm	_sn_region_size,4,2             ## @sn_region_size
	.comm	_xp_region_size,4,2             ## @xp_region_size
	.comm	_xp_pa_sn2,4,2                  ## @xp_pa_sn2
	.comm	_xp_pa,4,2                      ## @xp_pa
	.comm	_xp_socket_pa_sn2,4,2           ## @xp_socket_pa_sn2
	.comm	_xp_socket_pa,4,2               ## @xp_socket_pa
	.comm	_xp_remote_memcpy_sn2,4,2       ## @xp_remote_memcpy_sn2
	.comm	_xp_remote_memcpy,4,2           ## @xp_remote_memcpy
	.comm	_xp_cpu_to_nasid_sn2,4,2        ## @xp_cpu_to_nasid_sn2
	.comm	_xp_cpu_to_nasid,4,2            ## @xp_cpu_to_nasid
	.comm	_xp_expand_memprotect_sn2,4,2   ## @xp_expand_memprotect_sn2
	.comm	_xp_expand_memprotect,4,2       ## @xp_expand_memprotect
	.comm	_xp_restrict_memprotect_sn2,4,2 ## @xp_restrict_memprotect_sn2
	.comm	_xp_restrict_memprotect,4,2     ## @xp_restrict_memprotect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xp_init_sn2                    ; -- Begin function xp_init_sn2
	.p2align	2
_xp_init_sn2:                           ; @xp_init_sn2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_is_shub
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh0:
	adrp	x8, _XP_MAX_NPARTITIONS_SN2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XP_MAX_NPARTITIONS_SN2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _xp_max_npartitions@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xp_max_npartitions@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _sn_partition_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sn_partition_id@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _xp_partition_id@GOTPAGE
Lloh10:
	ldr	x9, [x9, _xp_partition_id@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x8, _sn_region_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sn_region_size@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _xp_region_size@GOTPAGE
Lloh16:
	ldr	x9, [x9, _xp_region_size@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
Lloh18:
	adrp	x8, _xp_pa_sn2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _xp_pa_sn2@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _xp_pa@GOTPAGE
Lloh22:
	ldr	x9, [x9, _xp_pa@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
Lloh24:
	adrp	x8, _xp_socket_pa_sn2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _xp_socket_pa_sn2@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _xp_socket_pa@GOTPAGE
Lloh28:
	ldr	x9, [x9, _xp_socket_pa@GOTPAGEOFF]
Lloh29:
	str	w8, [x9]
Lloh30:
	adrp	x8, _xp_remote_memcpy_sn2@GOTPAGE
Lloh31:
	ldr	x8, [x8, _xp_remote_memcpy_sn2@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _xp_remote_memcpy@GOTPAGE
Lloh34:
	ldr	x9, [x9, _xp_remote_memcpy@GOTPAGEOFF]
Lloh35:
	str	w8, [x9]
Lloh36:
	adrp	x8, _xp_cpu_to_nasid_sn2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _xp_cpu_to_nasid_sn2@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _xp_cpu_to_nasid@GOTPAGE
Lloh40:
	ldr	x9, [x9, _xp_cpu_to_nasid@GOTPAGEOFF]
Lloh41:
	str	w8, [x9]
Lloh42:
	adrp	x8, _xp_expand_memprotect_sn2@GOTPAGE
Lloh43:
	ldr	x8, [x8, _xp_expand_memprotect_sn2@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _xp_expand_memprotect@GOTPAGE
Lloh46:
	ldr	x9, [x9, _xp_expand_memprotect@GOTPAGEOFF]
Lloh47:
	str	w8, [x9]
Lloh48:
	adrp	x8, _xp_restrict_memprotect_sn2@GOTPAGE
Lloh49:
	ldr	x8, [x8, _xp_restrict_memprotect_sn2@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _xp_restrict_memprotect@GOTPAGE
Lloh52:
	ldr	x9, [x9, _xp_restrict_memprotect@GOTPAGEOFF]
Lloh53:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_xp_register_nofault_code_sn2
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XP_MAX_NPARTITIONS_SN2,4,2     ; @XP_MAX_NPARTITIONS_SN2
	.comm	_xp_max_npartitions,4,2         ; @xp_max_npartitions
	.comm	_sn_partition_id,4,2            ; @sn_partition_id
	.comm	_xp_partition_id,4,2            ; @xp_partition_id
	.comm	_sn_region_size,4,2             ; @sn_region_size
	.comm	_xp_region_size,4,2             ; @xp_region_size
	.comm	_xp_pa_sn2,4,2                  ; @xp_pa_sn2
	.comm	_xp_pa,4,2                      ; @xp_pa
	.comm	_xp_socket_pa_sn2,4,2           ; @xp_socket_pa_sn2
	.comm	_xp_socket_pa,4,2               ; @xp_socket_pa
	.comm	_xp_remote_memcpy_sn2,4,2       ; @xp_remote_memcpy_sn2
	.comm	_xp_remote_memcpy,4,2           ; @xp_remote_memcpy
	.comm	_xp_cpu_to_nasid_sn2,4,2        ; @xp_cpu_to_nasid_sn2
	.comm	_xp_cpu_to_nasid,4,2            ; @xp_cpu_to_nasid
	.comm	_xp_expand_memprotect_sn2,4,2   ; @xp_expand_memprotect_sn2
	.comm	_xp_expand_memprotect,4,2       ; @xp_expand_memprotect
	.comm	_xp_restrict_memprotect_sn2,4,2 ; @xp_restrict_memprotect_sn2
	.comm	_xp_restrict_memprotect,4,2     ; @xp_restrict_memprotect
.subsections_via_symbols
