	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function Vdp2DebugStatsNBG0
LCPI0_0:
	.long	0x47800000                      ## float 65536
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Vdp2DebugStatsNBG0
	.p2align	4, 0x90
_Vdp2DebugStatsNBG0:                    ## @Vdp2DebugStatsNBG0
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_Vdp2Regs@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testb	$33, 8(%rax)
	je	LBB0_30
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rax), %r13d
	movl	4(%rax), %r14d
	movl	$1, (%rsi)
	testb	$32, 8(%rax)
	jne	LBB0_2
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	jmp	LBB0_5
LBB0_30:
	movl	$0, (%rsi)
	jmp	LBB0_31
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	12(%rax), %edx
	testl	$256, %edx                      ## imm = 0x100
	je	LBB0_5
## %bb.3:
	shrl	$10, %edx
	andl	$3, %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_AddMosaicString
	movq	(%r12), %rcx
	movl	4(%rcx), %esi
	shrl	$4, %esi
	andl	$7, %esi
	movq	%rax, %rdi
	callq	_AddBppString
	movq	%rax, %rbx
	movq	(%r12), %rax
	testb	$2, %r14b
	je	LBB0_8
## %bb.6:
	testb	$32, 8(%rax)
	jne	LBB0_8
## %bb.7:
	movl	4(%rax), %esi
	movl	16(%rax), %ecx
	shrl	$2, %esi
	andl	$3, %esi
	movl	92(%rax), %edx
	movq	%rbx, %rdi
	callq	_AddBitmapInfoString
	jmp	LBB0_12
