	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vrtc_nvram_read                ## -- Begin function vrtc_nvram_read
	.p2align	4, 0x90
_vrtc_nvram_read:                       ## @vrtc_nvram_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4, %esi
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r14
	movl	%esi, %r12d
	callq	_vm_rtc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_VRTC_LOCK
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_vrtc_curtime
	xorl	%r15d, %r15d
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_secs_to_rtc
	movl	(%rbx,%r12,4), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_VRTC_UNLOCK
LBB0_3:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RTC_CENTURY,4,2                ## @RTC_CENTURY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vrtc_nvram_read                ; -- Begin function vrtc_nvram_read
	.p2align	2
_vrtc_nvram_read:                       ; @vrtc_nvram_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cmp	w1, #4
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	bl	_vm_rtc
	mov	x21, x0
	bl	_VRTC_LOCK
	add	x1, sp, #12
	mov	x0, x21
	bl	_vrtc_curtime
	mov	x1, x21
	mov	w2, #0
	bl	_secs_to_rtc
	ldr	w8, [x21, w20, uxtw #2]
	str	w8, [x19]
	mov	x0, x21
	bl	_VRTC_UNLOCK
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RTC_CENTURY,4,2                ; @RTC_CENTURY
.subsections_via_symbols
