	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLTIPS_GetTextT
_TOOLTIPS_GetTextT:                     ## @TOOLTIPS_GetTextT
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_TTTOOLINFOW_V1_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.2:
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	%rbx, %rsi
	callq	_TOOLTIPS_GetToolFromInfoT
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.3:
	movl	%eax, %r15d
	movq	(%r14), %rax
	movslq	%r15d, %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_7
## %bb.4:
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movb	$0, (%rax)
	movq	8(%rbx), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_TOOLTIPS_GetTipText
	jmp	LBB0_7
LBB0_6:
	movq	%rsp, %r13
	movq	_INFOTIPSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movb	$0, (%r12)
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_TOOLTIPS_GetTipText
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %r8d
	movq	_MAX_TEXT_SIZE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$16, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movq	%r12, %rdx
	movl	$-1, %ecx
	callq	_WideCharToMultiByte
	addq	$16, %rsp
	movq	%r13, %rsp
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TTTOOLINFOW_V1_SIZE,8,3        ## @TTTOOLINFOW_V1_SIZE
	.comm	_INFOTIPSIZE,4,2                ## @INFOTIPSIZE
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_MAX_TEXT_SIZE_A,4,2            ## @MAX_TEXT_SIZE_A
	.no_dead_strip	_TOOLTIPS_GetTextT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLTIPS_GetTextT
_TOOLTIPS_GetTextT:                     ; @TOOLTIPS_GetTextT
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _TTTOOLINFOW_V1_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TTTOOLINFOW_V1_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x2
	mov	x20, x0
	mov	x1, x19
	bl	_TOOLTIPS_GetToolFromInfoT
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.3:
	mov	x1, x0
	ldr	x8, [x20]
	ldr	x8, [x8, w0, sxtw #3]
	cbz	x8, LBB0_7
; %bb.4:
	cbz	x21, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_TOOLTIPS_GetTipText
	b	LBB0_7
LBB0_6:
	mov	x22, sp
Lloh6:
	adrp	x8, _INFOTIPSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INFOTIPSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	strb	wzr, [x21]
	mov	x0, x20
	mov	x2, x21
	bl	_TOOLTIPS_GetTipText
Lloh11:
	adrp	x8, _CP_ACP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CP_ACP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w4, [x19, #8]
Lloh14:
	adrp	x8, _MAX_TEXT_SIZE_A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_TEXT_SIZE_A@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	mov	w1, #0
	mov	x2, x21
	mov	w3, #-1
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	mov	sp, x22
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TTTOOLINFOW_V1_SIZE,8,3        ; @TTTOOLINFOW_V1_SIZE
	.comm	_INFOTIPSIZE,4,2                ; @INFOTIPSIZE
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_MAX_TEXT_SIZE_A,4,2            ; @MAX_TEXT_SIZE_A
	.no_dead_strip	_TOOLTIPS_GetTextT
.subsections_via_symbols
