	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_ticker_smooth   ## -- Begin function menu_animation_ticker_smooth
	.p2align	4, 0x90
_menu_animation_ticker_smooth:          ## @menu_animation_ticker_smooth
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	56(%r12), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	cmpl	$0, 8(%r12)
	jle	LBB0_3
## %bb.2:
	movq	24(%r12), %rcx
	movb	$0, (%rcx)
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$0, 8(%r12)
	jle	LBB0_1
## %bb.5:
	cmpl	$0, 12(%r12)
	jle	LBB0_1
## %bb.6:
	cmpl	$0, 72(%r12)
	je	LBB0_23
## %bb.7:
	movq	(%r12), %rdi
	callq	_utf8len
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	68(%r12), %ecx
	movl	72(%r12), %edi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_font_driver_get_message_width
	testl	%eax, %eax
	js	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	addl	%eax, %r14d
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_utf8skip
	movq	%rax, %r13
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_10
## %bb.12:
	cmpl	12(%r12), %r14d
	jbe	LBB0_27
## %bb.13:
	cmpl	$0, 76(%r12)
	je	LBB0_30
## %bb.14:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_16
## %bb.15:
	movq	_ticker_spacer_default@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 40(%r12)
LBB0_16:
	callq	_utf8len
	testq	%rax, %rax
	je	LBB0_25
## %bb.17:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	40(%r12), %r13
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	68(%r12), %ecx
	movl	72(%r12), %edi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_font_driver_get_message_width
	testl	%eax, %eax
	js	LBB0_39
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_utf8skip
	movq	%rax, %r13
	incq	%rbx
	cmpq	%rbx, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_19
## %bb.21:
	cmpl	$128, 48(%r12)
	jne	LBB0_40
