	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_Create
_TRACKBAR_Create:                       ## @TRACKBAR_Create
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$104, %edi
	callq	_Alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_SetWindowLongPtrW
	movq	%r15, 96(%rbx)
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movq	$0, 88(%rbx)
	movabsq	$4294967396, %rax               ## imm = 0x100000064
	movq	%rax, 4(%rbx)
	movq	_TB_DEFAULTPAGESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movq	$0, 72(%rbx)
	movq	_TBTS_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$1, 12(%rbx)
	movups	%xmm0, 32(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_TRACKBAR_InitializeThumb
	movq	_TBS_TOOLTIPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.3:
	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
	xorl	%edi, %edi
	xorl	%edx, %edx
	movl	%r8d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%r15
	pushq	%r8
	pushq	%r8
	callq	_CreateWindowExW
	addq	$48, %rsp
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$0, -36(%rbp)
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	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	$24, -64(%rbp)
	movl	%ecx, -60(%rbp)
	movq	%r15, -48(%rbp)
	leaq	-36(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	16(%rbx), %rdi
	movq	_TTM_ADDTOOLW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	callq	_SendMessageW
LBB0_5:
	movq	_themeClass@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OpenThemeData
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TB_DEFAULTPAGESIZE,4,2         ## @TB_DEFAULTPAGESIZE
	.comm	_TBTS_TOP,4,2                   ## @TBTS_TOP
	.comm	_TBS_TOOLTIPS,4,2               ## @TBS_TOOLTIPS
	.comm	_TOOLTIPS_CLASSW,4,2            ## @TOOLTIPS_CLASSW
	.comm	_WS_POPUP,4,2                   ## @WS_POPUP
	.comm	_CW_USEDEFAULT,4,2              ## @CW_USEDEFAULT
	.comm	_TTF_IDISHWND,4,2               ## @TTF_IDISHWND
	.comm	_TTF_TRACK,4,2                  ## @TTF_TRACK
	.comm	_TTF_ABSOLUTE,4,2               ## @TTF_ABSOLUTE
	.comm	_TTM_ADDTOOLW,4,2               ## @TTM_ADDTOOLW
	.comm	_themeClass,4,2                 ## @themeClass
	.no_dead_strip	_TRACKBAR_Create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function TRACKBAR_Create
lCPI0_0:
	.long	100                             ; 0x64
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_TRACKBAR_Create:                       ; @TRACKBAR_Create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	mov	w0, #104
	bl	_Alloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_SetWindowLongPtrW
	str	x19, [x20, #96]
	ldr	w8, [x21]
	str	w8, [x20]
	str	xzr, [x20, #88]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #4]
Lloh2:
	adrp	x8, _TB_DEFAULTPAGESIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TB_DEFAULTPAGESIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	stp	xzr, xzr, [x20, #64]
	str	xzr, [x20, #56]
Lloh5:
	adrp	x8, _TBTS_TOP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TBTS_TOP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	mov	w8, #1
	str	w8, [x20, #12]
	stp	xzr, xzr, [x20, #32]
	ldr	w8, [x21, #4]
	str	w8, [x20, #24]
	mov	x0, x20
	bl	_TRACKBAR_InitializeThumb
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _TBS_TOOLTIPS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TBS_TOOLTIPS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh11:
	adrp	x8, _TOOLTIPS_CLASSW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TOOLTIPS_CLASSW@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _WS_POPUP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WS_POPUP@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x8, _CW_USEDEFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CW_USEDEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	str	wzr, [sp, #16]
	stp	x19, xzr, [sp]
	mov	w0, #0
	mov	x2, #0
	mov	x5, x4
	mov	x6, x4
	mov	x7, x4
	bl	_CreateWindowExW
	str	x0, [x20, #16]
	cbz	x0, LBB0_4
; %bb.3:
	str	wzr, [sp, #20]
	mov	w21, #24
	add	x0, sp, #24
	mov	w1, #24
	bl	_ZeroMemory
Lloh20:
	adrp	x8, _TTF_IDISHWND@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TTF_IDISHWND@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _TTF_TRACK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TTF_TRACK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _TTF_ABSOLUTE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _TTF_ABSOLUTE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh28:
	ldr	w9, [x10]
	orr	w8, w8, w9
	stp	w21, w8, [sp, #24]
	add	x8, sp, #20
	stp	x8, x19, [sp, #32]
	ldr	x0, [x20, #16]
Lloh29:
	adrp	x8, _TTM_ADDTOOLW@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TTM_ADDTOOLW@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	add	x3, sp, #24
	mov	w2, #0
	bl	_SendMessageW
LBB0_4:
Lloh32:
	adrp	x8, _themeClass@GOTPAGE
Lloh33:
	ldr	x8, [x8, _themeClass@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_OpenThemeData
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_TB_DEFAULTPAGESIZE,4,2         ; @TB_DEFAULTPAGESIZE
	.comm	_TBTS_TOP,4,2                   ; @TBTS_TOP
	.comm	_TBS_TOOLTIPS,4,2               ; @TBS_TOOLTIPS
	.comm	_TOOLTIPS_CLASSW,4,2            ; @TOOLTIPS_CLASSW
	.comm	_WS_POPUP,4,2                   ; @WS_POPUP
	.comm	_CW_USEDEFAULT,4,2              ; @CW_USEDEFAULT
	.comm	_TTF_IDISHWND,4,2               ; @TTF_IDISHWND
	.comm	_TTF_TRACK,4,2                  ; @TTF_TRACK
	.comm	_TTF_ABSOLUTE,4,2               ; @TTF_ABSOLUTE
	.comm	_TTM_ADDTOOLW,4,2               ; @TTM_ADDTOOLW
	.comm	_themeClass,4,2                 ; @themeClass
	.no_dead_strip	_TRACKBAR_Create
.subsections_via_symbols
