	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timeout
_timeout:                               ## @timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movslq	(%rax), %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movq	_tvout@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	imull	$-1000, %ecx, %ecx              ## imm = 0xFC18
	addl	%eax, %ecx
	imull	$1000, %ecx, %eax               ## imm = 0x3E8
	movl	%eax, 4(%rdx)
	popq	%rbp
	retq
LBB0_2:
	movq	_tvout@GOTPCREL(%rip), %rax
	imull	$1000, (%rax), %ecx             ## imm = 0x3E8
	movslq	4(%rax), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	addl	%ecx, %edx
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tvout,8,2                      ## @tvout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"primary timeout %d ms\n"

	.no_dead_strip	_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timeout
_timeout:                               ; @timeout
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	ldrsw	x8, [x8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
Lloh0:
	adrp	x10, _tvout@GOTPAGE
Lloh1:
	ldr	x10, [x10, _tvout@GOTPAGEOFF]
	mov	w11, #-1000
	madd	w8, w9, w11, w8
	mov	w11, #1000
	mul	w8, w8, w11
	stp	w9, w8, [x10]
	ret
LBB0_2:
Lloh2:
	adrp	x8, _tvout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tvout@GOTPAGEOFF]
	mov	w9, #1000
	ldp	w10, w8, [x8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	mul	x8, x8, x11
	lsr	x11, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w11
	madd	w2, w10, w9, w8
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	b	_fprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_tvout,8,2                      ; @tvout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"primary timeout %d ms\n"

	.no_dead_strip	_timeout
.subsections_via_symbols
