	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_RelayEvent
_TOOLTIPS_RelayEvent:                   ## @TOOLTIPS_RelayEvent
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_18
## %bb.3:
	movq	%rdi, %r15
	cmpl	$2, %eax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
LBB0_18:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	8(%rbx), %edi
	callq	_LOWORD
	movw	%ax, -40(%rbp)
	movl	8(%rbx), %edi
	callq	_HIWORD
	movw	%ax, -38(%rbp)
	movl	(%r15), %r14d
	movl	4(%rbx), %esi
	leaq	-40(%rbp), %r12
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_TOOLTIPS_GetToolFromPoint
	movl	%eax, (%r15)
	movl	4(%r15), %r8d
	movl	12(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	movl	12(%r15), %ebx
	movq	%r12, %rdi
	callq	_wine_dbgstr_point
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movl	(%r15), %eax
	cmpl	%r14d, %eax
	jne	LBB0_6
## %bb.11:
	cmpl	$-1, 4(%r15)
	je	LBB0_13
## %bb.12:
	movl	12(%r15), %edi
	movq	_ID_TIMERPOP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_KillTimer
	movl	(%rbx), %esi
	movl	12(%r15), %edi
	movl	20(%r15), %edx
	xorl	%ecx, %ecx
	callq	_SetTimer
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_17
LBB0_6:
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:
	cmpl	$-1, %r14d
	je	LBB0_14
## %bb.9:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	movl	12(%r15), %edi
	movq	_ID_TIMERLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_KillTimer
	cmpl	$0, 16(%r15)
	je	LBB0_18
## %bb.10:
	movq	_ID_TIMERSHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edi
	movl	24(%r15), %edx
	jmp	LBB0_16
LBB0_13:
	cmpl	$-1, %r14d
	je	LBB0_18
LBB0_14:
	cmpl	$0, 16(%r15)
	je	LBB0_18
## %bb.15:
	movl	8(%r15), %edx
	movl	12(%r15), %edi
	movq	_ID_TIMERSHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_16:
	xorl	%ecx, %ecx
	callq	_SetTimer
	leaq	L_.str.3(%rip), %rdi
LBB0_17:
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_18
LBB0_7:
	movq	%r15, %rdi
	callq	_TOOLTIPS_Hide
	movl	12(%r15), %edi
	movq	_ID_TIMERLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_KillTimer
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lpMsg == NULL\n"

L_.str.1:                               ## @.str.1
	.asciz	"tool (%p) %d %d %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"WM_MOUSEMOVE (%p %s)\n"

	.comm	_ID_TIMERLEAVE,4,2              ## @ID_TIMERLEAVE
	.comm	_ID_TIMERSHOW,4,2               ## @ID_TIMERSHOW
L_.str.3:                               ## @.str.3
	.asciz	"timer 1 started\n"

	.comm	_ID_TIMERPOP,4,2                ## @ID_TIMERPOP
L_.str.4:                               ## @.str.4
	.asciz	"timer 2 restarted\n"

	.no_dead_strip	_TOOLTIPS_RelayEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_RelayEvent
_TOOLTIPS_RelayEvent:                   ; @TOOLTIPS_RelayEvent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.2:
	mov	x19, x0
	cmp	w8, #2
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w0, [x20, #8]
	bl	_LOWORD
	strh	w0, [sp, #40]
	ldr	w0, [x20, #8]
	bl	_HIWORD
	strh	w0, [sp, #42]
	ldr	w21, [x19]
	ldr	w1, [x20, #4]
	add	x2, sp, #40
	mov	x0, x19
	bl	_TOOLTIPS_GetToolFromPoint
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	ldr	w8, [x19, #12]
	ldr	w9, [x19, #4]
	stp	x0, x9, [sp, #16]
	stp	x8, x21, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w20, [x19, #12]
	add	x0, sp, #40
	bl	_wine_dbgstr_point
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w8, [x19]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x19, #4]
	cmn	w8, #1
	b.eq	LBB0_13
; %bb.8:
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x20, _ID_TIMERPOP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ID_TIMERPOP@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_KillTimer
	ldr	w0, [x19, #12]
	ldr	w1, [x20]
	ldr	w2, [x19, #20]
	mov	w3, #0
	bl	_SetTimer
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_9:
	cmn	w8, #1
	b.eq	LBB0_18
; %bb.10:
	cmn	w21, #1
	b.eq	LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	ldr	w0, [x19, #12]
Lloh10:
	adrp	x8, _ID_TIMERLEAVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ID_TIMERLEAVE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_KillTimer
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.12:
	ldr	w0, [x19, #12]
Lloh13:
	adrp	x8, _ID_TIMERSHOW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ID_TIMERSHOW@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x19, #24]
	b	LBB0_16
LBB0_13:
	cmn	w21, #1
	b.eq	LBB0_5
LBB0_14:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
; %bb.15:
Lloh16:
	adrp	x8, _ID_TIMERSHOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ID_TIMERSHOW@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldp	w2, w0, [x19, #8]
LBB0_16:
	mov	w3, #0
	bl	_SetTimer
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	_TRACE
	b	LBB0_5
LBB0_18:
	mov	x0, x19
	bl	_TOOLTIPS_Hide
	ldr	w0, [x19, #12]
Lloh21:
	adrp	x8, _ID_TIMERLEAVE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ID_TIMERLEAVE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_KillTimer
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lpMsg == NULL\n"

l_.str.1:                               ; @.str.1
	.asciz	"tool (%p) %d %d %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"WM_MOUSEMOVE (%p %s)\n"

	.comm	_ID_TIMERLEAVE,4,2              ; @ID_TIMERLEAVE
	.comm	_ID_TIMERSHOW,4,2               ; @ID_TIMERSHOW
l_.str.3:                               ; @.str.3
	.asciz	"timer 1 started\n"

	.comm	_ID_TIMERPOP,4,2                ; @ID_TIMERPOP
l_.str.4:                               ; @.str.4
	.asciz	"timer 2 restarted\n"

	.no_dead_strip	_TOOLTIPS_RelayEvent
.subsections_via_symbols
