	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rstclock
_rstclock:                              ## @rstclock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	%edi, %ebx
	movq	_tc_counter@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movl	$2, %edi
	callq	_DPRINTF
	movq	_state@GOTPCREL(%rip), %r14
	cmpl	%ebx, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_EVNT_FSET@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_report_event
LBB0_3:
	movl	%ebx, (%r14)
	movq	_clock_offset@GOTPCREL(%rip), %rax
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rax)
	movq	_last_offset@GOTPCREL(%rip), %rax
	movsd	%xmm0, (%rax)
	movq	_current_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_clock_epoch@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_time,8,3               ## @current_time
	.comm	_clock_epoch,8,3                ## @clock_epoch
	.comm	_sys_poll,4,2                   ## @sys_poll
	.comm	_tc_counter,4,2                 ## @tc_counter
	.comm	_state,4,2                      ## @state
	.comm	_EVNT_FSET,4,2                  ## @EVNT_FSET
	.comm	_clock_offset,8,3               ## @clock_offset
	.comm	_last_offset,8,3                ## @last_offset
	.no_dead_strip	_rstclock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rstclock
_rstclock:                              ; @rstclock
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	mov	x19, x0
Lloh0:
	adrp	x8, _tc_counter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tc_counter@GOTPAGEOFF]
Lloh2:
	ldrsw	x1, [x8]
	mov	w0, #2
	bl	_DPRINTF
Lloh3:
	adrp	x20, _state@GOTPAGE
Lloh4:
	ldr	x20, [x20, _state@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _EVNT_FSET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EVNT_FSET@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_report_event
LBB0_2:
	str	w19, [x20]
Lloh8:
	adrp	x8, _clock_offset@GOTPAGE
Lloh9:
	ldr	x8, [x8, _clock_offset@GOTPAGEOFF]
Lloh10:
	str	d8, [x8]
Lloh11:
	adrp	x8, _last_offset@GOTPAGE
Lloh12:
	ldr	x8, [x8, _last_offset@GOTPAGEOFF]
Lloh13:
	str	d8, [x8]
Lloh14:
	adrp	x8, _current_time@GOTPAGE
Lloh15:
	ldr	x8, [x8, _current_time@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _clock_epoch@GOTPAGE
Lloh18:
	ldr	x9, [x9, _clock_epoch@GOTPAGEOFF]
Lloh19:
	str	x8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_current_time,8,3               ; @current_time
	.comm	_clock_epoch,8,3                ; @clock_epoch
	.comm	_sys_poll,4,2                   ; @sys_poll
	.comm	_tc_counter,4,2                 ; @tc_counter
	.comm	_state,4,2                      ; @state
	.comm	_EVNT_FSET,4,2                  ; @EVNT_FSET
	.comm	_clock_offset,8,3               ; @clock_offset
	.comm	_last_offset,8,3                ; @last_offset
	.no_dead_strip	_rstclock
.subsections_via_symbols