## %bb.22:
	movl	$0, -60(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -76(%rbp)
	movl	$0, -72(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -64(%rbp)
	movl	64(%r12), %edi
	movl	12(%r12), %eax
	leaq	-64(%rbp), %rbx
	leaq	-68(%rbp), %r10
	leaq	-72(%rbp), %r11
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movl	%r14d, %r9d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	pushq	32(%r12)
	pushq	56(%r12)
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	leaq	-76(%rbp), %rbx
	pushq	%rbx
	leaq	-44(%rbp), %rbx
	pushq	%rbx
	leaq	-60(%rbp), %rbx
	pushq	%rbx
	pushq	%rax
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_menu_animation_ticker_smooth_loop
	addq	$80, %rsp
	movq	(%r12), %rdi
	movq	40(%r12), %rsi
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-76(%rbp), %r8d
	movl	-72(%rbp), %r9d
	movl	-68(%rbp), %r10d
	movl	-64(%rbp), %ebx
	movl	8(%r12), %eax
	pushq	%rax
	pushq	24(%r12)
	pushq	%rbx
	pushq	%r10
	callq	_build_ticker_loop_string
	movq	%r13, %rdi
	addq	$32, %rsp
	jmp	LBB0_43
LBB0_23:
	cmpl	$0, 16(%r12)
	jle	LBB0_1
## %bb.24:
	movq	%r12, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_animation_ticker_smooth_fw ## TAILCALL
LBB0_27:
	movq	24(%r12), %rdi
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movl	%r15d, %ecx
	callq	_utf8cpy
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	%r14d, (%rax)
LBB0_29:
	movq	56(%r12), %rax
	movq	$0, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_30:
	movl	68(%r12), %ecx
	movl	72(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_font_driver_get_message_width
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_25
## %bb.31:
	movl	12(%r12), %edx
	leal	(%rax,%rax,2), %r14d
	subl	%r14d, %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jl	LBB0_26
## %bb.32:
	xorl	%eax, %eax
	movl	$-1, %ecx
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	incl	%ecx
	movl	(%rdi,%rcx,4), %eax
	addl	%ebx, %eax
	cmpl	%edx, %eax
	jbe	LBB0_33
## %bb.34:
	movq	24(%r12), %rdi
	movl	8(%r12), %esi
	movq	(%r12), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_utf8cpy
	movq	24(%r12), %rdi
	movl	8(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_strlcat
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.35:
	addl	%r14d, %ebx
	movl	%ebx, (%rax)
	jmp	LBB0_29
LBB0_25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_26:
	callq	_free
	jmp	LBB0_1
LBB0_39:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_40:
	movl	$0, -60(%rbp)
	movl	$0, -44(%rbp)
	movq	24(%r12), %rax
	movb	$0, (%rax)
	movl	64(%r12), %edi
	movl	12(%r12), %r8d
	subq	$8, %rsp
	leaq	-44(%rbp), %rax
	leaq	-60(%rbp), %r9
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r14d, %ecx
	pushq	32(%r12)
	pushq	56(%r12)
	pushq	%rax
	callq	_menu_animation_ticker_smooth_generic
	addq	$32, %rsp
	cmpl	$0, -44(%rbp)
	je	LBB0_42
## %bb.41:
	movq	24(%r12), %rbx
	movl	8(%r12), %r14d
	movq	(%r12), %rdi
	movl	-60(%rbp), %esi
	callq	_utf8skip
	movl	-44(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_utf8cpy
LBB0_42:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_43:
	movq	_ticker_is_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movl	$1, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"..."

	.comm	_ticker_spacer_default,8,3      ## @ticker_spacer_default
	.comm	_ticker_is_active,4,2           ## @ticker_is_active
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_ticker_smooth   ; -- Begin function menu_animation_ticker_smooth
	.p2align	2
_menu_animation_ticker_smooth:          ; @menu_animation_ticker_smooth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0]
	bl	_string_is_empty
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x8, [x19, #56]
	str	xzr, [x8]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.2:
	mov	w21, #0
	ldr	x8, [x19, #24]
	strb	wzr, [x8]
	b	LBB0_28
LBB0_3:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.4:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.5:
	ldr	w8, [x19, #72]
	cbz	w8, LBB0_22
; %bb.6:
	ldr	x0, [x19]
	bl	_utf8len
	cbz	x0, LBB0_1
; %bb.7:
	mov	x21, x0
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_1
; %bb.8:
	mov	x20, x0
	mov	x24, #0
	mov	w22, #0
	ldr	x23, [x19]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w3, w0, [x19, #68]
	mov	x1, x23
	mov	w2, #1
	bl	_font_driver_get_message_width
	tbnz	w0, #31, LBB0_36
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w0, [x20, x24, lsl #2]
	add	w22, w0, w22
	mov	x0, x23
	mov	w1, #1
	bl	_utf8skip
	mov	x23, x0
	add	x24, x24, #1
	cmp	x21, x24
	b.ne	LBB0_9
; %bb.11:
	ldr	w8, [x19, #12]
	cmp	w22, w8
	b.ls	LBB0_24
; %bb.12:
	ldr	w8, [x19, #76]
	cbz	w8, LBB0_29
; %bb.13:
	ldr	x0, [x19, #40]
	cbnz	x0, LBB0_15
; %bb.14:
Lloh0:
	adrp	x8, _ticker_spacer_default@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ticker_spacer_default@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	str	x0, [x19, #40]
LBB0_15:
	bl	_utf8len
	cbz	x0, LBB0_36
; %bb.16:
	mov	x24, x0
	mov	w1, #4
	bl	_calloc
	cbz	x0, LBB0_36
; %bb.17:
	mov	x23, x0
	mov	x27, #0
	mov	w25, #0
	ldr	x26, [x19, #40]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	w3, w0, [x19, #68]
	mov	x1, x26
	mov	w2, #1
	bl	_font_driver_get_message_width
	tbnz	w0, #31, LBB0_35
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	str	w0, [x23, x27, lsl #2]
	add	w25, w0, w25
	mov	x0, x26
	mov	w1, #1
	bl	_utf8skip
	mov	x26, x0
	add	x27, x27, #1
	cmp	x24, x27
	b.ne	LBB0_18
; %bb.20:
	ldr	w8, [x19, #48]
	cmp	w8, #128
	b.ne	LBB0_37
; %bb.21:
	stur	wzr, [x29, #-84]
	str	wzr, [sp, #88]
	stp	xzr, xzr, [sp, #72]
	ldr	w0, [x19, #64]
	ldr	w7, [x19, #12]
	ldr	x8, [x19, #56]
	ldr	x9, [x19, #32]
	stp	x8, x9, [sp, #48]
	add	x8, sp, #72
	add	x9, sp, #76
	stp	x9, x8, [sp, #32]
	add	x8, sp, #80
	add	x9, sp, #84
	add	x10, sp, #88
	stp	x9, x8, [sp, #16]
	sub	x8, x29, #84
	stp	x8, x10, [sp]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	mov	x5, x22
	mov	x6, x25
	bl	_menu_animation_ticker_smooth_loop
	ldr	x0, [x19]
	ldr	x1, [x19, #40]
	ldur	w2, [x29, #-84]
	ldp	w4, w3, [sp, #84]
	ldp	w6, w5, [sp, #76]
	ldr	w7, [sp, #72]
	ldr	x8, [x19, #24]
	ldr	w9, [x19, #8]
	str	w9, [sp, #8]
	str	x8, [sp]
	bl	_build_ticker_loop_string
	b	LBB0_39
LBB0_22:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.23:
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_menu_animation_ticker_smooth_fw
LBB0_24:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #8]
	ldr	x2, [x19]
	mov	x3, x21
	bl	_utf8cpy
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_26
; %bb.25:
	str	w22, [x8]
LBB0_26:
	ldr	x8, [x19, #56]
	str	xzr, [x8]
	mov	x0, x20
	bl	_free
LBB0_27:
	mov	w21, #0
LBB0_28:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_29:
	ldp	w3, w0, [x19, #68]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_font_driver_get_message_width
	tbnz	w0, #31, LBB0_36
; %bb.30:
	ldr	w8, [x19, #12]
	add	w21, w0, w0, lsl #1
	subs	w8, w8, w21
	b.lt	LBB0_36
; %bb.31:
	mov	w9, #0
	mov	w3, #-1
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x9
	add	w3, w3, #1
	ldr	w9, [x20, w3, uxtw #2]
	add	w9, w9, w22
	cmp	w9, w8
	b.ls	LBB0_32
; %bb.33:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #8]
	ldr	x2, [x19]
	bl	_utf8cpy
	ldr	x0, [x19, #24]
	ldr	w2, [x19, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strlcat
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_26
; %bb.34:
	add	w9, w22, w21
	str	w9, [x8]
	b	LBB0_26
LBB0_35:
	mov	x0, x20
	bl	_free
	mov	x20, x23
LBB0_36:
	mov	x0, x20
	bl	_free
	b	LBB0_1
LBB0_37:
	stur	wzr, [x29, #-84]
	str	wzr, [sp, #88]
	ldr	x8, [x19, #24]
	strb	wzr, [x8]
	ldr	w0, [x19, #64]
	ldr	w4, [x19, #12]
	ldr	x7, [x19, #56]
	ldr	x8, [x19, #32]
	str	x8, [sp]
	sub	x5, x29, #84
	add	x6, sp, #88
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_menu_animation_ticker_smooth_generic
	ldr	w8, [sp, #88]
	cbz	w8, LBB0_39
; %bb.38:
	ldr	x21, [x19, #24]
	ldr	w22, [x19, #8]
	ldr	x0, [x19]
	ldur	w1, [x29, #-84]
	bl	_utf8skip
	mov	x2, x0
	ldr	w3, [sp, #88]
	mov	x0, x21
	mov	x1, x22
	bl	_utf8cpy
LBB0_39:
Lloh7:
	adrp	x8, _ticker_is_active@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ticker_is_active@GOTPAGEOFF]
	mov	w21, #1
Lloh9:
	str	w21, [x8]
	mov	x0, x20
	bl	_free
	mov	x0, x23
	bl	_free
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"..."

	.comm	_ticker_spacer_default,8,3      ; @ticker_spacer_default
	.comm	_ticker_is_active,4,2           ; @ticker_is_active
.subsections_via_symbols
