	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TitanRenderLinesSimplified     ## -- Begin function TitanRenderLinesSimplified
	.p2align	4, 0x90
_TitanRenderLinesSimplified:            ## @TitanRenderLinesSimplified
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	_tt_context@GOTPCREL(%rip), %rax
	cmpl	$0, 36(%rax)
	je	LBB0_104
## %bb.1:
	movq	_tt_context@GOTPCREL(%rip), %rax
	cmpl	$0, 32(%rax)
	je	LBB0_104
## %bb.2:
	movl	%esi, %r14d
	leaq	-100(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	callq	_Vdp2GetInterlaceInfo
	movq	_TITAN_RBG0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	js	LBB0_3
## %bb.4:
	movq	_tt_context@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	1(%r9), %r8
	testl	%r9d, %r9d
	je	LBB0_5
## %bb.6:
	movq	%r8, %rcx
	andq	$-2, %rcx
	xorl	%edx, %edx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%r9, %rsi
	movl	%r14d, %edi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$-2, %rsi
	addq	$-2, %rcx
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$7, (%rax,%rsi,4)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movslq	%edx, %rbx
	incl	%edx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rbx,4)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$7, -4(%rax,%rsi,4)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movslq	%edx, %rbx
	incl	%edx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %edx
	movl	%edx, -80(%rbp,%rbx,4)
	jmp	LBB0_11
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	jmp	LBB0_87
LBB0_5:
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%r9, %rsi
	movl	%r14d, %edi
LBB0_12:
	testb	$1, %r8b
	je	LBB0_15
## %bb.13:
	cmpl	$7, (%rax,%rsi,4)
	jne	LBB0_15
## %bb.14:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_15:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.16:
	testb	$1, %r8b
	jne	LBB0_18
## %bb.17:
	movq	%r9, %rsi
	testl	%r9d, %r9d
	jne	LBB0_22
	jmp	LBB0_27
LBB0_18:
	cmpl	$6, (%rax,%r9,4)
	jne	LBB0_20
## %bb.19:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_20:
	leaq	-1(%r9), %rsi
	testl	%r9d, %r9d
	jne	LBB0_22
LBB0_27:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.28:
	testb	$1, %r8b
	jne	LBB0_30
## %bb.29:
	movq	%r9, %rsi
	testl	%r9d, %r9d
	jne	LBB0_34
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	leaq	-2(%rsi), %rdx
	cmpq	$1, %rsi
	movq	%rdx, %rsi
	jle	LBB0_27
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$6, (%rax,%rsi,4)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$6, -4(%rax,%rsi,4)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	jmp	LBB0_26
LBB0_30:
	cmpl	$5, (%rax,%r9,4)
	jne	LBB0_32
## %bb.31:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_32:
	leaq	-1(%r9), %rsi
	testl	%r9d, %r9d
	jne	LBB0_34
LBB0_39:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.40:
	testb	$1, %r8b
	jne	LBB0_42
## %bb.41:
	movq	%r9, %rsi
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_34 Depth=1
	leaq	-2(%rsi), %rdx
	cmpq	$1, %rsi
	movq	%rdx, %rsi
	jle	LBB0_39
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$5, (%rax,%rsi,4)
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$5, -4(%rax,%rsi,4)
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	jmp	LBB0_38
LBB0_42:
	cmpl	$4, (%rax,%r9,4)
	jne	LBB0_44
## %bb.43:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_44:
	leaq	-1(%r9), %rsi
LBB0_45:
	testl	%r9d, %r9d
	jne	LBB0_46
LBB0_51:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.52:
	testb	$1, %r8b
	jne	LBB0_54
## %bb.53:
	movq	%r9, %rsi
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_46 Depth=1
	leaq	-2(%rsi), %rdx
	cmpq	$1, %rsi
	movq	%rdx, %rsi
	jle	LBB0_51
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$4, (%rax,%rsi,4)
	jne	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_48:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$4, -4(%rax,%rsi,4)
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	jmp	LBB0_50
LBB0_54:
	cmpl	$3, (%rax,%r9,4)
	jne	LBB0_56
## %bb.55:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_56:
	leaq	-1(%r9), %rsi
