	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MONITOR_ShowState              ## -- Begin function MONITOR_ShowState
	.p2align	4, 0x90
_MONITOR_ShowState:                     ## @MONITOR_ShowState
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r9d
	movl	%edx, %r8d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movsbl	16(%rbp), %r15d
	movsbl	24(%rbp), %r12d
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ANTIC_XPOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_CPU_regP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_CPU_D_FLAG@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	movq	_CPU_I_FLAG@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movl	$45, %esi
	movl	$73, %ebx
	cmovel	%esi, %ebx
	movsbl	32(%rbp), %r11d
	movsbl	40(%rbp), %r10d
	testl	%edi, %edi
	movl	$68, %eax
	cmovel	%esi, %eax
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	pushq	%r10
	pushq	%r11
	pushq	%rbx
	pushq	%rax
	pushq	%r12
	pushq	%r15
	pushq	%r14
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_fprintf
	addq	$64, %rsp
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_show_instruction               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%3d %3d A=%02X X=%02X Y=%02X S=%02X P=%c%c*-%c%c%c%c PC="

	.comm	_ANTIC_ypos,4,2                 ## @ANTIC_ypos
	.comm	_ANTIC_XPOS,4,2                 ## @ANTIC_XPOS
	.comm	_CPU_regP,4,2                   ## @CPU_regP
	.comm	_CPU_D_FLAG,4,2                 ## @CPU_D_FLAG
	.comm	_CPU_I_FLAG,4,2                 ## @CPU_I_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MONITOR_ShowState              ; -- Begin function MONITOR_ShowState
	.p2align	2
_MONITOR_ShowState:                     ; @MONITOR_ShowState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x5
	mov	x9, x4
	mov	x5, x3
	mov	x4, x2
	mov	x19, x1
	mov	x20, x0
	ldrsb	w10, [x29, #16]
	ldrsb	w11, [x29, #17]
Lloh0:
	adrp	x12, _ANTIC_ypos@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ANTIC_ypos@GOTPAGEOFF]
Lloh2:
	adrp	x13, _ANTIC_XPOS@GOTPAGE
Lloh3:
	ldr	x13, [x13, _ANTIC_XPOS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x12]
Lloh5:
	ldr	w3, [x13]
Lloh6:
	adrp	x12, _CPU_regP@GOTPAGE
Lloh7:
	ldr	x12, [x12, _CPU_regP@GOTPAGEOFF]
Lloh8:
	adrp	x13, _CPU_D_FLAG@GOTPAGE
Lloh9:
	ldr	x13, [x13, _CPU_D_FLAG@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
Lloh11:
	ldr	w13, [x13]
	tst	w13, w12
	mov	w13, #68
	mov	w14, #45
	csel	w13, w14, w13, eq
Lloh12:
	adrp	x15, _CPU_I_FLAG@GOTPAGE
Lloh13:
	ldr	x15, [x15, _CPU_I_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w15, [x15]
	tst	w15, w12
	mov	w12, #73
	csel	w12, w14, w12, eq
	strb	w11, [sp, #5]
	strb	w10, [sp, #4]
	strb	w12, [sp, #3]
	strb	w13, [sp, #2]
	strb	w7, [sp, #1]
	strb	w6, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x6, x9
	mov	x7, x8
	bl	_fprintf
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_show_instruction
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%3d %3d A=%02X X=%02X Y=%02X S=%02X P=%c%c*-%c%c%c%c PC="

	.comm	_ANTIC_ypos,4,2                 ; @ANTIC_ypos
	.comm	_ANTIC_XPOS,4,2                 ; @ANTIC_XPOS
	.comm	_CPU_regP,4,2                   ; @CPU_regP
	.comm	_CPU_D_FLAG,4,2                 ; @CPU_D_FLAG
	.comm	_CPU_I_FLAG,4,2                 ; @CPU_I_FLAG
.subsections_via_symbols
