// File: /workspace/github_c_makefile_star2_O0/pahihu[P]mixal/run.c
// Function: print_DUMP
void print_DUMP(void)
{
    int i, j;
    Address address = 0;
    
    printf ("\n");
    printf ("CONTENTS OF MIX MEMORY (NONZERO LOCATIONS ONLY)\n\n");
    printf ("LOC        0           1           2           3                  FREQUENCY COUNTS\n");
    for (i = 0; i < memory_size / 4; i++, address += 4) {
        Flag has_nonzero = false;
        for (j = 0; !has_nonzero && j < 4; j++) {
            Cell value = memory_fetch(address + j);
            if (magnitude(value))
                has_nonzero = true;
        }
        if (!has_nonzero)
            continue;
        printf ("%s:", address_to_string(address));
        for (j = 0; j < 4; j++) {
            Cell value = memory_fetch(address + j);
            if (magnitude(value)) {
                printf (" ");
                print_cell (value);
            }
            else
                printf (" %11s", "");
        }
        printf("     ");
        for (j = 0; j < 4; j++)
            printf(" %07d", frequency[address + j]);
        printf("\n");
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl $0x0, -0xc(%rbp)
leaq 0x3f47(%rip), %rdi      # 0xcf4d
movb $0x0, %al
callq 0x30f0
leaq 0x3f09(%rip), %rdi      # 0xcf1d
movb $0x0, %al
callq 0x30f0
leaq 0x3f2d(%rip), %rdi      # 0xcf4f
movb $0x0, %al
callq 0x30f0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
movl %eax, -0x24(%rbp)
movl 0xad98(%rip), %eax      # 0x13dd4
movl $0x4, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x24(%rbp), %eax
cmpl %ecx, %eax
jge 0x91a7
movl $0x0, -0x10(%rbp)
movl $0x0, -0x8(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x10(%rbp)
movb %al, -0x25(%rbp)
jne 0x9074
cmpl $0x4, -0x8(%rbp)
setl %al
movb %al, -0x25(%rbp)
movb -0x25(%rbp), %al
testb $0x1, %al
jne 0x907d
jmp 0x90b0
movl -0xc(%rbp), %edi
addl -0x8(%rbp), %edi
callq 0x8e80
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
andq $0x3fffffff, %rax       # imm = 0x3FFFFFFF
cmpq $0x0, %rax
je 0x90a3
movl $0x1, -0x10(%rbp)
jmp 0x90a5
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x905f
cmpl $0x0, -0x10(%rbp)
jne 0x90bb
jmp 0x9190
movl -0xc(%rbp), %edi
callq 0x4670
movq %rax, %rsi
leaq 0x3ed6(%rip), %rdi      # 0xcfa3
movb $0x0, %al
callq 0x30f0
movl $0x0, -0x8(%rbp)
cmpl $0x4, -0x8(%rbp)
jge 0x913b
movl -0xc(%rbp), %edi
addl -0x8(%rbp), %edi
callq 0x8e80
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x3fffffff, %rax       # imm = 0x3FFFFFFF
cmpq $0x0, %rax
je 0x9119
leaq 0x3759(%rip), %rdi      # 0xc860
movb $0x0, %al
callq 0x30f0
movq -0x20(%rbp), %rdi
callq 0x4620
jmp 0x912e
leaq 0x3e87(%rip), %rdi      # 0xcfa7
leaq 0x31c3(%rip), %rsi      # 0xc2ea
movb $0x0, %al
callq 0x30f0
jmp 0x9130
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x90db
leaq 0x371a(%rip), %rdi      # 0xc85c
movb $0x0, %al
callq 0x30f0
movl $0x0, -0x8(%rbp)
cmpl $0x4, -0x8(%rbp)
jge 0x9182
movq 0xac9b(%rip), %rax      # 0x13df8
movl -0xc(%rbp), %ecx
addl -0x8(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %esi
leaq 0x3e3d(%rip), %rdi      # 0xcfad
movb $0x0, %al
callq 0x30f0
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x9150
leaq 0x3dc4(%rip), %rdi      # 0xcf4d
movb $0x0, %al
callq 0x30f0
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
movl -0xc(%rbp), %eax
addl $0x4, %eax
movl %eax, -0xc(%rbp)
jmp 0x9030
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)