	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_line_ticker_smooth ## -- Begin function menu_animation_line_ticker_smooth
	.p2align	4, 0x90
_menu_animation_line_ticker_smooth:     ## @menu_animation_line_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -44(%rbp)
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 116(%rdi)
	je	LBB0_28
## %bb.2:
	movq	(%rbx), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_3
LBB0_28:
	cmpl	$0, 104(%rbx)
	jle	LBB0_30
## %bb.29:
	movq	16(%rbx), %rax
	movb	$0, (%rax)
LBB0_30:
	cmpq	$0, 96(%rbx)
	je	LBB0_36
## %bb.31:
	cmpl	$0, 88(%rbx)
	jle	LBB0_33
## %bb.32:
	movq	32(%rbx), %rax
	movb	$0, (%rax)
LBB0_33:
	cmpl	$0, 84(%rbx)
	jle	LBB0_35
## %bb.34:
	movq	40(%rbx), %rax
	movb	$0, (%rax)
LBB0_35:
	movq	64(%rbx), %rax
	movl	$0, (%rax)
	movq	72(%rbx), %rax
	movl	$0, (%rax)
LBB0_36:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 8(%rbx)
	jle	LBB0_28
## %bb.4:
	cmpl	$0, 12(%rbx)
	jle	LBB0_28
