	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function adj_systime
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3eb0c6f7a0b5ed8d              ## double 9.9999999999999995E-7
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x412e848000000000              ## double 1.0E+6
LCPI0_4:
	.quad	0xbff0000000000000              ## double -1
LCPI0_5:
	.quad	0xbeb0c6f7a0b5ed8d              ## double -9.9999999999999995E-7
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_adj_systime
	.p2align	4, 0x90
_adj_systime:                           ## @adj_systime
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_4
	jp	LBB0_4
## %bb.1:
	movq	_enable_panic_check@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.2:
	movq	_allow_panic@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_17
## %bb.3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_msyslog
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	_INSIST
	jmp	LBB0_17
LBB0_4:
	movq	_sys_residual@GOTPCREL(%rip), %rcx
	addsd	(%rcx), %xmm0
	movapd	LCPI0_0(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm0, %xmm1
	maxsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rax
	movq	%rax, -32(%rbp)
	cvtsi2sd	%rax, %xmm2
	subsd	%xmm2, %xmm1
	movq	_sys_tick@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	movq	_sys_fuzz@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm3                   ## xmm3 = mem[0],zero
	cmpltsd	%xmm2, %xmm3
	andpd	%xmm3, %xmm2
	movsd	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero
	andnpd	%xmm4, %xmm3
	orpd	%xmm2, %xmm3
	movapd	%xmm1, %xmm2
	divsd	%xmm3, %xmm2
	movsd	LCPI0_2(%rip), %xmm4            ## xmm4 = mem[0],zero
	addsd	%xmm4, %xmm2
	cvttsd2si	%xmm2, %rdx
	xorps	%xmm2, %xmm2
	cvtsi2sd	%rdx, %xmm2
	mulsd	%xmm3, %xmm2
	mulsd	LCPI0_3(%rip), %xmm2
	addsd	%xmm4, %xmm2
	cvttsd2si	%xmm2, %rdx
	movq	%rdx, -24(%rbp)
	cmpq	$1000000, %rdx                  ## imm = 0xF4240
	jl	LBB0_6
## %bb.5:
	incq	%rax
	movq	%rax, -32(%rbp)
	addq	$-1000000, %rdx                 ## imm = 0xFFF0BDC0
	movq	%rdx, -24(%rbp)
	addsd	LCPI0_4(%rip), %xmm1
LBB0_6:
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rdx, %xmm0
	mulsd	LCPI0_5(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rcx)
	jbe	LBB0_8
## %bb.7:
	negq	%rax
	movq	%rax, -32(%rbp)
	negq	%rdx
	movq	%rdx, -24(%rbp)
	xorpd	LCPI0_0(%rip), %xmm0
	movlpd	%xmm0, (%rcx)
LBB0_8:
	orq	%rax, %rdx
	je	LBB0_13
## %bb.9:
	leaq	-32(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_adjtime
	testq	%rax, %rax
	js	LBB0_10
LBB0_13:
	movq	_enable_panic_check@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.14:
	movq	_allow_panic@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.15:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_16
LBB0_10:
	movq	_LOG_ERR@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_msyslog
	movq	_enable_panic_check@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_FALSE@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.11:
	movq	_allow_panic@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.12:
	movl	(%r14), %edi
LBB0_16:
	leaq	L_.str(%rip), %rsi
	callq	_msyslog
LBB0_17:
	movl	(%rbx), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enable_panic_check,8,3         ## @enable_panic_check
	.comm	_allow_panic,8,3                ## @allow_panic
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adj_systime: allow_panic is TRUE!"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_sys_residual,8,3               ## @sys_residual
	.comm	_sys_tick,8,3                   ## @sys_tick
	.comm	_sys_fuzz,8,3                   ## @sys_fuzz
L_.str.1:                               ## @.str.1
	.asciz	"adj_systime: %m"

	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adj_systime                    ; -- Begin function adj_systime
	.p2align	2
_adj_systime:                           ; @adj_systime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	fcmp	d0, #0.0
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _enable_panic_check@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enable_panic_check@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _allow_panic@GOTPAGE
Lloh4:
	ldr	x19, [x19, _allow_panic@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_11
; %bb.2:
Lloh5:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_INSIST
	b	LBB0_11
LBB0_3:
Lloh10:
	adrp	x9, _sys_residual@GOTPAGE
Lloh11:
	ldr	x9, [x9, _sys_residual@GOTPAGEOFF]
	ldr	d1, [x9]
	fadd	d0, d1, d0
	fneg	d1, d0
	fcmp	d0, #0.0
	fcsel	d1, d1, d0, mi
	fcvtzs	x8, d1
	fcvtzs	d2, d1
	scvtf	d2, d2
Lloh12:
	adrp	x10, _sys_tick@GOTPAGE
Lloh13:
	ldr	x10, [x10, _sys_tick@GOTPAGEOFF]
	fsub	d1, d1, d2
Lloh14:
	ldr	d2, [x10]
Lloh15:
	adrp	x10, _sys_fuzz@GOTPAGE
Lloh16:
	ldr	x10, [x10, _sys_fuzz@GOTPAGEOFF]
Lloh17:
	ldr	d3, [x10]
	fcmp	d2, d3
	mov	x10, #60813
	movk	x10, #41141, lsl #16
	movk	x10, #50935, lsl #32
	movk	x10, #16048, lsl #48
	fmov	d3, x10
	fcsel	d2, d2, d3, gt
	fdiv	d3, d1, d2
	fmov	d4, #0.50000000
	fadd	d3, d3, d4
	fcvtzs	d3, d3
	scvtf	d3, d3
	fmul	d2, d2, d3
	mov	x10, #145685290680320
	movk	x10, #16686, lsl #48
	fmov	d3, x10
	fmadd	d2, d2, d3, d4
	fcvtzs	x10, d2
	stp	x8, x10, [sp, #16]
	mov	w11, #16960
	movk	w11, #15, lsl #16
	cmp	x10, x11
	b.lt	LBB0_5
; %bb.4:
	add	x8, x8, #1
	sub	x10, x10, #244, lsl #12         ; =999424
	sub	x10, x10, #576
	stp	x8, x10, [sp, #16]
	fmov	d2, #-1.00000000
	fadd	d1, d1, d2
LBB0_5:
	scvtf	d2, x10
	mov	x11, #60813
	movk	x11, #41141, lsl #16
	movk	x11, #50935, lsl #32
	movk	x11, #48816, lsl #48
	fmov	d3, x11
	fmadd	d1, d2, d3, d1
	str	d1, [x9]
	fcmp	d0, #0.0
	b.pl	LBB0_7
; %bb.6:
	neg	x8, x8
	neg	x10, x10
	stp	x8, x10, [sp, #16]
	fneg	d0, d1
	str	d0, [x9]
LBB0_7:
	orr	x8, x8, x10
	cbz	x8, LBB0_9
; %bb.8:
	add	x0, sp, #16
	mov	x1, sp
	bl	_adjtime
	tbnz	x0, #63, LBB0_13
LBB0_9:
Lloh18:
	adrp	x8, _enable_panic_check@GOTPAGE
Lloh19:
	ldr	x8, [x8, _enable_panic_check@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _allow_panic@GOTPAGE
Lloh22:
	ldr	x9, [x9, _allow_panic@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
LBB0_11:
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
Lloh31:
	adrp	x19, _LOG_ERR@GOTPAGE
Lloh32:
	ldr	x19, [x19, _LOG_ERR@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msyslog
Lloh35:
	adrp	x8, _enable_panic_check@GOTPAGE
Lloh36:
	ldr	x8, [x8, _enable_panic_check@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x8]
Lloh38:
	adrp	x8, _FALSE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbz	x9, LBB0_12
; %bb.14:
Lloh40:
	adrp	x9, _allow_panic@GOTPAGE
Lloh41:
	ldr	x9, [x9, _allow_panic@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.15:
	ldr	w0, [x19]
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
Lloh45:
	adrp	x8, _FALSE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_enable_panic_check,8,3         ; @enable_panic_check
	.comm	_allow_panic,8,3                ; @allow_panic
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adj_systime: allow_panic is TRUE!"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_sys_residual,8,3               ; @sys_residual
	.comm	_sys_tick,8,3                   ; @sys_tick
	.comm	_sys_fuzz,8,3                   ; @sys_fuzz
l_.str.1:                               ; @.str.1
	.asciz	"adj_systime: %m"

	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
