	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_SetSel
_TRACKBAR_SetSel:                       ## @TRACKBAR_SetSel
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_TBS_ENABLESELRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%edx, %r15d
	movq	%rsi, %r14
	movl	%edx, %edi
	callq	_LOWORD
	movq	%rax, 8(%rbx)
	movl	%r15d, %edi
	callq	_HIWORD
	movq	%rax, 16(%rbx)
	movq	_TB_SELECTIONCHANGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%rbx)
	movq	24(%rbx), %rcx
	cmpq	%rcx, 8(%rbx)
	jge	LBB0_4
## %bb.3:
	movq	%rcx, 8(%rbx)
LBB0_4:
	movq	32(%rbx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_6
## %bb.5:
	movq	%rcx, 16(%rbx)
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_TRACKBAR_InvalidateAll
	jmp	LBB0_8
LBB0_1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBS_ENABLESELRANGE,4,2         ## @TBS_ENABLESELRANGE
	.comm	_TB_SELECTIONCHANGED,4,2        ## @TB_SELECTIONCHANGED
	.no_dead_strip	_TRACKBAR_SetSel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_SetSel
_TRACKBAR_SetSel:                       ; @TRACKBAR_SetSel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TBS_ENABLESELRANGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TBS_ENABLESELRANGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x0, x2
	bl	_LOWORD
	str	x0, [x19, #8]
	mov	x0, x21
	bl	_HIWORD
	str	x0, [x19, #16]
Lloh3:
	adrp	x8, _TB_SELECTIONCHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TB_SELECTIONCHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
	ldr	x9, [x19, #8]
	ldr	x8, [x19, #24]
	cmp	x9, x8
	b.ge	LBB0_3
; %bb.2:
	str	x8, [x19, #8]
LBB0_3:
	ldr	x8, [x19, #32]
	cmp	x0, x8
	b.le	LBB0_5
; %bb.4:
	str	x8, [x19, #16]
LBB0_5:
	cbz	x20, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_TRACKBAR_InvalidateAll
	b	LBB0_8
LBB0_7:
	stp	xzr, xzr, [x19, #8]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TBS_ENABLESELRANGE,4,2         ; @TBS_ENABLESELRANGE
	.comm	_TB_SELECTIONCHANGED,4,2        ; @TB_SELECTIONCHANGED
	.no_dead_strip	_TRACKBAR_SetSel
.subsections_via_symbols