## %bb.5:
	movl	112(%rbx), %ecx
	movl	116(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_font_driver_get_message_width
	testl	%eax, %eax
	js	LBB0_28
## %bb.6:
	movl	%eax, %r15d
	movl	112(%rbx), %esi
	movl	116(%rbx), %edi
	callq	_font_driver_get_line_height
	testl	%eax, %eax
	js	LBB0_28
## %bb.7:
	movl	%eax, %r13d
	movl	8(%rbx), %eax
	movl	12(%rbx), %ecx
	cltd
	idivl	%r15d
	movl	%eax, %r12d
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	testl	%r12d, %r12d
	je	LBB0_28
## %bb.8:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_28
## %bb.9:
	movq	(%rbx), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.10:
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rsi
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%r12d, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_word_wrap
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_11
LBB0_27:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_28
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_split
	testq	%rax, %rax
	je	LBB0_27
## %bb.12:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movslq	-64(%rbp), %r8                  ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r9
	cmpq	%r8, %r9
	jbe	LBB0_13
## %bb.19:
	movslq	%r12d, %rdx
	cmpl	$128, 80(%rbx)
	movl	108(%rbx), %edi
	movq	96(%rbx), %rsi
	movl	%r13d, %ecx
	movq	24(%rbx), %r10
	movq	48(%rbx), %r11
	movq	64(%rbx), %r14
	movq	56(%rbx), %r15
	movq	72(%rbx), %rax
	leaq	-72(%rbp), %r12
	leaq	-80(%rbp), %r13
	jne	LBB0_21
## %bb.20:
	pushq	%rax
	pushq	%r15
	pushq	%r12
	pushq	%r14
	pushq	%r11
	pushq	%r13
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r10
	leaq	-88(%rbp), %rax
	pushq	%rax
	leaq	-96(%rbp), %rax
	pushq	%rax
	callq	_menu_animation_line_ticker_smooth_loop
	jmp	LBB0_22
LBB0_13:
	movq	16(%rbx), %rdi
	movl	104(%rbx), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_strlcpy
	movq	24(%rbx), %rax
	movl	$0, (%rax)
	xorl	%r14d, %r14d
	cmpq	$0, 96(%rbx)
	je	LBB0_25
## %bb.14:
	cmpl	$0, 88(%rbx)
	jle	LBB0_16
## %bb.15:
	movq	32(%rbx), %rax
	movb	$0, (%rax)
LBB0_16:
	cmpl	$0, 84(%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_18
## %bb.17:
	movq	40(%rbx), %rax
	movb	$0, (%rax)
LBB0_18:
	movq	48(%rbx), %rax
	movl	$0, (%rax)
	movq	56(%rbx), %rax
	movl	$0, (%rax)
	movq	64(%rbx), %rax
	movl	$0, (%rax)
	movq	72(%rbx), %rax
	movl	$0, (%rax)
	jmp	LBB0_26
LBB0_21:
	pushq	%rax
	pushq	%r15
	pushq	%r12
	pushq	%r14
	pushq	%r11
	pushq	%r13
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r10
	leaq	-88(%rbp), %rax
	pushq	%rax
	leaq	-96(%rbp), %rax
	pushq	%rax
	callq	_menu_animation_line_ticker_smooth_generic
LBB0_22:
	addq	$80, %rsp
	movl	-96(%rbp), %edi
	movq	-88(%rbp), %rsi
	movq	16(%rbx), %rcx
	movl	104(%rbx), %r8d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_build_line_ticker_string
	cmpl	$0, -44(%rbp)
	je	LBB0_24
## %bb.23:
	movq	-80(%rbp), %rsi
	movq	32(%rbx), %rcx
	movl	88(%rbx), %r8d
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_build_line_ticker_string
	movq	-72(%rbp), %rsi
	movq	40(%rbx), %rcx
	movl	84(%rbx), %r8d
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_build_line_ticker_string
LBB0_24:
	movq	_ticker_is_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %r14d
LBB0_25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_26:
	callq	_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_string_list_free
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a"

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

	.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_line_ticker_smooth ; -- Begin function menu_animation_line_ticker_smooth
	.p2align	2
_menu_animation_line_ticker_smooth:     ; @menu_animation_line_ticker_smooth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	stp	xzr, xzr, [x29, #-64]
	stur	xzr, [x29, #-72]
	str	xzr, [sp, #80]
	str	wzr, [sp, #76]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #116]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_string_is_empty
	cbz	x0, LBB0_13
LBB0_3:
	ldr	w8, [x19, #104]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
	strb	wzr, [x8]
LBB0_5:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_11
; %bb.6:
	ldr	w8, [x19, #88]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x19, #32]
	strb	wzr, [x8]
LBB0_8:
	ldr	w8, [x19, #84]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	x8, [x19, #40]
	strb	wzr, [x8]
LBB0_10:
	mov	w22, #0
	ldr	x8, [x19, #64]
	str	wzr, [x8]
	ldr	x8, [x19, #72]
	str	wzr, [x8]
	b	LBB0_12
LBB0_11:
	mov	w22, #0
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_13:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.14:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.15:
	ldp	w3, w0, [x19, #112]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_font_driver_get_message_width
	tbnz	w0, #31, LBB0_3
; %bb.16:
	mov	x20, x0
	ldp	w1, w0, [x19, #112]
	bl	_font_driver_get_line_height
	tbnz	w0, #31, LBB0_3
; %bb.17:
	ldr	w8, [x19, #8]
	sdiv	w21, w8, w20
	cbz	w21, LBB0_3
; %bb.18:
	mov	x23, x0
	ldr	w8, [x19, #12]
	sdiv	w24, w8, w0
	cbz	w24, LBB0_3
; %bb.19:
	ldr	x0, [x19]
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.20:
	mov	x20, x0
	sxtw	x22, w21
	ldr	x1, [x19]
	mov	x2, x22
	mov	w3, #1
	mov	w4, #0
	bl	_word_wrap
	mov	x0, x20
	bl	_string_is_empty
	cbz	x0, LBB0_22
LBB0_21:
	mov	x0, x20
	bl	_free
	b	LBB0_3
LBB0_22:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_string_split
	cbz	x0, LBB0_21
; %bb.23:
	mov	x21, x0
	sxtw	x4, w24
	ldr	x5, [x0]
	cmp	x5, x4
	b.ls	LBB0_26
; %bb.24:
	ldr	w13, [x19, #80]
	ldr	w0, [x19, #108]
	ldr	x1, [x19, #96]
	mov	w3, w23
	ldr	x8, [x19, #24]
	ldp	x9, x11, [x19, #48]
	ldp	x10, x12, [x19, #64]
	cmp	w13, #128
	b.ne	LBB0_32
; %bb.25:
	stp	x11, x12, [sp, #48]
	add	x11, sp, #80
	stp	x10, x11, [sp, #32]
	sub	x10, x29, #72
	add	x11, sp, #76
	sub	x6, x29, #56
	sub	x7, x29, #64
	stp	x10, x9, [sp, #16]
	stp	x8, x11, [sp]
	mov	x2, x22
	bl	_menu_animation_line_ticker_smooth_loop
	b	LBB0_33
LBB0_26:
	ldr	x0, [x19, #16]
	ldr	w2, [x19, #104]
	mov	x1, x20
	bl	_strlcpy
	ldr	x8, [x19, #24]
	str	wzr, [x8]
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_36
; %bb.27:
	ldr	w8, [x19, #88]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.28:
	ldr	x8, [x19, #32]
	strb	wzr, [x8]
LBB0_29:
	ldr	w8, [x19, #84]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.30:
	ldr	x8, [x19, #40]
	strb	wzr, [x8]
LBB0_31:
	mov	w22, #0
	ldr	x8, [x19, #48]
	str	wzr, [x8]
	ldr	x8, [x19, #56]
	str	wzr, [x8]
	ldr	x8, [x19, #64]
	str	wzr, [x8]
	ldr	x8, [x19, #72]
	str	wzr, [x8]
	b	LBB0_37
LBB0_32:
	stp	x11, x12, [sp, #48]
	add	x11, sp, #80
	stp	x10, x11, [sp, #32]
	sub	x10, x29, #72
	add	x11, sp, #76
	sub	x6, x29, #56
	sub	x7, x29, #64
	stp	x10, x9, [sp, #16]
	stp	x8, x11, [sp]
	mov	x2, x22
	bl	_menu_animation_line_ticker_smooth_generic
LBB0_33:
	ldur	w0, [x29, #-56]
	ldur	x1, [x29, #-64]
	ldr	x3, [x19, #16]
	ldr	w4, [x19, #104]
	mov	x2, x21
	bl	_build_line_ticker_string
	ldr	w8, [sp, #76]
	cbz	w8, LBB0_35
; %bb.34:
	ldur	x1, [x29, #-72]
	ldr	x3, [x19, #32]
	ldr	w4, [x19, #88]
	mov	w0, #1
	mov	x2, x21
	bl	_build_line_ticker_string
	ldr	x1, [sp, #80]
	ldr	x3, [x19, #40]
	ldr	w4, [x19, #84]
	mov	w0, #1
	mov	x2, x21
	bl	_build_line_ticker_string
LBB0_35:
Lloh4:
	adrp	x8, _ticker_is_active@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ticker_is_active@GOTPAGEOFF]
	mov	w22, #1
Lloh6:
	str	w22, [x8]
	b	LBB0_37
LBB0_36:
	mov	w22, #0
LBB0_37:
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_string_list_free
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a"

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

	.comm	_ticker_is_active,4,2           ; @ticker_is_active
.subsections_via_symbols
