	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_UpdateToolTip
_TRACKBAR_UpdateToolTip:                ## @TRACKBAR_UpdateToolTip
	.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	%r12
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpl	$0, 16(%rdi)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r12
	leaq	-168(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movl	$24, -168(%rbp)
	movl	20(%r12), %eax
	movl	%eax, -152(%rbp)
	movq	_TTF_IDISHWND@GOTPCREL(%rip), %rax
	movq	_TTF_TRACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TTF_ABSOLUTE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -164(%rbp)
	movl	40(%r12), %edx
	leaq	_TRACKBAR_UpdateToolTip.fmt(%rip), %rsi
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	callq	_wsprintfW
	movq	%r15, -160(%rbp)
	movl	16(%r12), %edi
	movq	_TTM_UPDATETIPTEXTW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_SendMessageW
	movl	20(%r12), %edi
	leaq	-144(%rbp), %rsi
	callq	_GetClientRect
	movl	16(%r12), %edi
	movq	_TTM_GETBUBBLESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_SendMessageW
	movl	%eax, %r14d
	movq	_TBS_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%r12), %rax
	testl	%ecx, (%r12)
	je	LBB0_6
## %bb.2:
	movq	_TBTS_LEFT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_LOWORD
	movq	_TOOLTIP_OFFSET@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	negl	%eax
	jmp	LBB0_5
LBB0_6:
	movq	_TBTS_TOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %edi
	callq	_HIWORD
	movq	_TOOLTIP_OFFSET@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	negl	%eax
	jmp	LBB0_9
LBB0_4:
	movq	_TOOLTIP_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	-144(%rbp), %eax
LBB0_5:
	movl	%eax, -136(%rbp)
	movl	28(%r12), %ebx
	addl	24(%r12), %ebx
	movl	%r14d, %edi
	callq	_HIWORD
	subl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	movl	%eax, -132(%rbp)
	jmp	LBB0_10
LBB0_8:
	movq	_TOOLTIP_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	-140(%rbp), %eax
LBB0_9:
	movl	%eax, -132(%rbp)
	movl	36(%r12), %ebx
	addl	32(%r12), %ebx
	movl	%r14d, %edi
	callq	_LOWORD
	subl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	movl	%eax, -136(%rbp)
LBB0_10:
	movl	20(%r12), %edi
	leaq	-136(%rbp), %rsi
	callq	_ClientToScreen
	movl	16(%r12), %r14d
	movq	_TTM_TRACKPOSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-136(%rbp), %edi
	movl	-132(%rbp), %esi
	callq	_MAKELPARAM
	movl	%r14d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_SendMessageW
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_TRACKBAR_UpdateToolTip.fmt:            ## @TRACKBAR_UpdateToolTip.fmt
	.asciz	"%ld"

	.comm	_TTF_IDISHWND,4,2               ## @TTF_IDISHWND
	.comm	_TTF_TRACK,4,2                  ## @TTF_TRACK
	.comm	_TTF_ABSOLUTE,4,2               ## @TTF_ABSOLUTE
	.comm	_TTM_UPDATETIPTEXTW,4,2         ## @TTM_UPDATETIPTEXTW
	.comm	_TTM_GETBUBBLESIZE,4,2          ## @TTM_GETBUBBLESIZE
	.comm	_TBS_VERT,4,2                   ## @TBS_VERT
	.comm	_TBTS_LEFT,8,3                  ## @TBTS_LEFT
	.comm	_TOOLTIP_OFFSET,4,2             ## @TOOLTIP_OFFSET
	.comm	_TBTS_TOP,8,3                   ## @TBTS_TOP
	.comm	_TTM_TRACKPOSITION,4,2          ## @TTM_TRACKPOSITION
	.no_dead_strip	_TRACKBAR_UpdateToolTip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_UpdateToolTip
