	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TAB_InternalHitTest
_TAB_InternalHitTest:                   ## @TAB_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	$-1, %rbx
	movq	_TCHT_NOWHERE@GOTPCREL(%rip), %r15
	cmpq	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	-52(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_TAB_InternalGetItemRect
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_PtInRect
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r13), %rbx
	jl	LBB0_2
## %bb.5:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	$-1, %rbx
	jmp	LBB0_6
LBB0_3:
	movq	_TCHT_ONITEM@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_6:
	movl	(%r15), %eax
	movl	%eax, (%rdx)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCHT_ONITEM,4,2                ## @TCHT_ONITEM
	.comm	_TCHT_NOWHERE,4,2               ## @TCHT_NOWHERE
	.no_dead_strip	_TAB_InternalHitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TAB_InternalHitTest
_TAB_InternalHitTest:                   ; @TAB_InternalHitTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	mov	x20, #0
Lloh0:
	adrp	x23, _TCHT_ONITEM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TCHT_ONITEM@GOTPAGEOFF]
Lloh2:
	adrp	x24, _TCHT_NOWHERE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TCHT_NOWHERE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x20
	mov	x3, #0
	bl	_TAB_InternalGetItemRect
	add	x0, sp, #12
	mov	x1, x21
	bl	_PtInRect
	cbnz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_2
; %bb.4:
	mov	x20, #-1
	mov	x23, x24
	b	LBB0_6
LBB0_5:
	mov	x20, #-1
Lloh4:
	adrp	x23, _TCHT_NOWHERE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TCHT_NOWHERE@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x23]
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TCHT_ONITEM,4,2                ; @TCHT_ONITEM
	.comm	_TCHT_NOWHERE,4,2               ; @TCHT_NOWHERE
	.no_dead_strip	_TAB_InternalHitTest
.subsections_via_symbols
