	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDGCDVdp1NormalSpriteDraw     ## -- Begin function VIDGCDVdp1NormalSpriteDraw
	.p2align	4, 0x90
_VIDGCDVdp1NormalSpriteDraw:            ## @VIDGCDVdp1NormalSpriteDraw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_Vdp1Regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	16(%rax), %esi
	movq	_Vdp1Ram@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cmd@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_Vdp1ReadCommand
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rdi
	addq	16(%rbx), %rdi
	addq	8(%rbx), %rsi
	movl	(%rbx), %eax
	movzbl	%al, %ecx
                                        ## kill: def $eax killed $eax killed $rax def $rax
	shrl	$5, %eax
	andl	$504, %eax                      ## imm = 0x1F8
	leaq	(%rax,%rdi), %r8
	decq	%r8
	leaq	-1(%rcx,%rsi), %rcx
	movq	%rdi, %rdx
	movq	%rsi, %r9
	pushq	%rcx
	pushq	%r8
	callq	_drawQuad
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd,24,3                       ## @cmd
	.comm	_Vdp1Regs,8,3                   ## @Vdp1Regs
	.comm	_Vdp1Ram,4,2                    ## @Vdp1Ram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDGCDVdp1NormalSpriteDraw     ; -- Begin function VIDGCDVdp1NormalSpriteDraw
	.p2align	2
_VIDGCDVdp1NormalSpriteDraw:            ; @VIDGCDVdp1NormalSpriteDraw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _Vdp1Regs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Vdp1Regs@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w1, [x8, #16]
Lloh2:
	adrp	x8, _Vdp1Ram@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Vdp1Ram@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x19, _cmd@GOTPAGE
Lloh6:
	ldr	x19, [x19, _cmd@GOTPAGEOFF]
	mov	x0, x19
	bl	_Vdp1ReadCommand
	ldr	x8, [x20]
	ldp	x10, x9, [x19, #8]
	ldp	x8, x11, [x8]
	add	x0, x11, x9
	add	x1, x8, x10
	ldr	w8, [x19]
	ubfx	x9, x8, #5, #27
	and	w9, w9, #0x1f8
	sub	w9, w9, #1
	add	x4, x0, w9, sxtw
	add	x8, x1, w8, uxtb
	sub	x3, x8, #1
	mov	x2, x0
	mov	x5, x1
	mov	x6, x4
	mov	x7, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drawQuad
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd,24,3                       ; @cmd
	.comm	_Vdp1Regs,8,3                   ; @Vdp1Regs
	.comm	_Vdp1Ram,4,2                    ; @Vdp1Ram
.subsections_via_symbols
