	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_ms_timeout
LCPI0_0:
	.quad	0x54b249ad2594c37d              ## double 1.0E+100
LCPI0_1:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_ms_timeout:                        ## @get_ms_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%ebx, %ebx
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_1
	jp	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	ucomisd	%xmm0, %xmm1
	movl	$-1, %ebx
	ja	LBB0_5
## %bb.2:
	ucomisd	LCPI0_0(%rip), %xmm0
	jae	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	callq	_update_precise_now
	movsd	-16(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movq	_precise_now@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rax), %xmm0
	subsd	%xmm0, %xmm1
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	LBB0_5
## %bb.4:
	mulsd	LCPI0_1(%rip), %xmm1
	cvttsd2si	%xmm1, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_precise_now,8,3                ## @precise_now
	.no_dead_strip	_get_ms_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ms_timeout
_get_ms_timeout:                        ; @get_ms_timeout
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	fcmp	d0, #0.0
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	fmov	d8, d0
	mov	x8, #50045
	movk	x8, #9620, lsl #16
	movk	x8, #18861, lsl #32
	movk	x8, #21682, lsl #48
	fmov	d0, x8
	fccmp	d8, d0, #0, pl
	b.lt	LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	bl	_update_precise_now
Lloh0:
	adrp	x8, _precise_now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	scvtf	d0, d0
	fsub	d0, d8, d0
	fcmp	d0, #0.0
	b.mi	LBB0_1
; %bb.5:
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w0, d0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_precise_now,8,3                ; @precise_now
	.no_dead_strip	_get_ms_timeout
.subsections_via_symbols
