// File: /workspace/github_c_makefile_star2_O3/mist64[P]cbmbasic/runtime.c
// Function: kernal_dispatch
int
kernal_dispatch() {
//{ printf("kernal_dispatch $%04X; ", PC); int i; printf("stack (%02X): ", S); for (i=S+1; i<0x100; i++) { printf("%02X ", RAM[0x0100+i]); } printf("\n"); }

	unsigned int new_pc;
	switch(PC) {
		case 0x0073:	CHRGET();	break;
		case 0x0079:	CHRGOT();	break;
		case 0xFF90:	SETMSG();	break;
		case 0xFF99:	MEMTOP();	break;
		case 0xFF9C:	MEMBOT();	break;
		case 0xFFB7:	READST();	break;
		case 0xFFBA:	SETLFS();	break;
		case 0xFFBD:	SETNAM();	break;
		case 0xFFC0:	OPEN();		break;
		case 0xFFC3:	CLOSE();	break;
		case 0xFFC6:	CHKIN();	break;
		case 0xFFC9:	CHKOUT();	break;
		case 0xFFCC:	CLRCHN();	break;
		case 0xFFCF:	CHRIN();	break;
		case 0xFFD2:	CHROUT();	break;
		case 0xFFD5:	LOAD();		break;
		case 0xFFD8:	SAVE();		break;
		case 0xFFDB:	SETTIM();	break;
		case 0xFFDE:	RDTIM();	break;
		case 0xFFE1:	STOP();		break;
		case 0xFFE4:	GETIN();	break;
		case 0xFFE7:	CLALL();	break;
		case 0xFFF0:	PLOT();		break;
		case 0xFFF3:	IOBASE();	break;

		case 0:		plugin_off(); S+=2; break;
		case 1:		plugin_on(); S+=2; break;

		case MAGIC_ERROR:	new_pc = plugin_error(); PUSH_WORD(new_pc? new_pc-1:orig_error-1); break;
		case MAGIC_MAIN:	new_pc = plugin_main(); PUSH_WORD(new_pc? new_pc-1:orig_main-1); break;
		case MAGIC_CRNCH:	new_pc = plugin_crnch(); PUSH_WORD(new_pc? new_pc-1:orig_crnch-1); break;
		case MAGIC_QPLOP:	new_pc = plugin_qplop(); PUSH_WORD(new_pc? new_pc-1:orig_qplop-1); break;
		case MAGIC_GONE:	new_pc = plugin_gone(); PUSH_WORD(new_pc? new_pc-1:orig_gone-1); break;
		case MAGIC_EVAL:	new_pc = plugin_eval(); PUSH_WORD(new_pc? new_pc-1:orig_eval-1); break;
		
		case MAGIC_CONTINUATION: /*printf("--CONTINUATION--\n");*/ return 0;

		default: printf("unknown PC=$%04X S=$%02X\n", PC, S); exit(1);
	}
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
leaq 0x1d802(%rip), %rax     # 0x30140
movzwl (%rax), %esi
cmpl $0xffc5, %esi           # imm = 0xFFC5
jg 0x12994
cmpl $0xff8f, %esi           # imm = 0xFF8F
jg 0x12a79
cmpl $0x78, %esi
jle 0x12bba
leal -0xff00(%rsi), %eax
cmpl $0x5, %eax
ja 0x132d1
leaq 0xacfc(%rip), %rcx      # 0x1d670
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x13a5c
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1d8a5(%rip), %edi     # 0x30234
jmp 0x13348
cmpl $0xffdd, %esi           # imm = 0xFFDD
jg 0x12ac2
leal -0xffc6(%rsi), %eax
cmpl $0x9, %eax
jbe 0x12be8
leal -0xffd2(%rsi), %eax
cmpl $0x9, %eax
ja 0x139e7
leaq 0xad13(%rip), %rcx      # 0x1d6d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x1d850(%rip), %ebx     # 0x30224
testl %ebx, %ebx
je 0x134c1
movl $0xe10f, %edi           # imm = 0xE10F
movl $0xab4a, %esi           # imm = 0xAB4A
movl $0xab30, %edx           # imm = 0xAB30
movl $0xa47b, %ecx           # imm = 0xA47B
callq 0x12658
testl %eax, %eax
je 0x12a13
leaq 0x1d745(%rip), %rax     # 0x30145
cmpb $0x52, (%rax)
jne 0x12a0b
incl 0x1d815(%rip)           # 0x30220
testl %ebx, %ebx
je 0x1358b
movl $0xe10f, %edi           # imm = 0xE10F
movl $0xab4a, %esi           # imm = 0xAB4A
movl $0xaadc, %edx           # imm = 0xAADC
movl $0xa486, %ecx           # imm = 0xA486
callq 0x12658
testl %eax, %eax
jne 0x1358b
movzbl 0x1d71d(%rip), %eax     # 0x30158
testq %rax, %rax
je 0x137cc
leaq 0x1d6fa(%rip), %rbx     # 0x30145
movzbl (%rbx), %edi
leaq 0x1d70b(%rip), %rcx     # 0x30160
movq (%rcx,%rax,8), %rsi
callq 0x1130
cmpl $-0x1, %eax
jne 0x1358b
leaq 0x1d6d8(%rip), %rax     # 0x30146
movb $0x1, (%rax)
movb $0x7, (%rbx)
jmp 0x13595
cmpl $0xffb6, %esi           # imm = 0xFFB6
jg 0x12b69
cmpl $0xff90, %esi           # imm = 0xFF90
je 0x12c51
cmpl $0xff99, %esi           # imm = 0xFF99
je 0x12c6d
cmpl $0xff9c, %esi           # imm = 0xFF9C
jne 0x139e7
leaq 0x1d692(%rip), %rax     # 0x30142
movb $0x0, (%rax)
leaq 0x1d68e(%rip), %rax     # 0x30148
movb $0x8, (%rax)
jmp 0x13595
cmpl $0xffef, %esi           # imm = 0xFFEF
jg 0x12c26
leal -0xffde(%rsi), %eax
cmpl $0x9, %eax
ja 0x139e7
leaq 0xac1c(%rip), %rcx      # 0x1d700
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %edi, %edi
callq 0x1190
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x1040
leaq 0x18(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x10d0
imull $0x3c, 0x8(%rbx), %eax
addl 0x4(%rbx), %eax
imull $0x3c, %eax, %ecx
addl (%rbx), %ecx
movabsq $0x7dd58b133365889f, %rax # imm = 0x7DD58B133365889F
imulq 0x8(%r14)
imull $0x3c, %ecx, %eax
movq %rdx, %rcx
shrq $0x3f, %rcx
sarq $0xd, %rdx
addq %rcx, %rdx
addq %rax, %rdx
leaq 0x1d5f5(%rip), %rax     # 0x30142
movb %dh, (%rax)
leaq 0x1d5ef(%rip), %rax     # 0x30145
movb %dl, (%rax)
movl %edx, %eax
shrl $0x10, %eax
leaq 0x1d5e4(%rip), %rcx     # 0x30148
jmp 0x1345d
leal -0xffba(%rsi), %eax
cmpl $0x9, %eax
ja 0x1338e
leaq 0xab09(%rip), %rcx      # 0x1d688
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1d5b6(%rip), %rax     # 0x30145
movb (%rax), %al
movb %al, 0x1d6b6(%rip)      # 0x3024d
leaq 0x1d5a4(%rip), %rax     # 0x30142
movb (%rax), %al
movb %al, 0x1d6a8(%rip)      # 0x3024e
leaq 0x1d59b(%rip), %rax     # 0x30148
movb (%rax), %al
movb %al, 0x1d69a(%rip)      # 0x3024f
jmp 0x13595
testl %esi, %esi
je 0x12c86
cmpl $0x1, %esi
je 0x12cf6
cmpl $0x73, %esi
jne 0x139e7
movl $0x1, %ebx
movl $0x1, %edi
callq 0x126ea
jmp 0x1359a
leaq 0xaac1(%rip), %rcx      # 0x1d6b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x0, 0x1d551(%rip)     # 0x30150
leaq 0x1d53c(%rip), %rax     # 0x30142
movzbl (%rax), %eax
leaq 0x1d550(%rip), %rcx     # 0x30160
cmpq $0x0, (%rcx,%rax,8)
je 0x1344a
movb %al, 0x1d538(%rip)      # 0x30159
jmp 0x13446
cmpl $0xfff0, %esi           # imm = 0xFFF0
je 0x12e20
cmpl $0xfff3, %esi           # imm = 0xFFF3
je 0x12e5f
xorl %ebx, %ebx
cmpl $0xffff, %esi           # imm = 0xFFFF
je 0x1359a
jmp 0x139e7
leaq 0x1d4ed(%rip), %rax     # 0x30145
movb (%rax), %cl
movb %cl, 0x1d5e8(%rip)      # 0x30248
movb 0x1d4ea(%rip), %cl      # 0x30150
movb %cl, (%rax)
jmp 0x13595
leaq 0x1d4ce(%rip), %rax     # 0x30142
movb $0x0, (%rax)
leaq 0x1d4ca(%rip), %rax     # 0x30148
movb $-0x60, (%rax)
jmp 0x13595
cmpl $0x0, 0x1d5a3(%rip)     # 0x30230
je 0x12cfb
movzwl 0x1d59e(%rip), %eax     # 0x30234
leaq 0xd4a3(%rip), %rcx      # 0x20140
movw %ax, 0x300(%rcx)
movzwl 0x1d58b(%rip), %eax     # 0x30236
movw %ax, 0x302(%rcx)
movzwl 0x1d57f(%rip), %eax     # 0x30238
movw %ax, 0x304(%rcx)
movzwl 0x1d573(%rip), %eax     # 0x3023a
movw %ax, 0x306(%rcx)
movzwl 0x1d567(%rip), %eax     # 0x3023c
movw %ax, 0x308(%rcx)
movzwl 0x1d55b(%rip), %eax     # 0x3023e
movw %ax, 0x30a(%rcx)
movl $0x0, 0x1d53c(%rip)     # 0x30230
jmp 0x12cfb
callq 0x1289b
leaq 0xd426(%rip), %rax      # 0x20128
addb $0x2, (%rax)
jmp 0x13595
xorl %eax, %eax
movb %al, 0x1d447(%rip)      # 0x30159
movb %al, 0x1d440(%rip)      # 0x30158
jmp 0x13595
movb $0x0, 0x1d42c(%rip)     # 0x30150
leaq 0x1d417(%rip), %rax     # 0x30142
movzbl (%rax), %eax
leaq 0x1d42b(%rip), %rcx     # 0x30160
cmpq $0x0, (%rcx,%rax,8)
je 0x1344a
movb %al, 0x1d412(%rip)      # 0x30158
jmp 0x13446
cmpl $0x0, 0x1d4d2(%rip)     # 0x30224
jne 0x12d61
cmpl $0x2, 0x1d4c5(%rip)     # 0x30220
je 0x139b5
movzbl 0x1d3f1(%rip), %eax     # 0x30159
testq %rax, %rax
je 0x13525
leaq 0x1d3e8(%rip), %rbx     # 0x30160
movq (%rbx,%rax,8), %rdi
callq 0x1160
testl %eax, %eax
je 0x13464
orb $0x42, 0x1d3c0(%rip)    # 0x30150
leaq 0x1d3ae(%rip), %rax     # 0x30145
movb $0xd, (%rax)
jmp 0x1358b
leaq 0x1d39d(%rip), %rax     # 0x30143
jmp 0x13592
movzbl 0x1d3a7(%rip), %eax     # 0x30159
testq %rax, %rax
je 0x13573
leaq 0x1d39e(%rip), %rbx     # 0x30160
movq (%rbx,%rax,8), %rdi
callq 0x1160
testl %eax, %eax
je 0x13464
orb $0x42, 0x1d376(%rip)    # 0x30150
leaq 0x1d364(%rip), %rax     # 0x30145
movb $-0x39, (%rax)
jmp 0x1358b
xorl %r14d, %r14d
leaq 0x1d36d(%rip), %r15     # 0x30160
movl $0x1, %ebx
movq (%r14,%r15), %rdi
testq %rdi, %rdi
je 0x12e0e
callq 0x1070
movq $0x0, (%r14,%r15)
addq $0x8, %r14
cmpq $0x80, %r14
jne 0x12df8
jmp 0x1359a
leaq 0x1d31f(%rip), %rax     # 0x30146
cmpb $0x0, (%rax)
je 0x139bc
leaq 0x28(%rsp), %rbx
leaq 0x18(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13f36
movb (%rbx), %al
leaq 0x1d2fa(%rip), %rcx     # 0x30148
movb %al, (%rcx)
movb (%r14), %al
leaq 0x1d2e8(%rip), %rcx     # 0x30142
jmp 0x133a7
callq 0x1220
leaq 0xd2d5(%rip), %rbx      # 0x20140
movw %ax, 0xdc04(%rbx)
callq 0x1220
movw %ax, 0xdc08(%rbx)
leaq 0x1d2bd(%rip), %rax     # 0x30142
movb $0x0, (%rax)
leaq 0x1d2b9(%rip), %rax     # 0x30148
movb $-0x24, (%rax)
jmp 0x13595
leaq 0x1d2a7(%rip), %r14     # 0x30145
movzbl (%r14), %eax
leaq 0xd297(%rip), %rdi      # 0x20140
movzwl (%rdi,%rax), %ebp
leaq 0x1d28e(%rip), %rax     # 0x30142
movzbl (%rax), %eax
leaq 0x1d28a(%rip), %rcx     # 0x30148
movzbl (%rcx), %r15d
shll $0x8, %r15d
orl %eax, %r15d
movb $0x1, %r12b
subl %ebp, %r15d
jb 0x12f48
movzbl 0x1d374(%rip), %eax     # 0x3024c
testq %rax, %rax
je 0x136a8
movzwl 0x1d362(%rip), %ecx     # 0x3024a
addq %rcx, %rax
movb $0x0, (%rdi,%rax)
addq %rcx, %rdi
leaq 0xa962(%rip), %rsi      # 0x1d85b
callq 0x11f0
testq %rax, %rax
je 0x136ac
movq %rax, %rbx
movzbl %bpl, %edi
movq %rax, %rsi
callq 0x1130
movl %ebp, %edi
shrl $0x8, %edi
movq %rbx, %rsi
callq 0x1130
movzwl %bp, %edi
addq 0xd09b(%rip), %rdi      # 0x1ffc8
movslq %r15d, %rsi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1210
movq %rbx, %rdi
callq 0x1070
xorl %r12d, %r12d
xorl %eax, %eax
jmp 0x136ae
leaq 0x1d1ef(%rip), %r12     # 0x30145
cmpb $0x0, (%r12)
jne 0x139d9
movzbl 0x1d2e4(%rip), %eax     # 0x3024c
movb $0x1, %r13b
testq %rax, %rax
je 0x135ae
movzwl 0x1d2cf(%rip), %ecx     # 0x3024a
leaq 0xd1be(%rip), %rbp      # 0x20140
cmpb $0x24, (%rbp,%rcx)
jne 0x135b6
movl $0x22120000, 0x803(%rbp) # imm = 0x22120000
movaps 0xa6c2(%rip), %xmm0     # 0x1d660
movups %xmm0, 0x807(%rbp)
leaq 0x807(%rbp), %rbx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
callq 0x1100
movb $0x5, %r14b
testq %rax, %rax
je 0x1384a
movq %rbx, %rdi
callq 0x1090
movq %rax, %rbx
leal 0x807(%rax), %ecx
leal 0x808(%rax), %edx
movl $0xffff, %eax           # imm = 0xFFFF
andl %eax, %ecx
movb $0x22, (%rbp,%rcx)
leal 0x809(%rbx), %ecx
andl %eax, %edx
movb $0x20, %sil
movb %sil, (%rbp,%rdx)
leal 0x80a(%rbx), %edx
andl %eax, %ecx
movb $0x30, %dil
movb %dil, (%rbp,%rcx)
leal 0x80b(%rbx), %ecx
andl %eax, %edx
movb %dil, (%rbp,%rdx)
leal 0x80c(%rbx), %edx
andl %eax, %ecx
movb %sil, (%rbp,%rcx)
leal 0x80d(%rbx), %ecx
andl %eax, %edx
movb $0x32, (%rbp,%rdx)
leal 0x80e(%rbx), %edx
andl %eax, %ecx
movb $0x41, (%rbp,%rcx)
addl $0x80f, %ebx            # imm = 0x80F
andl %eax, %edx
movb $0x0, (%rbp,%rdx)
movb %bl, 0x801(%rbp)
movb %bh, 0x802(%rbp)
leaq 0xa7dd(%rip), %rdi      # 0x1d839
callq 0x1080
testq %rax, %rax
je 0x1384a
movq %rax, (%rsp)
movq %rax, %rdi
callq 0x11b0
testq %rax, %rax
je 0x1380e
movq %rax, %r12
movl $0xffff, %r15d          # imm = 0xFFFF
leaq 0xd0b1(%rip), %rbp      # 0x20140
addq $0x13, %r12
movq %r12, %rdi
callq 0x1090
movq %rax, %r13
movq %r12, %rdi
leaq 0x28(%rsp), %rsi
callq 0x1170
movq 0x58(%rsp), %rax
movl $0xfd, %ecx
addq %rcx, %rax
movabsq $0x4081020408102041, %rcx # imm = 0x4081020408102041
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0x6, %rdx
addl %eax, %edx
cmpl %r15d, %edx
movl $0xffff, %eax           # imm = 0xFFFF
cmovll %edx, %eax
movzwl %bx, %edi
leal 0x2(%rbx), %ecx
leal 0x3(%rbx), %esi
andl %r15d, %ecx
movb %al, (%rbp,%rcx)
leal 0x4(%rbx), %r14d
andl %r15d, %esi
movb %ah, (%rbp,%rsi)
cmpl $0x3e7, %edx            # imm = 0x3E7
movq %rbp, %rsi
movq %rdi, 0x8(%rsp)
jg 0x1313b
leal 0x5(%rdi), %eax
movzwl %r14w, %ecx
movb $0x20, (%rsi,%rcx)
cmpl $0x63, %edx
jg 0x13138
leal 0x6(%rdi), %r14d
movzwl %ax, %eax
movb $0x20, (%rsi,%rax)
cmpl $0x9, %edx
jg 0x1313b
movzwl %r14w, %eax
leal 0x7(%rdi), %ecx
movb $0x20, (%rsi,%rax)
movl %ecx, %r14d
jmp 0x1313b
movl %eax, %r14d
leal 0x1(%r14), %edi
movzwl %r14w, %eax
movb $0x22, %cl
movb %cl, (%rsi,%rax)
cmpq $0x10, %r13
movl $0x10, %ebp
cmovbq %r13, %rbp
movl $0xffff, %r15d          # imm = 0xFFFF
andl %r15d, %edi
addq %rsi, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x1180
leaq 0xcfcd(%rip), %rdx      # 0x20140
leal (%r14,%rbp), %ebx
incl %ebx
movl %ebx, %eax
andl %r15d, %eax
movb $0x22, %cl
movb %cl, (%rdx,%rax)
cmpq $0xf, %r13
ja 0x131a2
addl $-0x10, %ebp
movq (%rsp), %rdi
incl %ebx
movzwl %bx, %eax
movb $0x20, (%rdx,%rax)
incl %ebp
jne 0x13190
leal 0x1(%rbx), %eax
jmp 0x131ad
leal (%r14,%rbp), %eax
addl $0x2, %eax
movq (%rsp), %rdi
movl $0xffff, %r15d          # imm = 0xFFFF
leal 0x2(%rbx), %ecx
movzwl %ax, %eax
movb $0x20, %sil
movb %sil, (%rdx,%rax)
leal 0x3(%rbx), %eax
andl %r15d, %ecx
movb $0x50, (%rdx,%rcx)
leal 0x4(%rbx), %ecx
andl %r15d, %eax
movb $0x52, (%rdx,%rax)
leal 0x5(%rbx), %eax
andl %r15d, %ecx
movb $0x47, (%rdx,%rcx)
leal 0x6(%rbx), %ecx
andl %r15d, %eax
movb %sil, (%rdx,%rax)
leal 0x7(%rbx), %eax
andl %r15d, %ecx
movb %sil, (%rdx,%rcx)
addl $0x8, %ebx
andl %r15d, %eax
movb $0x0, (%rdx,%rax)
movq 0x8(%rsp), %rax
movb %bl, (%rdx,%rax)
movb %bh, 0x1(%rdx,%rax)
movq %rdx, %rbp
callq 0x11b0
movq %rax, %r12
testq %rax, %rax
jne 0x1308f
jmp 0x13815
leaq 0x1cf20(%rip), %rax     # 0x30148
movzbl (%rax), %eax
shll $0x10, %eax
leaq 0x1cf0d(%rip), %rcx     # 0x30142
movzbl (%rcx), %ecx
shll $0x8, %ecx
orl %eax, %ecx
leaq 0x1cf01(%rip), %rax     # 0x30145
movzbl (%rax), %r14d
orl %ecx, %r14d
xorl %edi, %edi
callq 0x1190
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x1040
imulq $0x4444445, %r14, %r15  # imm = 0x4444445
shrq $0x20, %r15
imulq $0x8888889, %r15, %rax  # imm = 0x8888889
shrq $0x21, %rax
imull $0x3c, %eax, %eax
movl %r15d, %ecx
subl %eax, %ecx
movl %ecx, (%rbx)
imulq $0x2468ad, %r14, %rax   # imm = 0x2468AD
shrq $0x21, %rax
movl %eax, 0x4(%rbx)
imulq $0x136b06f, %r14, %rax  # imm = 0x136B06F
shrq $0x2a, %rax
movl %eax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x11d0
leaq 0x18(%rsp), %rdi
movq %rax, (%rdi)
imull $0x3c, %r15d, %eax
subl %eax, %r14d
imull $0x411a, %r14d, %eax    # imm = 0x411A
movq %rax, 0x8(%rdi)
xorl %esi, %esi
callq 0x11a0
jmp 0x13595
cmpl $0x79, %esi
jne 0x139e7
xorl %edi, %edi
callq 0x126ea
jmp 0x13595
callq 0x13a68
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1cf44(%rip), %edi     # 0x3023c
jmp 0x13348
callq 0x13a62
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1cf2c(%rip), %edi     # 0x30238
jmp 0x13348
callq 0x13a65
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1cf1a(%rip), %edi     # 0x3023a
jmp 0x13348
callq 0x13a5f
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1cf02(%rip), %edi     # 0x30236
jmp 0x13348
callq 0x13e65
movzwl %ax, %edx
leal -0x1(%rdx), %esi
movzwl 0x1cef6(%rip), %edi     # 0x3023e
leal -0x1(%rdi), %ecx
leaq 0xcdd6(%rip), %r8       # 0x20128
movzbl (%r8), %eax
leal -0x1(%rax), %r9d
decb %dil
testw %dx, %dx
cmovnel %esi, %ecx
leaq 0xcdd6(%rip), %rdx      # 0x20140
movb %ch, 0x100(%rdx,%rax)
movzbl %dil, %ecx
cmovnel %esi, %ecx
addl $-0x2, %eax
movb %al, (%r8)
movzbl %r9b, %eax
movb %cl, 0x100(%rdx,%rax)
jmp 0x13595
cmpl $0xffb7, %esi           # imm = 0xFFB7
jne 0x139e7
movb 0x1cdb0(%rip), %al      # 0x30150
leaq 0x1cd9e(%rip), %rcx     # 0x30145
movb %al, (%rcx)
jmp 0x13595
leaq 0x1cd8d(%rip), %rax     # 0x30142
movzbl (%rax), %eax
leaq 0x1cd89(%rip), %rcx     # 0x30148
movzbl (%rcx), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movw %cx, 0x1ce7c(%rip)      # 0x3024a
leaq 0x1cd70(%rip), %rax     # 0x30145
movb (%rax), %al
movb %al, 0x1ce6f(%rip)      # 0x3024c
jmp 0x13595
movb $0x0, 0x1cd67(%rip)     # 0x30150
movzbl 0x1ce5d(%rip), %eax     # 0x3024d
leaq 0x1cd69(%rip), %rbx     # 0x30160
cmpq $0x0, (%rbx,%rax,8)
je 0x13621
leaq 0x1cd3d(%rip), %rax     # 0x30146
movb $0x1, (%rax)
leaq 0x1cd32(%rip), %rax     # 0x30145
movb $0x2, (%rax)
jmp 0x13595
movzbl 0x1ce2b(%rip), %eax     # 0x3024d
leaq 0x1cd37(%rip), %rbx     # 0x30160
movq (%rbx,%rax,8), %rdi
testq %rdi, %rdi
je 0x1344a
callq 0x1070
movzbl 0x1ce0f(%rip), %eax     # 0x3024d
movq $0x0, (%rbx,%rax,8)
xorl %eax, %eax
jmp 0x13456
leaq 0x1ccf4(%rip), %rax     # 0x30145
movb $0x3, (%rax)
movb $0x1, %al
leaq 0x1cce9(%rip), %rcx     # 0x30146
movb %al, (%rcx)
jmp 0x13595
movzbl 0x1ccee(%rip), %ecx     # 0x30159
leaq 0x1cd6e(%rip), %r14     # 0x301e0
movl (%r14,%rcx,4), %eax
cmpl $-0x1, %eax
jne 0x1348f
movq (%rbx,%rcx,8), %rdi
callq 0x1110
movzbl 0x1ccce(%rip), %ecx     # 0x30159
movl %eax, (%r14,%rcx,4)
leaq 0x1ccaf(%rip), %rdx     # 0x30145
movb %al, (%rdx)
movq (%rbx,%rcx,8), %rdi
callq 0x1110
movzbl 0x1ccb1(%rip), %ecx     # 0x30159
movl %eax, (%r14,%rcx,4)
cmpl $-0x1, %eax
jne 0x1358b
orb $0x40, 0x1cc94(%rip)    # 0x30150
jmp 0x1358b
movl $0xe10f, %edi           # imm = 0xE10F
movl $0xab4a, %esi           # imm = 0xAB4A
movl $0xab30, %edx           # imm = 0xAB30
movl $0xe430, %ecx           # imm = 0xE430
callq 0x12658
testl %eax, %eax
jne 0x1358b
movl $0xe10f, %edi           # imm = 0xE10F
movl $0xab4a, %esi           # imm = 0xAB4A
movl $0xab30, %edx           # imm = 0xAB30
movl $0xe43d, %ecx           # imm = 0xE43D
callq 0x12658
testl %eax, %eax
jne 0x1358b
movl $0xe10f, %edi           # imm = 0xE10F
movl $0xab4a, %esi           # imm = 0xAB4A
movl $0xab30, %edx           # imm = 0xAB30
movl $0xe444, %ecx           # imm = 0xE444
callq 0x12658
testl %eax, %eax
jne 0x1358b
jmp 0x129dc
movq 0x1ccfc(%rip), %rdi     # 0x30228
testq %rdi, %rdi
je 0x13573
cmpl $0x0, 0x1cd08(%rip)     # 0x30240
je 0x13777
movslq 0x1ccff(%rip), %rax     # 0x30244
leal 0x1(%rax), %ecx
movl %ecx, 0x1ccf6(%rip)     # 0x30244
leaq 0xa332(%rip), %rdx      # 0x1d887
movb (%rax,%rdx), %al
leaq 0x1cbe6(%rip), %rdx     # 0x30145
movb %al, (%rdx)
cmpl $0x4, %ecx
jne 0x1358b
movq $0x0, 0x1ccb7(%rip) # 0x30228
jmp 0x1358b
callq 0x1150
cmpb $0xa, %al
movl $0xd, %ecx
cmovnel %eax, %ecx
leaq 0x1cbbc(%rip), %rax     # 0x30145
movb %cl, (%rax)
leaq 0x1cbb4(%rip), %rax     # 0x30146
movb $0x0, (%rax)
movl $0x1, %ebx
movl %ebx, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x8, %r14b
jmp 0x1384a
leaq (%rcx,%rbp), %rdi
addq %rcx, %rax
movb $0x0, (%rbp,%rax)
leaq 0x28(%rsp), %rsi
callq 0x1170
movb $0x4, %r14b
cmpl $-0x1, %eax
je 0x1384a
movl $0xf000, %eax           # imm = 0xF000
andl 0x40(%rsp), %eax
movzwl 0x1cc62(%rip), %edi     # 0x3024a
addq 0xc9d9(%rip), %rdi      # 0x1ffc8
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x136d6
callq 0x10a0
cmpl $-0x1, %eax
je 0x1386d
leaq 0xcb31(%rip), %rax      # 0x20140
movw $0x0, 0x801(%rax)
movw $0x803, %bx             # imm = 0x803
jmp 0x13832
movzbl 0x1cc24(%rip), %eax     # 0x3024c
testq %rax, %rax
je 0x136c0
movzwl 0x1cc12(%rip), %edi     # 0x3024a
addq %rdi, %rax
leaq 0xcafe(%rip), %r14      # 0x20140
movb (%r14,%rax), %bpl
cmpb $0x0, 0x1cc02(%rip)     # 0x3024f
leaq 0xa1b4(%rip), %rcx      # 0x1d808
leaq 0xa1dc(%rip), %rsi      # 0x1d837
cmoveq %rcx, %rsi
movb $0x0, (%r14,%rax)
addq %r14, %rdi
callq 0x11f0
movzbl 0x1cbda(%rip), %ecx     # 0x3024d
movq %rax, (%rbx,%rcx,8)
movzwl 0x1cbcc(%rip), %edx     # 0x3024a
movzbl 0x1cbc7(%rip), %esi     # 0x3024c
addq %rdx, %rsi
movb %bpl, (%r14,%rsi)
testq %rax, %rax
je 0x137b3
leaq 0x1cb44(%rip), %rax     # 0x301e0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
jmp 0x1358b
movb $0x8, %al
jmp 0x136ae
movb $0x4, %al
leaq 0x1ca91(%rip), %rcx     # 0x30146
movb %r12b, (%rcx)
movb %al, (%r14)
jmp 0x13595
leaq 0x1ca7f(%rip), %rax     # 0x30146
movb $0x1, (%rax)
leaq 0x1ca74(%rip), %rax     # 0x30145
jmp 0x12aba
leaq 0xa15e(%rip), %rsi      # 0x1d83b
callq 0x11f0
testq %rax, %rax
je 0x1384a
movq %rax, %r15
movq %rax, %rdi
callq 0x1110
movzbl %al, %ebp
movq %r15, %rdi
callq 0x1110
shll $0x8, %eax
orl %eax, %ebp
leaq 0x1ca35(%rip), %rax     # 0x30142
movzbl (%rax), %eax
leaq 0x1ca31(%rip), %rcx     # 0x30148
movzbl (%rcx), %ebx
shll $0x8, %ebx
orl %eax, %ebx
cmpb $0x0, 0x1cb29(%rip)     # 0x3024f
cmovnel %ebp, %ebx
movl $0xffff, %ebp           # imm = 0xFFFF
movl %ebx, %r14d
andl %ebp, %r14d
leaq 0xca05(%rip), %rdi      # 0x20140
addq %r14, %rdi
movl $0x10000, %edx          # imm = 0x10000
subl %r14d, %edx
movl $0x1, %esi
movq %r15, %rcx
callq 0x1060
addl %eax, %ebx
movl %ebx, %edx
andl %ebp, %edx
leaq 0xa0de(%rip), %rdi      # 0x1d83e
movl %r14d, %esi
xorl %eax, %eax
callq 0x10c0
movq %r15, %rdi
callq 0x1070
jmp 0x13832
callq 0x1110
leaq 0x1c9c2(%rip), %rcx     # 0x30145
movb %al, (%rcx)
cmpb $-0x1, %al
jne 0x1385d
cmpl $0x1, 0x1ca8c(%rip)     # 0x30220
jne 0x1385d
movl $0x1, %eax
movl %eax, 0x1ca9b(%rip)     # 0x30240
movl %eax, 0x1ca99(%rip)     # 0x30244
movb $0x52, (%rcx)
jmp 0x1358b
leaq 0x1c98c(%rip), %rax     # 0x30146
movb $0x1, (%rax)
leaq 0x1c981(%rip), %rax     # 0x30145
movb $0x4, (%rax)
jmp 0x13595
cmpl $0x0, 0x1c981(%rip)     # 0x30154
leaq 0x1c96b(%rip), %rax     # 0x30145
movzbl (%rax), %edi
je 0x13872
cmpl $0x22, %edi
ja 0x13804
movl %edi, %eax
movabsq $0x400002400, %rcx      # imm = 0x400002400
btq %rax, %rcx
jae 0x13804
movl $0x0, 0x1c950(%rip)     # 0x30154
callq 0x1030
jmp 0x13998
leaq 0xc92b(%rip), %rbp      # 0x20140
movzwl %bx, %eax
movw $0x0, (%rbp,%rax)
movq (%rsp), %rdi
callq 0x1120
addl $0x2, %ebx
leaq 0x1c913(%rip), %r12     # 0x30145
leaq 0x1c909(%rip), %rax     # 0x30142
movb %bl, (%rax)
leaq 0x1c906(%rip), %rax     # 0x30148
movb %bh, (%rax)
xorl %r13d, %r13d
xorl %r14d, %r14d
leaq 0x1c8f5(%rip), %rax     # 0x30146
movb %r13b, (%rax)
movb %r14b, (%r12)
jmp 0x13595
cmpb $0xa, %al
jne 0x1358b
movb $0xd, (%rcx)
jmp 0x1358b
movb $0x5, %r14b
jmp 0x1384a
leal -0x81(%rdi), %eax
cmpl $0x1e, %eax
ja 0x13897
leaq 0x9f08(%rip), %rcx      # 0x1d78c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x8, %edi
jmp 0x13993
leal -0xa(%rdi), %eax
cmpl $0x18, %eax
ja 0x138c3
leaq 0x9e82(%rip), %rcx      # 0x1d728
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0xd, %edi
callq 0x1030
movl $0xa, %edi
jmp 0x13804
cmpl $0x5, %edi
jne 0x13804
xorl %edi, %edi
jmp 0x13993
movl $0x6, %edi
jmp 0x13993
movl $0x7, %edi
jmp 0x13993
movl $0x5, %edi
jmp 0x13993
movl $0xf, %edi
jmp 0x13993
movl $0xe, %edi
jmp 0x13993
movl $0xb, %edi
jmp 0x13993
movl $0x9, %edi
jmp 0x13993
movl $0x4, %edi
jmp 0x13993
xorl %eax, %eax
callq 0x13ece
jmp 0x13998
xorl %eax, %eax
callq 0x13eb8
jmp 0x13998
movl $0xd, %edi
jmp 0x13993
movl $0xa, %edi
jmp 0x13993
xorl %edi, %edi
jmp 0x13961
xorl %eax, %eax
callq 0x13efa
jmp 0x13998
movl $0xc, %edi
jmp 0x13993
xorl %edi, %edi
xorl %esi, %esi
callq 0x13f26
jmp 0x13998
movl $0x1, %edi
callq 0x13f3d
jmp 0x13998
movl $0x3, %edi
jmp 0x13993
movl $0x1, 0x1c7db(%rip)     # 0x30154
jmp 0x13804
movl $0x1, %edi
jmp 0x13993
xorl %eax, %eax
callq 0x13ee4
jmp 0x13998
movl $0x2, %edi
callq 0x13f61
movq 0xc641(%rip), %rax      # 0x1ffe0
movq (%rax), %rdi
callq 0x11c0
jmp 0x1358b
xorl %eax, %eax
callq 0x13f10
jmp 0x13998
xorl %edi, %edi
callq 0x1200
leaq 0x1c785(%rip), %rax     # 0x30148
movzbl (%rax), %esi
leaq 0x1c775(%rip), %rax     # 0x30142
movzbl (%rax), %edx
leaq 0x9e87(%rip), %rdi      # 0x1d85e
jmp 0x139f8
leaq 0x9e98(%rip), %rdi      # 0x1d878
callq 0x1050
jmp 0x139ff
leaq 0xc73a(%rip), %rax      # 0x20128
movzbl (%rax), %edx
leaq 0x9e25(%rip), %rdi      # 0x1d81d
xorl %eax, %eax
callq 0x10c0
movl $0x1, %edi
callq 0x1200
nopl (%rax)