	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_DrawTics
_TRACKBAR_DrawTics:                     ## @TRACKBAR_DrawTics
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	movq	_PS_SOLID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	$1, -68(%rbp)
	movq	_COLOR_3DDKSHADOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColor
	movl	%eax, -64(%rbp)
	movq	$0, -60(%rbp)
	movl	32(%rbx), %edi
	callq	_GetWindowTheme
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_TBS_VERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	jne	LBB0_2
## %bb.3:
	movq	_TKP_TICS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_TKP_TICSVERT@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %esi
	movq	_TSS_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_TMT_COLOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-72(%rbp), %r8
	movq	%rax, %rdi
	callq	_GetThemeColor
LBB0_5:
	leaq	-72(%rbp), %rdi
	callq	_CreatePenIndirect
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_SelectObject
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	andl	$15, %r15d
	cmpl	$0, 4(%rbx)
	je	LBB0_11
## %bb.9:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	movl	(%rax,%r13,4), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %ecx
	callq	_TRACKBAR_DrawTic
	incq	%r13
	movl	4(%rbx), %eax
	cmpq	%rax, %r13
	jb	LBB0_10
LBB0_11:
	movl	20(%rbx), %edx
	movq	_TIC_EDGE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	%r15d, %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TRACKBAR_DrawTic
	movl	16(%rbx), %edx
	movl	(%r13), %ecx
	orl	%r15d, %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TRACKBAR_DrawTic
	movq	_TBS_ENABLESELRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	callq	_TRACKBAR_HasSelection
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	12(%rbx), %edx
	movq	_TIC_SELECTIONMARKMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%r15d, %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TRACKBAR_DrawTic
	movl	8(%rbx), %edx
	movq	_TIC_SELECTIONMARKMAX@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %ecx
	callq	_TRACKBAR_DrawTic
LBB0_14:
	testq	%r12, %r12
	je	LBB0_16
## %bb.15:
	movl	%r14d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_SelectObject
	movq	%r12, %rdi
	callq	_DeleteObject
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PS_SOLID,4,2                   ## @PS_SOLID
	.comm	_COLOR_3DDKSHADOW,4,2           ## @COLOR_3DDKSHADOW
	.comm	_TBS_VERT,4,2                   ## @TBS_VERT
	.comm	_TKP_TICSVERT,4,2               ## @TKP_TICSVERT
	.comm	_TKP_TICS,4,2                   ## @TKP_TICS
	.comm	_TSS_NORMAL,4,2                 ## @TSS_NORMAL
	.comm	_TMT_COLOR,4,2                  ## @TMT_COLOR
	.comm	_TIC_EDGE,4,2                   ## @TIC_EDGE
	.comm	_TBS_ENABLESELRANGE,4,2         ## @TBS_ENABLESELRANGE
	.comm	_TIC_SELECTIONMARKMIN,4,2       ## @TIC_SELECTIONMARKMIN
	.comm	_TIC_SELECTIONMARKMAX,4,2       ## @TIC_SELECTIONMARKMAX
	.no_dead_strip	_TRACKBAR_DrawTics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_DrawTics
_TRACKBAR_DrawTics:                     ; @TRACKBAR_DrawTics
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w23, [x0]
Lloh0:
	adrp	x8, _PS_SOLID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS_SOLID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w8, w9, [sp, #8]
Lloh3:
	adrp	x8, _COLOR_3DDKSHADOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COLOR_3DDKSHADOW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_GetSysColor
	stp	wzr, wzr, [sp, #20]
	str	w0, [sp, #16]
	ldr	w0, [x20, #32]
	bl	_GetWindowTheme
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _TBS_VERT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TBS_VERT@GOTPAGEOFF]
Lloh8:
	adrp	x10, _TKP_TICSVERT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TKP_TICSVERT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x11, _TKP_TICS@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TKP_TICS@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _TSS_NORMAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TSS_NORMAL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _TMT_COLOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TMT_COLOR@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x4, sp, #8
	bl	_GetThemeColor
LBB0_2:
	add	x0, sp, #8
	bl	_CreatePenIndirect
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_SelectObject
	mov	x22, x0
	b	LBB0_5
LBB0_4:
	mov	x22, #0
LBB0_5:
	and	w23, w23, #0xf
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_8
; %bb.6:
	mov	x24, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	w2, [x8, x24, lsl #2]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_TRACKBAR_DrawTic
	add	x24, x24, #1
	ldr	w8, [x20, #4]
	cmp	x24, x8
	b.lo	LBB0_7
LBB0_8:
	ldr	w2, [x20, #20]
Lloh19:
	adrp	x24, _TIC_EDGE@GOTPAGE
Lloh20:
	ldr	x24, [x24, _TIC_EDGE@GOTPAGEOFF]
	ldr	w8, [x24]
	orr	w3, w8, w23
	mov	x0, x20
	mov	x1, x19
	bl	_TRACKBAR_DrawTic
	ldr	w2, [x20, #16]
	ldr	w8, [x24]
	orr	w3, w8, w23
	mov	x0, x20
	mov	x1, x19
	bl	_TRACKBAR_DrawTic
	ldr	w8, [x20]
Lloh21:
	adrp	x9, _TBS_ENABLESELRANGE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TBS_ENABLESELRANGE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_TRACKBAR_HasSelection
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w2, [x20, #12]
Lloh24:
	adrp	x8, _TIC_SELECTIONMARKMIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TIC_SELECTIONMARKMIN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w3, w8, w23
	mov	x0, x20
	mov	x1, x19
	bl	_TRACKBAR_DrawTic
	ldr	w2, [x20, #8]
Lloh27:
	adrp	x8, _TIC_SELECTIONMARKMAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TIC_SELECTIONMARKMAX@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w3, w8, w23
	mov	x0, x20
	mov	x1, x19
	bl	_TRACKBAR_DrawTic
LBB0_11:
	cbz	x21, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x22
	bl	_SelectObject
	mov	x0, x21
	bl	_DeleteObject
LBB0_13:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PS_SOLID,4,2                   ; @PS_SOLID
	.comm	_COLOR_3DDKSHADOW,4,2           ; @COLOR_3DDKSHADOW
	.comm	_TBS_VERT,4,2                   ; @TBS_VERT
	.comm	_TKP_TICSVERT,4,2               ; @TKP_TICSVERT
	.comm	_TKP_TICS,4,2                   ; @TKP_TICS
	.comm	_TSS_NORMAL,4,2                 ; @TSS_NORMAL
	.comm	_TMT_COLOR,4,2                  ; @TMT_COLOR
	.comm	_TIC_EDGE,4,2                   ; @TIC_EDGE
	.comm	_TBS_ENABLESELRANGE,4,2         ; @TBS_ENABLESELRANGE
	.comm	_TIC_SELECTIONMARKMIN,4,2       ; @TIC_SELECTIONMARKMIN
	.comm	_TIC_SELECTIONMARKMAX,4,2       ; @TIC_SELECTIONMARKMAX
	.no_dead_strip	_TRACKBAR_DrawTics
.subsections_via_symbols
