	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_SetRangeMin
_TRACKBAR_SetRangeMin:                  ## @TRACKBAR_SetRangeMin
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rcx
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	%rdx, (%rdi)
	cmpq	%rdx, %rax
	jge	LBB0_2
## %bb.1:
	movq	%rcx, 8(%rbx)
	movq	_TB_THUMBPOSCHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%rbx)
LBB0_2:
	movslq	20(%rbx), %rax
	subq	%rcx, %rax
	movabsq	$7378697629483820647, %rdx      ## imm = 0x6666666666666667
	imulq	%rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	%rdx
	addl	%eax, %edx
	movl	$1, %eax
	cmovnel	%edx, %eax
	movl	%eax, 16(%rbx)
	cmpq	%rcx, %rsi
	je	LBB0_5
## %bb.3:
	movq	_TBS_AUTOTICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_TRACKBAR_RecalculateTics
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_TRACKBAR_InvalidateAll
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TB_THUMBPOSCHANGED,4,2         ## @TB_THUMBPOSCHANGED
	.comm	_TBS_AUTOTICKS,4,2              ## @TBS_AUTOTICKS
	.no_dead_strip	_TRACKBAR_SetRangeMin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_SetRangeMin
_TRACKBAR_SetRangeMin:                  ; @TRACKBAR_SetRangeMin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
	str	x2, [x0]
	cmp	x9, x2
	b.ge	LBB0_2
; %bb.1:
	str	x2, [x19, #8]
Lloh0:
	adrp	x9, _TB_THUMBPOSCHANGED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TB_THUMBPOSCHANGED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x19, #28]
	orr	w9, w10, w9
	str	w9, [x19, #28]
LBB0_2:
	ldrsw	x9, [x19, #20]
	sub	x9, x9, x2
	mov	x10, #7378697629483820646
	movk	x10, #26215
	smulh	x9, x9, x10
	lsr	x10, x9, #63
	lsr	x9, x9, #1
	adds	w9, w9, w10
	csinc	w9, w9, wzr, ne
	str	w9, [x19, #16]
	cmp	x8, x2
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x19, #24]
Lloh3:
	adrp	x9, _TBS_AUTOTICKS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TBS_AUTOTICKS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_TRACKBAR_RecalculateTics
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_TRACKBAR_InvalidateAll
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TB_THUMBPOSCHANGED,4,2         ; @TB_THUMBPOSCHANGED
	.comm	_TBS_AUTOTICKS,4,2              ; @TBS_AUTOTICKS
	.no_dead_strip	_TRACKBAR_SetRangeMin
.subsections_via_symbols
