	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_TooltipAddTool
_TOOLBAR_TooltipAddTool:                ## @TOOLBAR_TooltipAddTool
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	_BTNS_SEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	jne	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -48(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	movq	_LPSTR_TEXTCALLBACKW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	(%rbx), %rdi
	movq	_TTM_ADDTOOLW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_SendMessageW
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTNS_SEP,4,2                   ## @BTNS_SEP
	.comm	_LPSTR_TEXTCALLBACKW,4,2        ## @LPSTR_TEXTCALLBACKW
	.comm	_TTM_ADDTOOLW,4,2               ## @TTM_ADDTOOLW
	.no_dead_strip	_TOOLBAR_TooltipAddTool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_TooltipAddTool
_TOOLBAR_TooltipAddTool:                ; @TOOLBAR_TooltipAddTool
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _BTNS_SEP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTNS_SEP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x19, x0
	mov	w21, #24
	add	x0, sp, #8
	mov	w1, #24
	bl	_ZeroMemory
	ldr	w8, [x19, #8]
	ldr	w9, [x20, #4]
	stp	w9, w8, [sp, #24]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x8, _LPSTR_TEXTCALLBACKW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPSTR_TEXTCALLBACKW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #8]
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _TTM_ADDTOOLW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TTM_ADDTOOLW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_SendMessageW
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BTNS_SEP,4,2                   ; @BTNS_SEP
	.comm	_LPSTR_TEXTCALLBACKW,4,2        ; @LPSTR_TEXTCALLBACKW
	.comm	_TTM_ADDTOOLW,4,2               ; @TTM_ADDTOOLW
	.no_dead_strip	_TOOLBAR_TooltipAddTool
.subsections_via_symbols