LBB0_57:
	testl	%r9d, %r9d
	jne	LBB0_58
LBB0_63:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.64:
	testb	$1, %r8b
	jne	LBB0_66
## %bb.65:
	movq	%r9, %rsi
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_58 Depth=1
	leaq	-2(%rsi), %rdx
	cmpq	$1, %rsi
	movq	%rdx, %rsi
	jle	LBB0_63
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$3, (%rax,%rsi,4)
	jne	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_60:                                ##   in Loop: Header=BB0_58 Depth=1
	cmpl	$3, -4(%rax,%rsi,4)
	jne	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_58 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	jmp	LBB0_62
LBB0_66:
	cmpl	$2, (%rax,%r9,4)
	jne	LBB0_68
## %bb.67:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_68:
	leaq	-1(%r9), %rsi
LBB0_69:
	testl	%r9d, %r9d
	jne	LBB0_70
LBB0_75:
	testl	%r9d, %r9d
	js	LBB0_87
## %bb.76:
	testb	$1, %r8b
	jne	LBB0_78
## %bb.77:
	movq	%r9, %rdx
	jmp	LBB0_81
	.p2align	4, 0x90
LBB0_74:                                ##   in Loop: Header=BB0_70 Depth=1
	leaq	-2(%rsi), %rdx
	cmpq	$1, %rsi
	movq	%rdx, %rsi
	jle	LBB0_75
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, (%rax,%rsi,4)
	jne	LBB0_72
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp,%rdx,4)
LBB0_72:                                ##   in Loop: Header=BB0_70 Depth=1
	cmpl	$2, -4(%rax,%rsi,4)
	jne	LBB0_74
## %bb.73:                              ##   in Loop: Header=BB0_70 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rsi), %ecx
	movl	%ecx, -80(%rbp,%rdx,4)
	jmp	LBB0_74
LBB0_78:
	cmpl	$1, (%rax,%r9,4)
	jne	LBB0_80
## %bb.79:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rdx
	incl	%ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp,%rdx,4)
LBB0_80:
	leaq	-1(%r9), %rdx
LBB0_81:
	testl	%r9d, %r9d
	jne	LBB0_82