_TRACKBAR_UpdateToolTip:                ; @TRACKBAR_UpdateToolTip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	w20, #24
	add	x0, sp, #16
	mov	w1, #24
	bl	_ZeroMemory
	ldr	w8, [x19, #20]
	str	w8, [sp, #32]
Lloh3:
	adrp	x8, _TTF_IDISHWND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TTF_IDISHWND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TTF_TRACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TTF_TRACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _TTF_ABSOLUTE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TTF_ABSOLUTE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
	stp	w20, w8, [sp, #16]
	ldr	w2, [x19, #40]
Lloh12:
	adrp	x1, _TRACKBAR_UpdateToolTip.fmt@PAGE
Lloh13:
	add	x1, x1, _TRACKBAR_UpdateToolTip.fmt@PAGEOFF
	add	x20, sp, #40
	add	x0, sp, #40
	bl	_wsprintfW
	str	x20, [sp, #24]
	ldr	w0, [x19, #16]
Lloh14:
	adrp	x8, _TTM_UPDATETIPTEXTW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TTM_UPDATETIPTEXTW@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x3, sp, #16
	mov	w2, #0
	bl	_SendMessageW
	ldr	w0, [x19, #20]
	mov	x1, sp
	bl	_GetClientRect
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _TTM_GETBUBBLESIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TTM_GETBUBBLESIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x3, sp, #16
	mov	w2, #0
	bl	_SendMessageW
	mov	x20, x0
	ldr	w9, [x19]
Lloh20:
	adrp	x8, _TBS_VERT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TBS_VERT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x8]
	ldr	x8, [x19, #8]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh23:
	adrp	x9, _TBTS_LEFT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TBTS_LEFT@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_LOWORD
Lloh26:
	adrp	x8, _TOOLTIP_OFFSET@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TOOLTIP_OFFSET@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	add	w8, w0, w8
	neg	w8, w8
	b	LBB0_7
LBB0_4:
Lloh29:
	adrp	x9, _TBTS_TOP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TBTS_TOP@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_HIWORD
Lloh32:
	adrp	x8, _TOOLTIP_OFFSET@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TOOLTIP_OFFSET@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	add	w8, w0, w8
	neg	w8, w8
	b	LBB0_9
LBB0_6:
	ldr	w8, [sp]
Lloh35:
	adrp	x9, _TOOLTIP_OFFSET@GOTPAGE
Lloh36:
	ldr	x9, [x9, _TOOLTIP_OFFSET@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	add	w8, w9, w8
LBB0_7:
	str	w8, [sp, #8]
	ldp	w8, w9, [x19, #24]
	add	w21, w9, w8
	mov	x0, x20
	bl	_HIWORD
	sub	w8, w21, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [sp, #12]
	b	LBB0_10
LBB0_8:
	ldr	w8, [sp, #4]
Lloh38:
	adrp	x9, _TOOLTIP_OFFSET@GOTPAGE
Lloh39:
	ldr	x9, [x9, _TOOLTIP_OFFSET@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	add	w8, w9, w8
LBB0_9:
	str	w8, [sp, #12]
	ldp	w8, w9, [x19, #32]
	add	w21, w9, w8
	mov	x0, x20
	bl	_LOWORD
	sub	w8, w21, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [sp, #8]
LBB0_10:
	ldr	w0, [x19, #20]
	add	x1, sp, #8
	bl	_ClientToScreen
	ldr	w19, [x19, #16]
Lloh41:
	adrp	x8, _TTM_TRACKPOSITION@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TTM_TRACKPOSITION@GOTPAGEOFF]
Lloh43:
	ldr	w20, [x8]
	ldp	w0, w1, [sp, #8]
	bl	_MAKELPARAM
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_SendMessageW
LBB0_11:
	ldur	x8, [x29, #-40]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_TRACKBAR_UpdateToolTip.fmt:            ; @TRACKBAR_UpdateToolTip.fmt
	.asciz	"%ld"

	.comm	_TTF_IDISHWND,4,2               ; @TTF_IDISHWND
	.comm	_TTF_TRACK,4,2                  ; @TTF_TRACK
	.comm	_TTF_ABSOLUTE,4,2               ; @TTF_ABSOLUTE
	.comm	_TTM_UPDATETIPTEXTW,4,2         ; @TTM_UPDATETIPTEXTW
	.comm	_TTM_GETBUBBLESIZE,4,2          ; @TTM_GETBUBBLESIZE
	.comm	_TBS_VERT,4,2                   ; @TBS_VERT
	.comm	_TBTS_LEFT,8,3                  ; @TBTS_LEFT
	.comm	_TOOLTIP_OFFSET,4,2             ; @TOOLTIP_OFFSET
	.comm	_TBTS_TOP,8,3                   ; @TBTS_TOP
	.comm	_TTM_TRACKPOSITION,4,2          ; @TTM_TRACKPOSITION
	.no_dead_strip	_TRACKBAR_UpdateToolTip
.subsections_via_symbols
