	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snvs_settime
_snvs_settime:                          ## @snvs_settime
	.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	%rsi, %r14
	callq	_device_get_softc
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_tstosbt
	movq	_SBT_LSB@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	movl	$2, %ebx
	shll	%cl, %ebx
	addl	%eax, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_snvs_rtc_enable
	movq	_SNVS_LPSRTCMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r12), %cl
	movl	%ebx, %edx
	sarl	%cl, %edx
	movq	%r15, %rdi
	callq	_WR4
	movq	_SNVS_LPSRTCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r12), %cl
	sarl	%cl, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_WR4
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_snvs_rtc_enable
	movl	(%r15), %edi
	movq	_CLOCK_DBG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_clock_dbgprint_ts
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SBT_LSB,4,2                    ## @SBT_LSB
	.comm	_SNVS_LPSRTCMR,4,2              ## @SNVS_LPSRTCMR
	.comm	_SNVS_LPSRTCLR,4,2              ## @SNVS_LPSRTCLR
	.comm	_CLOCK_DBG_WRITE,4,2            ## @CLOCK_DBG_WRITE
	.no_dead_strip	_snvs_settime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snvs_settime
_snvs_settime:                          ; @snvs_settime
	.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
	mov	x19, x1
	bl	_device_get_softc
	mov	x20, x0
	ldr	w0, [x19]
	bl	_tstosbt
Lloh0:
	adrp	x21, _SBT_LSB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SBT_LSB@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	w9, #2
	lsl	w8, w9, w8
	add	w22, w8, w0
	mov	x0, x20
	mov	w1, #0
	bl	_snvs_rtc_enable
Lloh2:
	adrp	x8, _SNVS_LPSRTCMR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNVS_LPSRTCMR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w8, [x21]
	asr	w2, w22, w8
	mov	x0, x20
	bl	_WR4
Lloh5:
	adrp	x8, _SNVS_LPSRTCLR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNVS_LPSRTCLR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w8, [x21]
	asr	w2, w22, w8
	mov	x0, x20
	bl	_WR4
	mov	x0, x20
	mov	w1, #1
	bl	_snvs_rtc_enable
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _CLOCK_DBG_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLOCK_DBG_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_clock_dbgprint_ts
	mov	w0, #0
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SBT_LSB,4,2                    ; @SBT_LSB
	.comm	_SNVS_LPSRTCMR,4,2              ; @SNVS_LPSRTCMR
	.comm	_SNVS_LPSRTCLR,4,2              ; @SNVS_LPSRTCLR
	.comm	_CLOCK_DBG_WRITE,4,2            ; @CLOCK_DBG_WRITE
	.no_dead_strip	_snvs_settime
.subsections_via_symbols
