	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_SetSelEnd
_TRACKBAR_SetSelEnd:                    ## @TRACKBAR_SetSelEnd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TBS_ENABLESELRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdx, 8(%rdi)
	movq	_TB_SELECTIONCHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rdi)
	movq	16(%rdi), %rax
	cmpq	%rdx, %rax
	jge	LBB0_4
## %bb.3:
	movq	%rax, 8(%rdi)
LBB0_4:
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	callq	_TRACKBAR_InvalidateAll
	jmp	LBB0_6
LBB0_1:
	movq	$0, 8(%rdi)
LBB0_6:
	xorl	%eax, %eax
	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_SetSelEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_SetSelEnd
_TRACKBAR_SetSelEnd:                    ; @TRACKBAR_SetSelEnd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	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_5
; %bb.1:
	str	x2, [x0, #8]
Lloh3:
	adrp	x8, _TB_SELECTIONCHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TB_SELECTIONCHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
	ldr	x8, [x0, #16]
	cmp	x8, x2
	b.ge	LBB0_3
; %bb.2:
	str	x8, [x0, #8]
LBB0_3:
	cbz	x1, LBB0_6
; %bb.4:
	bl	_TRACKBAR_InvalidateAll
	b	LBB0_6
LBB0_5:
	str	xzr, [x0, #8]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 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_SetSelEnd
.subsections_via_symbols
