	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_initiate_partid_to_nasids  ## -- Begin function xpc_initiate_partid_to_nasids
	.p2align	4, 0x90
_xpc_initiate_partid_to_nasids:         ## @xpc_initiate_partid_to_nasids
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_xpc_partitions@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%edi, %rbx
	cmpq	$0, (%r14,%rbx,8)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	_xpc_nasid_mask_nbytes@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14,%rbx,8), %rdi
	callq	_XPC_RP_PART_NASIDS
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_xp_pa
	movl	(%r12), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xp_remote_memcpy               ## TAILCALL
LBB0_1:
	movq	_xpPartitionDown@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_partitions,8,3             ## @xpc_partitions
	.comm	_xpPartitionDown,4,2            ## @xpPartitionDown
	.comm	_xpc_nasid_mask_nbytes,4,2      ## @xpc_nasid_mask_nbytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_initiate_partid_to_nasids  ; -- Begin function xpc_initiate_partid_to_nasids
	.p2align	2
_xpc_initiate_partid_to_nasids:         ; @xpc_initiate_partid_to_nasids
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _xpc_partitions@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xpc_partitions@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	x8, [x20, w0, sxtw #3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x1
	sxtw	x21, w0
Lloh3:
	adrp	x22, _xpc_nasid_mask_nbytes@GOTPAGE
Lloh4:
	ldr	x22, [x22, _xpc_nasid_mask_nbytes@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x1
	mov	w1, #0
	bl	_memset
	ldr	x0, [x20, x21, lsl #3]
	bl	_XPC_RP_PART_NASIDS
	mov	x20, x0
	mov	x0, x19
	bl	_xp_pa
	ldr	w2, [x22]
	mov	x1, x20
	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	_xp_remote_memcpy
LBB0_2:
Lloh5:
	adrp	x8, _xpPartitionDown@GOTPAGE
Lloh6:
	ldr	x8, [x8, _xpPartitionDown@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_partitions,8,3             ; @xpc_partitions
	.comm	_xpPartitionDown,4,2            ; @xpPartitionDown
	.comm	_xpc_nasid_mask_nbytes,4,2      ; @xpc_nasid_mask_nbytes
.subsections_via_symbols
