	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function timeout_cb
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_timeout_cb:                            ## @timeout_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	movq	_lasttime@GOTPCREL(%rip), %r15
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_evutil_timersub
	movsd	-32(%rbp), %xmm0                ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	addsd	-40(%rbp), %xmm0
	cvttsd2si	-56(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%r15)
	movq	_event_is_persistent@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_evutil_timerclear
	movabsq	$4611686018427387904, %rax      ## imm = 0x4000000000000000
	movq	%rax, -72(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_event_add
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lasttime,16,3                  ## @lasttime
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timeout_cb called at %d: %.3f seconds elapsed.\n"

	.comm	_event_is_persistent,4,2        ## @event_is_persistent
	.no_dead_strip	_timeout_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timeout_cb
_timeout_cb:                            ; @timeout_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	add	x0, sp, #32
	mov	x1, #0
	bl	_evutil_gettimeofday
Lloh0:
	adrp	x20, _lasttime@GOTPAGE
Lloh1:
	ldr	x20, [x20, _lasttime@GOTPAGEOFF]
	add	x0, sp, #32
	add	x2, sp, #16
	mov	x1, x20
	bl	_evutil_timersub
	ldp	d0, d1, [sp, #16]
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d2, x8
	fdiv	d1, d1, d2
	fadd	d0, d0, d1
	ldr	d1, [sp, #32]
	fcvtzs	w1, d1
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	q0, [sp, #32]
	str	q0, [x20]
Lloh4:
	adrp	x8, _event_is_persistent@GOTPAGE
Lloh5:
	ldr	x8, [x8, _event_is_persistent@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, sp
	bl	_evutil_timerclear
	mov	x8, #4611686018427387904
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_event_add
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lasttime,16,3                  ; @lasttime
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timeout_cb called at %d: %.3f seconds elapsed.\n"

	.comm	_event_is_persistent,4,2        ; @event_is_persistent
	.no_dead_strip	_timeout_cb
.subsections_via_symbols
