	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_GetToolFromInfoT
_TOOLTIPS_GetToolFromInfoT:             ## @TOOLTIPS_GetToolFromInfoT
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r10
	movq	$-1, %rax
	testq	%r10, %r10
	je	LBB0_12
## %bb.1:
	movq	8(%rdi), %rdx
	movq	_TTF_IDISHWND@GOTPCREL(%rip), %r8
	movl	(%r8), %r9d
	addq	$16, %rdx
	xorl	%r11d, %r11d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r11
	addq	$24, %rdx
	cmpq	%r11, %r10
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r9d, -16(%rdx)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %rcx
	cmpq	-8(%rdx), %rcx
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsi), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.6:
	movq	%r11, %rax
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rdi), %rcx
	movl	(%r8), %r8d
	addq	$16, %rcx
	xorl	%edi, %edi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdi
	addq	$24, %rcx
	cmpq	%rdi, %r10
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r8d, -16(%rcx)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rsi), %rdx
	cmpq	(%rcx), %rdx
	jne	LBB0_8
## %bb.11:
	movq	%rdi, %rax
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTF_IDISHWND,4,2               ## @TTF_IDISHWND
	.no_dead_strip	_TOOLTIPS_GetToolFromInfoT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_GetToolFromInfoT
_TOOLTIPS_GetToolFromInfoT:             ; @TOOLTIPS_GetToolFromInfoT
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_11
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x12, [x8, #8]
Lloh0:
	adrp	x10, _TTF_IDISHWND@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TTF_IDISHWND@GOTPAGEOFF]
	ldr	w11, [x10]
	add	x12, x12, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x12, x12, #24
	cmp	x9, x0
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x12, #-8]
	tst	w11, w13
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x1]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x1, #8]
	ldr	x14, [x12, #8]
	cmp	x13, x14
	b.ne	LBB0_2
LBB0_6:
	ret
LBB0_7:
	mov	x0, #0
	ldr	x11, [x8, #8]
	ldr	w8, [x10]
	add	x10, x11, #16
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x0, #1
	add	x10, x10, #24
	cmp	x9, x0
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-16]
	tst	w8, w11
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x11, [x1, #8]
	ldr	x12, [x10]
	cmp	x11, x12
	b.ne	LBB0_8
	b	LBB0_6
LBB0_11:
	mov	x0, #-1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TTF_IDISHWND,4,2               ; @TTF_IDISHWND
	.no_dead_strip	_TOOLTIPS_GetToolFromInfoT
.subsections_via_symbols
