	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tv2int
_tv2int:                                ## @tv2int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	movq	(%rdi), %r9
	movl	%r9d, %edx
	subl	%r8d, %edx
	leal	1000000(%rdx), %eax
	xorl	%ecx, %ecx
	cmpq	%r8, %r9
	cmovgel	%edx, %eax
	setl	%cl
	movl	8(%rdi), %edx
	subl	8(%rsi), %edx
	subl	%ecx, %edx
	imull	$1000, %edx, %ecx               ## imm = 0x3E8
	cltq
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	addl	%ecx, %edx
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovnsl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tv2int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tv2int
_tv2int:                                ; @tv2int
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x0]
	cmp	x9, x8
	cset	w10, lt
	mov	w11, #16960
	movk	w11, #15, lsl #16
	csel	w11, w11, wzr, lt
	sub	w8, w9, w8
	add	w8, w8, w11
	ldr	w9, [x0, #8]
	ldr	w11, [x1, #8]
	sub	w9, w9, w11
	sub	w9, w9, w10
	mov	w10, #1000
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x8, w8, w11
	lsr	x11, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w11
	madd	w8, w9, w10, w8
	cmp	w8, #0
	csel	w0, w10, w8, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tv2int
.subsections_via_symbols
