	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp1PolylineDraw        ## -- Begin function VIDSoftVdp1PolylineDraw
	.p2align	4, 0x90
_VIDSoftVdp1PolylineDraw:               ## @VIDSoftVdp1PolylineDraw
	.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	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	(%rsi), %esi
	leaq	-44(%rbp), %rdi
	movq	%r15, %rdx
	callq	_Vdp1ReadCommand
	movl	(%r14), %esi
	movl	16(%r14), %r13d
	addl	$12, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %r13d
	movl	(%r14), %esi
	movl	8(%r14), %r12d
	addl	$14, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %r12d
	movl	(%r14), %esi
	movl	16(%r14), %ebx
	addl	$16, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	8(%r14), %ebx
	addl	$18, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	16(%r14), %ebx
	addl	$20, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	8(%r14), %ebx
	addl	$22, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	16(%r14), %ebx
	addl	$24, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -96(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	8(%r14), %ebx
	addl	$26, %esi
	movq	%r15, %rdi
	callq	_T1ReadWord
	addl	%eax, %ebx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	subq	$8, %rsp
	movl	%r13d, -100(%rbp)               ## 4-byte Spill
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r12d, -104(%rbp)               ## 4-byte Spill
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %r8d
	xorl	%r9d, %r9d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_iterateOverLine
	addq	$48, %rsp
	movq	_gouraudA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_gouraudB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, %ecx
	pushq	%rbx
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	%r15
	callq	_gouraudLineSetup
	addq	$32, %rsp
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movsd	-56(%rbp), %xmm2                ## xmm2 = mem[0],zero
	subq	$8, %rsp
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	-80(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_DrawLine
	addq	$40, %rsp
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	movl	-88(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_iterateOverLine
	addq	$48, %rsp
	movq	_gouraudB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_gouraudC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, %ecx
	pushq	%rbx
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	%r15
	callq	_gouraudLineSetup
	addq	$32, %rsp
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movsd	-56(%rbp), %xmm2                ## xmm2 = mem[0],zero
	subq	$8, %rsp
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_DrawLine
	addq	$40, %rsp
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	-96(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %r13
	pushq	%r13
	pushq	%r14
	pushq	$0
	callq	_iterateOverLine
	addq	$48, %rsp
	movq	_gouraudD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_gouraudC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, %ecx
	pushq	%rbx
	pushq	%r13
	pushq	%r14
	pushq	%r15
	callq	_gouraudLineSetup
	addq	$32, %rsp
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movsd	-56(%rbp), %xmm2                ## xmm2 = mem[0],zero
	subq	$8, %rsp
	movl	%r12d, %edi
	movl	%r12d, %r13d
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_DrawLine
	addq	$40, %rsp
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edx
	movl	-104(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_iterateOverLine
	addq	$48, %rsp
	movq	_gouraudA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_gouraudD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, %ecx
	pushq	%rbx
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	%r15
	callq	_gouraudLineSetup
	addq	$32, %rsp
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movsd	-56(%rbp), %xmm2                ## xmm2 = mem[0],zero
	subq	$8, %rsp
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r15
	leaq	-44(%rbp), %rax
	pushq	%rax
	pushq	%r14
	pushq	$0
	callq	_DrawLine
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gouraudA,4,2                   ## @gouraudA
	.comm	_gouraudB,4,2                   ## @gouraudB
	.comm	_gouraudC,4,2                   ## @gouraudC
	.comm	_gouraudD,4,2                   ## @gouraudD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp1PolylineDraw        ; -- Begin function VIDSoftVdp1PolylineDraw
	.p2align	2
_VIDSoftVdp1PolylineDraw:               ; @VIDSoftVdp1PolylineDraw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	stp	xzr, xzr, [sp, #64]
	str	xzr, [sp, #56]
	ldr	w1, [x1]
	add	x0, sp, #52
	mov	x2, x21
	bl	_Vdp1ReadCommand
	ldr	w22, [x19, #16]
	ldr	w8, [x19]
	add	w1, w8, #12
	mov	x0, x21
	bl	_T1ReadWord
	add	w23, w0, w22
	ldr	w22, [x19, #8]
	ldr	w8, [x19]
	add	w1, w8, #14
	mov	x0, x21
	bl	_T1ReadWord
	add	w8, w0, w22
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w22, [x19, #16]
	ldr	w8, [x19]
	add	w1, w8, #16
	mov	x0, x21
	bl	_T1ReadWord
	add	w28, w0, w22
	ldr	w22, [x19, #8]
	ldr	w8, [x19]
	add	w1, w8, #18
	mov	x0, x21
	bl	_T1ReadWord
	add	w22, w0, w22
	ldr	w24, [x19, #16]
	ldr	w8, [x19]
	add	w1, w8, #20
	mov	x0, x21
	bl	_T1ReadWord
	add	w26, w0, w24
	ldr	w24, [x19, #8]
	ldr	w8, [x19]
	add	w1, w8, #22
	mov	x0, x21
	bl	_T1ReadWord
	add	w27, w0, w24
	ldr	w24, [x19, #16]
	ldr	w8, [x19]
	add	w1, w8, #24
	mov	x0, x21
	bl	_T1ReadWord
	add	w8, w0, w24
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	ldr	w25, [x19, #8]
	ldr	w8, [x19]
	add	w1, w8, #26
	mov	x0, x21
	bl	_T1ReadWord
	add	w8, w0, w25
	stp	w8, w23, [sp, #40]              ; 8-byte Folded Spill
	stp	x21, x20, [sp, #8]
	add	x24, sp, #52
	str	x24, [sp]
	mov	x0, x23
	ldr	w25, [sp, #36]                  ; 4-byte Folded Reload
	mov	x1, x25
	mov	x2, x28
	mov	x3, x22
	mov	w4, #1
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_iterateOverLine
	mov	x3, x0
Lloh0:
	adrp	x8, _gouraudA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gouraudA@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _gouraudB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gouraudB@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	stp	x24, x20, [sp]
	add	x24, sp, #52
	add	x0, sp, #72
	add	x1, sp, #64
	add	x2, sp, #56
	mov	x6, x21
	mov	x7, x19
	bl	_gouraudLineSetup
	ldp	d1, d0, [sp, #64]
	ldr	d2, [sp, #56]
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x23
	mov	x1, x25
	mov	x23, x25
	mov	x2, x28
	mov	x3, x22
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, x19
	bl	_DrawLine
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x28
	mov	x1, x22
	mov	x2, x26
	mov	x3, x27
	mov	w4, #1
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_iterateOverLine
	mov	x3, x0
Lloh6:
	adrp	x8, _gouraudB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gouraudB@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _gouraudC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gouraudC@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	stp	x24, x20, [sp]
	add	x0, sp, #72
	add	x1, sp, #64
	add	x2, sp, #56
	mov	x6, x21
	mov	x7, x19
	bl	_gouraudLineSetup
	ldp	d1, d0, [sp, #64]
	ldr	d2, [sp, #56]
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x28
	mov	x1, x22
	mov	x2, x26
	mov	x3, x27
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, x19
	bl	_DrawLine
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x26
	mov	x1, x27
	ldr	w25, [sp, #48]                  ; 4-byte Folded Reload
	mov	x2, x25
	ldr	w28, [sp, #40]                  ; 4-byte Folded Reload
	mov	x3, x28
	mov	w4, #1
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_iterateOverLine
	mov	x3, x0
Lloh12:
	adrp	x22, _gouraudD@GOTPAGE
Lloh13:
	ldr	x22, [x22, _gouraudD@GOTPAGEOFF]
	ldr	w4, [x22]
Lloh14:
	adrp	x8, _gouraudC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _gouraudC@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	stp	x24, x20, [sp]
	add	x0, sp, #72
	add	x1, sp, #64
	add	x2, sp, #56
	mov	x6, x21
	mov	x7, x19
	bl	_gouraudLineSetup
	ldp	d1, d0, [sp, #64]
	ldr	d2, [sp, #56]
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x28
	mov	x2, x26
	mov	x3, x27
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, x19
	bl	_DrawLine
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x28
	ldr	w26, [sp, #44]                  ; 4-byte Folded Reload
	mov	x2, x26
	mov	x3, x23
	mov	w4, #1
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_iterateOverLine
	mov	x3, x0
Lloh17:
	adrp	x8, _gouraudA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _gouraudA@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	ldr	w5, [x22]
	stp	x24, x20, [sp]
	add	x0, sp, #72
	add	x1, sp, #64
	add	x2, sp, #56
	mov	x6, x21
	mov	x7, x19
	bl	_gouraudLineSetup
	ldp	d1, d0, [sp, #64]
	ldr	d2, [sp, #56]
	stp	x21, x20, [sp, #8]
	str	x24, [sp]
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x28
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, x19
	bl	_DrawLine
	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
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gouraudA,4,2                   ; @gouraudA
	.comm	_gouraudB,4,2                   ; @gouraudB
	.comm	_gouraudC,4,2                   ; @gouraudC
	.comm	_gouraudD,4,2                   ; @gouraudD
.subsections_via_symbols
