	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tv_to_ms_timeout
_tv_to_ms_timeout:                      ## @tv_to_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
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	movl	%ecx, %edx
	orl	%eax, %edx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	addl	$500, %eax                      ## imm = 0x1F4
	cltq
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$38, %rdi
	addl	%eax, %edi
	addl	%ecx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$1, %esi
	popq	%rbp
	jmp	_max_int                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tv_to_ms_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tv_to_ms_timeout
_tv_to_ms_timeout:                      ; @tv_to_ms_timeout
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	orr	w10, w8, w9
	cbnz	w10, LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mov	w10, #1000
	add	w9, w9, #500
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x9, w9, w11
	lsr	x11, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w11
	madd	w0, w8, w10, w9
	mov	w1, #1
	b	_max_int
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tv_to_ms_timeout
.subsections_via_symbols