LBB0_8:
	andl	$1, %r14d
	incl	%r14d
	movl	20(%rax), %r15d
	movl	$0, -72(%rbp)
	movl	$0, -68(%rbp)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	24(%rax), %edi
	andl	$3, %edi
	leaq	-72(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	callq	_Vdp2GetPlaneSize
	movl	-72(%rbp), %edx
	movl	-68(%rbp), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	testl	$32768, %r15d                   ## imm = 0x8000
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_AddString
	movl	%r15d, %edx
	shrl	$9, %edx
	andl	$1, %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movl	%r15d, %edx
	shrl	$8, %edx
	andl	$1, %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movl	%r15d, %edx
	shrl	$5, %edx
	andl	$7, %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	andl	$31, %r15d
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_AddString
LBB0_11:
	movq	(%r12), %rax
	movl	28(%rax), %ecx
	movzbl	%cl, %edx
	movl	%edx, -64(%rbp)
	sarl	$8, %ecx
	movl	%ecx, -60(%rbp)
	movl	32(%rax), %ecx
	movzbl	%cl, %edx
	movl	%edx, -56(%rbp)
	sarl	$8, %ecx
	movl	%ecx, -52(%rbp)
	movl	16(%rax), %r8d
	movl	20(%rax), %edx
	movl	24(%rax), %ecx
	andl	$3, %ecx
	andl	$7, %r8d
	shll	$6, %r8d
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$4, %r9d
	callq	_AddMapInfo
LBB0_12:
	movq	%rax, %rbx
	movq	(%r12), %rax
	testb	$32, 8(%rax)
	jne	LBB0_13
## %bb.17:
	movl	$511, %ecx                      ## imm = 0x1FF
	movl	40(%rax), %edx
	andl	%ecx, %edx
	negl	%edx
	andl	44(%rax), %ecx
	negl	%ecx
	leaq	L_.str.18(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	$524032, %ecx                   ## imm = 0x7FF00
	movl	88(%rax), %edx
	andl	%ecx, %edx
	cvtsi2ss	%edx, %xmm0
	andl	84(%rax), %ecx
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	cvtsi2ss	%ecx, %xmm3
	divss	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm2, %xmm0
	divss	%xmm3, %xmm1
	cvtss2sd	%xmm1, %xmm1
	leaq	L_.str.19(%rip), %rsi
	movq	%rbx, %rdi
	movb	$2, %al
	callq	_AddString
	movq	(%r12), %rax
	movl	48(%rax), %eax
	andl	$3, %eax
	decq	%rax
	cmpl	$2, %eax
	jbe	LBB0_18
## %bb.19:
	testb	$8, %r13b
	jne	LBB0_20
LBB0_21:
	testb	$4, %r13b
	jne	LBB0_22
LBB0_23:
	testb	$2, %r13b
	jne	LBB0_24
LBB0_25:
	testb	$6, %r13b
	je	LBB0_27
LBB0_26:
	leaq	L_.str.25(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	$524286, %ecx                   ## imm = 0x7FFFE
	andl	80(%rax), %ecx
	leal	(%rcx,%rcx), %edx
	addl	$98566144, %edx                 ## imm = 0x5E00000
	leaq	L_.str.26(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	%r13, %rax
	shrq	$2, %rax
	andl	$12, %eax
	leaq	l_reltable.Vdp2DebugStatsNBG0.37(%rip), %rcx
	movslq	(%rax,%rcx), %rsi
	addq	%rcx, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
LBB0_27:
	testb	$1, %r13b
	je	LBB0_29
## %bb.28:
	leaq	L_.str.31(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	$524286, %ecx                   ## imm = 0x7FFFE
	andl	76(%rax), %ecx
	leal	(%rcx,%rcx), %edx
	addl	$98566144, %edx                 ## imm = 0x5E00000
	leaq	L_.str.32(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	jmp	LBB0_29
LBB0_13:
	testl	$1024, 36(%rax)                 ## imm = 0x400
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	testl	$512, 36(%rax)                  ## imm = 0x200
	leaq	L_.str.15(%rip), %rax
	leaq	L_.str.14(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	testb	$1, 37(%rax)
	jne	LBB0_14
## %bb.16:
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_15
LBB0_18:
	leaq	l_reltable.Vdp2DebugStatsNBG0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	testb	$8, %r13b
	je	LBB0_21
LBB0_20:
	leaq	L_.str.22(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	testb	$4, %r13b
	je	LBB0_23
LBB0_22:
	leaq	L_.str.23(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	testb	$2, %r13b
	je	LBB0_25
LBB0_24:
	leaq	L_.str.24(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	testb	$6, %r13b
	jne	LBB0_26
	jmp	LBB0_27
LBB0_14:
	leaq	L_.str.16(%rip), %rsi
LBB0_15:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
LBB0_29:
	movq	(%r12), %rax
	movl	72(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_AddWindowInfoString
	movq	%rax, %rbx
	movq	(%r12), %rax
	movl	52(%rax), %edx
	andl	$7, %edx
	shll	$8, %edx
	leaq	L_.str.33(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	68(%rax), %esi
	movq	%rbx, %rdi
	callq	_AddSpecialPriorityInfo
	movq	%rax, %rbx
	movq	(%r12), %rax
	movl	56(%rax), %edx
	andl	$7, %edx
	leaq	L_.str.34(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_AddString
	movq	(%r12), %rax
	movl	60(%rax), %ecx
	movl	64(%rax), %r8d
	andl	$31, %ecx
	andl	$3, %r8d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_AddColorCalcInfo
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_AddColorOffsetInfo
	movq	(%r12), %rcx
	movl	64(%rcx), %edx
	andl	$3, %edx
	leaq	L_.str.35(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_AddString
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RBG1 mode\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"Coefficient Table Enabled(Mode %d)\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"NBG0 mode\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"Tile(%dH x %dV)\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"Plane Size = %dH x %dV\r\n"

L_.str.5:                               ## @.str.5
	.asciz	"Pattern Name data size = 2 words\r\n"

L_.str.6:                               ## @.str.6
	.asciz	"Pattern Name data size = 1 word\r\n"

L_.str.7:                               ## @.str.7
	.asciz	"Character Number Supplement bit = %d\r\n"

L_.str.8:                               ## @.str.8
	.asciz	"Special Priority bit = %d\r\n"

L_.str.9:                               ## @.str.9
	.asciz	"Special Color Calculation bit = %d\r\n"

L_.str.10:                              ## @.str.10
	.asciz	"Supplementary Palette number = %d\r\n"

L_.str.11:                              ## @.str.11
	.asciz	"Supplementary Color number = %d\r\n"

L_.str.12:                              ## @.str.12
	.asciz	"Read KAst Parameter = TRUE\r\n"

L_.str.13:                              ## @.str.13
	.asciz	"Read KAst Parameter = FALSE\r\n"

L_.str.14:                              ## @.str.14
	.asciz	"Read Yst Parameter = TRUE\r\n"

L_.str.15:                              ## @.str.15
	.asciz	"Read Yst Parameter = FALSE\r\n"

L_.str.16:                              ## @.str.16
	.asciz	"Read Xst Parameter = TRUE\r\n"

L_.str.17:                              ## @.str.17
	.asciz	"Read Xst Parameter = FALSE\r\n"

L_.str.18:                              ## @.str.18
	.asciz	"Screen Scroll x = %d, y = %d\r\n"

L_.str.19:                              ## @.str.19
	.asciz	"Coordinate Increments x = %f, y = %f\r\n"

L_.str.20:                              ## @.str.20
	.asciz	"Horizontal Reduction = 1/2\r\n"

L_.str.21:                              ## @.str.21
	.asciz	"Horizontal Reduction = 1/4\r\n"

L_.str.22:                              ## @.str.22
	.asciz	"Line Zoom enabled\r\n"

L_.str.23:                              ## @.str.23
	.asciz	"Line Scroll Vertical enabled\r\n"

L_.str.24:                              ## @.str.24
	.asciz	"Line Scroll Horizontal enabled\r\n"

L_.str.25:                              ## @.str.25
	.asciz	"Line Scroll Enabled\r\n"

L_.str.26:                              ## @.str.26
	.asciz	"Line Scroll Table Address = %08X\r\n"

L_.str.27:                              ## @.str.27
	.asciz	"Line Scroll Interval = Each Line\r\n"

L_.str.28:                              ## @.str.28
	.asciz	"Line Scroll Interval = Every 2 Lines\r\n"

L_.str.29:                              ## @.str.29
	.asciz	"Line Scroll Interval = Every 4 Lines\r\n"

L_.str.30:                              ## @.str.30
	.asciz	"Line Scroll Interval = Every 8 Lines\r\n"

L_.str.31:                              ## @.str.31
	.asciz	"Vertical Cell Scroll enabled\r\n"

L_.str.32:                              ## @.str.32
	.asciz	"Vertical Cell Scroll Table Address = %08X\r\n"

L_.str.33:                              ## @.str.33
	.asciz	"Color Ram Address Offset = %X\r\n"

L_.str.34:                              ## @.str.34
	.asciz	"Priority = %d\r\n"

L_.str.35:                              ## @.str.35
	.asciz	"Special Color Calculation %d\r\n"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.Vdp2DebugStatsNBG0
l_reltable.Vdp2DebugStatsNBG0:
	.long	L_.str.20-l_reltable.Vdp2DebugStatsNBG0
	.long	L_.str.21-l_reltable.Vdp2DebugStatsNBG0
	.long	L_.str.21-l_reltable.Vdp2DebugStatsNBG0

	.p2align	2                               ## @reltable.Vdp2DebugStatsNBG0.37
l_reltable.Vdp2DebugStatsNBG0.37:
	.long	L_.str.27-l_reltable.Vdp2DebugStatsNBG0.37
	.long	L_.str.28-l_reltable.Vdp2DebugStatsNBG0.37
	.long	L_.str.29-l_reltable.Vdp2DebugStatsNBG0.37
	.long	L_.str.30-l_reltable.Vdp2DebugStatsNBG0.37

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vdp2DebugStatsNBG0             ; -- Begin function Vdp2DebugStatsNBG0
	.p2align	2
_Vdp2DebugStatsNBG0:                    ; @Vdp2DebugStatsNBG0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, _Vdp2Regs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _Vdp2Regs@GOTPAGEOFF]
	ldr	x8, [x21]
	ldrb	w9, [x8, #8]
	mov	w10, #33
	tst	w9, w10
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	ldp	w22, w20, [x8]
	mov	w9, #1
	str	w9, [x1]
	ldrb	w8, [x8, #8]
	tbnz	w8, #5, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_3:
	str	wzr, [x1]
	b	LBB0_32
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #12]
	tbz	w8, #8, LBB0_7
; %bb.5:
	ubfx	w8, w8, #10, #2
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_AddString
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	bl	_AddMosaicString
	ldr	x8, [x21]
	ldr	w8, [x8, #4]
	ubfx	w1, w8, #4, #3
	bl	_AddBppString
	mov	x19, x0
	ldr	x8, [x21]
	tbz	w20, #1, LBB0_10
; %bb.8:
	ldrb	w9, [x8, #8]
	tbnz	w9, #5, LBB0_10
; %bb.9:
	ldr	w9, [x8, #4]
	ubfx	w1, w9, #2, #2
	ldr	w2, [x8, #92]
	ldr	w3, [x8, #16]
	mov	x0, x19
	bl	_AddBitmapInfoString
	b	LBB0_14
LBB0_10:
	and	w9, w20, #0x1
	ldr	w23, [x8, #20]
	add	w20, w9, #1
	str	xzr, [sp, #24]
	stp	x20, x20, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #24]
	and	w0, w8, #0x3
	add	x1, sp, #28
	add	x2, sp, #24
	bl	_Vdp2GetPlaneSize
	ldp	w9, w8, [sp, #24]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_AddString
	tbnz	w23, #15, LBB0_12
; %bb.11:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_AddString
	str	xzr, [sp]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ubfx	w8, w23, #9, #1
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ubfx	w8, w23, #8, #1
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ubfx	w8, w23, #5, #3
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_AddString
	and	w8, w23, #0x1f
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.11@PAGE
Lloh25:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldur	d0, [x8, #28]
	zip1.4s	v0, v0, v0
	movi.2d	v1, #0x0000ff000000ff
	and.16b	v1, v0, v1
	sshr.4s	v0, v0, #8
	rev64.4s	v1, v1
	trn2.4s	v0, v1, v0
	str	q0, [sp, #32]
	ldp	w2, w9, [x8, #20]
	and	w3, w9, #0x3
	ldr	w8, [x8, #16]
	ubfiz	w4, w8, #6, #3
	add	x6, sp, #32
	mov	x0, x19
	mov	x1, x20
	mov	w5, #4
	bl	_AddMapInfo
LBB0_14:
	mov	x19, x0
	ldr	x8, [x21]
	ldrb	w9, [x8, #8]
	tbnz	w9, #5, LBB0_23
; %bb.15:
	ldp	w9, w8, [x8, #40]
	and	w9, w9, #0x1ff
	neg	w9, w9
	and	w8, w8, #0x1ff
	neg	w8, w8
	stp	x9, x8, [sp]
Lloh26:
	adrp	x1, l_.str.18@PAGE
Lloh27:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldp	w8, w9, [x8, #84]
	and	w9, w9, #0x7ff00
	scvtf	s0, w9
	mov	w9, #1199570944
	fmov	s1, w9
	fdiv	s0, s1, s0
	fcvt	d0, s0
	and	w8, w8, #0x7ff00
	scvtf	s2, w8
	fdiv	s1, s1, s2
	fcvt	d1, s1
	str	d1, [sp, #8]
	str	d0, [sp]
Lloh28:
	adrp	x1, l_.str.19@PAGE
Lloh29:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #48]
	and	x8, x8, #0x3
	sub	x8, x8, #1
	cmp	w8, #2
	b.ls	LBB0_25
; %bb.16:
	tbnz	w22, #3, LBB0_26
LBB0_17:
	tbnz	w22, #2, LBB0_27
LBB0_18:
	tbnz	w22, #1, LBB0_28
LBB0_19:
	tst	w22, #0x6
	b.eq	LBB0_21
LBB0_20:
Lloh30:
	adrp	x1, l_.str.25@PAGE
Lloh31:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #80]
	lsr	w8, w8, #1
	mov	w9, #98566144
	bfi	w9, w8, #2, #18
	str	x9, [sp]
Lloh32:
	adrp	x1, l_.str.26@PAGE
Lloh33:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ubfx	x8, x22, #4, #2
Lloh34:
	adrp	x9, l_switch.table.Vdp2DebugStatsNBG0.36@PAGE
Lloh35:
	add	x9, x9, l_switch.table.Vdp2DebugStatsNBG0.36@PAGEOFF
	ldr	x1, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_AddString
LBB0_21:
	tbz	w22, #0, LBB0_31
; %bb.22:
Lloh36:
	adrp	x1, l_.str.31@PAGE
Lloh37:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #76]
	lsr	w8, w8, #1
	mov	w9, #98566144
	bfi	w9, w8, #2, #18
	str	x9, [sp]
Lloh38:
	adrp	x1, l_.str.32@PAGE
Lloh39:
	add	x1, x1, l_.str.32@PAGEOFF
	b	LBB0_30
LBB0_23:
	ldr	w8, [x8, #36]
Lloh40:
	adrp	x9, l_.str.12@PAGE
Lloh41:
	add	x9, x9, l_.str.12@PAGEOFF
Lloh42:
	adrp	x10, l_.str.13@PAGE
Lloh43:
	add	x10, x10, l_.str.13@PAGEOFF
	tst	w8, #0x400
	csel	x1, x10, x9, eq
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldr	w8, [x8, #36]
Lloh44:
	adrp	x9, l_.str.14@PAGE
Lloh45:
	add	x9, x9, l_.str.14@PAGEOFF
Lloh46:
	adrp	x10, l_.str.15@PAGE
Lloh47:
	add	x10, x10, l_.str.15@PAGEOFF
	tst	w8, #0x200
	csel	x1, x10, x9, eq
	mov	x0, x19
	bl	_AddString
	ldr	x8, [x21]
	ldrb	w8, [x8, #37]
	tbnz	w8, #0, LBB0_29
; %bb.24:
Lloh48:
	adrp	x1, l_.str.17@PAGE
Lloh49:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_30
LBB0_25:
Lloh50:
	adrp	x9, l_switch.table.Vdp2DebugStatsNBG0@PAGE
Lloh51:
	add	x9, x9, l_switch.table.Vdp2DebugStatsNBG0@PAGEOFF
	ldr	x1, [x9, x8, lsl #3]
	mov	x0, x19
	bl	_AddString
	tbz	w22, #3, LBB0_17
LBB0_26:
Lloh52:
	adrp	x1, l_.str.22@PAGE
Lloh53:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_AddString
	tbz	w22, #2, LBB0_18
LBB0_27:
Lloh54:
	adrp	x1, l_.str.23@PAGE
Lloh55:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_AddString
	tbz	w22, #1, LBB0_19
LBB0_28:
Lloh56:
	adrp	x1, l_.str.24@PAGE
Lloh57:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x19
	bl	_AddString
	tst	w22, #0x6
	b.ne	LBB0_20
	b	LBB0_21
LBB0_29:
Lloh58:
	adrp	x1, l_.str.16@PAGE
Lloh59:
	add	x1, x1, l_.str.16@PAGEOFF
LBB0_30:
	mov	x0, x19
	bl	_AddString
LBB0_31:
	ldr	x8, [x21]
	ldr	w1, [x8, #72]
	mov	x0, x19
	mov	w2, #0
	bl	_AddWindowInfoString
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w8, [x8, #52]
	ubfiz	w8, w8, #8, #3
	str	x8, [sp]
Lloh60:
	adrp	x1, l_.str.33@PAGE
Lloh61:
	add	x1, x1, l_.str.33@PAGEOFF
	bl	_AddString
	ldr	x8, [x21]
	ldr	w1, [x8, #68]
	mov	x0, x19
	bl	_AddSpecialPriorityInfo
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w8, [x8, #56]
	and	w8, w8, #0x7
	str	x8, [sp]
Lloh62:
	adrp	x1, l_.str.34@PAGE
Lloh63:
	add	x1, x1, l_.str.34@PAGEOFF
	bl	_AddString
	ldr	x8, [x21]
	ldp	w9, w8, [x8, #60]
	and	w3, w9, #0x1f
	and	w4, w8, #0x3
	mov	x0, x19
	mov	w1, #1
	mov	w2, #2
	bl	_AddColorCalcInfo
	mov	w1, #1
	bl	_AddColorOffsetInfo
	ldr	x8, [x21]
	ldr	w8, [x8, #64]
	and	w8, w8, #0x3
	str	x8, [sp]
Lloh64:
	adrp	x1, l_.str.35@PAGE
Lloh65:
	add	x1, x1, l_.str.35@PAGEOFF
	bl	_AddString
LBB0_32:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RBG1 mode\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"Coefficient Table Enabled(Mode %d)\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"NBG0 mode\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"Tile(%dH x %dV)\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"Plane Size = %dH x %dV\r\n"

l_.str.5:                               ; @.str.5
	.asciz	"Pattern Name data size = 2 words\r\n"

l_.str.6:                               ; @.str.6
	.asciz	"Pattern Name data size = 1 word\r\n"

l_.str.7:                               ; @.str.7
	.asciz	"Character Number Supplement bit = %d\r\n"

l_.str.8:                               ; @.str.8
	.asciz	"Special Priority bit = %d\r\n"

l_.str.9:                               ; @.str.9
	.asciz	"Special Color Calculation bit = %d\r\n"

l_.str.10:                              ; @.str.10
	.asciz	"Supplementary Palette number = %d\r\n"

l_.str.11:                              ; @.str.11
	.asciz	"Supplementary Color number = %d\r\n"

l_.str.12:                              ; @.str.12
	.asciz	"Read KAst Parameter = TRUE\r\n"

l_.str.13:                              ; @.str.13
	.asciz	"Read KAst Parameter = FALSE\r\n"

l_.str.14:                              ; @.str.14
	.asciz	"Read Yst Parameter = TRUE\r\n"

l_.str.15:                              ; @.str.15
	.asciz	"Read Yst Parameter = FALSE\r\n"

l_.str.16:                              ; @.str.16
	.asciz	"Read Xst Parameter = TRUE\r\n"

l_.str.17:                              ; @.str.17
	.asciz	"Read Xst Parameter = FALSE\r\n"

l_.str.18:                              ; @.str.18
	.asciz	"Screen Scroll x = %d, y = %d\r\n"

l_.str.19:                              ; @.str.19
	.asciz	"Coordinate Increments x = %f, y = %f\r\n"

l_.str.20:                              ; @.str.20
	.asciz	"Horizontal Reduction = 1/2\r\n"

l_.str.21:                              ; @.str.21
	.asciz	"Horizontal Reduction = 1/4\r\n"

l_.str.22:                              ; @.str.22
	.asciz	"Line Zoom enabled\r\n"

l_.str.23:                              ; @.str.23
	.asciz	"Line Scroll Vertical enabled\r\n"

l_.str.24:                              ; @.str.24
	.asciz	"Line Scroll Horizontal enabled\r\n"

l_.str.25:                              ; @.str.25
	.asciz	"Line Scroll Enabled\r\n"

l_.str.26:                              ; @.str.26
	.asciz	"Line Scroll Table Address = %08X\r\n"

l_.str.27:                              ; @.str.27
	.asciz	"Line Scroll Interval = Each Line\r\n"

l_.str.28:                              ; @.str.28
	.asciz	"Line Scroll Interval = Every 2 Lines\r\n"

l_.str.29:                              ; @.str.29
	.asciz	"Line Scroll Interval = Every 4 Lines\r\n"

l_.str.30:                              ; @.str.30
	.asciz	"Line Scroll Interval = Every 8 Lines\r\n"

l_.str.31:                              ; @.str.31
	.asciz	"Vertical Cell Scroll enabled\r\n"

l_.str.32:                              ; @.str.32
	.asciz	"Vertical Cell Scroll Table Address = %08X\r\n"

l_.str.33:                              ; @.str.33
	.asciz	"Color Ram Address Offset = %X\r\n"

l_.str.34:                              ; @.str.34
	.asciz	"Priority = %d\r\n"

l_.str.35:                              ; @.str.35
	.asciz	"Special Color Calculation %d\r\n"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.Vdp2DebugStatsNBG0
l_switch.table.Vdp2DebugStatsNBG0:
	.quad	l_.str.20
	.quad	l_.str.21
	.quad	l_.str.21

	.p2align	3                               ; @switch.table.Vdp2DebugStatsNBG0.36
l_switch.table.Vdp2DebugStatsNBG0.36:
	.quad	l_.str.27
	.quad	l_.str.28
	.quad	l_.str.29
	.quad	l_.str.30

.subsections_via_symbols
