	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_Timer
_TOOLTIPS_Timer:                        ## @TOOLTIPS_Timer
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$130, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_13
## %bb.3:
	movl	8(%r15), %edi
	movl	$128, %esi
	callq	_KillTimer
	movl	(%r15), %ebx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_TOOLTIPS_CheckTool
	movl	%eax, (%r15)
	cmpl	%eax, %ebx
	jne	LBB0_14
## %bb.4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_TOOLTIPS_Show
	jmp	LBB0_14
LBB0_6:
	movl	(%r15), %r14d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_TOOLTIPS_CheckTool
	movl	%eax, (%r15)
	movl	8(%r15), %esi
	movl	16(%r15), %r8d
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	movl	(%r15), %eax
	cmpl	%r14d, %eax
	je	LBB0_14
## %bb.7:
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.9:
	cmpl	$-1, %r14d
	je	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	movl	8(%r15), %edi
	movl	$130, %esi
	callq	_KillTimer
	cmpl	$0, 12(%r15)
	je	LBB0_14
## %bb.12:
	movl	4(%r15), %edx
	movl	8(%r15), %edi
	movl	$128, %esi
	xorl	%ecx, %ecx
	callq	_SetTimer
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_14
LBB0_5:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_ERR
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	movl	8(%r15), %edi
	movl	$130, %esi
	callq	_KillTimer
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timer %d (%p) expired\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"tool (%p) %d %d %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"How did this happen?\n"

L_.str.3:                               ## @.str.3
	.asciz	"timer 1 started!\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unknown timer id %d\n"

	.no_dead_strip	_TOOLTIPS_Timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_Timer
_TOOLTIPS_Timer:                        ; @TOOLTIPS_Timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w8, [x0, #8]
	stp	x20, x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmp	w20, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #129
	b.eq	LBB0_10
; %bb.2:
	cmp	w20, #128
	b.ne	LBB0_11
; %bb.3:
	ldr	w0, [x19, #8]
	mov	w1, #128
	bl	_KillTimer
	ldr	w20, [x19]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_TOOLTIPS_CheckTool
	str	w0, [x19]
	cmp	w20, w0
	b.ne	LBB0_13
; %bb.4:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_TOOLTIPS_Show
	b	LBB0_13
LBB0_5:
	ldr	w20, [x19]
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_TOOLTIPS_CheckTool
	str	w0, [x19]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	stp	x0, x9, [sp, #16]
	stp	x8, x20, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w8, [x19]
	cmp	w8, w20
	b.eq	LBB0_13
; %bb.6:
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.7:
	cmn	w20, #1
	b.eq	LBB0_15
; %bb.8:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	ldr	w0, [x19, #8]
	mov	w1, #130
	bl	_KillTimer
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_13
; %bb.9:
	ldp	w2, w0, [x19, #4]
	mov	w1, #128
	mov	w3, #0
	bl	_SetTimer
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	b	LBB0_13
LBB0_11:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_12:
	bl	_ERR
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	ldr	w0, [x19, #8]
	mov	w1, #130
	bl	_KillTimer
	b	LBB0_13
LBB0_15:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timer %d (%p) expired\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"tool (%p) %d %d %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"How did this happen?\n"

l_.str.3:                               ; @.str.3
	.asciz	"timer 1 started!\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unknown timer id %d\n"

	.no_dead_strip	_TOOLTIPS_Timer
.subsections_via_symbols
