	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_get_remote_vars_sn2
_xpc_get_remote_vars_sn2:               ## @xpc_get_remote_vars_sn2
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_xp_pa
	movq	_XPC_RP_VARS_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_xp_remote_memcpy
	movq	_xpSuccess@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_7
## %bb.2:
	movl	(%r14), %edi
	callq	_XPC_VERSION_MAJOR
	movq	%rax, %rbx
	movq	_XPC_V_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_XPC_VERSION_MAJOR
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.3:
	movl	(%r15), %eax
	jmp	LBB0_7
LBB0_4:
	movq	_xpVarsNotSet@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_xpBadVersion@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpVarsNotSet,4,2               ## @xpVarsNotSet
	.comm	_XPC_RP_VARS_SIZE,4,2           ## @XPC_RP_VARS_SIZE
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_XPC_V_VERSION,4,2              ## @XPC_V_VERSION
	.comm	_xpBadVersion,4,2               ## @xpBadVersion
	.no_dead_strip	_xpc_get_remote_vars_sn2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_get_remote_vars_sn2
_xpc_get_remote_vars_sn2:               ; @xpc_get_remote_vars_sn2
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_xp_pa
Lloh0:
	adrp	x8, _XPC_RP_VARS_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPC_RP_VARS_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_xp_remote_memcpy
Lloh3:
	adrp	x20, _xpSuccess@GOTPAGE
Lloh4:
	ldr	x20, [x20, _xpSuccess@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.2:
	ldr	w0, [x19]
	bl	_XPC_VERSION_MAJOR
	mov	x19, x0
Lloh5:
	adrp	x8, _XPC_V_VERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XPC_V_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_XPC_VERSION_MAJOR
	cmp	x19, x0
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x20]
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _xpVarsNotSet@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xpVarsNotSet@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _xpBadVersion@GOTPAGE
Lloh11:
	ldr	x8, [x8, _xpBadVersion@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_xpVarsNotSet,4,2               ; @xpVarsNotSet
	.comm	_XPC_RP_VARS_SIZE,4,2           ; @XPC_RP_VARS_SIZE
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_XPC_V_VERSION,4,2              ; @XPC_V_VERSION
	.comm	_xpBadVersion,4,2               ; @xpBadVersion
	.no_dead_strip	_xpc_get_remote_vars_sn2
.subsections_via_symbols
