	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TitanRenderLines               ## -- Begin function TitanRenderLines
	.p2align	4, 0x90
_TitanRenderLines:                      ## @TitanRenderLines
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_tt_context@GOTPCREL(%rip), %r12
	cmpl	$0, 8(%r12)
	je	LBB0_10
## %bb.1:
	cmpl	$0, 4(%r12)
	je	LBB0_10
## %bb.2:
	movl	%esi, %r13d
	movq	%rdi, %r15
	leaq	-52(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_Vdp2GetInterlaceInfo
	leaq	-48(%rbp), %rsi
	movl	%r13d, %edi
	callq	_set_layer_y
	addl	-52(%rbp), %r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_10
## %bb.3:
	movl	(%r12), %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	-48(%rbp)
	addl	-56(%rbp), %r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%edi, %edi
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	incq	%rbx
	cmpl	%edi, %ebx
	jge	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, %eax
	imull	%r13d, %eax
	imull	-48(%rbp), %edi
	addl	%ebx, %edi
	movslq	%eax, %r14
	addq	%rbx, %r14
	movq	$0, (%r15,%r14,8)
	movl	%r13d, %esi
	callq	_TitanDigPixel
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %edi
	callq	_TitanFixAlpha
	movq	%rax, (%r15,%r14,8)
	jmp	LBB0_8
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tt_context,12,2                ## @tt_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TitanRenderLines               ; -- Begin function TitanRenderLines
	.p2align	2
_TitanRenderLines:                      ; @TitanRenderLines
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _tt_context@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tt_context@GOTPAGEOFF]
	ldp	w9, w8, [x22, #4]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_Vdp2GetInterlaceInfo
	add	x1, sp, #12
	mov	x0, x21
	bl	_set_layer_y
	ldr	w8, [sp, #4]
	add	w21, w8, w21
	cmp	w21, w19
	b.ge	LBB0_9
; %bb.2:
	ldr	w8, [x22]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [sp, #12]
	add	w9, w9, #1
	str	w9, [sp, #12]
	ldr	w9, [sp, #8]
	add	w21, w9, w21
	cmp	w21, w19
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x22]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	w9, w8, w21
	ldr	w10, [sp, #12]
	madd	w0, w10, w8, w23
	add	x24, x23, w9, sxtw
	str	xzr, [x20, x24, lsl #3]
	mov	x1, x21
	bl	_TitanDigPixel
	cbz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_TitanFixAlpha
	str	x0, [x20, x24, lsl #3]
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tt_context,12,2                ; @tt_context
.subsections_via_symbols
