	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp1DistortedSpriteDraw ## -- Begin function VIDSoftVdp1DistortedSpriteDraw
	.p2align	4, 0x90
_VIDSoftVdp1DistortedSpriteDraw:        ## @VIDSoftVdp1DistortedSpriteDraw
	.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, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	16(%rsi), %esi
	leaq	-104(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_Vdp1ReadCommand
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movq	-48(%rbp), %rdi
	addq	%rdx, %rdi
	movq	-56(%rbp), %rsi
	addq	%rcx, %rsi
	movq	-64(%rbp), %r8
	addq	%rdx, %r8
	movq	-72(%rbp), %r9
	addq	%rcx, %r9
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	movq	-88(%rbp), %rbx
	addq	%rcx, %rbx
	addq	-96(%rbp), %rdx
	addq	-104(%rbp), %rcx
	pushq	%r15
	pushq	%r12
	pushq	%r13
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	callq	_drawQuad
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDSoftVdp1DistortedSpriteDraw ; -- Begin function VIDSoftVdp1DistortedSpriteDraw
	.p2align	2
_VIDSoftVdp1DistortedSpriteDraw:        ; @VIDSoftVdp1DistortedSpriteDraw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1, #16]
	add	x22, sp, #32
	add	x0, sp, #32
	mov	x2, x21
	bl	_Vdp1ReadCommand
	ldp	x9, x8, [sp, #80]
	ldp	x11, x10, [x20]
	add	x0, x10, x8
	ldp	x12, x8, [sp, #64]
	add	x4, x8, x10
	ldp	x13, x8, [sp, #48]
	add	x6, x8, x10
	ldp	x14, x8, [sp, #32]
	add	x2, x8, x10
	add	x1, x11, x9
	add	x5, x12, x11
	add	x7, x13, x11
	add	x3, x14, x11
	stp	x22, x19, [sp, #16]
	stp	x21, x20, [sp]
	bl	_drawQuad
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
