	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timeval_msec_diff              ## -- Begin function timeval_msec_diff
	.p2align	4, 0x90
_timeval_msec_diff:                     ## @timeval_msec_diff
	.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), %rax
	subq	(%rdi), %rax
	imulq	$1000, %rax, %rcx               ## imm = 0x3E8
	movl	8(%rsi), %eax
	subl	8(%rdi), %eax
	addl	$500, %eax                      ## imm = 0x1F4
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	cltq
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timeval_msec_diff              ; -- Begin function timeval_msec_diff
	.p2align	2
_timeval_msec_diff:                     ; @timeval_msec_diff
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x0]
	sub	x8, x8, x9
	mov	w9, #1000
	mul	x8, x8, x9
	ldr	w9, [x1, #8]
	ldr	w10, [x0, #8]
	sub	w9, w9, w10
	add	w9, w9, #500
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	add	x0, x8, w9, sxtw
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
