	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_GetTitleIconIndex
_TOOLTIPS_GetTitleIconIndex:            ## @TOOLTIPS_GetTitleIconIndex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TTI_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_hTooltipIcons@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rdx,%rax,8)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	cmpq	%rcx, %rax
	jbe	LBB0_1
## %bb.3:
	movq	%rdi, %rax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTI_ERROR,8,3                  ## @TTI_ERROR
	.comm	_hTooltipIcons,8,3              ## @hTooltipIcons
	.no_dead_strip	_TOOLTIPS_GetTitleIconIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_GetTitleIconIndex
_TOOLTIPS_GetTitleIconIndex:            ; @TOOLTIPS_GetTitleIconIndex
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
Lloh0:
	adrp	x9, _TTI_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TTI_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _hTooltipIcons@GOTPAGE
Lloh4:
	ldr	x10, [x10, _hTooltipIcons@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x0, lsl #3]
	cmp	x11, x8
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, #1
	cmp	x0, x9
	b.ls	LBB0_1
; %bb.3:
	mov	x0, x8
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTI_ERROR,8,3                  ; @TTI_ERROR
	.comm	_hTooltipIcons,8,3              ; @hTooltipIcons
	.no_dead_strip	_TOOLTIPS_GetTitleIconIndex
.subsections_via_symbols
