// File: /workspace/github_c_makefile_star2_O3/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 $0x378, %rsp            # imm = 0x378
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x13a38
testb %al, %al
je 0xe55d
callq 0xf853
leaq 0x25990(%rip), %rcx     # 0x33ed0
movq (%rcx), %r8
leaq 0xd2cd(%rip), %rdx      # 0x1b817
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
movq %r15, %r9
xorl %eax, %eax
callq 0x199b4
jmp 0xe56e
leaq 0x58(%rsp), %rsi
movq %r15, %rdi
callq 0xf9b4
testl %eax, %eax
je 0xe5ab
callq 0xf853
leaq 0x25956(%rip), %rcx     # 0x33ed0
movq (%rcx), %r8
leaq 0xd147(%rip), %rdx      # 0x1b6cb
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, %eax
addq $0x378, %rsp            # imm = 0x378
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0xd90808(%r14), %eax
cmpl $-0x1, %eax
je 0xea36
movl %eax, 0x2c(%rsp)
movq %rbx, 0x48(%rsp)
movl $0x40006033, 0xd90808(%r14) # imm = 0x40006033
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
xorl %ebx, %ebx
movl $0x0, 0xd90bbc(%r14,%rbx)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x10, %rbx
cmpq $0x100, %rbx            # imm = 0x100
jne 0xe5db
movl $0xc003, 0xd90840(%r14) # imm = 0xC003
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xffffffff, 0xc84004(%r14) # imm = 0xFFFFFFFF
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x1, %ebx
movl %ebx, 0xc40098(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb8002c(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x30000, 0xc8410c(%r14) # imm = 0x30000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x0, 0xb80868(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3d7, 0xb80870(%r14) # imm = 0x3D7
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x11, 0xb80010(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
leaq 0xd80108(%r14), %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
movl $0x8400, (%rbx,%r12)    # imm = 0x8400
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x200, %r12            # imm = 0x200
cmpq $0x800, %r12            # imm = 0x800
jne 0xe6b0
incq %r15
addq $0x2000, %rbx           # imm = 0x2000
cmpq $0x4, %r15
jne 0xe6ad
xorl %ebx, %ebx
movl $0x6007, 0xd81098(%r14,%rbx) # imm = 0x6007
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x2000, %rbx           # imm = 0x2000
cmpq $0x8000, %rbx           # imm = 0x8000
jne 0xe6e4
xorl %ebx, %ebx
movl %ebx, 0xb80000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb80040(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x80001747, 0xb80004(%r14) # imm = 0x80001747
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x7fe00, 0xb80008(%r14) # imm = 0x7FE00
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xb, 0xbb1000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movzwl 0x5e(%rsp), %ebp
movzwl 0x6a(%rsp), %eax
movq %rax, 0x40(%rsp)
movl %eax, %r13d
addl %ebp, %r13d
movzwl 0x64(%rsp), %ecx
movq %rcx, 0x38(%rsp)
addl %ecx, %r13d
movzwl 0x70(%rsp), %eax
movq %rax, 0x30(%rsp)
addl %eax, %r13d
je 0xe810
movq 0x40(%rsp), %rax
movq 0x38(%rsp), %rcx
addq %rcx, %rax
movq 0x30(%rsp), %rcx
leaq (%rcx,%rbp), %rbx
addq %rax, %rbx
xorl %r15d, %r15d
leaq 0x58(%rsp), %r12
movl %r15d, %edi
movq %r12, %rsi
callq 0xe48b
movl %eax, 0xa00200(%r14,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %r15d, %edi
movq %r12, %rsi
callq 0xe48b
leal -0x1(%rax), %ecx
movl $0x1, %eax
shll %cl, %eax
addl $0x10000, %eax          # imm = 0x10000
movl %eax, 0xa00300(%r14,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r15
cmpq %r15, %rbx
jne 0xe7bf
callq 0xf853
leaq 0x256b4(%rip), %rcx     # 0x33ed0
movq 0x10(%rcx), %r8
movzwl 0x6a(%rsp), %r9d
movzwl 0x70(%rsp), %ecx
movzwl 0x5e(%rsp), %edx
movzwl 0x64(%rsp), %esi
movl %esi, 0x10(%rsp)
movl %edx, 0x8(%rsp)
movl %ecx, (%rsp)
leaq 0xd032(%rip), %rdx      # 0x1b879
movl $0x2, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movq $-0x80, %rbx
movl $0x3020100, 0xa00680(%r14,%rbx) # imm = 0x3020100
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x7060504, 0xa00700(%r14,%rbx) # imm = 0x7060504
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xb0a0908, 0xa00780(%r14,%rbx) # imm = 0xB0A0908
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xf0e0d0c, 0xa00800(%r14,%rbx) # imm = 0xF0E0D0C
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x4, %rbx
jne 0xe85f
movq %rbp, 0x50(%rsp)
movl $0xf0f, 0xa02f48(%r14) # imm = 0xF0F
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
leaq 0xa00800(%r14), %r15
xorl %ebx, %ebx
movl $0x0, (%r15,%rbx,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %rbx
cmpq $0x20, %rbx
jne 0xe8e0
movzwl 0x5e(%rsp), %ebp
xorl %ebx, %ebx
testl %ebp, %ebp
je 0xe911
xorl %eax, %eax
btsl %eax, %ebx
incl %eax
cmpl %eax, %ebp
jne 0xe908
xorl %r12d, %r12d
movl %ebx, 0xa00840(%r14,%r12,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r12
cmpq $0x6, %r12
jne 0xe914
movzwl 0x6a(%rsp), %eax
leal (%rax,%rbp), %r12d
movq $0x0, 0x20(%rsp)
movl $0x0, %ebx
testl %eax, %eax
je 0xe956
xorl %ebx, %ebx
btsl %ebp, %ebx
incl %ebp
cmpl %r12d, %ebp
jb 0xe94c
xorl %ebp, %ebp
movl 0xbc0200(%r14,%rbp,4), %eax
movl $0xf0, %ecx
andl %ecx, %eax
cmpl $0x10, %eax
jne 0xe987
movl %ebx, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movq 0x20(%rsp), %rax
incl %eax
movq %rax, 0x20(%rsp)
jmp 0xe998
movl $0x0, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x400, %rbp            # imm = 0x400
addq $0x4, %r15
cmpq $0x2000, %rbp           # imm = 0x2000
jne 0xe958
callq 0xf853
leaq 0x25518(%rip), %rcx     # 0x33ed0
movq 0x18(%rcx), %r8
movq 0x20(%rsp), %rcx
movl %ecx, (%rsp)
leaq 0xcee6(%rip), %rdx      # 0x1b8b1
leaq 0xcf06(%rip), %r9       # 0x1b8d8
xorl %ebp, %ebp
movl $0x3, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movzwl 0x64(%rsp), %eax
leal (%r12,%rax), %ebx
testl %eax, %eax
je 0xea00
xorl %ebp, %ebp
btsl %r12d, %ebp
incl %r12d
cmpl %ebx, %r12d
jb 0xe9f4
xorl %r15d, %r15d
movl %ebp, 0xa0086c(%r14,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r15
cmpq $0x5, %r15
jne 0xea03
movzwl 0x70(%rsp), %eax
testl %eax, %eax
je 0xea42
addl %ebx, %eax
xorl %ebp, %ebp
btsl %ebx, %ebp
incl %ebx
cmpl %eax, %ebx
jb 0xea2b
jmp 0xea44
leaq 0xce03(%rip), %rbx      # 0x1b840
jmp 0xf5d1
xorl %ebp, %ebp
movl %r13d, 0x28(%rsp)
xorl %ebx, %ebx
movl %ebp, 0xa00834(%r14,%rbx,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %rbx
cmpq $0x3, %rbx
jne 0xea4b
xorl %ebp, %ebp
leaq 0x58(%rsp), %r15
leaq 0xd08c(%rip), %rbx      # 0x1bb00
xorl %r13d, %r13d
xorl %r12d, %r12d
movl %r12d, %edi
movq %r15, %rsi
callq 0xe3bc
cltq
movl (%rbx,%rax,4), %eax
movl %ebp, %ecx
shll %cl, %eax
orl %eax, %r13d
incl %r12d
addl $0x4, %ebp
cmpl $0x8, %r12d
jne 0xea7a
movl %r13d, 0xa02f40(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl 0x28(%rsp), %r13d
testl %r13d, %r13d
movq %r14, 0x18(%rsp)
je 0xeb96
movl %r13d, %eax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq 0x38(%rsp), %rcx
addq %rcx, %rax
movq 0x30(%rsp), %rcx
addq %rcx, %rax
movq 0x50(%rsp), %rcx
leaq (%rcx,%rax), %rbx
xorl %r15d, %r15d
movl $0x0, 0xa02f00(%r14,%r15,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r15
cmpq %r15, %rbx
jne 0xeaea
leaq 0x58(%rsp), %r15
movzwl 0x4(%r15), %eax
leaq 0xa01000(%r14), %rbx
xorl %r12d, %r12d
xorl %ebp, %ebp
testw %ax, %ax
je 0xeb6f
xorl %r13d, %r13d
movl %ebp, %r14d
movl %ebp, (%rbx,%r13,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %r12d, %edi
movq %r15, %rsi
callq 0xe4d3
movl %eax, %ebp
movl %r12d, %edi
movq %r15, %rsi
callq 0xe48b
movl %eax, %ecx
shll %cl, %ebp
addl %r14d, %ebp
incq %r13
movzwl 0x5c(%rsp), %eax
cmpq %rax, %r13
jb 0xeb26
movq 0x18(%rsp), %r14
movl 0x28(%rsp), %r13d
jmp 0xeb71
xorl %eax, %eax
incq %r12
addq $0x100, %rbx            # imm = 0x100
cmpq 0x20(%rsp), %r12
jne 0xeb1e
cmpl $0x8000, %ebp           # imm = 0x8000
jbe 0xeb96
leaq 0xcd5b(%rip), %rbx      # 0x1b8ec
jmp 0xf5d1
xorl %ebx, %ebx
movl %ebx, 0xc84020(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc84024(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, 0xc84040(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xc84044(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc84038(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc84114(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movzbl 0x58(%rsp), %eax
addl %eax, %eax
movl %eax, 0xc84108(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
leaq 0xccfb(%rip), %rax      # 0x1b91d
leaq 0xcd41(%rip), %r15      # 0x1b96a
cmpb $0x0, 0x58(%rsp)
cmovneq %rax, %r15
callq 0xf853
leaq 0x25292(%rip), %rcx     # 0x33ed0
movq 0x10(%rcx), %r8
movl $0x2, %ebp
movl $0x2, %edi
xorl %esi, %esi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl $0x1, %ebx
movl %ebx, 0xb90008(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0008(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb80084(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb80088(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
cmpw $0x0, 0x5c(%rsp)
je 0xed06
leaq 0xba8000(%r14), %r15
xorl %r12d, %r12d
movl %ebx, -0x10000(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, -0x10000(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r12
movzwl 0x5c(%rsp), %eax
addq $0x100, %r15            # imm = 0x100
cmpq %rax, %r12
jb 0xecb6
movl %ebx, 0xb9c0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xb9c0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xbac0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xbac0f0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x101, %ebp            # imm = 0x101
movl %ebp, 0xb90000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xba0000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb80088(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x216, %ebx            # imm = 0x216
movl %ebx, 0xb90000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movb $0x1, %bl
xorl %r15d, %r15d
movl $0x4, %ebp
movl %ebp, 0xb90010(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x4f, 0xb90014(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xb90018(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x63, 0xb9001c(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x10000, %r15d         # imm = 0x10000
testb $0x1, %bl
movl $0x0, %ebx
jne 0xedbd
xorl %ebx, %ebx
cmpw $0x0, 0x5c(%rsp)
je 0xef10
leaq 0xba0408(%r14), %r15
xorl %r12d, %r12d
movl $0x1000000, %ebp        # imm = 0x1000000
movl $0x1f400, -0x10008(%r15) # imm = 0x1F400
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x0, -0x10004(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl 0x1f8(%rsp), %eax
shll $0x18, %eax
addl %ebp, %eax
cltq
imulq $0x10624dd3, %rax, %rax # imm = 0x10624DD3
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x2d, %rax
addl %ecx, %eax
movl %eax, -0x10000(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl 0x2bc(%rsp), %r14d
cmpl $0x1, %r14d
adcl $0x0, %r14d
movl %r14d, -0x8(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %r14d, %eax
shrl $0x1f, %eax
addl %r14d, %eax
sarl %eax
movl %eax, -0x4(%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl 0x2b8(%rsp), %eax
shll $0x18, %eax
addl %ebp, %eax
cltd
idivl %r14d
movl %eax, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r12
movzwl 0x5c(%rsp), %eax
addq $0x10, %r15
cmpq %rax, %r12
jb 0xee3a
cmpw $0xf, %ax
movq 0x18(%rsp), %r14
jbe 0xef12
jmp 0xef93
xorl %eax, %eax
movzwl %ax, %r15d
shll $0x4, %r15d
movl %ebx, 0xb90400(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb90404(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xb90408(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0400(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0404(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0408(%r14,%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
addq $0x10, %r15
cmpq $0x100, %r15            # imm = 0x100
jne 0xef1a
xorl %ebx, %ebx
movl $0xaa, 0xb90060(%r14,%rbx,8)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xa294, 0xb90064(%r14,%rbx,8) # imm = 0xA294
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %rbx
cmpq $0x4, %rbx
jne 0xef95
movl $0x3, 0xb80034(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x116, %ebx            # imm = 0x116
movl %ebx, 0xb90000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xba0000(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movzwl 0x5c(%rsp), %eax
cmpl $0x1, %eax
je 0xf01c
cmpl $0x2, %eax
jne 0xf023
movl $0x800, %ebx            # imm = 0x800
jmp 0xf039
movl $0x1000, %ebx           # imm = 0x1000
jmp 0xf039
cmpw $0x5, %ax
movl $0x400, %ecx            # imm = 0x400
movl $0x100, %ebx            # imm = 0x100
cmovbl %ecx, %ebx
testw %ax, %ax
je 0xf06a
leaq 0xb80400(%r14), %r15
movl %ebx, %ebp
shll $0xa, %ebp
decl %ebx
xorl %r12d, %r12d
movl %ebx, (%r15)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incq %r12
movzwl 0x5c(%rsp), %eax
addl %ebp, %ebx
addq $0x10, %r15
cmpq %rax, %r12
jb 0xf04a
movl 0xd80b0c(%r14), %ebx
callq 0xf853
leaq 0x24e53(%rip), %rcx     # 0x33ed0
movq 0x10(%rcx), %r8
cmpl $0x7, %ebx
leaq 0xc91d(%rip), %rcx      # 0x1b9a8
leaq 0xc934(%rip), %rsi      # 0x1b9c6
cmoveq %rcx, %rsi
cmpl $0x5, %ebx
leaq 0xc8ea(%rip), %rdx      # 0x1b98a
cmovneq %rsi, %rdx
xorl %r15d, %r15d
movl $0x2, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
leaq 0xd6c410(%r14), %rax
xorl %ebp, %ebp
movl (%rax), %edx
movl %r15d, %ecx
shll %cl, %edx
addl %edx, %ebp
addq $0x8, %r15
addq $0x4, %rax
cmpq $0x20, %r15
jne 0xf0c1
cmpl $0x10092020, %ebp       # imm = 0x10092020
jne 0xf4f6
cmpl $0x40006033, 0x2c(%rsp) # imm = 0x40006033
je 0xf528
movl 0xc40434(%r14), %eax
movl $0x3, %ebp
movl %ebp, 0xc40438(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x2, %ebx
movl %ebx, 0xc4043c(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc40440(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xc40444(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc40448(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc40438(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xc4043c(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3e8, 0xd48560(%r14) # imm = 0x3E8
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x13, 0xd48400(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x15, 0xd48410(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x10011, 0xd48420(%r14) # imm = 0x10011
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3030b70, 0xd484c0(%r14) # imm = 0x3030B70
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3030b50, 0xd484d0(%r14) # imm = 0x3030B50
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x30, 0xd484e0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xc00, 0xd48500(%r14) # imm = 0xC00
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x4000000, 0xd484f0(%r14) # imm = 0x4000000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x9, %r14d
movq 0x18(%rsp), %rax
movl %r14d, 0xd485d0(%rax)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movq 0x18(%rsp), %rax
movl %r14d, 0xd485e0(%rax)
movq 0x18(%rsp), %r14
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x101212, 0xd48510(%r14) # imm = 0x101212
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x2d3c, 0xd48430(%r14) # imm = 0x2D3C
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xc40440(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebp, 0xd00240(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xffff, 0xd485f0(%r14) # imm = 0xFFFF
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3c232003, 0xd003c0(%r14) # imm = 0x3C232003
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x31, 0xd003d0(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xa22, 0xd003e0(%r14) # imm = 0xA22
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x4050501, 0xd00400(%r14) # imm = 0x4050501
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0xf0b0476, 0xd00410(%r14) # imm = 0xF0B0476
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x103, 0xd00420(%r14) # imm = 0x103
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x144050a1, 0xd00430(%r14) # imm = 0x144050A1
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x23300, 0xd00440(%r14) # imm = 0x23300
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x4230276, 0xd00450(%r14) # imm = 0x4230276
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x857914, 0xd00460(%r14) # imm = 0x857914
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x79100232, 0xd00470(%r14) # imm = 0x79100232
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x100007ce, 0xd00480(%r14) # imm = 0x100007CE
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x50020, 0xd00490(%r14) # imm = 0x50020
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x40ee, 0xd004a0(%r14) # imm = 0x40EE
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x5000, 0xd004d0(%r14) # imm = 0x5000
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x15030006, 0xd004f0(%r14) # imm = 0x15030006
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x11305, 0xd00500(%r14) # imm = 0x11305
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x1, 0xd00530(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x1f, 0xd00570(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl %ebx, 0xc40444(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
xorl %ebp, %ebp
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl 0xc40434(%r14), %eax
testb $0x1, %al
jne 0xf49f
incl %ebp
cmpl $0x1388, %ebp           # imm = 0x1388
jne 0xf47b
movl $0x1388, %ebp           # imm = 0x1388
callq 0xf853
leaq 0x24a25(%rip), %rcx     # 0x33ed0
movq 0x10(%rcx), %r8
leaq 0xc562(%rip), %rdx      # 0x1ba18
movl $0x2, %edi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
callq 0x199b4
movl $0x401, 0xd00020(%r14) # imm = 0x401
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
movl $0x3, 0xc40448(%r14)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
jmp 0xf528
callq 0xf853
leaq 0x249ce(%rip), %rcx     # 0x33ed0
movq 0x8(%rcx), %r8
movl $0x10092020, (%rsp)     # imm = 0x10092020
leaq 0xc4d2(%rip), %rdx      # 0x1b9e6
movl $0x1, %edi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
callq 0x199b4
xorl %ebx, %ebx
leaq 0x58(%rsp), %r15
xorl %r12d, %r12d
xorl %ebp, %ebp
xorl %edx, %edx
cmpl %r13d, %ebp
jae 0xf55a
movzwl 0x5c(%rsp), %eax
cmpq %rax, %rbx
jae 0xf55a
movl %ebp, %edi
movq %r15, %rsi
callq 0xe4d3
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %edx
notl %edx
addl %r12d, %edx
movl %edx, 0xa10000(%r14,%rbx,4)
movl $0x3e8, %edi            # imm = 0x3E8
callq 0xd450
incl %ebp
addl $0x10000, %r12d         # imm = 0x10000
cmpl $0x8, %ebp
jne 0xf534
incq %rbx
cmpq $0x10, %rbx
jne 0xf52f
movl 0xb80820(%r14), %eax
cmpl $0x1, %eax
jne 0xf605
movl 0xb80820(%r14), %ebx
movl 0xc84004(%r14), %ebp
callq 0xf853
leaq 0x24924(%rip), %rcx     # 0x33ed0
movq (%rcx), %r8
movl %ebp, (%rsp)
leaq 0xc486(%rip), %rdx      # 0x1ba3f
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
movl %ebx, %r9d
xorl %eax, %eax
callq 0x199b4
leaq 0xc4c8(%rip), %rbx      # 0x1ba99
callq 0xf853
leaq 0x248f3(%rip), %r14     # 0x33ed0
movq (%r14), %r8
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
callq 0xf853
movq (%r14), %r8
leaq 0xc0ec(%rip), %rdx      # 0x1b6ec
jmp 0xe584
callq 0xf853
leaq 0x248bf(%rip), %rcx     # 0x33ed0
movq 0x10(%rcx), %r8
leaq 0xc4ba(%rip), %rdx      # 0x1bad6
xorl %ebp, %ebp
movl $0x2, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movzwl 0x5c(%rsp), %eax
movq 0x48(%rsp), %rcx
movl %eax, 0x4f8(%rcx)
jmp 0xe597