	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s10_protected_reg_read
_s10_protected_reg_read:                ## @s10_protected_reg_read
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	_INTEL_SIP_SMC_REG_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %esi
	addq	%rdi, %rsi
	subq	$8, %rsp
	leaq	-24(%rbp), %r10
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	$0
	pushq	$0
	callq	_arm_smccc_smc
	addq	$32, %rsp
	movl	-16(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-24(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_SIP_SMC_REG_READ,4,2     ## @INTEL_SIP_SMC_REG_READ
	.no_dead_strip	_s10_protected_reg_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s10_protected_reg_read
_s10_protected_reg_read:                ; @s10_protected_reg_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, _INTEL_SIP_SMC_REG_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_SIP_SMC_REG_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x1, x0, w1, uxtw
	add	x9, sp, #16
	str	x9, [sp]
	mov	x0, x8
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_arm_smccc_smc
	ldr	x8, [sp, #24]
	str	w8, [x19]
	ldr	w0, [sp, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_SIP_SMC_REG_READ,4,2     ; @INTEL_SIP_SMC_REG_READ
	.no_dead_strip	_s10_protected_reg_read
.subsections_via_symbols
