// File: boczeratul[P]StarCraftGA/SCTools.cpp
// Function: readRequest
void readRequest(int ActionList[60])
{
    int dependency[72][60];
    int i, j;
    for (i = 0; i < 72 ; i++)
        for (j = 0; j < 60; j++)
            dependency[i][j] = 0;
    
    
    dependency[2][2] = 1;
    
    dependency[3][3] = 1;
    
    dependency[4][4] = 1;
    
    dependency[5][5] = 1;
    
    dependency[6][6] = 1;
    dependency[6][5] = 1;
    
    dependency[7][7] = 1;
    dependency[7][5] = 1;
    
    dependency[8][8] = 1;
    dependency[8][57] = 1;
    
    dependency[9][9] = 1;
    dependency[9][57] = 1;
    
    dependency[10][10] = 1;
    dependency[10][57] = 1;
    
    dependency[11][11] = 1;
    dependency[11][57] = 1;
    
    dependency[12][12] = 1;
    dependency[12][58] = 1;
    
    dependency[13][13] = 1;
    dependency[13][5] = 1;
    
    dependency[14][14] = 1;
    dependency[14][4] = 1;
    
    dependency[16][16] = 1;
    
    dependency[17][17] = 1;
    
    dependency[18][18] = 1;
    dependency[18][5] = 1;
    
    dependency[19][19] = 1;
    dependency[19][5] = 1;
    dependency[19][7] = 1;
    
    dependency[20][20] = 1;
    dependency[20][5] = 1;
    dependency[20][6] = 1;
    
    dependency[21][21] = 1;
    dependency[21][5] = 1;
    
    dependency[22][22] = 1;
    dependency[22][5] = 1;
    dependency[22][57] = 1;
    dependency[22][8] = 1;
    
    dependency[23][23] = 1;
    dependency[23][5] = 1;
    dependency[23][57] = 1;
    dependency[23][10] = 1;
    
    dependency[24][24] = 1;
    dependency[24][5] = 1;
    dependency[24][57] = 1;
    
    dependency[25][25] = 1;
    dependency[25][5] = 1;
    dependency[25][57] = 1;
    
    dependency[26][26] = 1;
    dependency[26][5] = 1;
    dependency[26][57] = 1;
    dependency[26][11] = 1;
    
    dependency[27][27] = 1;
    dependency[27][5] = 1;
    dependency[27][57] = 1;
    dependency[27][11] = 1;
    
    dependency[28][28] = 1;
    dependency[28][5] = 1;
    dependency[28][57] = 1;
    dependency[28][11] = 1;
    dependency[28][10] = 1;
    dependency[28][58] = 1;
    dependency[28][59] = 1;
    dependency[28][27] = 1;
    
    dependency[29][29] = 1;
    dependency[29][5] = 1;
    dependency[29][57] = 1;
    dependency[29][10] = 1;
    dependency[29][58] = 1;
    dependency[29][12] = 1;
    
    dependency[42][30] = 1;
    
    dependency[43][31] = 1;
    dependency[43][5] = 1;
    dependency[43][57] = 1;
    
    dependency[44][32] = 1;
    dependency[44][5] = 1;
    dependency[44][57] = 1;
    
    dependency[45][33] = 1;
    dependency[45][4] = 1;
    
    dependency[46][34] = 1;
    dependency[46][4] = 1;
    dependency[46][33] = 1;
    dependency[46][5] = 1;
    dependency[46][57] = 1;
    
    dependency[47][35] = 1;
    dependency[47][4] = 1;
    dependency[47][33] = 1;
    dependency[47][34] = 1;
    dependency[47][5] = 1;
    dependency[47][57] = 1;
    dependency[47][10] = 1;
    dependency[47][58] = 1;
    
    dependency[48][36] = 1;
    dependency[48][4] = 1;
    
    dependency[49][37] = 1;
    dependency[49][4] = 1;
    dependency[49][36] = 1;
    dependency[49][5] = 1;
    dependency[49][57] = 1;
    
    dependency[50][38] = 1;
    dependency[50][4] = 1;
    dependency[50][36] = 1;
    dependency[50][37] = 1;
    dependency[50][5] = 1;
    dependency[50][57] = 1;
    dependency[50][10] = 1;
    dependency[50][58] = 1;
    
    dependency[51][39] = 1;
    dependency[51][4] = 1;
    
    dependency[52][40] = 1;
    dependency[52][4] = 1;
    dependency[52][39] = 1;
    dependency[52][5] = 1;
    dependency[52][57] = 1;
    
    dependency[53][41] = 1;
    dependency[53][4] = 1;
    dependency[53][39] = 1;
    dependency[53][40] = 1;
    dependency[53][5] = 1;
    dependency[53][57] = 1;
    dependency[53][10] = 1;
    dependency[53][58] = 1;
    
    dependency[54][42] = 1;
    dependency[54][5] = 1;
    
    dependency[55][43] = 1;
    dependency[55][5] = 1;
    dependency[55][57] = 1;
    dependency[55][10] = 1;
    dependency[55][58] = 1;
    
    dependency[56][44] = 1;
    dependency[56][5] = 1;
    dependency[56][57] = 1;
    dependency[56][6] = 1;
    
    dependency[57][45] = 1;
    dependency[57][5] = 1;
    dependency[57][57] = 1;
    dependency[57][6] = 1;
    
    dependency[58][46] = 1;
    dependency[58][5] = 1;
    dependency[58][57] = 1;
    dependency[58][7] = 1;
    
    dependency[59][47] = 1;
    dependency[59][5] = 1;
    dependency[59][57] = 1;
    dependency[59][8] = 1;
    
    dependency[60][48] = 1;
    dependency[60][5] = 1;
    dependency[60][57] = 1;
    dependency[60][11] = 1;
    
    dependency[61][49] = 1;
    dependency[61][11] = 1;
    dependency[61][48] = 1;
    dependency[61][5] = 1;
    dependency[61][57] = 1;
    
    dependency[62][50] = 1;
    dependency[62][11] = 1;
    dependency[62][48] = 1;
    dependency[62][49] = 1;
    dependency[62][5] = 1;
    dependency[62][57] = 1;
    dependency[62][10] = 1;
    dependency[62][58] = 1;
    
    dependency[63][51] = 1;
    dependency[63][5] = 1;
    dependency[63][57] = 1;
    dependency[63][11] = 1;
    
    dependency[64][52] = 1;
    dependency[64][11] = 1;
    dependency[64][51] = 1;
    dependency[64][5] = 1;
    dependency[64][57] = 1;
    
    dependency[65][53] = 1;
    dependency[65][11] = 1;
    dependency[65][51] = 1;
    dependency[65][52] = 1;
    dependency[65][5] = 1;
    dependency[65][57] = 1;
    dependency[65][10] = 1;
    dependency[65][58] = 1;
    
    dependency[66][54] = 1;
    dependency[66][5] = 1;
    dependency[66][57] = 1;
    dependency[66][10] = 1;
    
    dependency[67][55] = 1;
    dependency[67][5] = 1;
    dependency[67][57] = 1;
    dependency[67][10] = 1;
    
    dependency[68][56] = 1;
    dependency[68][5] = 1;
    dependency[68][57] = 1;
    dependency[68][10] = 1;
    dependency[68][58] = 1;
    dependency[68][12] = 1;
    
    dependency[69][57] = 1;
    dependency[69][5] = 1;
    
    dependency[70][58] = 1;
    dependency[70][5] = 1;
    dependency[70][57] = 1;
    dependency[70][10] = 1;
    
    dependency[71][59] = 1;
    dependency[71][58] = 1;
    dependency[71][5] = 1;
    dependency[71][57] = 1;
    dependency[71][10] = 1;
    dependency[71][11] = 1;
    
    for (i = 0; i < 60 ; i++)
        ActionList[i] = 0;
    
    ActionList[0] = -1;
    ActionList[1] = -1;
    ActionList[2] = -1;
    ActionList[3] = -1;
    ActionList[15] = -1;
    ActionList[16] = -1;
    ActionList[17] = -1;
    ActionList[21] = -1;
    
    printf("Verification Time (200 ~ 1000 recommanded): ");
    scanf("%d", &verificationTime);
    
    int numOfRequirements;
    printf("Number of requirements: ");
    scanf("%d", &numOfRequirements);
    
    int requirement, quantity;
    for(i = 0; i < numOfRequirements; i++)
    {
		while (1)
		{
			printf("Requirement %d: ", i+1);
			scanf("%d", &requirement);
			if (requirement < 16 || requirement > 59)
				printf("Invalid requirement id!\n");
			else
				break;
		}
		while (1)
		{
			printf("Quantity for %s: ",SCStateString[requirement]);
			scanf("%d", &quantity);
			if (quantity < 1)
				printf("Invalid quantity!\n");
			else
				break;
		}
        printf(" ==> %d %s(s)\n", quantity, SCStateString[requirement]);
        
        for (j = 0; j < 13; j++)
        {
            if (dependency[requirement][j])
                ActionList[j] = -1;
        }
        
        for (j = 13; j < 30; j++)
        {
            if (dependency[requirement][j])
				if (j == 18)
					ActionList[j] += quantity/2;
				else
					ActionList[j] += quantity;
        }
        
        for (j = 30; j < 60; j++)
        {
            if (dependency[requirement][j])
                ActionList[j] = 1;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x43b0, %rsp           # imm = 0x43B0
movq %rdi, -0x8(%rbp)
movl $0x0, -0x4394(%rbp)
cmpl $0x48, -0x4394(%rbp)
jge 0x906f
movl $0x0, -0x4398(%rbp)
cmpl $0x3c, -0x4398(%rbp)
jge 0x905c
movslq -0x4394(%rbp), %rcx
leaq -0x4390(%rbp), %rax
imulq $0xf0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4398(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x4398(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4398(%rbp)
jmp 0x901c
jmp 0x905e
movl -0x4394(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4394(%rbp)
jmp 0x9009
movl $0x1, -0x41a8(%rbp)
movl $0x1, -0x40b4(%rbp)
movl $0x1, -0x3fc0(%rbp)
movl $0x1, -0x3ecc(%rbp)
movl $0x1, -0x3dd8(%rbp)
movl $0x1, -0x3ddc(%rbp)
movl $0x1, -0x3ce4(%rbp)
movl $0x1, -0x3cec(%rbp)
movl $0x1, -0x3bf0(%rbp)
movl $0x1, -0x3b2c(%rbp)
movl $0x1, -0x3afc(%rbp)
movl $0x1, -0x3a3c(%rbp)
movl $0x1, -0x3a08(%rbp)
movl $0x1, -0x394c(%rbp)
movl $0x1, -0x3914(%rbp)
movl $0x1, -0x385c(%rbp)
movl $0x1, -0x3820(%rbp)
movl $0x1, -0x3768(%rbp)
movl $0x1, -0x372c(%rbp)
movl $0x1, -0x374c(%rbp)
movl $0x1, -0x3638(%rbp)
movl $0x1, -0x3660(%rbp)
movl $0x1, -0x3450(%rbp)
movl $0x1, -0x335c(%rbp)
movl $0x1, -0x3268(%rbp)
movl $0x1, -0x329c(%rbp)
movl $0x1, -0x3174(%rbp)
movl $0x1, -0x31ac(%rbp)
movl $0x1, -0x31a4(%rbp)
movl $0x1, -0x3080(%rbp)
movl $0x1, -0x30bc(%rbp)
movl $0x1, -0x30b8(%rbp)
movl $0x1, -0x2f8c(%rbp)
movl $0x1, -0x2fcc(%rbp)
movl $0x1, -0x2e98(%rbp)
movl $0x1, -0x2edc(%rbp)
movl $0x1, -0x2e0c(%rbp)
movl $0x1, -0x2ed0(%rbp)
movl $0x1, -0x2da4(%rbp)
movl $0x1, -0x2dec(%rbp)
movl $0x1, -0x2d1c(%rbp)
movl $0x1, -0x2dd8(%rbp)
movl $0x1, -0x2cb0(%rbp)
movl $0x1, -0x2cfc(%rbp)
movl $0x1, -0x2c2c(%rbp)
movl $0x1, -0x2bbc(%rbp)
movl $0x1, -0x2c0c(%rbp)
movl $0x1, -0x2b3c(%rbp)
movl $0x1, -0x2ac8(%rbp)
movl $0x1, -0x2b1c(%rbp)
movl $0x1, -0x2a4c(%rbp)
movl $0x1, -0x2b04(%rbp)
movl $0x1, -0x29d4(%rbp)
movl $0x1, -0x2a2c(%rbp)
movl $0x1, -0x295c(%rbp)
movl $0x1, -0x2a14(%rbp)
movl $0x1, -0x28e0(%rbp)
movl $0x1, -0x293c(%rbp)
movl $0x1, -0x286c(%rbp)
movl $0x1, -0x2924(%rbp)
movl $0x1, -0x2928(%rbp)
movl $0x1, -0x2868(%rbp)
movl $0x1, -0x2864(%rbp)
movl $0x1, -0x28e4(%rbp)
movl $0x1, -0x27ec(%rbp)
movl $0x1, -0x284c(%rbp)
movl $0x1, -0x277c(%rbp)
movl $0x1, -0x2838(%rbp)
movl $0x1, -0x2778(%rbp)
movl $0x1, -0x2830(%rbp)
movl $0x1, -0x1bb8(%rbp)
movl $0x1, -0x1ac4(%rbp)
movl $0x1, -0x1b2c(%rbp)
movl $0x1, -0x1a5c(%rbp)
movl $0x1, -0x19d0(%rbp)
movl $0x1, -0x1a3c(%rbp)
movl $0x1, -0x196c(%rbp)
movl $0x1, -0x18dc(%rbp)
movl $0x1, -0x1950(%rbp)
movl $0x1, -0x17e8(%rbp)
movl $0x1, -0x1860(%rbp)
movl $0x1, -0x17ec(%rbp)
movl $0x1, -0x185c(%rbp)
movl $0x1, -0x178c(%rbp)
movl $0x1, -0x16f4(%rbp)
movl $0x1, -0x1770(%rbp)
movl $0x1, -0x16fc(%rbp)
movl $0x1, -0x16f8(%rbp)
movl $0x1, -0x176c(%rbp)
movl $0x1, -0x169c(%rbp)
movl $0x1, -0x1758(%rbp)
movl $0x1, -0x1698(%rbp)
movl $0x1, -0x1600(%rbp)
movl $0x1, -0x1680(%rbp)
movl $0x1, -0x150c(%rbp)
movl $0x1, -0x1590(%rbp)
movl $0x1, -0x1510(%rbp)
movl $0x1, -0x158c(%rbp)
movl $0x1, -0x14bc(%rbp)
movl $0x1, -0x1418(%rbp)
movl $0x1, -0x14a0(%rbp)
movl $0x1, -0x1420(%rbp)
movl $0x1, -0x141c(%rbp)
movl $0x1, -0x149c(%rbp)
movl $0x1, -0x13cc(%rbp)
movl $0x1, -0x1488(%rbp)
movl $0x1, -0x13c8(%rbp)
movl $0x1, -0x1324(%rbp)
movl $0x1, -0x13b0(%rbp)
movl $0x1, -0x1230(%rbp)
movl $0x1, -0x12c0(%rbp)
movl $0x1, -0x1234(%rbp)
movl $0x1, -0x12bc(%rbp)
movl $0x1, -0x11ec(%rbp)
movl $0x1, -0x113c(%rbp)
movl $0x1, -0x11d0(%rbp)
movl $0x1, -0x1144(%rbp)
movl $0x1, -0x1140(%rbp)
movl $0x1, -0x11cc(%rbp)
movl $0x1, -0x10fc(%rbp)
movl $0x1, -0x11b8(%rbp)
movl $0x1, -0x10f8(%rbp)
movl $0x1, -0x1048(%rbp)
movl $0x1, -0x10dc(%rbp)
movl $0x1, -0xf54(%rbp)
movl $0x1, -0xfec(%rbp)
movl $0x1, -0xf1c(%rbp)
movl $0x1, -0xfd8(%rbp)
movl $0x1, -0xf18(%rbp)
movl $0x1, -0xe60(%rbp)
movl $0x1, -0xefc(%rbp)
movl $0x1, -0xe2c(%rbp)
movl $0x1, -0xef8(%rbp)
movl $0x1, -0xd6c(%rbp)
movl $0x1, -0xe0c(%rbp)
movl $0x1, -0xd3c(%rbp)
movl $0x1, -0xe08(%rbp)
movl $0x1, -0xc78(%rbp)
movl $0x1, -0xd1c(%rbp)
movl $0x1, -0xc4c(%rbp)
movl $0x1, -0xd14(%rbp)
movl $0x1, -0xb84(%rbp)
movl $0x1, -0xc2c(%rbp)
movl $0x1, -0xb5c(%rbp)
movl $0x1, -0xc20(%rbp)
movl $0x1, -0xa90(%rbp)
movl $0x1, -0xb3c(%rbp)
movl $0x1, -0xa6c(%rbp)
movl $0x1, -0xb24(%rbp)
movl $0x1, -0x99c(%rbp)
movl $0x1, -0xa34(%rbp)
movl $0x1, -0x9a0(%rbp)
movl $0x1, -0xa4c(%rbp)
movl $0x1, -0x97c(%rbp)
movl $0x1, -0x8a8(%rbp)
movl $0x1, -0x944(%rbp)
movl $0x1, -0x8b0(%rbp)
movl $0x1, -0x8ac(%rbp)
movl $0x1, -0x95c(%rbp)
movl $0x1, -0x88c(%rbp)
movl $0x1, -0x948(%rbp)
movl $0x1, -0x888(%rbp)
movl $0x1, -0x7b4(%rbp)
movl $0x1, -0x86c(%rbp)
movl $0x1, -0x79c(%rbp)
movl $0x1, -0x854(%rbp)
movl $0x1, -0x6c0(%rbp)
movl $0x1, -0x764(%rbp)
movl $0x1, -0x6c4(%rbp)
movl $0x1, -0x77c(%rbp)
movl $0x1, -0x6ac(%rbp)
movl $0x1, -0x5cc(%rbp)
movl $0x1, -0x674(%rbp)
movl $0x1, -0x5d4(%rbp)
movl $0x1, -0x5d0(%rbp)
movl $0x1, -0x68c(%rbp)
movl $0x1, -0x5bc(%rbp)
movl $0x1, -0x678(%rbp)
movl $0x1, -0x5b8(%rbp)
movl $0x1, -0x4d8(%rbp)
movl $0x1, -0x59c(%rbp)
movl $0x1, -0x4cc(%rbp)
movl $0x1, -0x588(%rbp)
movl $0x1, -0x3e4(%rbp)
movl $0x1, -0x4ac(%rbp)
movl $0x1, -0x3dc(%rbp)
movl $0x1, -0x498(%rbp)
movl $0x1, -0x2f0(%rbp)
movl $0x1, -0x3bc(%rbp)
movl $0x1, -0x2ec(%rbp)
movl $0x1, -0x3a8(%rbp)
movl $0x1, -0x2e8(%rbp)
movl $0x1, -0x3a0(%rbp)
movl $0x1, -0x1fc(%rbp)
movl $0x1, -0x2cc(%rbp)
movl $0x1, -0x108(%rbp)
movl $0x1, -0x1dc(%rbp)
movl $0x1, -0x10c(%rbp)
movl $0x1, -0x1c8(%rbp)
movl $0x1, -0x14(%rbp)
movl $0x1, -0x18(%rbp)
movl $0x1, -0xec(%rbp)
movl $0x1, -0x1c(%rbp)
movl $0x1, -0xd8(%rbp)
movl $0x1, -0xd4(%rbp)
movl $0x0, -0x4394(%rbp)
cmpl $0x3c, -0x4394(%rbp)
jge 0x989e
movq -0x8(%rbp), %rax
movslq -0x4394(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x4394(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4394(%rbp)
jmp 0x9872
movq -0x8(%rbp), %rax
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x4(%rax)  # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x8(%rax)  # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0xc(%rax)  # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x3c(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x40(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x44(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x54(%rax) # imm = 0xFFFFFFFF
leaq 0x20bb(%rip), %rdi      # 0xb9b7
movb $0x0, %al
callq 0x1040
leaq 0x1f6d(%rip), %rdi      # 0xb877
leaq 0xe71f(%rip), %rsi      # 0x18030
movb $0x0, %al
callq 0x10b0
leaq 0x20c5(%rip), %rdi      # 0xb9e4
movb $0x0, %al
callq 0x1040
leaq 0x1f4a(%rip), %rdi      # 0xb877
leaq -0x439c(%rbp), %rsi
movb $0x0, %al
callq 0x10b0
movl $0x0, -0x4394(%rbp)
movl -0x4394(%rbp), %eax
cmpl -0x439c(%rbp), %eax
jge 0x9b8c
jmp 0x9959
movl -0x4394(%rbp), %esi
addl $0x1, %esi
leaq 0x2094(%rip), %rdi      # 0xb9fd
movb $0x0, %al
callq 0x1040
leaq 0x1f00(%rip), %rdi      # 0xb877
leaq -0x43a0(%rbp), %rsi
movb $0x0, %al
callq 0x10b0
cmpl $0x10, -0x43a0(%rbp)
jl 0x9997
cmpl $0x3b, -0x43a0(%rbp)
jle 0x99a7
leaq 0x2070(%rip), %rdi      # 0xba0e
movb $0x0, %al
callq 0x1040
jmp 0x99a9
jmp 0x99ab
jmp 0x9959
jmp 0x99ad
movslq -0x43a0(%rbp), %rcx
leaq 0x5f65(%rip), %rax      # 0xf920
movq (%rax,%rcx,8), %rsi
leaq 0x2061(%rip), %rdi      # 0xba27
movb $0x0, %al
callq 0x1040
leaq 0x1ea3(%rip), %rdi      # 0xb877
leaq -0x43a4(%rbp), %rsi
movb $0x0, %al
callq 0x10b0
cmpl $0x1, -0x43a4(%rbp)
jge 0x99fb
leaq 0x2047(%rip), %rdi      # 0xba39
movb $0x0, %al
callq 0x1040
jmp 0x99fd
jmp 0x99ff
jmp 0x99ad
movl -0x43a4(%rbp), %esi
movslq -0x43a0(%rbp), %rcx
leaq 0x5f0d(%rip), %rax      # 0xf920
movq (%rax,%rcx,8), %rdx
leaq 0x202e(%rip), %rdi      # 0xba4c
movb $0x0, %al
callq 0x1040
movl $0x0, -0x4398(%rbp)
cmpl $0xd, -0x4398(%rbp)
jge 0x9a82
movslq -0x43a0(%rbp), %rcx
leaq -0x4390(%rbp), %rax
imulq $0xf0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4398(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x9a6f
movq -0x8(%rbp), %rax
movslq -0x4398(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
jmp 0x9a71
movl -0x4398(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4398(%rbp)
jmp 0x9a2f
movl $0xd, -0x4398(%rbp)
cmpl $0x1e, -0x4398(%rbp)
jge 0x9b19
movslq -0x43a0(%rbp), %rcx
leaq -0x4390(%rbp), %rax
imulq $0xf0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4398(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x9b03
cmpl $0x12, -0x4398(%rbp)
jne 0x9aea
movl -0x43a4(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %edx
movq -0x8(%rbp), %rax
movslq -0x4398(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
jmp 0x9b01
movl -0x43a4(%rbp), %edx
movq -0x8(%rbp), %rax
movslq -0x4398(%rbp), %rcx
addl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
jmp 0x9b03
jmp 0x9b05
movl -0x4398(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4398(%rbp)
jmp 0x9a8c
movl $0x1e, -0x4398(%rbp)
cmpl $0x3c, -0x4398(%rbp)
jge 0x9b76
movslq -0x43a0(%rbp), %rcx
leaq -0x4390(%rbp), %rax
imulq $0xf0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4398(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x9b63
movq -0x8(%rbp), %rax
movslq -0x4398(%rbp), %rcx
movl $0x1, (%rax,%rcx,4)
jmp 0x9b65
movl -0x4398(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4398(%rbp)
jmp 0x9b23
jmp 0x9b78
movl -0x4394(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4394(%rbp)
jmp 0x9945
addq $0x43b0, %rsp           # imm = 0x43B0
popq %rbp
retq
nopw %cs:(%rax,%rax)