	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TRACKBAR_RecalculateTics
_TRACKBAR_RecalculateTics:              ## @TRACKBAR_RecalculateTics
	.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	%rdi, %rbx
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.1:
	movl	4(%rbx), %eax
	subl	8(%rbx), %eax
	jae	LBB0_2
LBB0_16:
	movq	16(%rbx), %rdi
	callq	_Free
	movq	$0, 16(%rbx)
	movl	$0, 24(%rbx)
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%r14d, %r14d
	cmpl	%eax, %ecx
	ja	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
	cmpl	$1, %edx
	sbbl	$0, %r14d
LBB0_4:
	cmpl	24(%rbx), %r14d
	je	LBB0_7
## %bb.5:
	movq	16(%rbx), %rdi
	leal	4(,%r14,4), %esi
	callq	_ReAlloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movl	%r14d, 24(%rbx)
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.8:
	movl	(%rbx), %eax
	addl	8(%rbx), %eax
	movq	16(%rbx), %rdx
	movl	%r14d, %esi
	leaq	-1(%rsi), %rdi
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	jae	LBB0_10
## %bb.9:
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_10:
	andl	$-4, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rdi,4)
	addl	(%rbx), %eax
	movl	%eax, 4(%rdx,%rdi,4)
	addl	(%rbx), %eax
	movl	%eax, 8(%rdx,%rdi,4)
	addl	(%rbx), %eax
	movl	%eax, 12(%rdx,%rdi,4)
	addq	$4, %rdi
	addl	(%rbx), %eax
	cmpq	%rdi, %rsi
	jne	LBB0_11
LBB0_12:
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:
	leaq	(%rdx,%rdi,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rsi,4)
	addl	(%rbx), %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_14
	jmp	LBB0_15
LBB0_17:
	movl	$0, 24(%rbx)
	movq	_NM_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_notify                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NM_OUTOFMEMORY,4,2             ## @NM_OUTOFMEMORY
	.no_dead_strip	_TRACKBAR_RecalculateTics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TRACKBAR_RecalculateTics
_TRACKBAR_RecalculateTics:              ; @TRACKBAR_RecalculateTics
	.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	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	w9, w10, [x19, #4]
	subs	w9, w9, w10
	b.hs	LBB0_4
LBB0_2:
	ldr	x0, [x19, #16]
	bl	_Free
	str	xzr, [x19, #16]
	str	wzr, [x19, #24]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w8, w9
	b.ls	LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	udiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cmp	w8, #0
	cset	w8, eq
	sub	w20, w10, w8
LBB0_7:
	ldr	w8, [x19, #24]
	cmp	w20, w8
	b.eq	LBB0_10
; %bb.8:
	ldr	x0, [x19, #16]
	lsl	w8, w20, #2
	add	w1, w8, #4
	bl	_ReAlloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_13
; %bb.9:
	str	w20, [x19, #24]
LBB0_10:
	cbz	w20, LBB0_3
; %bb.11:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	add	w8, w8, w9
	ldr	x9, [x19, #16]
	mov	w10, w20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x9], #4
	ldr	w11, [x19]
	add	w8, w11, w8
	subs	x10, x10, #1
	b.ne	LBB0_12
	b	LBB0_3
LBB0_13:
	str	wzr, [x19, #24]
Lloh0:
	adrp	x8, _NM_OUTOFMEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NM_OUTOFMEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NM_OUTOFMEMORY,4,2             ; @NM_OUTOFMEMORY
	.no_dead_strip	_TRACKBAR_RecalculateTics
.subsections_via_symbols
