	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp1DebugGetCommandNumberName  ## -- Begin function Vdp1DebugGetCommandNumberName
	.p2align	4, 0x90
_Vdp1DebugGetCommandNumberName:         ## @Vdp1DebugGetCommandNumberName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_Vdp1DebugGetCommandNumberAddr
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	_Vdp1Ram@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_T1ReadWord
	testl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_3
## %bb.4:
	andl	$15, %eax
	cmpl	$11, %eax
	ja	LBB0_5
## %bb.6:
	movl	%eax, %eax
	leaq	l_reltable.Vdp1DebugGetCommandNumberName(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.13(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp1Ram,4,2                    ## @Vdp1Ram
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Draw End"

L_.str.1:                               ## @.str.1
	.asciz	"Normal Sprite"

L_.str.2:                               ## @.str.2
	.asciz	"Scaled Sprite"

L_.str.3:                               ## @.str.3
	.asciz	"Distorted Sprite"

L_.str.4:                               ## @.str.4
	.asciz	"Distorted Sprite *"

L_.str.5:                               ## @.str.5
	.asciz	"Polygon"

L_.str.6:                               ## @.str.6
	.asciz	"Polyline"

L_.str.7:                               ## @.str.7
	.asciz	"Line"

L_.str.8:                               ## @.str.8
	.asciz	"Polyline *"

L_.str.9:                               ## @.str.9
	.asciz	"User Clipping Coordinates"

L_.str.10:                              ## @.str.10
	.asciz	"System Clipping Coordinates"

L_.str.11:                              ## @.str.11
	.asciz	"Local Coordinates"

L_.str.12:                              ## @.str.12
	.asciz	"User Clipping Coordinates *"

L_.str.13:                              ## @.str.13
	.asciz	"Bad command"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.Vdp1DebugGetCommandNumberName
l_reltable.Vdp1DebugGetCommandNumberName:
	.long	L_.str.1-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.2-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.3-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.4-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.5-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.6-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.7-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.8-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.9-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.10-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.11-l_reltable.Vdp1DebugGetCommandNumberName
	.long	L_.str.12-l_reltable.Vdp1DebugGetCommandNumberName

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp1DebugGetCommandNumberName  ; -- Begin function Vdp1DebugGetCommandNumberName
	.p2align	2
_Vdp1DebugGetCommandNumberName:         ; @Vdp1DebugGetCommandNumberName
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_Vdp1DebugGetCommandNumberAddr
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x8, _Vdp1Ram@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Vdp1Ram@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_T1ReadWord
	tbnz	w0, #15, LBB0_5
; %bb.2:
	and	w8, w0, #0xf
	cmp	w8, #11
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.Vdp1DebugGetCommandNumberName@PAGE
Lloh4:
	add	x9, x9, l_switch.table.Vdp1DebugGetCommandNumberName@PAGEOFF
	ldr	x0, [x9, w8, uxtw #3]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh7:
	adrp	x0, l_.str.13@PAGE
Lloh8:
	add	x0, x0, l_.str.13@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp1Ram,4,2                    ; @Vdp1Ram
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Draw End"

l_.str.1:                               ; @.str.1
	.asciz	"Normal Sprite"

l_.str.2:                               ; @.str.2
	.asciz	"Scaled Sprite"

l_.str.3:                               ; @.str.3
	.asciz	"Distorted Sprite"

l_.str.4:                               ; @.str.4
	.asciz	"Distorted Sprite *"

l_.str.5:                               ; @.str.5
	.asciz	"Polygon"

l_.str.6:                               ; @.str.6
	.asciz	"Polyline"

l_.str.7:                               ; @.str.7
	.asciz	"Line"

l_.str.8:                               ; @.str.8
	.asciz	"Polyline *"

l_.str.9:                               ; @.str.9
	.asciz	"User Clipping Coordinates"

l_.str.10:                              ; @.str.10
	.asciz	"System Clipping Coordinates"

l_.str.11:                              ; @.str.11
	.asciz	"Local Coordinates"

l_.str.12:                              ; @.str.12
	.asciz	"User Clipping Coordinates *"

l_.str.13:                              ; @.str.13
	.asciz	"Bad command"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.Vdp1DebugGetCommandNumberName
l_switch.table.Vdp1DebugGetCommandNumberName:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12

.subsections_via_symbols
