	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_NCHitTest
_TOOLTIPS_NCHitTest:                    ## @TOOLTIPS_NCHitTest
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	xorl	%eax, %eax
	cmpq	$0, 24(%rdi)
	sete	%al
	movl	(%rdi,%rax,4), %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_TRACE
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.1:
	cmpl	8(%r12), %ebx
	jge	LBB0_4
## %bb.2:
	movq	16(%r12), %rax
	movq	_TTF_TRANSPARENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%rbx,4)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	_HTTRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	12(%r12), %edi
	movq	_WM_NCHITTEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DefWindowProcW                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" nTool=%d\n"

	.comm	_TTF_TRANSPARENT,4,2            ## @TTF_TRANSPARENT
L_.str.1:                               ## @.str.1
	.asciz	"-- in transparent mode\n"

	.comm	_HTTRANSPARENT,4,2              ## @HTTRANSPARENT
	.comm	_WM_NCHITTEST,4,2               ## @WM_NCHITTEST
	.no_dead_strip	_TOOLTIPS_NCHitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_NCHitTest
_TOOLTIPS_NCHitTest:                    ; @TOOLTIPS_NCHitTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	cmp	x8, #0
	cset	w8, eq
	ldr	w22, [x0, w8, uxtw #2]
	str	x22, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	tbnz	w22, #31, LBB0_4
; %bb.1:
	ldr	w8, [x21, #8]
	cmp	w22, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	x8, [x21, #16]
	ldr	w8, [x8, x22, lsl #2]
Lloh2:
	adrp	x9, _TTF_TRANSPARENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TTF_TRANSPARENT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
Lloh7:
	adrp	x8, _HTTRANSPARENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HTTRANSPARENT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
Lloh10:
	adrp	x8, _WM_NCHITTEST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WM_NCHITTEST@GOTPAGEOFF]
	ldr	w0, [x21, #12]
Lloh12:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_DefWindowProcW
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" nTool=%d\n"

	.comm	_TTF_TRANSPARENT,4,2            ; @TTF_TRANSPARENT
l_.str.1:                               ; @.str.1
	.asciz	"-- in transparent mode\n"

	.comm	_HTTRANSPARENT,4,2              ; @HTTRANSPARENT
	.comm	_WM_NCHITTEST,4,2               ; @WM_NCHITTEST
	.no_dead_strip	_TOOLTIPS_NCHitTest
.subsections_via_symbols
