// File: /workspace/github_c_makefile_star2_O0/mikebdp2[P]AtomDis/main.c
// Function: do_test
void do_test (uint8_t *data)
{
    int i, j;
    for (i = 0; i < 0x100; i++) {
	if (! optable[i].name)
	    fprintf (stdout, "%02x:  -\n", i);
	else if (optable[i].desttype < 8)
	    fprintf (stdout, "%02x:  %s_%s\n", i, optable[i].name, addrnames[optable[i].desttype]);
	else
	    fprintf (stdout, "%02x:  %s  (%s)\n", i, optable[i].name, addrnames[optable[i].desttype]);
    }
    for (i = 0; i < INDEXTABLE_SIZEOF; i++) {
	fprintf (stdout, "\nindex_table %s len %02x\n ", index_tables[i].name, index_tables[i].len);
	for (j = 0; j < index_tables[i].len; j++)
	    if (index_tables[i].tab[j])
		fprintf (stdout, " %02x=%s", j, index_tables[i].tab[j]);
	putc ('\n', stdout);
    }
    putc ('\n', stdout);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
cmpl $0x100, -0xc(%rbp)      # imm = 0x100
jge 0x62c9
movslq -0xc(%rbp), %rcx
leaq 0x5bc05(%rip), %rax     # 0x61dd0
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
jne 0x61f9
movq 0x5dde0(%rip), %rax     # 0x63fc0
movq (%rax), %rdi
movl -0xc(%rbp), %edx
leaq 0x465c0(%rip), %rsi     # 0x4c7ad
movb $0x0, %al
callq 0x4130
jmp 0x62b9
movslq -0xc(%rbp), %rcx
leaq 0x5bbcc(%rip), %rax     # 0x61dd0
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x8, 0x10(%rax)
jge 0x6265
movq 0x5dda8(%rip), %rax     # 0x63fc0
movq (%rax), %rdi
movl -0xc(%rbp), %edx
movslq -0xc(%rbp), %rcx
leaq 0x5bba7(%rip), %rax     # 0x61dd0
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rcx
movslq -0xc(%rbp), %rsi
leaq 0x5bb91(%rip), %rax     # 0x61dd0
shlq $0x5, %rsi
addq %rsi, %rax
movslq 0x10(%rax), %rsi
leaq 0x5debf(%rip), %rax     # 0x64110
movq (%rax,%rsi,8), %r8
leaq 0x4655b(%rip), %rsi     # 0x4c7b7
movb $0x0, %al
callq 0x4130
jmp 0x62b7
movq 0x5dd54(%rip), %rax     # 0x63fc0
movq (%rax), %rdi
movl -0xc(%rbp), %edx
movslq -0xc(%rbp), %rcx
leaq 0x5bb53(%rip), %rax     # 0x61dd0
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rcx
movslq -0xc(%rbp), %rsi
leaq 0x5bb3d(%rip), %rax     # 0x61dd0
shlq $0x5, %rsi
addq %rsi, %rax
movslq 0x10(%rax), %rsi
leaq 0x5de6b(%rip), %rax     # 0x64110
movq (%rax,%rsi,8), %r8
leaq 0x46515(%rip), %rsi     # 0x4c7c5
movb $0x0, %al
callq 0x4130
jmp 0x62b9
jmp 0x62bb
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x61b3
movl $0x0, -0xc(%rbp)
cmpl $0xb, -0xc(%rbp)
jge 0x63c9
movq 0x5dcdf(%rip), %rax     # 0x63fc0
movq (%rax), %rdi
movslq -0xc(%rbp), %rcx
leaq 0x5ece1(%rip), %rax     # 0x64fd0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdx
movslq -0xc(%rbp), %rcx
leaq 0x5eccc(%rip), %rax     # 0x64fd0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x10(%rax), %ecx
leaq 0x464c1(%rip), %rsi     # 0x4c7d6
movb $0x0, %al
callq 0x4130
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
movslq -0xc(%rbp), %rdx
leaq 0x5ec9f(%rip), %rcx     # 0x64fd0
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x10(%rcx), %eax
jge 0x63a7
movslq -0xc(%rbp), %rcx
leaq 0x5ec88(%rip), %rax     # 0x64fd0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movslq -0x10(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x6397
movq 0x5dc5b(%rip), %rax     # 0x63fc0
movq (%rax), %rdi
movl -0x10(%rbp), %edx
movslq -0xc(%rbp), %rcx
leaq 0x5ec5a(%rip), %rax     # 0x64fd0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movslq -0x10(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x46461(%rip), %rsi     # 0x4c7f1
movb $0x0, %al
callq 0x4130
jmp 0x6399
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6323
movq 0x5dc12(%rip), %rax     # 0x63fc0
movq (%rax), %rsi
movl $0xa, %edi
callq 0x4120
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x62d0
movq 0x5dbf0(%rip), %rax     # 0x63fc0
movq (%rax), %rsi
movl $0xa, %edi
callq 0x4120
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)