	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_InternalHitTest
_TOOLBAR_InternalHitTest:               ## @TOOLBAR_InternalHitTest
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
LBB0_2:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.3:
	movq	8(%r12), %rbx
	addq	$8, %rbx
	xorl	%r13d, %r13d
	movq	_TBSTATE_HIDDEN@GOTPCREL(%rip), %r14
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	addq	$12, %rbx
	cmpl	(%r12), %r13d
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	testl	%eax, -8(%rbx)
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_BTNS_SEP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	-4(%rbx), %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PtInRect
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	negl	%r13d
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	_TOOLBAR_NOWHERE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TBSTATE_HIDDEN,4,2             ## @TBSTATE_HIDDEN
	.comm	_BTNS_SEP,4,2                   ## @BTNS_SEP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ON SEPARATOR %d\n"

L_.str.1:                               ## @.str.1
	.asciz	" ON BUTTON %d\n"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	" NOWHERE\n"

	.comm	_TOOLBAR_NOWHERE,4,2            ## @TOOLBAR_NOWHERE
	.no_dead_strip	_TOOLBAR_InternalHitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_InternalHitTest
_TOOLBAR_InternalHitTest:               ; @TOOLBAR_InternalHitTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_2:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w19, #0
	ldr	x8, [x22, #8]
	add	x23, x8, #8
Lloh3:
	adrp	x24, _TBSTATE_HIDDEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TBSTATE_HIDDEN@GOTPAGEOFF]
Lloh5:
	adrp	x25, _BTNS_SEP@GOTPAGE
Lloh6:
	ldr	x25, [x25, _BTNS_SEP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x0, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w19, w19, #1
	ldr	w8, [x22]
	add	x23, x23, #12
	cmp	w19, w8
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x23, #-8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x23, #-4]
	ldr	w9, [x25]
	and	w26, w9, w8
	ldr	w1, [x21]
	mov	x0, x23
	bl	_PtInRect
	cbz	w26, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x0, LBB0_5
; %bb.9:
	mov	x8, x19
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	neg	w19, w19
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
Lloh11:
	adrp	x8, _TOOLBAR_NOWHERE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TOOLBAR_NOWHERE@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
LBB0_11:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	str	x19, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	cbz	x20, LBB0_11
; %bb.13:
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TBSTATE_HIDDEN,4,2             ; @TBSTATE_HIDDEN
	.comm	_BTNS_SEP,4,2                   ; @BTNS_SEP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ON SEPARATOR %d\n"

l_.str.1:                               ; @.str.1
	.asciz	" ON BUTTON %d\n"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	" NOWHERE\n"

	.comm	_TOOLBAR_NOWHERE,4,2            ; @TOOLBAR_NOWHERE
	.no_dead_strip	_TOOLBAR_InternalHitTest
.subsections_via_symbols
