	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_TooltipCreateControl
_TOOLBAR_TooltipCreateControl:          ## @TOOLBAR_TooltipCreateControl
	.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
	movq	%rdi, %r14
	movq	_TOOLTIPS_CLASSW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WS_POPUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CW_USEDEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	24(%rdi), %eax
	xorl	%edi, %edi
	xorl	%edx, %edx
	movl	%r8d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rax
	pushq	%r8
	pushq	%r8
	callq	_CreateWindowExW
	addq	$48, %rsp
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, -32(%rbp)
	movq	_NM_TOOLTIPSCREATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_TOOLBAR_SendNotify
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_TOOLBAR_TooltipAddTool
	movq	8(%r14), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_TOOLBAR_TooltipSetRect
	incq	%r15
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOOLTIPS_CLASSW,4,2            ## @TOOLTIPS_CLASSW
	.comm	_WS_POPUP,4,2                   ## @WS_POPUP
	.comm	_CW_USEDEFAULT,4,2              ## @CW_USEDEFAULT
	.comm	_NM_TOOLTIPSCREATED,4,2         ## @NM_TOOLTIPSCREATED
	.no_dead_strip	_TOOLBAR_TooltipCreateControl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_TooltipCreateControl
_TOOLBAR_TooltipCreateControl:          ; @TOOLBAR_TooltipCreateControl
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _TOOLTIPS_CLASSW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOOLTIPS_CLASSW@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WS_POPUP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WS_POPUP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w3, [x9]
Lloh6:
	adrp	x8, _CW_USEDEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CW_USEDEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	ldr	w8, [x0, #24]
	str	wzr, [sp, #12]
	stur	xzr, [sp, #4]
	str	w8, [sp]
	mov	w0, #0
	mov	x2, #0
	mov	x5, x4
	mov	x6, x4
	mov	x7, x4
	bl	_CreateWindowExW
	str	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.1:
	str	x0, [sp, #24]
Lloh9:
	adrp	x8, _NM_TOOLTIPSCREATED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NM_TOOLTIPSCREATED@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x0, sp, #16
	mov	x1, x19
	bl	_TOOLBAR_SendNotify
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_TOOLBAR_TooltipAddTool
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_TOOLBAR_TooltipSetRect
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TOOLTIPS_CLASSW,4,2            ; @TOOLTIPS_CLASSW
	.comm	_WS_POPUP,4,2                   ; @WS_POPUP
	.comm	_CW_USEDEFAULT,4,2              ; @CW_USEDEFAULT
	.comm	_NM_TOOLTIPSCREATED,4,2         ; @NM_TOOLTIPSCREATED
	.no_dead_strip	_TOOLBAR_TooltipCreateControl
.subsections_via_symbols
