	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evClearTimer                   ## -- Begin function evClearTimer
	.p2align	4, 0x90
_evClearTimer:                          ## @evClearTimer
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rcx
	movq	_Timer@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	cmpq	%r14, 8(%rax)
	je	LBB0_3
LBB0_4:
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	callq	_heap_element
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EV_ERR
LBB0_6:
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	callq	_heap_delete
	testq	%rax, %rax
	js	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	callq	_FREE
	xorl	%r15d, %r15d
	cmpl	$8, (%rbx)
	jl	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_evPrintf
	movl	4(%rbx), %edi
	movq	_print_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_heap_for_each
	jmp	LBB0_10
LBB0_7:
	movl	$-1, %r15d
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_evPrintf
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_evConsTime
	movl	%eax, 4(%r14)
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Timer,8,3                      ## @Timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deferring delete of timer (executing)\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"timers after evClearTimer:\n"

	.comm	_print_timer,4,2                ## @print_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evClearTimer                   ; -- Begin function evClearTimer
	.p2align	2
_evClearTimer:                          ; @evClearTimer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _Timer@GOTPAGE
Lloh1:
	ldr	x10, [x10, _Timer@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
	cmp	x8, x20
	b.eq	LBB0_10
LBB0_3:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_heap_element
	cmp	x0, x20
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_EV_ERR
LBB0_5:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_heap_delete
	tbnz	x0, #63, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_FREE
	ldr	w8, [x19]
	cmp	w8, #8
	b.lt	LBB0_8
; %bb.7:
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #7
	bl	_evPrintf
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _print_timer@GOTPAGE
Lloh9:
	ldr	x8, [x8, _print_timer@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_heap_for_each
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	mov	w0, #-1
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #8
	bl	_evPrintf
	mov	w0, #0
	mov	w1, #0
	bl	_evConsTime
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #4]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_Timer,8,3                      ; @Timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deferring delete of timer (executing)\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"timers after evClearTimer:\n"

	.comm	_print_timer,4,2                ; @print_timer
.subsections_via_symbols
