	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_line_ticker     ## -- Begin function menu_animation_line_ticker
	.p2align	4, 0x90
_menu_animation_line_ticker:            ## @menu_animation_line_ticker
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_2
LBB0_15:
	cmpl	$0, 28(%rbx)
	jle	LBB0_17
## %bb.16:
	movq	16(%rbx), %rax
	movb	$0, (%rax)
LBB0_17:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$0, 8(%rbx)
	jle	LBB0_15
## %bb.3:
	cmpl	$0, 12(%rbx)
	jle	LBB0_15
## %bb.4:
	movq	(%rbx), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%rax, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_word_wrap
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_6
LBB0_14:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_split
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%rax, %r12
	movl	(%rax), %ecx
	movl	12(%rbx), %edx
	cmpl	%edx, %ecx
	jle	LBB0_8
## %bb.9:
	movl	8(%rbx), %esi
	cmpl	$128, 24(%rbx)
	movl	32(%rbx), %edi
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rax
	movl	%ecx, %edx
	movq	%rax, %rcx
	callq	_menu_animation_line_ticker_loop
	jmp	LBB0_12
LBB0_8:
	movq	16(%rbx), %rdi
	movl	28(%rbx), %edx
	movq	%r15, %rsi
	callq	_strlcpy
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_11:
	leaq	-40(%rbp), %r8
	callq	_menu_animation_line_ticker_generic
LBB0_12:
	movl	12(%rbx), %edi
	movq	-40(%rbp), %rsi
	movq	16(%rbx), %rcx
	movl	28(%rbx), %r8d
	movq	%r12, %rdx
	callq	_build_line_ticker_string
	movq	_ticker_is_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %r14d
LBB0_13:
	movq	%r15, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_string_list_free
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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     ; -- Begin function menu_animation_line_ticker
	.p2align	2
_menu_animation_line_ticker:            ; @menu_animation_line_ticker
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0]
	bl	_string_is_empty
	cbz	x0, LBB0_6
LBB0_2:
	ldr	w8, [x19, #28]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
	mov	w22, #0
	ldr	x8, [x19, #16]
	strb	wzr, [x8]
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.7:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.8:
	ldr	x0, [x19]
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.9:
	mov	x20, x0
	ldr	x1, [x19]
	ldr	w2, [x19, #8]
	mov	w3, #1
	mov	w4, #0
	bl	_word_wrap
	mov	x0, x20
	bl	_string_is_empty
	cbz	x0, LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_free
	b	LBB0_2
LBB0_11:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_string_split
	cbz	x0, LBB0_10
; %bb.12:
	mov	x21, x0
	ldr	w8, [x0]
	ldr	w2, [x19, #12]
	cmp	w8, w2
	b.le	LBB0_15
; %bb.13:
	ldr	w9, [x19, #24]
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #8]
	cmp	w9, #128
	b.ne	LBB0_16
; %bb.14:
	add	x3, sp, #8
	mov	x2, x8
	bl	_menu_animation_line_ticker_loop
	b	LBB0_17
LBB0_15:
	ldr	x0, [x19, #16]
	ldr	w2, [x19, #28]
	mov	x1, x20
	bl	_strlcpy
	mov	w22, #0
	b	LBB0_18
LBB0_16:
	add	x4, sp, #8
	mov	x3, x8
	bl	_menu_animation_line_ticker_generic
LBB0_17:
	ldr	w0, [x19, #12]
	ldr	x1, [sp, #8]
	ldr	x3, [x19, #16]
	ldr	w4, [x19, #28]
	mov	x2, x21
	bl	_build_line_ticker_string
Lloh2:
	adrp	x8, _ticker_is_active@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ticker_is_active@GOTPAGEOFF]
	mov	w22, #1
Lloh4:
	str	w22, [x8]
LBB0_18:
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_string_list_free
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

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