// File: /workspace/github_c_makefile_star2_O3/enzo1982[P]smooth/libraries/libcpuid/recog_intel.c
// Function: cpuid_identify_intel
int cpuid_identify_intel(struct cpu_raw_data_t* raw, struct cpu_id_t* data, struct internal_id_info_t* internal)
{
	intel_code_and_bits_t brand;
	intel_model_t model_code;
	int i;
	char* brand_code_str = NULL;

	load_intel_features(raw, data);
	if (raw->basic_cpuid[0][EAX] >= 4) {
		/* Deterministic way is preferred, being more generic */
		decode_deterministic_cache_info_x86(raw->intel_fn4, MAX_INTELFN4_LEVEL, data, internal);
	} else if (raw->basic_cpuid[0][EAX] >= 2) {
		decode_intel_oldstyle_cache_info(raw, data);
	}
	if ((raw->basic_cpuid[0][EAX] < 11) || (decode_intel_extended_topology(raw, data) == 0))
		decode_number_of_cores_x86(raw, data);
	data->purpose = cpuid_identify_purpose_intel(raw);

	brand = get_brand_code_and_bits(data);
	model_code = get_model_code(data);
	for (i = 0; i < COUNT_OF(intel_bcode_str); i++) {
		if (brand.code == intel_bcode_str[i].code) {
			brand_code_str = intel_bcode_str[i].str;
			break;
		}
	}
	if (brand_code_str)
		debugf(2, "Detected Intel brand code: %d (%s)\n", brand.code, brand_code_str);
	else
		debugf(2, "Detected Intel brand code: %d\n", brand.code);
	if (brand.bits) {
		debugf(2, "Detected Intel bits: ");
		debug_print_lbits(2, brand.bits);
	}
	debugf(2, "Detected Intel model code: %d\n", model_code);

	internal->code.intel = brand.code;
	internal->bits = brand.bits;

	if (data->flags[CPU_FEATURE_SGX]) {
		debugf(2, "SGX seems to be present, decoding...\n");
		// if SGX is indicated by the CPU, verify its presence:
		decode_intel_sgx_features(raw, data);
	}

	internal->score = match_cpu_codename(cpudb_intel, COUNT_OF(cpudb_intel), data,
		brand.code, brand.bits, model_code);
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
movaps 0x5cade(%rip), %xmm0    # 0x1282e0
movaps %xmm0, 0x160(%rsp)
movaps 0x5cabf(%rip), %xmm0    # 0x1282d0
movaps %xmm0, 0x150(%rsp)
movaps 0x5caa0(%rip), %xmm0    # 0x1282c0
movaps %xmm0, 0x140(%rsp)
movabsq $0x1d0000001f, %rax     # imm = 0x1D0000001F
movq %rax, 0x170(%rsp)
leaq 0x5cabf(%rip), %rsi     # 0x128300
leaq 0x20(%rsp), %rdi
movl $0xb, %ecx
rep  movsq (%rsi), %es:(%rdi)
movabsq $0x3000000014, %rax     # imm = 0x3000000014
movq %rax, 0x18(%rsp)
leaq 0x5cafc(%rip), %rsi     # 0x128360
leaq 0x180(%rsp), %rdi
movl $0xa, %ecx
rep  movsq (%rsi), %es:(%rdi)
movaps 0x5cb35(%rip), %xmm0    # 0x1283b0
movaps %xmm0, 0x120(%rsp)
movabsq $0x6e0000000b, %rax     # imm = 0x6E0000000B
movq %rax, 0x130(%rsp)
cmpl $0x0, (%r12)
je 0xcb8cd
movl 0x1c(%r12), %edx
leaq 0x140(%rsp), %rdi
movl $0x7, %esi
movq %r14, %rcx
callq 0xc9b5c
movl 0x18(%r12), %edx
leaq 0x20(%rsp), %rdi
movl $0xb, %esi
movq %r14, %rcx
callq 0xc9b5c
cmpl $0x0, 0x200(%r12)
je 0xcb8f2
movl 0x21c(%r12), %edx
leaq 0x18(%rsp), %rdi
movl $0x1, %esi
movq %r14, %rcx
callq 0xc9b5c
movl (%r12), %eax
cmpl $0x7, %eax
jb 0xcb933
movl 0x74(%r12), %edx
leaq 0x180(%rsp), %rdi
movl $0xa, %esi
movq %r14, %rcx
callq 0xc9b5c
movl 0x78(%r12), %edx
leaq 0x120(%rsp), %rdi
movl $0x3, %esi
movq %r14, %rcx
callq 0xc9b5c
movl (%r12), %eax
cmpl $0x4, %eax
jb 0xcb955
leaq 0x400(%r12), %rdi
movl $0x8, %esi
movq %r14, %rdx
movq %r15, %rcx
callq 0xca50a
jmp 0xcc0cb
cmpl $0x2, %eax
jb 0xcc0cb
leaq 0x20(%rsp), %rdi
xorl %ebx, %ebx
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x55f20
movl 0x20(%r12,%rbx,4), %eax
testl %eax, %eax
js 0xcb98e
movl $0x4, %ecx
movzbl %al, %edx
movb $0x1, 0x20(%rsp,%rdx)
shrl $0x8, %eax
decl %ecx
jne 0xcb97f
incq %rbx
cmpq $0x4, %rbx
jne 0xcb971
movzbl 0x26(%rsp), %edi
xorl %esi, %esi
movl $0x8, %edx
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x28(%rsp), %edi
xorl %esi, %esi
movl $0x10, %edx
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x2a(%rsp), %edi
movl $0x1, %esi
movl $0x8, %edx
movl $0x2, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x2c(%rsp), %edi
movl $0x1, %esi
movl $0x10, %edx
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x42(%rsp), %edi
movl $0x3, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x43(%rsp), %edi
movl $0x3, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x45(%rsp), %edi
movl $0x3, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x49(%rsp), %edi
movl $0x3, %esi
movl $0x1000, %edx           # imm = 0x1000
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x4c(%rsp), %edi
movl $0x1, %esi
movl $0x20, %edx
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x50(%rsp), %edi
xorl %esi, %esi
movl $0x20, %edx
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x59(%rsp), %edi
movl $0x2, %esi
movl $0x80, %edx
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x5a(%rsp), %edi
movl $0x2, %esi
movl $0xc0, %edx
movl $0x6, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x5b(%rsp), %edi
movl $0x2, %esi
movl $0x80, %edx
movl $0x2, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x5c(%rsp), %edi
movl $0x2, %esi
movl $0x100, %edx            # imm = 0x100
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x5d(%rsp), %edi
movl $0x2, %esi
movl $0x180, %edx            # imm = 0x180
movl $0x6, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x5e(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x61(%rsp), %edi
movl $0x2, %esi
movl $0x80, %edx
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x62(%rsp), %edi
movl $0x2, %esi
movl $0x100, %edx            # imm = 0x100
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x63(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x64(%rsp), %edi
movl $0x2, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x65(%rsp), %edi
movl $0x2, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x4, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x66(%rsp), %edi
movl $0x3, %esi
movl $0x1000, %edx           # imm = 0x1000
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x67(%rsp), %edi
movl $0x3, %esi
movl $0x2000, %edx           # imm = 0x2000
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x6a(%rsp), %edi
movl $0x3, %esi
movl $0x1800, %edx           # imm = 0x1800
movl $0xc, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x6b(%rsp), %edi
movl $0x3, %esi
movl $0x2000, %edx           # imm = 0x2000
movl $0x10, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x6c(%rsp), %edi
movl $0x3, %esi
movl $0x3000, %edx           # imm = 0x3000
movl $0xc, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x6d(%rsp), %edi
movl $0x3, %esi
movl $0x4000, %edx           # imm = 0x4000
movl $0x10, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x6e(%rsp), %edi
movl $0x2, %esi
movl $0x1800, %edx           # imm = 0x1800
movl $0x18, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x80(%rsp), %edi
movl $0x1, %esi
movl $0x10, %edx
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x86(%rsp), %edi
movl $0x1, %esi
movl $0x8, %edx
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x87(%rsp), %edi
movl $0x1, %esi
movl $0x10, %edx
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x88(%rsp), %edi
movl $0x1, %esi
movl $0x20, %edx
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x90(%rsp), %edi
xorl %esi, %esi
movl $0xc, %edx
movl $0x8, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq %r14, %r9
callq 0xca409
movzbl 0x91(%rsp), %edi
xorl %esi, %esi
movl $0x10, %edx
movl $0x8, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq %r14, %r9
callq 0xca409
movzbl 0x92(%rsp), %edi
xorl %esi, %esi
movl $0x20, %edx
movl $0x8, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq %r14, %r9
callq 0xca409
movzbl 0x93(%rsp), %edi
xorl %esi, %esi
movl $0x40, %edx
movl $0x8, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq %r14, %r9
callq 0xca409
movzbl 0x98(%rsp), %edi
movl $0x2, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x99(%rsp), %edi
movl $0x2, %esi
movl $0x80, %edx
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x9a(%rsp), %edi
movl $0x2, %esi
movl $0x100, %edx            # imm = 0x100
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x9b(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x9c(%rsp), %edi
movl $0x2, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x9d(%rsp), %edi
movl $0x2, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0x9f(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x2, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa2(%rsp), %edi
movl $0x2, %esi
movl $0x100, %edx            # imm = 0x100
movl $0x8, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa3(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x8, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa4(%rsp), %edi
movl $0x2, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x8, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa5(%rsp), %edi
movl $0x2, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x8, %ecx
movl $0x20, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa6(%rsp), %edi
movl $0x2, %esi
movl $0x200, %edx            # imm = 0x200
movl $0x4, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
movzbl 0xa7(%rsp), %edi
movl $0x2, %esi
movl $0x400, %edx            # imm = 0x400
movl $0x8, %ecx
movl $0x40, %r8d
movq %r14, %r9
callq 0xca409
cmpb $0x0, 0x69(%rsp)
je 0xcc0a2
cmpl $0xf, 0xd8(%r14)
jne 0xcc081
cmpl $0x6, 0xdc(%r14)
jne 0xcc081
movl $0x1000, 0x104(%r14) # imm = 0x1000
movl $0x10, 0x11c(%r14)
movl $0x40, 0x134(%r14)
jmp 0xcc0a2
movl $0x1000, 0x100(%r14) # imm = 0x1000
movl $0x10, 0x118(%r14)
movl $0x40, 0x130(%r14)
cmpb $0x0, 0x60(%rsp)
je 0xcc0cb
cmpl $-0x1, 0x100(%r14)
je 0xcc0c0
movl $0x0, 0x104(%r14)
jmp 0xcc0cb
movl $0x0, 0x100(%r14)
cmpl $0xb, (%r12)
movq %r15, 0x8(%rsp)
jb 0xcc13e
cmpl $0x0, 0x480(%r12)
je 0xcc13e
leaq 0x490(%r12), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
xorl %esi, %esi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq $0x3, %rsi
ja 0xcc128
movl -0xc(%rdx), %edi
testl %edi, %edi
je 0xcc128
movzbl -0x7(%rdx), %r8d
cmpl $0x2, %r8d
je 0xcc119
cmpl $0x1, %r8d
jne 0xcc11c
movzwl %di, %ecx
jmp 0xcc11c
movzwl %di, %eax
incq %rsi
cmpl $0x0, (%rdx)
leaq 0x10(%rdx), %rdx
jne 0xcc0f6
cmpl $-0x1, %ecx
sete %dl
cmpl $-0x1, %eax
sete %sil
orb %dl, %sil
je 0xcc260
movq %r12, %rdi
movq %r14, %rsi
callq 0xca492
movq %r12, (%rsp)
movq %r12, %rdi
callq 0xcca84
movl %eax, 0x21d8(%r14)
leaq 0x14(%r14), %r13
movq %r13, %rdi
callq 0x56370
movq %rax, %rbx
movl $0x8, %ebp
xorl %r12d, %r12d
leaq 0x9ed86(%rip), %r15     # 0x16af00
movq (%rbp,%r15), %rsi
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc190
orq -0x8(%rbp,%r15), %r12
addq $0x10, %rbp
cmpq $0xb8, %rbp
jne 0xcc17a
leaq 0x5c48f(%rip), %rsi     # 0x128633
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc1cc
movslq %eax, %rcx
movzbl 0x8(%r13,%rcx), %edx
cmpl $0x6d, %edx
je 0xcc228
cmpl $0x69, %edx
jne 0xcc231
orq $0x3000, %r12           # imm = 0x3000
jmp 0xcc238
leaq 0x5c474(%rip), %rsi     # 0x128647
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc282
cltq
xorl %ecx, %ecx
cmpb $0x77, 0x7(%r13,%rax)
sete %cl
shll $0x13, %ecx
orq %rcx, %r12
orq $0x4000, %r12           # imm = 0x4000
movzbl 0x8(%r13,%rax), %eax
addl $-0x33, %eax
cmpl $0x6, %eax
ja 0xcc339
leaq 0x514ba(%rip), %rcx     # 0x11d6d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
orq $0x8, %r12
jmp 0xcc339
orq $0x1001, %r12           # imm = 0x1001
jmp 0xcc238
orq $0x1000, %r12           # imm = 0x1000
movzbl 0x9(%r13,%rcx), %ecx
addl $-0x33, %ecx
cmpl $0x6, %ecx
ja 0xcc2cc
leaq 0x5141f(%rip), %rdx     # 0x11d670
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
orq $0x8, %r12
jmp 0xcc2cc
movl %eax, 0xf0(%r14)
xorl %edx, %edx
divl %ecx
cmpl $0x2, %eax
movl $0x1, %ecx
cmovgel %eax, %ecx
movl %ecx, 0xec(%r14)
jmp 0xcc149
leaq 0x5c3ce(%rip), %rsi     # 0x128657
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc339
cltq
movzbl 0x7(%r13,%rax), %eax
cmpl $0x57, %eax
je 0xcc854
cmpl $0x44, %eax
jne 0xcc860
orq $0x104000, %r12         # imm = 0x104000
jmp 0xcc339
orq $0x20, %r12
jmp 0xcc2cc
orq $0x10, %r12
jmp 0xcc2cc
orq $0x40, %r12
addl $0xa, %eax
cltq
cmpq %rax, %rbx
jbe 0xcc339
leaq 0x513af(%rip), %rcx     # 0x11d68c
movzbl (%r13,%rax), %edx
addl $-0x48, %edx
cmpl $0x10, %edx
ja 0xcc331
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
orq $0x80, %r12
jmp 0xcc331
orq $0x200, %r12            # imm = 0x200
jmp 0xcc331
orq $0x10000, %r12          # imm = 0x10000
jmp 0xcc331
orq $0x400, %r12            # imm = 0x400
jmp 0xcc331
orq $0x40000, %r12          # imm = 0x40000
jmp 0xcc331
orq $0x20000, %r12          # imm = 0x20000
jmp 0xcc331
orq $0x100, %r12            # imm = 0x100
incq %rax
cmpq %rax, %rbx
jne 0xcc2dd
movl $0x8, %ebx
leaq 0x9eb1b(%rip), %r15     # 0x16ae60
movq (%rbx,%r15), %rsi
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
jne 0xcc369
addq $0x10, %rbx
cmpq $0xa8, %rbx
jne 0xcc345
movl $0x1, %ebx
jmp 0xcc36e
movl -0x8(%rbx,%r15), %ebx
leaq 0x5c2ef(%rip), %rsi     # 0x128664
movl $0x2, %edi
movl %ebx, %edx
xorl %eax, %eax
callq 0xc9c3a
btl $0xe, %r12d
jae 0xcc3b8
leaq 0x5c2f2(%rip), %rsi     # 0x128683
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
jne 0xcc3b4
leaq 0x5c2e5(%rip), %rsi     # 0x128689
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc471
orq $0x20, %r12
movl $0x4004, %esi           # imm = 0x4004
movq %r12, %rdi
callq 0xca34a
testl %eax, %eax
je 0xcc3dc
movl $0x7d2, %ebp            # imm = 0x7D2
cmpl $0x0, 0x104(%r14)
jg 0xcc4b4
cmpl $0x7d9, %ebx            # imm = 0x7D9
je 0xcc446
cmpl $0x7d7, %ebx            # imm = 0x7D7
jne 0xcc411
leaq 0x5c19e(%rip), %rsi     # 0x128591
movq %r13, %rdi
callq 0x566b0
testq %rax, %rax
je 0xcc421
addq $0x3, %rax
movzbl (%rax), %ecx
cmpl $0x20, %ecx
jne 0xcc418
incq %rax
jmp 0xcc404
movl %ebx, %ebp
jmp 0xcc4b4
cmpl $0x54, %ecx
jne 0xcc421
orq $0x2, %r12
movl 0xec(%r14), %eax
cmpl $0x1, %eax
je 0xcc4a8
cmpl $0x4, %eax
je 0xcc492
cmpl $0x2, %eax
jne 0xcc4af
movl $0x7df, %ebp            # imm = 0x7DF
cmpl $0x2, 0xf0(%r14)
jg 0xcc4b4
movl $0x7d9, %ebp            # imm = 0x7D9
testb $0x2, %r12b
je 0xcc4b4
cmpl $0xe, 0xdc(%r14)
je 0xcc4b4
xorl %ebp, %ebp
cmpl $0x17, 0xe8(%r14)
setl %bpl
xorl $0x7dd, %ebp            # imm = 0x7DD
jmp 0xcc4b4
leaq 0x5c21c(%rip), %rsi     # 0x128694
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc86c
movl $0x7d3, %ebx            # imm = 0x7D3
jmp 0xcc3b8
xorl %eax, %eax
cmpl $0x5, 0xf0(%r14)
setge %al
leal 0x7de(,%rax,2), %ebp
jmp 0xcc4b4
movl $0x7d7, %ebp            # imm = 0x7D7
jmp 0xcc4b4
movl $0x7e1, %ebp            # imm = 0x7E1
cmpl $0x17, 0xe8(%r14)
jne 0xcc4da
cmpl $0x7d9, %ebp            # imm = 0x7D9
je 0xcc4d5
cmpl $0x7e2, %ebp            # imm = 0x7E2
je 0xcc4d5
btl $0xb, %r12d
jae 0xcc4da
movl $0x7db, %ebp            # imm = 0x7DB
movq %r13, %rdi
callq 0x56370
movq %rax, %rbx
leaq 0x5c1be(%rip), %rsi     # 0x1286aa
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc54a
leal 0xf(%rax), %ecx
cmpl %ebx, %ecx
jge 0xcc5a5
cltq
movzbl 0xb(%r13,%rax), %ecx
addl $-0x31, %ecx
cmpl $0x8, %ecx
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
ja 0xcc65f
leaq 0x511c9(%rip), %rdx     # 0x11d6ec
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movzbl 0xc(%r13,%rax), %eax
movl %eax, %ecx
andb $-0x4, %cl
cmpb $0x30, %cl
jne 0xcc65f
addl $0x46, %eax
movl %eax, %ebx
jmp 0xcc65f
leaq 0x5c16a(%rip), %rsi     # 0x1286bb
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc575
leaq 0x5c167(%rip), %rsi     # 0x1286cb
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc5b8
addl $0xa, %eax
jmp 0xcc5e5
cmpl $0x4, %ebx
jl 0xcc5a5
movl %ebx, %ecx
addl $-0x3, %ecx
xorl %eax, %eax
cmpb $0x43, 0x14(%r14,%rax)
jne 0xcc59d
cmpb $0x50, 0x15(%r14,%rax)
jne 0xcc59d
cmpb $0x55, 0x16(%r14,%rax)
je 0xcc889
incq %rax
cmpq %rax, %rcx
jne 0xcc581
movq 0x8(%rsp), %r15
movq (%rsp), %r13
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0xcc668
leaq 0x5c117(%rip), %rsi     # 0x1286d6
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
jne 0xcc5e2
leaq 0x5c113(%rip), %rsi     # 0x1286e5
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc8b5
addl $0xf, %eax
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testl %eax, %eax
je 0xcc65f
cltq
movzbl (%r13,%rax), %eax
leal -0x31(%rax), %ecx
cmpb $0x4, %cl
movq 0x8(%rsp), %r15
movq (%rsp), %r13
jae 0xcc668
addl $0x49, %eax
movl %eax, %ebx
jmp 0xcc668
orq $0x20, %r12
jmp 0xcc339
orq $0x10, %r12
jmp 0xcc339
orq $0x40, %r12
jmp 0xcc339
movl $0x71, %ebx
jmp 0xcc65f
movl $0x6f, %ebx
jmp 0xcc65f
movl $0x70, %ebx
jmp 0xcc65f
movl $0x74, %ebx
jmp 0xcc65f
movl $0x6e, %ebx
jmp 0xcc65f
movl $0x72, %ebx
jmp 0xcc65f
movl $0x73, %ebx
jmp 0xcc65f
movl $0x75, %ebx
movq 0x8(%rsp), %r15
movq (%rsp), %r13
movl $0x8, %eax
leaq 0x9e67c(%rip), %rcx     # 0x16acf0
cmpl -0x8(%rax,%rcx), %ebp
je 0xcc688
addq $0x10, %rax
cmpq $0x178, %rax            # imm = 0x178
jne 0xcc674
jmp 0xcc6a8
movq (%rax,%rcx), %rcx
testq %rcx, %rcx
je 0xcc6a8
leaq 0x5be15(%rip), %rsi     # 0x1284ad
movl $0x2, %edi
movl %ebp, %edx
xorl %eax, %eax
callq 0xc9c3a
jmp 0xcc6bd
leaq 0x5be22(%rip), %rsi     # 0x1284d1
movl $0x2, %edi
movl %ebp, %edx
xorl %eax, %eax
callq 0xc9c3a
testq %r12, %r12
je 0xcc6e2
leaq 0x5be27(%rip), %rsi     # 0x1284f0
movl $0x2, %edi
xorl %eax, %eax
callq 0xc9c3a
movl $0x2, %edi
movq %r12, %rsi
callq 0xca356
leaq 0x5be1d(%rip), %rsi     # 0x128506
movl $0x2, %edi
movl %ebx, %edx
xorl %eax, %eax
callq 0xc9c3a
movl %ebp, (%r15)
movq %r12, 0x8(%r15)
cmpb $0x0, 0xc3(%r14)
je 0xcc820
leaq 0x5be12(%rip), %rsi     # 0x128525
movl $0x2, %edi
xorl %eax, %eax
callq 0xc9c3a
cmpl $0x12, (%r13)
jb 0xcc820
movl 0x120(%r13), %eax
testl %eax, %eax
je 0xcc820
testb $0x1, %al
je 0xcc74c
movb $0x1, 0x1ae(%r14)
movl 0x120(%r13), %eax
testb $0x2, %al
je 0xcc758
movb $0x1, 0x1af(%r14)
movl %ebx, (%rsp)
cmpb $0x0, 0x1ae(%r14)
jne 0xcc76f
cmpb $0x0, 0x1af(%r14)
je 0xcc77a
movl $0x1, 0x1a8(%r14)
movl 0x124(%r13), %eax
movl %eax, 0x1c0(%r14)
movzwl 0x12c(%r13), %eax
movw %ax, 0x1ac(%r14)
movq 0x4d0(%r13), %rax
movq %rax, 0x1c8(%r14)
movq 0x4d8(%r13), %rax
movq %rax, 0x1d0(%r14)
movl $0xffffffff, 0x1bc(%r14) # imm = 0xFFFFFFFF
xorl %ebx, %ebx
movl %ebx, %edi
movq %r13, %rsi
callq 0xcb754
testq %rdx, %rdx
je 0xcc801
incl %ebx
cmpl $0xf4240, %ebx          # imm = 0xF4240
jne 0xcc7c1
cmpl $-0x1, 0x1bc(%r14)
movl (%rsp), %ebx
jne 0xcc820
leaq 0x5bf76(%rip), %rsi     # 0x128764
movl $0x1, %edi
xorl %eax, %eax
callq 0xc9c3a
movl $0xf4240, %ebx          # imm = 0xF4240
jmp 0xcc816
leaq 0x5bf16(%rip), %rsi     # 0x12871e
movl $0x2, %edi
movl %ebx, %edx
xorl %eax, %eax
callq 0xc9c3a
movl %ebx, 0x1bc(%r14)
movl (%rsp), %ebx
leaq 0x50f09(%rip), %rdi     # 0x11d730
movl $0x16e, %esi            # imm = 0x16E
movq %r14, %rdx
movl %ebp, %ecx
movq %r12, %r8
movl %ebx, %r9d
callq 0xc9ceb
movl %eax, 0x10(%r15)
xorl %eax, %eax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
orq $0x84000, %r12          # imm = 0x84000
jmp 0xcc339
orq $0x4000, %r12           # imm = 0x4000
jmp 0xcc339
leaq 0x5be2c(%rip), %rsi     # 0x12869f
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc8d0
movl $0x7d4, %ebx            # imm = 0x7D4
jmp 0xcc3b8
leal 0x3(%rax), %ecx
leal -0x4(%rbx), %r15d
cmpl %r15d, %ecx
jge 0xcc5a5
leal -0x7(%rbx), %ecx
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpb $0x20, 0x17(%r14,%rax)
jne 0xcc90e
incq %rax
cmpl %eax, %ecx
jne 0xcc8a1
jmp 0xcc65f
leaq 0x5be38(%rip), %rsi     # 0x1286f4
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc8f3
addl $0xd, %eax
jmp 0xcc5e5
cmpl $0x0, 0x104(%r14)
jle 0xcc3b8
cmpl $0x10, 0xd8(%r14)
movl $0x7d1, %eax            # imm = 0x7D1
cmovel %eax, %ebx
jmp 0xcc3b8
leaq 0x5be07(%rip), %rsi     # 0x128701
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcc967
addl $0x11, %eax
jmp 0xcc5e5
leaq 0x3(%rax), %rcx
cmpl %ecx, %r15d
jle 0xcc65f
leaq (%r14,%rax), %rbx
addq $0x18, %rbx
movq %rcx, 0x10(%rsp)
callq 0x55570
movq 0x10(%rsp), %r8
movq (%rax), %rdx
xorl %esi, %esi
xorl %eax, %eax
movsbq -0x1(%rbx), %rcx
testb $0x8, 0x1(%rdx,%rcx,2)
jne 0xcc986
addb $-0x41, %cl
movl $0x1, %edi
shll %cl, %edi
cmpb $0x1a, %cl
cmovael %esi, %edi
orl %edi, %eax
incq %r8
incq %rbx
cmpl %r8d, %r15d
jg 0xcc939
jmp 0xcc5a5
leaq 0x5bda4(%rip), %rsi     # 0x128712
movq %r13, %rdi
callq 0xca1ca
testl %eax, %eax
je 0xcca1c
addl $0xc, %eax
jmp 0xcc5e5
movl %r8d, %ecx
movsbq (%r13,%rcx), %rdi
testb $0x8, 0x1(%rdx,%rdi,2)
je 0xcc5a5
xorl %ecx, %ecx
movl $0x4, %esi
movq 0x8(%rsp), %r15
movq (%rsp), %r13
movsbl %dil, %edi
leal (%rcx,%rcx,4), %ecx
leal (%rdi,%rcx,2), %ecx
addl $-0x30, %ecx
movsbq (%rbx), %rdi
incq %rbx
decl %esi
testb $0x8, 0x1(%rdx,%rdi,2)
jne 0xcc9aa
testl %esi, %esi
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jne 0xcc668
movslq %ecx, %rcx
imulq $0x51eb851f, %rcx, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
leal (%rcx,%rdx), %esi
addl $-0x1e, %esi
cmpl $0x3, %esi
jbe 0xcca26
addl %edx, %ecx
addl $-0x33, %ecx
cmpl $0x3, %ecx
ja 0xcc664
leaq 0x50d17(%rip), %rax     # 0x11d720
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x6a, %ebx
jmp 0xcc664
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0xcc65f
leaq 0x50ce3(%rip), %rcx     # 0x11d710
movslq (%rcx,%rsi,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movl $0x64, %ebx
jmp 0xcc668
xorl %ebx, %ebx
btl $0x17, %eax
adcl $0x66, %ebx
jmp 0xcc668
movl $0x6c, %ebx
jmp 0xcc664
xorl %ebx, %ebx
btl $0x17, %eax
adcl $0x68, %ebx
jmp 0xcc668
movl $0x6d, %ebx
jmp 0xcc664
movl $0x65, %ebx
jmp 0xcc668
movl $0x6b, %ebx
jmp 0xcc664