LBB0_87:
	movq	_TITAN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	-88(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	%eax, -80(%rbp,%rcx,4)
	leaq	-96(%rbp), %rsi
	callq	_set_layer_y
	movl	%r14d, %r11d
	addl	-100(%rbp), %r11d
	cmpl	-92(%rbp), %r11d                ## 4-byte Folded Reload
	jge	LBB0_104
## %bb.88:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r12d
	movq	_tt_context@GOTPCREL(%rip), %rax
	movl	8(%rax), %eax
	movq	_TITAN_SPRITE@GOTPCREL(%rip), %r13
	jmp	LBB0_89
	.p2align	4, 0x90
LBB0_103:                               ##   in Loop: Header=BB0_89 Depth=1
	incl	-96(%rbp)
	addl	-104(%rbp), %r11d
	cmpl	-92(%rbp), %r11d                ## 4-byte Folded Reload
	jge	LBB0_104
LBB0_89:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_91 Depth 2
                                        ##       Child Loop BB0_93 Depth 3
	testl	%eax, %eax
	jle	LBB0_103
## %bb.90:                              ##   in Loop: Header=BB0_89 Depth=1
	movslq	%r11d, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_91
	.p2align	4, 0x90
LBB0_94:                                ##   in Loop: Header=BB0_91 Depth=2
	movq	%r9, %rdi
	testq	%r9, %r9
	je	LBB0_95
LBB0_96:                                ##   in Loop: Header=BB0_91 Depth=2
	movl	%r11d, %ebx
	callq	_TitanFixAlpha
	movl	%ebx, %r11d
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
LBB0_102:                               ##   in Loop: Header=BB0_91 Depth=2
	incl	%r15d
	movq	_tt_context@GOTPCREL(%rip), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %r15d
	jge	LBB0_103
LBB0_91:                                ##   Parent Loop BB0_89 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_93 Depth 3
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	%r15d, %edx
	movl	-96(%rbp), %ecx
	movslq	%edx, %r14
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	$0, (%rdx,%r14,8)
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_102
## %bb.92:                              ##   in Loop: Header=BB0_91 Depth=2
	imull	%eax, %ecx
	addl	%r15d, %ecx
	movq	_tt_context@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	16(%rdx), %r8
	movq	(%r13), %rdx
	movq	(%r8,%rdx,8), %rdx
	movslq	%ecx, %r10
	shlq	$4, %r10
	movq	8(%rdx,%r10), %r9
	addq	%r10, %rdx
	movq	_TITAN_BACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	jmp	LBB0_93
	.p2align	4, 0x90
LBB0_100:                               ##   in Loop: Header=BB0_93 Depth=3
	movq	(%r8,%rdi,8), %rdi
	movq	8(%rdi,%r10), %rdi
	testq	%rdi, %rdi
	jne	LBB0_96
LBB0_101:                               ##   in Loop: Header=BB0_93 Depth=3
	incq	%rsi
	cmpq	%rsi, %r12
	je	LBB0_102
LBB0_93:                                ##   Parent Loop BB0_89 Depth=1
                                        ##     Parent Loop BB0_91 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	-80(%rbp,%rsi,4), %rdi
	cmpl	%ecx, %edi
	je	LBB0_94
## %bb.97:                              ##   in Loop: Header=BB0_93 Depth=3
	movslq	(%rax,%rdi,4), %rbx
	cmpq	%rbx, (%rdx)
	jl	LBB0_100
## %bb.98:                              ##   in Loop: Header=BB0_93 Depth=3
	testq	%r9, %r9
	je	LBB0_101
## %bb.99:                              ##   in Loop: Header=BB0_91 Depth=2
	movq	%r9, %rdi
	jmp	LBB0_96
LBB0_95:                                ##   in Loop: Header=BB0_91 Depth=2
	movq	_tt_context@GOTPCREL(%rip), %rax
	movq	24(%rax), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	jmp	LBB0_96
LBB0_104:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_106
## %bb.105:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_86:                                ##   in Loop: Header=BB0_82 Depth=1
	leaq	-2(%rdx), %rcx
	cmpq	$1, %rdx
	movq	%rcx, %rdx
	jle	LBB0_87
LBB0_82:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$1, (%rax,%rdx,4)
	jne	LBB0_84
## %bb.83:                              ##   in Loop: Header=BB0_82 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movslq	%esi, %rcx
	incl	%esi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, -80(%rbp,%rcx,4)
LBB0_84:                                ##   in Loop: Header=BB0_82 Depth=1
	cmpl	$1, -4(%rax,%rdx,4)
	jne	LBB0_86
## %bb.85:                              ##   in Loop: Header=BB0_82 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movslq	%esi, %rcx
	incl	%esi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%rdx), %esi
	movl	%esi, -80(%rbp,%rcx,4)
	jmp	LBB0_86
LBB0_106:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_tt_context,40,3                ## @tt_context
	.comm	_TITAN_RBG0,4,2                 ## @TITAN_RBG0
	.comm	_TITAN_BACK,4,2                 ## @TITAN_BACK
	.comm	_TITAN_SPRITE,8,3               ## @TITAN_SPRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TitanRenderLinesSimplified     ; -- Begin function TitanRenderLinesSimplified
	.p2align	2
_TitanRenderLinesSimplified:            ; @TitanRenderLinesSimplified
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w2, [sp]                        ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
Lloh3:
	adrp	x22, _tt_context@GOTPAGE
