// File: /workspace/github_c_makefile_star2_O0/FirestonnneTFM[P]tfm_key_parser/src/abc_file.cpp
// Function: abc_file::process(unsigned char*&)
void abc_file::process(uint8_t *&data) {
	data += 4;
	data += strlen((char*)data) + 1;
	abc_stream stream(data);
	
	stream >> version.minor;
	stream >> version.major;
	
	if (version.suspicious()) {
		version.print();
		fatal("Suspicious abc version");
	}
	constant_pool.load(stream);
	uint32_t count;
	stream >> count;
	methods = Array<method_info>(count);
	for (unsigned i = 0; i < count; ++i) {
		methods[i].load_header(stream);
	}
	stream >> count;
	for (unsigned i = 0; i < count; ++i) {
		uint32_t dummy1, dummy2, len;
		stream >> dummy1;
		stream >> len;
		for (unsigned j = 0; i < len; ++j) {
			stream >> dummy1;
			stream >> dummy2;
		}
	}
	stream >> count;
	classes = Array<class_info>(count);
	for (unsigned i = 0; i < count; ++i) {
		classes[i].load_inst(stream);
	}
	for (unsigned i = 0; i < count; ++i) {
		classes[i].load_static(stream);
	}
	stream >> count;
	scripts = Array<script_info>(count);
	for (unsigned i = 0; i < count; ++i) {
		scripts[i].load(stream);
	}
	stream >> count;
	for (unsigned i = 0; i < count; ++i) {
		uint32_t which;
		stream >> which;
		methods[which].load_body(stream);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x4, %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x20d0
movq %rax, %rcx
addq $0x1, %rcx
movq -0x10(%rbp), %rax
addq (%rax), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rsi
leaq -0x20(%rbp), %rdi
callq 0x4280
movq -0x98(%rbp), %rsi
leaq -0x20(%rbp), %rdi
callq 0x43a0
movq -0x98(%rbp), %rsi
addq $0x2, %rsi
leaq -0x20(%rbp), %rdi
callq 0x43a0
movq -0x98(%rbp), %rdi
callq 0x4730
testb $0x1, %al
jne 0x319f
jmp 0x3210
movq -0x98(%rbp), %rdi
callq 0x46c0
movl $0x18, %edi
callq 0x20e0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
leaq 0x6f3d(%rip), %rsi      # 0xa106
leaq 0x6f4d(%rip), %rdx      # 0xa11d
movl $0x46, %ecx
callq 0x2f30
jmp 0x31dc
movq -0xa0(%rbp), %rdi
leaq 0xbb9e(%rip), %rsi      # 0xed88
xorl %eax, %eax
movl %eax, %edx
callq 0x22b0
movq -0xa0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x2110
jmp 0x34a4
movq -0x98(%rbp), %rdi
addq $0x8, %rdi
leaq -0x20(%rbp), %rsi
callq 0x6020
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x43d0
movl -0x30(%rbp), %esi
leaq -0x40(%rbp), %rdi
callq 0x38b0
movq -0x98(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, 0x78(%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x80(%rax)
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x3290
movq -0x98(%rbp), %rdi
addq $0x78, %rdi
movl -0x44(%rbp), %esi
callq 0x39a0
movq %rax, %rdi
leaq -0x20(%rbp), %rsi
callq 0x6eb0
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x325e
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x43d0
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x3307
leaq -0x20(%rbp), %rdi
leaq -0x4c(%rbp), %rsi
callq 0x43d0
leaq -0x20(%rbp), %rdi
leaq -0x54(%rbp), %rsi
callq 0x43d0
movl $0x0, -0x58(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x54(%rbp), %eax
jae 0x32fa
leaq -0x20(%rbp), %rdi
leaq -0x4c(%rbp), %rsi
callq 0x43d0
leaq -0x20(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x43d0
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0x32cd
jmp 0x32fc
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x32a4
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x43d0
movl -0x30(%rbp), %esi
leaq -0x68(%rbp), %rdi
callq 0x39c0
movq -0x98(%rbp), %rax
movq -0x68(%rbp), %rcx
movq %rcx, 0x88(%rax)
movq -0x60(%rbp), %rcx
movq %rcx, 0x90(%rax)
movl $0x0, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x3379
movq -0x98(%rbp), %rdi
addq $0x88, %rdi
movl -0x6c(%rbp), %esi
callq 0x3b00
movq %rax, %rdi
leaq -0x20(%rbp), %rsi
callq 0x4c10
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0x3344
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x33b5
movq -0x98(%rbp), %rdi
addq $0x88, %rdi
movl -0x70(%rbp), %esi
callq 0x3b00
movq %rax, %rdi
leaq -0x20(%rbp), %rsi
callq 0x4e60
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x3380
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x43d0
movl -0x30(%rbp), %esi
leaq -0x80(%rbp), %rdi
callq 0x3b30
movq -0x98(%rbp), %rax
movq -0x80(%rbp), %rcx
movq %rcx, 0x98(%rax)
movq -0x78(%rbp), %rcx
movq %rcx, 0xa0(%rax)
movl $0x0, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x3436
movq -0x98(%rbp), %rdi
addq $0x98, %rdi
movl -0x84(%rbp), %esi
callq 0x3c20
movq %rax, %rdi
leaq -0x20(%rbp), %rsi
callq 0x7580
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x33f5
leaq -0x20(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x43d0
movl $0x0, -0x88(%rbp)
movl -0x88(%rbp), %eax
cmpl -0x30(%rbp), %eax
jae 0x349b
leaq -0x20(%rbp), %rdi
leaq -0x8c(%rbp), %rsi
callq 0x43d0
movq -0x98(%rbp), %rdi
addq $0x78, %rdi
movl -0x8c(%rbp), %esi
callq 0x39a0
movq %rax, %rdi
leaq -0x20(%rbp), %rsi
callq 0x7020
movl -0x88(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x88(%rbp)
jmp 0x344d
addq $0xa0, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x22e0
nopl (%rax)