	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_DrawChannel
_TRACKBAR_DrawChannel:                  ## @TRACKBAR_DrawChannel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	12(%rdi), %eax
	movl	%eax, -20(%rbp)
	movl	8(%rdi), %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_TRACK@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_EDGE_SUNKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	movq	_BF_ADJUST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	callq	_DrawEdge
	movq	_TBS_ENABLESELRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.6:
	movq	_WHITE_BRUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetStockObject
	leaq	-20(%rbp), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_FillRect
	movq	%rbx, %rdi
	callq	_TRACKBAR_HasSelection
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	$4, %rbx
	movq	_COLOR_HIGHLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColorBrush
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_FillRect
	jmp	LBB0_8
LBB0_2:
	movq	_TKP_TRACKVERT@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %edx
	movq	_TKS_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-20(%rbp), %r8
	movq	%rax, %rdi
	movl	%r14d, %esi
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBS_VERT,4,2                   ## @TBS_VERT
	.comm	_TKP_TRACKVERT,4,2              ## @TKP_TRACKVERT
	.comm	_TKP_TRACK,4,2                  ## @TKP_TRACK
	.comm	_TKS_NORMAL,4,2                 ## @TKS_NORMAL
	.comm	_EDGE_SUNKEN,4,2                ## @EDGE_SUNKEN
	.comm	_BF_RECT,4,2                    ## @BF_RECT
	.comm	_BF_ADJUST,4,2                  ## @BF_ADJUST
	.comm	_TBS_ENABLESELRANGE,4,2         ## @TBS_ENABLESELRANGE
	.comm	_WHITE_BRUSH,4,2                ## @WHITE_BRUSH
	.comm	_COLOR_HIGHLIGHT,4,2            ## @COLOR_HIGHLIGHT
	.no_dead_strip	_TRACKBAR_DrawChannel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_DrawChannel
_TRACKBAR_DrawChannel:                  ; @TRACKBAR_DrawChannel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldp	w0, w8, [x0, #8]
	str	w8, [sp, #12]
	bl	_GetWindowTheme
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TBS_VERT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TBS_VERT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _TKP_TRACKVERT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TKP_TRACKVERT@GOTPAGEOFF]
Lloh5:
	adrp	x11, _TKP_TRACK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TKP_TRACK@GOTPAGEOFF]
	tst	w8, w9
	csel	x8, x11, x10, eq
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _TKS_NORMAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TKS_NORMAL@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x1, x19
	mov	w5, #0
	bl	_DrawThemeBackground
	b	LBB0_5
LBB0_2:
Lloh10:
	adrp	x8, _EDGE_SUNKEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EDGE_SUNKEN@GOTPAGEOFF]
Lloh12:
	adrp	x9, _BF_RECT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BF_RECT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	ldr	w8, [x9]
Lloh16:
	adrp	x9, _BF_ADJUST@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BF_ADJUST@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x1, sp, #12
	mov	x0, x19
	bl	_DrawEdge
	ldr	w8, [x20]
Lloh19:
	adrp	x9, _TBS_ENABLESELRANGE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TBS_ENABLESELRANGE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh22:
	adrp	x8, _WHITE_BRUSH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WHITE_BRUSH@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_GetStockObject
	mov	x2, x0
	add	x1, sp, #12
	mov	x0, x19
	bl	_FillRect
	mov	x0, x20
	bl	_TRACKBAR_HasSelection
	cbz	x0, LBB0_5
; %bb.4:
	add	x20, x20, #4
Lloh25:
	adrp	x8, _COLOR_HIGHLIGHT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _COLOR_HIGHLIGHT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_GetSysColorBrush
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_FillRect
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TBS_VERT,4,2                   ; @TBS_VERT
	.comm	_TKP_TRACKVERT,4,2              ; @TKP_TRACKVERT
	.comm	_TKP_TRACK,4,2                  ; @TKP_TRACK
	.comm	_TKS_NORMAL,4,2                 ; @TKS_NORMAL
	.comm	_EDGE_SUNKEN,4,2                ; @EDGE_SUNKEN
	.comm	_BF_RECT,4,2                    ; @BF_RECT
	.comm	_BF_ADJUST,4,2                  ; @BF_ADJUST
	.comm	_TBS_ENABLESELRANGE,4,2         ; @TBS_ENABLESELRANGE
	.comm	_WHITE_BRUSH,4,2                ; @WHITE_BRUSH
	.comm	_COLOR_HIGHLIGHT,4,2            ; @COLOR_HIGHLIGHT
	.no_dead_strip	_TRACKBAR_DrawChannel
.subsections_via_symbols
