// File: /workspace/github_c_makefile_star2_O2/intel[P]pf-bb-config/acc100/acc100_cfg_app.c
// Function: acc100_configure
int
acc100_configure(void *dev, void *bar0addr, const char *cfg_filename, const bool first_cfg)
{
	struct acc100_conf acc100_conf;
	int ret;

	ret = acc100_read_config_file(cfg_filename, &acc100_conf);
	if (ret != 0) {
		LOG(ERR, "Error reading config file");
		return -1;
	}

	ret = acc100_write_config(dev, bar0addr, &acc100_conf);
	if (ret != 0) {
		LOG(ERR, "Error writing configuration for ACC100");
		return -1;
	}
	hw_device *accel_dev = (hw_device *)dev;
	accel_dev->numvfs = acc100_conf.num_vf_bundles;

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp            # imm = 0x368
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r12
movq %rdx, %rdi
callq 0x137d0
pushq $-0x1
popq %r15
testb %al, %al
je 0xe4e1
callq 0xf732
leaq 0x26a0c(%rip), %rcx     # 0x34ed0
movq (%rcx), %r8
leaq 0xd349(%rip), %rdx      # 0x1b817
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
movq %r14, %r9
xorl %eax, %eax
callq 0x19400
jmp 0xe4f2
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
callq 0xf885
testl %eax, %eax
je 0xe52b
callq 0xf732
leaq 0x269d2(%rip), %rcx     # 0x34ed0
movq (%rcx), %r8
leaq 0xd1c3(%rip), %rdx      # 0x1b6cb
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movl %r15d, %eax
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0xd90808(%r13), %eax
cmpl $-0x1, %eax
je 0xeab1
movl %eax, 0x2c(%rsp)
movl $0x40006033, 0xd90808(%r13) # imm = 0x40006033
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
cmpq $0x100, %rbx            # imm = 0x100
je 0xe57b
movl $0x0, 0xd90bbc(%r13,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x10, %rbx
jmp 0xe556
movl $0xc003, 0xd90840(%r13) # imm = 0xC003
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xffffffff, 0xc84004(%r13) # imm = 0xFFFFFFFF
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
pushq $0x1
popq %rbp
movl %ebp, 0xc40098(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xb8002c(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x30000, 0xc8410c(%r13) # imm = 0x30000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x0, 0xb80868(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3d7, 0xb80870(%r13) # imm = 0x3D7
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x11, 0xb80010(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
leaq 0xd80108(%r13), %rbx
xorl %r14d, %r14d
cmpq $0x4, %r14
je 0xe661
xorl %r15d, %r15d
cmpq $0x800, %r15            # imm = 0x800
je 0xe655
movl $0x8400, (%rbx,%r15)    # imm = 0x8400
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x200, %r15            # imm = 0x200
jmp 0xe631
incq %r14
addq $0x2000, %rbx           # imm = 0x2000
jmp 0xe628
xorl %ebx, %ebx
cmpq $0x8000, %rbx           # imm = 0x8000
je 0xe68b
movl $0x6007, 0xd81098(%r13,%rbx) # imm = 0x6007
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x2000, %rbx           # imm = 0x2000
jmp 0xe663
movq %r12, 0x38(%rsp)
xorl %r12d, %r12d
movl %r12d, 0xb80000(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xb80040(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x80001747, 0xb80004(%r13) # imm = 0x80001747
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x7fe00, 0xb80008(%r13) # imm = 0x7FE00
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movq %r13, 0x20(%rsp)
movl $0xb, 0xbb1000(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
leaq 0x48(%rsp), %r13
movzwl 0x6(%r13), %eax
movzwl 0x12(%r13), %ecx
movzwl 0xc(%r13), %edi
leaq (%rdi,%rcx), %rdx
addl %eax, %ecx
movzwl 0x18(%r13), %esi
leaq (%rsi,%rax), %r14
addq %rdx, %r14
addl %esi, %edi
addl %ecx, %edi
movq %rdi, 0x30(%rsp)
movq 0x20(%rsp), %rbx
cmpq %r12, %r14
je 0xe77d
movl %r12d, %edi
movq %r13, %rsi
callq 0xe413
movl %eax, 0xa00200(%rbx,%r12,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, %edi
movq %r13, %rsi
callq 0xe413
leal -0x1(%rax), %ecx
movl %ebp, %eax
shll %cl, %eax
addl $0x10000, %eax          # imm = 0x10000
movl %eax, 0xa00300(%rbx,%r12,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r12
jmp 0xe72d
movq %r14, 0x40(%rsp)
callq 0xf732
leaq 0x26742(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
movzwl 0x5a(%rsp), %r9d
movzwl 0x60(%rsp), %ecx
movzwl 0x4e(%rsp), %edx
movzwl 0x54(%rsp), %esi
movl %esi, 0x10(%rsp)
movl %edx, 0x8(%rsp)
movl %ecx, (%rsp)
leaq 0xd0c0(%rip), %rdx      # 0x1b879
pushq $0x2
popq %rdi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
pushq $-0x20
popq %rbx
movq 0x20(%rsp), %r15
testq %rbx, %rbx
je 0xe832
movl $0x3020100, 0xa00680(%r15,%rbx,4) # imm = 0x3020100
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x7060504, 0xa00700(%r15,%rbx,4) # imm = 0x7060504
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xb0a0908, 0xa00780(%r15,%rbx,4) # imm = 0xB0A0908
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xf0e0d0c, 0xa00800(%r15,%rbx,4) # imm = 0xF0E0D0C
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %rbx
jmp 0xe7d0
movl $0xf0f, 0xa02f48(%r15) # imm = 0xF0F
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
cmpq $0x20, %rbx
je 0xe86a
movl $0x0, 0xa00800(%r15,%rbx,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %rbx
jmp 0xe849
movzwl 0x4e(%rsp), %r12d
xorl %eax, %eax
xorl %ebx, %ebx
cmpl %eax, %r12d
je 0xe880
btsl %eax, %ebx
incl %eax
jmp 0xe874
xorl %r14d, %r14d
cmpq $0x6, %r14
je 0xe8a0
movl %ebx, 0xa00840(%r15,%r14,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r14
jmp 0xe883
movzwl 0x5a(%rsp), %ebp
addl %r12d, %ebp
xorl %r14d, %r14d
cmpl %ebp, %r12d
jae 0xe8b9
btsl %r12d, %r14d
incl %r12d
jmp 0xe8ab
leaq 0xa00800(%r15), %r12
xorl %r13d, %r13d
movl $0xf0, %r15d
xorl %ebx, %ebx
cmpq $0x2000, %r13           # imm = 0x2000
je 0xe91a
movq 0x20(%rsp), %rax
movl 0xbc0200(%rax,%r13,4), %eax
andl %r15d, %eax
cmpl $0x10, %eax
jne 0xe8fb
movl %r14d, (%r12)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incl %ebx
jmp 0xe90d
movl $0x0, (%r12)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x4, %r12
addq $0x400, %r13            # imm = 0x400
jmp 0xe8cb
callq 0xf732
leaq 0x265aa(%rip), %rcx     # 0x34ed0
movq 0x18(%rcx), %r8
movl %ebx, (%rsp)
leaq 0xcf7d(%rip), %rdx      # 0x1b8b1
leaq 0xcf9d(%rip), %r9       # 0x1b8d8
xorl %ebx, %ebx
pushq $0x3
popq %rdi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movzwl 0x54(%rsp), %r14d
addl %ebp, %r14d
movq 0x20(%rsp), %r12
cmpl %r14d, %ebp
jae 0xe966
btsl %ebp, %ebx
incl %ebp
jmp 0xe95a
xorl %r15d, %r15d
cmpq $0x5, %r15
je 0xe986
movl %ebx, 0xa0086c(%r12,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r15
jmp 0xe969
movzwl 0x60(%rsp), %eax
addl %r14d, %eax
xorl %ebx, %ebx
cmpl %eax, %r14d
jae 0xe99e
btsl %r14d, %ebx
incl %r14d
jmp 0xe990
xorl %r14d, %r14d
cmpq $0x3, %r14
je 0xe9be
movl %ebx, 0xa00834(%r12,%r14,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r14
jmp 0xe9a1
xorl %ebp, %ebp
leaq 0x48(%rsp), %r13
leaq 0xd134(%rip), %rbx      # 0x1bb00
xorl %r14d, %r14d
xorl %r15d, %r15d
cmpl $0x8, %r14d
je 0xe9f7
movl %r14d, %edi
movq %r13, %rsi
callq 0xe338
cltq
movl (%rbx,%rax,4), %eax
movl %ebp, %ecx
shll %cl, %eax
orl %eax, %r15d
incl %r14d
addl $0x4, %ebp
jmp 0xe9d2
movq 0x20(%rsp), %r14
movl %r15d, 0xa02f40(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
movq 0x40(%rsp), %r15
cmpq %rbx, %r15
je 0xea34
movl $0x0, 0xa02f00(%r14,%rbx,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %rbx
jmp 0xea14
leaq 0xa01000(%r14), %r12
xorl %r13d, %r13d
leaq 0x48(%rsp), %rbp
xorl %ebx, %ebx
cmpq 0x30(%rsp), %r13
je 0xea99
xorl %r15d, %r15d
movzwl 0x4c(%rsp), %eax
cmpq %rax, %r15
jae 0xea8d
movl %ebx, (%r12,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r13d, %edi
movq %rbp, %rsi
callq 0xe456
movl %eax, %r14d
movl %r13d, %edi
movq %rbp, %rsi
callq 0xe413
movl %eax, %ecx
shll %cl, %r14d
addl %r14d, %ebx
incq %r15
jmp 0xea4f
incq %r13
addq $0x100, %r12            # imm = 0x100
jmp 0xea45
cmpl $0x8000, %ebx           # imm = 0x8000
jbe 0xeabd
leaq 0xce44(%rip), %r14      # 0x1b8ec
pushq $-0x1
popq %r15
jmp 0xf4cb
leaq 0xcd88(%rip), %r14      # 0x1b840
jmp 0xf4cb
xorl %r13d, %r13d
movq 0x20(%rsp), %r15
movl %r13d, 0xc84020(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r13d, 0xc84024(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
pushq $-0x1
popq %rbx
movl %ebx, 0xc84040(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebx, 0xc84044(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r13d, 0xc84038(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r13d, 0xc84114(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movzbl 0x48(%rsp), %eax
addl %eax, %eax
movl %eax, 0xc84108(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
leaq 0xcdd0(%rip), %rax      # 0x1b91d
leaq 0xce16(%rip), %r14      # 0x1b96a
cmpb $0x0, 0x48(%rsp)
cmovneq %rax, %r14
callq 0xf732
leaq 0x26367(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
pushq $0x2
popq %r12
movl %r12d, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
pushq $0x1
popq %rbp
movl %ebp, 0xb90008(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xba0008(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xb80084(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xb80088(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
leaq 0xba8000(%r15), %rbx
movl %r12d, %r15d
movzwl 0x4c(%rsp), %eax
cmpq %rax, %r13
jae 0xec24
movl %ebp, -0x10000(%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r15d, -0x10000(%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, (%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r15d, (%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r13
addq $0x100, %rbx            # imm = 0x100
jmp 0xebd4
movq 0x20(%rsp), %r14
movl %ebp, 0xb9c0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r15d, 0xb9c0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xbac0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r15d, 0xbac0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
cmpq $0x20000, %rbx          # imm = 0x20000
je 0xec97
movl $0x101, 0xb90000(%r14,%rbx) # imm = 0x101
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x10000, %rbx          # imm = 0x10000
jmp 0xec6f
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x1, 0xb80088(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
cmpq $0x20000, %rbx          # imm = 0x20000
je 0xece0
movl $0x216, 0xb90000(%r14,%rbx) # imm = 0x216
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x10000, %rbx          # imm = 0x10000
jmp 0xecb8
xorl %ebx, %ebx
pushq $0x4
popq %rbp
cmpq $0x20000, %rbx          # imm = 0x20000
je 0xed47
movl %ebp, 0xb90010(%r14,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x4f, 0xb90014(%r14,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xb90018(%r14,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x63, 0xb9001c(%r14,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x10000, %rbx          # imm = 0x10000
jmp 0xece5
addq $0xba0408, %r14         # imm = 0xBA0408
xorl %r13d, %r13d
movl $0x1000000, %r12d       # imm = 0x1000000
movzwl 0x4c(%rsp), %ebx
cmpq %rbx, %r13
jae 0xee09
movl $0x1f400, %ebx          # imm = 0x1F400
movl %ebx, -0x10008(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x0, -0x10004(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl 0x1e8(%rsp), %eax
shll $0x18, %eax
addl %r12d, %eax
cltd
idivl %ebx
movl %eax, -0x10000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl 0x2ac(%rsp), %ebp
cmpl $0x1, %ebp
adcl $0x0, %ebp
movl %ebp, -0x8(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, %eax
cltd
idivl %r15d
movl %eax, -0x4(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl 0x2a8(%rsp), %eax
shll $0x18, %eax
addl %r12d, %eax
cltd
idivl %ebp
movl %eax, (%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r13
addq $0x10, %r14
jmp 0xed57
movl %ebx, %eax
shll $0x4, %eax
movq 0x20(%rsp), %r12
leaq (%r12,%rax), %r14
addq $0xba0408, %r14         # imm = 0xBA0408
xorl %ebp, %ebp
cmpq $0x10, %rbx
jae 0xee8b
movl %ebp, -0x10008(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, -0x10004(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, -0x10000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, -0x8(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, -0x4(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, (%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %rbx
addq $0x10, %r14
jmp 0xee20
xorl %ebx, %ebx
cmpq $0x4, %rbx
je 0xeec4
movl $0xaa, 0xb90060(%r12,%rbx,8)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xa294, 0xb90064(%r12,%rbx,8) # imm = 0xA294
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %rbx
jmp 0xee8d
movl $0x3, 0xb80034(%r12)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebx, %ebx
cmpq $0x20000, %rbx          # imm = 0x20000
je 0xef04
movl $0x116, 0xb90000(%r12,%rbx) # imm = 0x116
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
addq $0x10000, %rbx          # imm = 0x10000
jmp 0xeedc
movzwl 0x4c(%rsp), %eax
cmpl $0x1, %eax
je 0xef1a
cmpl $0x2, %eax
jne 0xef21
movl $0x800, %ebx            # imm = 0x800
jmp 0xef32
movl $0x1000, %ebx           # imm = 0x1000
jmp 0xef32
cmpw $0x5, %ax
movl $0x400, %ecx            # imm = 0x400
movl $0x100, %ebx            # imm = 0x100
cmovbl %ecx, %ebx
leaq 0xb80400(%r12), %r14
movl %ebx, %ebp
shll $0xa, %ebp
decl %ebx
xorl %r15d, %r15d
movzwl %ax, %eax
cmpq %rax, %r15
jae 0xef69
movl %ebx, (%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incq %r15
movzwl 0x4c(%rsp), %eax
addl %ebp, %ebx
addq $0x10, %r14
jmp 0xef44
movl 0xd80b0c(%r12), %ebx
callq 0xf732
leaq 0x25f53(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
cmpl $0x7, %ebx
leaq 0xca1d(%rip), %rcx      # 0x1b9a8
leaq 0xca34(%rip), %rsi      # 0x1b9c6
cmoveq %rcx, %rsi
cmpl $0x5, %ebx
leaq 0xc9ea(%rip), %rdx      # 0x1b98a
cmovneq %rsi, %rdx
movq %r12, %rbx
xorl %r13d, %r13d
pushq $0x2
popq %r12
movl %r12d, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
leaq 0xd6c410(%rbx), %rax
xorl %ebp, %ebp
cmpq $0x20, %r13
je 0xefdf
movl (%rax), %edx
movl %r13d, %ecx
shll %cl, %edx
addl %edx, %ebp
addq $0x8, %r13
addq $0x4, %rax
jmp 0xefc6
cmpl $0x10092020, %ebp       # imm = 0x10092020
jne 0xf393
cmpl $0x40006033, 0x2c(%rsp) # imm = 0x40006033
pushq $-0x1
popq %r15
movq 0x20(%rsp), %r13
je 0xf421
movl 0xc40434(%r13), %eax
pushq $0x3
popq %rbp
movl %ebp, 0xc40438(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xc4043c(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xc40440(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xc40444(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xc40448(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xc40438(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xc4043c(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3e8, 0xd48560(%r13) # imm = 0x3E8
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x13, 0xd48400(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x15, 0xd48410(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x10011, 0xd48420(%r13) # imm = 0x10011
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3030b70, 0xd484c0(%r13) # imm = 0x3030B70
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3030b50, 0xd484d0(%r13) # imm = 0x3030B50
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x30, 0xd484e0(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xc00, 0xd48500(%r13) # imm = 0xC00
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x4000000, 0xd484f0(%r13) # imm = 0x4000000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
pushq $0x9
popq %rbx
movl %ebx, 0xd485d0(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebx, 0xd485e0(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x101212, 0xd48510(%r13) # imm = 0x101212
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x2d3c, 0xd48430(%r13) # imm = 0x2D3C
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xc40440(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %ebp, 0xd00240(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xffff, 0xd485f0(%r13) # imm = 0xFFFF
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3c232003, 0xd003c0(%r13) # imm = 0x3C232003
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x31, 0xd003d0(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xa22, 0xd003e0(%r13) # imm = 0xA22
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x4050501, 0xd00400(%r13) # imm = 0x4050501
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0xf0b0476, 0xd00410(%r13) # imm = 0xF0B0476
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x103, 0xd00420(%r13) # imm = 0x103
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x144050a1, 0xd00430(%r13) # imm = 0x144050A1
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x23300, 0xd00440(%r13) # imm = 0x23300
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x4230276, 0xd00450(%r13) # imm = 0x4230276
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x857914, 0xd00460(%r13) # imm = 0x857914
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x79100232, 0xd00470(%r13) # imm = 0x79100232
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x100007ce, 0xd00480(%r13) # imm = 0x100007CE
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x50020, 0xd00490(%r13) # imm = 0x50020
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x40ee, 0xd004a0(%r13) # imm = 0x40EE
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x5000, 0xd004d0(%r13) # imm = 0x5000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x15030006, 0xd004f0(%r13) # imm = 0x15030006
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x11305, 0xd00500(%r13) # imm = 0x11305
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x1, 0xd00530(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x1f, 0xd00570(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl %r12d, 0xc40444(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %ebp, %ebp
cmpl $0x1388, %ebp           # imm = 0x1388
je 0xf3ce
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl 0xc40434(%r13), %eax
testb $0x1, %al
jne 0xf3ce
incl %ebp
jmp 0xf372
callq 0xf732
leaq 0x25b31(%rip), %rcx     # 0x34ed0
movq 0x8(%rcx), %r8
movl $0x10092020, (%rsp)     # imm = 0x10092020
leaq 0xc635(%rip), %rdx      # 0x1b9e6
pushq $0x1
popq %rdi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
callq 0x19400
pushq $-0x1
popq %r15
movq 0x20(%rsp), %r13
jmp 0xf421
callq 0xf732
leaq 0x25af6(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
leaq 0xc633(%rip), %rdx      # 0x1ba18
pushq $0x2
popq %rdi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
callq 0x19400
movl $0x401, 0xd00020(%r13) # imm = 0x401
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
movl $0x3, 0xc40448(%r13)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
xorl %r14d, %r14d
leaq 0x48(%rsp), %r12
cmpq $0x10, %r14
je 0xf480
xorl %ebx, %ebx
xorl %ebp, %ebp
cmpl $0x8, %ebp
je 0xf47b
xorl %edx, %edx
cmpl 0x30(%rsp), %ebp
jae 0xf45d
movzwl 0x4c(%rsp), %eax
cmpq %rax, %r14
jae 0xf45d
movl %ebp, %edi
movq %r12, %rsi
callq 0xe456
movl %r15d, %edx
movl %eax, %ecx
shll %cl, %edx
notl %edx
addl %ebx, %edx
movl %edx, 0xa10000(%r13,%r14,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd460
incl %ebp
addl $0x10000, %ebx          # imm = 0x10000
jmp 0xf433
incq %r14
jmp 0xf429
movl 0xb80820(%r13), %eax
cmpl $0x1, %eax
jne 0xf4ff
movl 0xb80820(%r13), %ebp
movl 0xc84004(%r13), %ebx
callq 0xf732
leaq 0x25a2a(%rip), %rcx     # 0x34ed0
movq (%rcx), %r8
movl %ebx, (%rsp)
leaq 0xc58c(%rip), %rdx      # 0x1ba3f
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
callq 0x19400
leaq 0xc5ce(%rip), %r14      # 0x1ba99
callq 0xf732
leaq 0x259f9(%rip), %rbx     # 0x34ed0
movq (%rbx), %r8
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
callq 0xf732
movq (%rbx), %r8
leaq 0xc1f2(%rip), %rdx      # 0x1b6ec
jmp 0xe508
callq 0xf732
leaq 0x259c5(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
leaq 0xc5c0(%rip), %rdx      # 0x1bad6
xorl %r15d, %r15d
pushq $0x2
popq %rdi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movzwl 0x4c(%rsp), %eax
movq 0x38(%rsp), %rcx
movl %eax, 0x4f8(%rcx)
jmp 0xe516