	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_history
_show_history:                          ## @show_history
	.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
	movq	_CPU_REMEMBER_PC_STEPS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CPU_remember_PC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CPU_remember_PC_curpos@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	%rdx, %r14
	addl	%r13d, %eax
	cltd
	idivl	%ecx
	movslq	%edx, %rax
	movq	(%rsi,%rax,8), %r15
	movq	_CPU_remember_xpos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movzbl	%sil, %edx
	sarl	$8, %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	%r15, %rdi
	callq	_MEMORY_SafeGetByte
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_CPU_remember_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r14), %eax
	addl	%r13d, %eax
	cltd
	idivl	(%rbx)
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MEMORY_dPutByte
	leaq	1(%r15), %r12
	movq	%r12, %rdi
	callq	_MEMORY_SafeGetByte
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_CPU_remember_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r14), %eax
	addl	%r13d, %eax
	cltd
	idivl	(%rbx)
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rax
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_MEMORY_dPutByte
	leaq	2(%r15), %r14
	movq	%r14, %rdi
	callq	_MEMORY_SafeGetByte
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CPU_remember_op@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CPU_remember_PC_curpos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	cltd
	idivl	(%rbx)
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rax
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_MEMORY_dPutByte
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CPU_remember_PC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CPU_remember_PC_curpos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	cltd
	idivl	(%rbx)
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rsi
	callq	_show_instruction
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_MEMORY_dPutByte
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_MEMORY_dPutByte
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_MEMORY_dPutByte
	incl	%r13d
	movl	(%rbx), %ecx
	cmpl	%ecx, %r13d
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_REMEMBER_PC_STEPS,4,2      ## @CPU_REMEMBER_PC_STEPS
	.comm	_CPU_remember_PC,8,3            ## @CPU_remember_PC
	.comm	_CPU_remember_PC_curpos,4,2     ## @CPU_remember_PC_curpos
	.comm	_CPU_remember_xpos,8,3          ## @CPU_remember_xpos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%3d %3d "

	.comm	_CPU_remember_op,8,3            ## @CPU_remember_op
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_show_history
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_history
_show_history:                          ; @show_history
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x26, _CPU_REMEMBER_PC_STEPS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CPU_REMEMBER_PC_STEPS@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w27, #0
Lloh2:
	adrp	x19, _CPU_remember_PC_curpos@GOTPAGE
Lloh3:
	ldr	x19, [x19, _CPU_remember_PC_curpos@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh4:
	adrp	x28, _CPU_remember_PC@GOTPAGE
Lloh5:
	ldr	x28, [x28, _CPU_remember_PC@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x28]
	ldr	w10, [x19]
	add	w10, w27, w10
	sdiv	w11, w10, w8
	msub	w8, w11, w8, w10
	ldr	x20, [x9, w8, sxtw #3]
Lloh7:
	adrp	x9, _CPU_remember_xpos@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CPU_remember_xpos@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, sxtw #2]
	asr	w1, w8, #8
	and	w2, w8, #0xff
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_MEMORY_SafeGetByte
	mov	x21, x0
Lloh12:
	adrp	x28, _CPU_remember_op@GOTPAGE
Lloh13:
	ldr	x28, [x28, _CPU_remember_op@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	w9, [x19]
	add	w9, w27, w9
	ldr	w10, [x26]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MEMORY_dPutByte
	add	x22, x20, #1
	mov	x0, x22
	bl	_MEMORY_SafeGetByte
	mov	x23, x0
	ldr	x8, [x28]
	ldr	w9, [x19]
	add	w9, w27, w9
	ldr	w10, [x26]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w1, [x8, #4]
	mov	x0, x22
	bl	_MEMORY_dPutByte
	add	x24, x20, #2
	mov	x0, x24
	bl	_MEMORY_SafeGetByte
	mov	x25, x0
	ldr	x8, [x28]
	ldr	w9, [x19]
	add	w9, w27, w9
	ldr	w10, [x26]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w1, [x8, #8]
	mov	x0, x24
	bl	_MEMORY_dPutByte
Lloh14:
	adrp	x8, _stdout@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _CPU_remember_PC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CPU_remember_PC@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w9, [x19]
	add	w9, w27, w9
	ldr	w10, [x26]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x1, [x8, w9, sxtw #3]
	bl	_show_instruction
	mov	x0, x20
	mov	x1, x21
	bl	_MEMORY_dPutByte
	mov	x0, x22
	mov	x1, x23
	bl	_MEMORY_dPutByte
	mov	x0, x24
	mov	x1, x25
	bl	_MEMORY_dPutByte
	add	w27, w27, #1
	ldr	w8, [x26]
	cmp	w27, w8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_REMEMBER_PC_STEPS,4,2      ; @CPU_REMEMBER_PC_STEPS
	.comm	_CPU_remember_PC,8,3            ; @CPU_remember_PC
	.comm	_CPU_remember_PC_curpos,4,2     ; @CPU_remember_PC_curpos
	.comm	_CPU_remember_xpos,8,3          ; @CPU_remember_xpos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%3d %3d "

	.comm	_CPU_remember_op,8,3            ; @CPU_remember_op
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_show_history
.subsections_via_symbols