Lloh4:
	ldr	x22, [x22, _tt_context@GOTPAGEOFF]
	ldp	w9, w8, [x22, #32]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_34
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_Vdp2GetInterlaceInfo
Lloh5:
	adrp	x8, _TITAN_RBG0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TITAN_RBG0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_16
; %bb.2:
	mov	w23, #0
	ldr	x9, [x22]
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #7
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_3
LBB0_6:
	tbnz	w8, #31, LBB0_17
; %bb.7:
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #6
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_8
LBB0_11:
	tbnz	w8, #31, LBB0_17
; %bb.12:
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_36
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #5
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_13
LBB0_16:
	mov	w23, #0
LBB0_17:
Lloh8:
	adrp	x24, _TITAN_BACK@GOTPAGE
Lloh9:
	ldr	x24, [x24, _TITAN_BACK@GOTPAGEOFF]
	ldr	w8, [x24]
	add	x9, sp, #16
	str	w8, [x9, w23, sxtw #2]
	add	x1, sp, #12
	mov	x0, x21
	bl	_set_layer_y
	ldr	w8, [sp, #4]
	add	w21, w8, w21
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	cmp	w21, w8
	b.ge	LBB0_34
; %bb.18:
	add	w25, w23, #1
	ldr	w8, [x22, #8]
Lloh10:
	adrp	x26, _TITAN_SPRITE@GOTPAGE
Lloh11:
	ldr	x26, [x26, _TITAN_SPRITE@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w9, [sp, #12]
	add	w9, w9, #1
	str	w9, [sp, #12]
	ldr	w9, [sp, #8]
	add	w21, w9, w21
	ldr	w9, [sp]                        ; 4-byte Folded Reload
	cmp	w21, w9
	b.ge	LBB0_34
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;       Child Loop BB0_29 Depth 3
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w27, #0
	sxtw	x28, w21
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=2
	cbz	x0, LBB0_33
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=2
	bl	_TitanFixAlpha
	str	x0, [x20, x19, lsl #3]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	add	w27, w27, #1
	ldr	w8, [x22, #8]
	cmp	w27, w8
	b.ge	LBB0_19
LBB0_25:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_29 Depth 3
	ldr	w9, [sp, #12]
	madd	w10, w8, w21, w27
	str	xzr, [x20, w10, sxtw #3]
	tbnz	w23, #31, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	sxtw	x19, w10
	madd	w10, w9, w8, w27
	ldr	x8, [x22, #16]
	ldr	x9, [x26]
	ldr	x11, [x8, x9, lsl #3]
	sxtw	x9, w10
	add	x10, x11, w10, sxtw #4
	ldr	x0, [x10, #8]
	ldr	w11, [x24]
	ldr	x12, [x22]
	add	x13, sp, #16
	mov	x14, x25
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=3
	cbnz	x0, LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=3
	add	x13, x13, #4
	subs	x14, x14, #1
	b.eq	LBB0_24
LBB0_29:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_25 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsw	x15, [x13]
	cmp	w15, w11
	b.eq	LBB0_22
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	x16, [x10]
	ldrsw	x17, [x12, x15, lsl #2]
	cmp	x16, x17
	b.ge	LBB0_27
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	x15, [x8, x15, lsl #3]
	add	x15, x15, x9, lsl #4
	ldr	x15, [x15, #8]
	cbz	x15, LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x15
	b	LBB0_23
LBB0_33:                                ;   in Loop: Header=BB0_25 Depth=2
	ldr	x8, [x22, #24]
	ldr	x0, [x8, x28, lsl #3]
	b	LBB0_23
LBB0_34:
	ldr	x8, [sp, #56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.35:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_36:
	tbnz	w8, #31, LBB0_17
; %bb.37:
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_41
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #4
	b.ne	LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_38
LBB0_41:
	tbnz	w8, #31, LBB0_17
; %bb.42:
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_46
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #3
	b.ne	LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_43
LBB0_46:
	tbnz	w8, #31, LBB0_17
; %bb.47:
	add	x10, sp, #16
	mov	x11, x8
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_49 Depth=1
	sub	x12, x11, #1
	cmp	x11, #0
	mov	x11, x12
	b.le	LBB0_51
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, x11, lsl #2]
	cmp	w12, #2
	b.ne	LBB0_48
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	str	w11, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_48
LBB0_51:
	tbnz	w8, #31, LBB0_17
; %bb.52:
	add	x10, sp, #16
	b	LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=1
	sub	x11, x8, #1
	cmp	x8, #0
	mov	x8, x11
	b.le	LBB0_17
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8, lsl #2]
	cmp	w11, #1
	b.ne	LBB0_53
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=1
	str	w8, [x10, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_53
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_tt_context,40,3                ; @tt_context
	.comm	_TITAN_RBG0,4,2                 ; @TITAN_RBG0
	.comm	_TITAN_BACK,4,2                 ; @TITAN_BACK
	.comm	_TITAN_SPRITE,8,3               ; @TITAN_SPRITE
.subsections_via_symbols
