	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snvs_gettime
_snvs_gettime:                          ## @snvs_gettime
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_device_get_softc
	movq	%rax, %r15
	movq	_SNVS_LPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RD4
	movq	_LPCR_SRTC_ENV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SNVS_LPSRTCMR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_RD4
	movl	%eax, %r12d
	movq	_SBT_LSB@GOTPCREL(%rip), %r14
	movzbl	(%r14), %ecx
	shll	%cl, %r12d
	movq	_SNVS_LPSRTCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RD4
	movl	%eax, %ebx
	movzbl	(%r14), %ecx
	shll	%cl, %ebx
	orl	%r12d, %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_RD4
	movl	%eax, %r12d
	movzbl	(%r14), %ecx
	shll	%cl, %r12d
	movq	_SNVS_LPSRTCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RD4
	movzbl	(%r14), %ecx
	shll	%cl, %eax
	orl	%r12d, %eax
	cmpl	%eax, %ebx
	jne	LBB0_2
## %bb.3:
	movl	%ebx, %edi
	callq	_sbttots
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx)
	movl	(%r15), %edi
	movq	_CLOCK_DBG_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clock_dbgprint_ts
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNVS_LPCR,4,2                  ## @SNVS_LPCR
	.comm	_LPCR_SRTC_ENV,4,2              ## @LPCR_SRTC_ENV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNVS_LPSRTCMR,4,2              ## @SNVS_LPSRTCMR
	.comm	_SBT_LSB,4,2                    ## @SBT_LSB
	.comm	_SNVS_LPSRTCLR,4,2              ## @SNVS_LPSRTCLR
	.comm	_CLOCK_DBG_READ,4,2             ## @CLOCK_DBG_READ
	.no_dead_strip	_snvs_gettime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snvs_gettime
_snvs_gettime:                          ; @snvs_gettime
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	bl	_device_get_softc
	mov	x20, x0
Lloh0:
	adrp	x8, _SNVS_LPCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNVS_LPCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_RD4
Lloh3:
	adrp	x8, _LPCR_SRTC_ENV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPCR_SRTC_ENV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x22, _SNVS_LPSRTCMR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SNVS_LPSRTCMR@GOTPAGEOFF]
Lloh8:
	adrp	x23, _SBT_LSB@GOTPAGE
Lloh9:
	ldr	x23, [x23, _SBT_LSB@GOTPAGEOFF]
Lloh10:
	adrp	x24, _SNVS_LPSRTCLR@GOTPAGE
Lloh11:
	ldr	x24, [x24, _SNVS_LPSRTCLR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_RD4
	ldr	w8, [x23]
	lsl	w21, w0, w8
	ldr	w1, [x24]
	mov	x0, x20
	bl	_RD4
	ldr	w8, [x23]
	lsl	w8, w0, w8
	orr	w21, w8, w21
	ldr	w1, [x22]
	mov	x0, x20
	bl	_RD4
	ldr	w8, [x23]
	lsl	w25, w0, w8
	ldr	w1, [x24]
	mov	x0, x20
	bl	_RD4
	ldr	w8, [x23]
	lsl	w8, w0, w8
	orr	w8, w8, w25
	cmp	w21, w8
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x21
	bl	_sbttots
	str	w0, [x19]
	ldr	w0, [x20]
Lloh12:
	adrp	x8, _CLOCK_DBG_READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CLOCK_DBG_READ@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_clock_dbgprint_ts
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SNVS_LPCR,4,2                  ; @SNVS_LPCR
	.comm	_LPCR_SRTC_ENV,4,2              ; @LPCR_SRTC_ENV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNVS_LPSRTCMR,4,2              ; @SNVS_LPSRTCMR
	.comm	_SBT_LSB,4,2                    ; @SBT_LSB
	.comm	_SNVS_LPSRTCLR,4,2              ; @SNVS_LPSRTCLR
	.comm	_CLOCK_DBG_READ,4,2             ; @CLOCK_DBG_READ
	.no_dead_strip	_snvs_gettime
.subsections_via_symbols
