	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hardupdate                     ## -- Begin function hardupdate
	.p2align	4, 0x90
_hardupdate:                            ## @hardupdate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SHIFT_UPDATE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rdi, %rax
	shlq	%cl, %rax
	movq	_time_offset@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_timex@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_time_reftime@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movq	%rax, (%rcx)
	movq	_MAXSEC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	cmovleq	%rdx, %rax
	imulq	%rdi, %rax
	testq	%rdi, %rdi
	js	LBB0_1
## %bb.2:
	movq	_time_constant@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	addb	%cl, %cl
	sarq	%cl, %rax
	movq	_time_freq@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, %rdx
	jmp	LBB0_3
LBB0_1:
	negq	%rax
	movq	_time_constant@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	addb	%cl, %cl
	sarq	%cl, %rax
	movq	_time_freq@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	subq	%rax, %rdx
LBB0_3:
	movq	_time_freq@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_time_tolerance@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_SHIFT_KF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rsi
	cmpq	%rsi, %rdx
	jg	LBB0_5
## %bb.4:
	negq	%rsi
	cmpq	%rsi, %rdx
	jge	LBB0_6
LBB0_5:
	movq	%rsi, (%rax)
LBB0_6:
	movq	_time_status@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_TIME_BAD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	movq	_TIME_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHIFT_UPDATE,8,3               ## @SHIFT_UPDATE
	.comm	_time_offset,8,3                ## @time_offset
	.comm	_timex,8,3                      ## @timex
	.comm	_time_reftime,8,3               ## @time_reftime
	.comm	_MAXSEC,8,3                     ## @MAXSEC
	.comm	_time_constant,8,3              ## @time_constant
	.comm	_time_freq,8,3                  ## @time_freq
	.comm	_time_tolerance,8,3             ## @time_tolerance
	.comm	_SHIFT_KF,8,3                   ## @SHIFT_KF
	.comm	_time_status,8,3                ## @time_status
	.comm	_TIME_BAD,8,3                   ## @TIME_BAD
	.comm	_TIME_OK,8,3                    ## @TIME_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hardupdate                     ; -- Begin function hardupdate
	.p2align	2
_hardupdate:                            ; @hardupdate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SHIFT_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHIFT_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _time_offset@GOTPAGE
Lloh4:
	ldr	x9, [x9, _time_offset@GOTPAGEOFF]
	lsl	x8, x0, x8
Lloh5:
	str	x8, [x9]
Lloh6:
	adrp	x8, _timex@GOTPAGE
Lloh7:
	ldr	x8, [x8, _timex@GOTPAGEOFF]
Lloh8:
	adrp	x9, _time_reftime@GOTPAGE
Lloh9:
	ldr	x9, [x9, _time_reftime@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x10, [x9]
	str	x8, [x9]
Lloh11:
	adrp	x9, _MAXSEC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAXSEC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	sub	x8, x8, x10
	cmp	x8, x9
	csel	x8, xzr, x8, gt
	mul	x9, x8, x0
Lloh14:
	adrp	x8, _time_freq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _time_freq@GOTPAGEOFF]
Lloh16:
	adrp	x10, _time_constant@GOTPAGE
Lloh17:
	ldr	x10, [x10, _time_constant@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	x10, [x10]
	lsl	x10, x10, #1
	asr	x9, x9, x10
	ldr	x10, [x8]
	add	x9, x9, x10
	b	LBB0_3
LBB0_2:
	neg	x9, x9
	ldr	x10, [x10]
	lsl	x10, x10, #1
	asr	x9, x9, x10
	ldr	x10, [x8]
	sub	x9, x10, x9
LBB0_3:
	str	x9, [x8]
Lloh18:
	adrp	x10, _time_tolerance@GOTPAGE
Lloh19:
	ldr	x10, [x10, _time_tolerance@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _SHIFT_KF@GOTPAGE
Lloh22:
	ldr	x11, [x11, _SHIFT_KF@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	lsl	x10, x10, x11
	cmp	x9, x10
	b.gt	LBB0_5
; %bb.4:
	neg	x10, x10
	cmp	x9, x10
	b.ge	LBB0_6
LBB0_5:
	str	x10, [x8]
LBB0_6:
Lloh24:
	adrp	x8, _time_status@GOTPAGE
Lloh25:
	ldr	x8, [x8, _time_status@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh26:
	adrp	x10, _TIME_BAD@GOTPAGE
Lloh27:
	ldr	x10, [x10, _TIME_BAD@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
Lloh29:
	adrp	x9, _TIME_OK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TIME_OK@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_SHIFT_UPDATE,8,3               ; @SHIFT_UPDATE
	.comm	_time_offset,8,3                ; @time_offset
	.comm	_timex,8,3                      ; @timex
	.comm	_time_reftime,8,3               ; @time_reftime
	.comm	_MAXSEC,8,3                     ; @MAXSEC
	.comm	_time_constant,8,3              ; @time_constant
	.comm	_time_freq,8,3                  ; @time_freq
	.comm	_time_tolerance,8,3             ; @time_tolerance
	.comm	_SHIFT_KF,8,3                   ; @SHIFT_KF
	.comm	_time_status,8,3                ; @time_status
	.comm	_TIME_BAD,8,3                   ; @TIME_BAD
	.comm	_TIME_OK,8,3                    ; @TIME_OK
.subsections_via_symbols
