#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
char determine_operand(int);
int determine_term(int);
int rand();
void new_equation(int difficulty, int question_difficulty, int *term1,
                  int *term2, int *term3, int *term4, char *operand1,
                  char *operand2, char *operand3) {
  int term_1 = 0, term_2 = 0, term_3 = 0, term_4 = 0;
  char operand_1 = '0', operand_2 = '0', operand_3 = '0';
  if (difficulty == 1) {
    term_4 = 0;
    operand_3 = '0';
    term_1 = rand() % 9;
    term_2 = rand() % 9;
    term_3 = rand() % 9;
    if (question_difficulty < 4) {
      operand_1 = '+';
      operand_2 = '+';
    } else if (question_difficulty < 7) {
      operand_1 = '-';
      operand_2 = '-';
    } else {
      operand_1 = determine_operand(difficulty);
      operand_2 = determine_operand(difficulty);
    }
  } else if (difficulty == 2) {
    term_3 = 0;
    term_4 = 0;
    operand_2 = '0';
    operand_3 = '0';
    term_1 = rand() % 9;
    term_2 = rand() % 9;
    if (question_difficulty < 4) {
      operand_1 = '*';
    } else if (question_difficulty < 7) {
      operand_1 = '/';
    } else {
      operand_1 = determine_operand(difficulty);
    }
    if (operand_1 == '/') {
      if (!term_2) {
        term_2++;
      }
    }
  } else if (difficulty == 3) {
    term_4 = 0;
    operand_3 = '0';
    term_1 = determine_term(difficulty);
    term_2 = determine_term(difficulty);
    term_3 = determine_term(difficulty);
    if (question_difficulty < 3) {
      operand_1 = '+';
      operand_2 = '+';
    } else if (question_difficulty < 5) {
      operand_1 = '-';
      operand_2 = '-';
    } else if (question_difficulty < 7) {
      operand_1 = '*';
      operand_2 = '*';
    } else if (question_difficulty < 9) {
      operand_1 = '/';
      operand_2 = '/';
    } else {
      operand_1 = determine_operand(difficulty);
      operand_2 = determine_operand(difficulty);
    }
    if (operand_1 == '/') {
      if (!term_2) {
        term_2++;
      }
    }
    if (operand_2 == '/') {
      if (!term_3) {
        term_3++;
      }
    }
  } else if (difficulty == 4) {
    term_4 = 0;
    operand_3 = '0';
    term_1 = determine_term(difficulty);
    term_2 = determine_term(difficulty);
    term_3 = determine_term(difficulty);
    if (question_difficulty < 2) {
      operand_1 = '+';
      operand_2 = '+';
    } else if (question_difficulty < 4) {
      operand_1 = '-';
      operand_2 = '-';
    } else if (question_difficulty < 6) {
      operand_1 = '*';
      operand_2 = '*';
    } else if (question_difficulty < 8) {
      operand_1 = '/';
      operand_2 = '/';
    } else {
      operand_1 = determine_operand(difficulty);
      operand_2 = determine_operand(difficulty);
    }
    if (operand_1 == '/') {
      if (!term_2) {
        term_2++;
      }
    }
    if (operand_2 == '/') {
      if (!term_3) {
        term_3++;
      }
    }
  } else if (difficulty == 5) {
    term_1 = determine_term(difficulty);
    term_2 = determine_term(difficulty);
    term_3 = determine_term(difficulty);
    term_4 = determine_term(difficulty);
    if (question_difficulty < 1) {
      operand_1 = '+';
      operand_2 = '+';
      operand_3 = '+';
    } else if (question_difficulty < 2) {
      operand_1 = '-';
      operand_2 = '-';
      operand_3 = '-';
    } else if (question_difficulty < 3) {
      operand_1 = '*';
      operand_2 = '*';
      operand_3 = '*';
    } else if (question_difficulty < 4) {
      operand_1 = '/';
      operand_2 = '/';
      operand_3 = '/';
    } else {
      operand_1 = determine_operand(difficulty);
      operand_2 = determine_operand(difficulty);
      operand_3 = determine_operand(difficulty);
    }
    if (operand_1 == '/') {
      if (!term_2) {
        term_2++;
      }
    }
    if (operand_2 == '/') {
      if (!term_3) {
        term_3++;
      }
    }
    if (operand_3 == '/') {
      if (!term_4) {
        term_4++;
      }
    }
  }
  *term1 = term_1;
  *term2 = term_2;
  *term3 = term_3;
  *term4 = term_4;
  *operand1 = operand_1;
  *operand2 = operand_2;
  *operand3 = operand_3;
}


x86 assembly (clang, -O0):
<new_equation>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movb   $0x30,-0x39(%rbp)
movb   $0x30,-0x3a(%rbp)
movb   $0x30,-0x3b(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    121b <new_equation+0xeb>
movl   $0x0,-0x38(%rbp)
movb   $0x30,-0x3b(%rbp)
mov    $0x0,%al
call   1050 <rand@plt>
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x2c(%rbp)
mov    $0x0,%al
call   1050 <rand@plt>
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x30(%rbp)
mov    $0x0,%al
call   1050 <rand@plt>
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x34(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    11e4 <new_equation+0xb4>
movb   $0x2b,-0x39(%rbp)
movb   $0x2b,-0x3a(%rbp)
jmp    1216 <new_equation+0xe6>
cmpl   $0x7,-0x8(%rbp)
jge    11fb <new_equation+0xcb>
movb   $0x2d,-0x39(%rbp)
movb   $0x2d,-0x3a(%rbp)
jmp    1211 <new_equation+0xe1>
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x39(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x3a(%rbp)
jmp    1216 <new_equation+0xe6>
jmp    1625 <new_equation+0x4f5>
cmpl   $0x2,-0x4(%rbp)
jne    12bf <new_equation+0x18f>
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movb   $0x30,-0x3a(%rbp)
movb   $0x30,-0x3b(%rbp)
mov    $0x0,%al
call   1050 <rand@plt>
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x2c(%rbp)
mov    $0x0,%al
call   1050 <rand@plt>
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x30(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    1272 <new_equation+0x142>
movb   $0x2a,-0x39(%rbp)
jmp    1295 <new_equation+0x165>
cmpl   $0x7,-0x8(%rbp)
jge    1285 <new_equation+0x155>
movb   $0x2f,-0x39(%rbp)
jmp    1290 <new_equation+0x160>
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x39(%rbp)
jmp    1295 <new_equation+0x165>
movsbl -0x39(%rbp),%eax
cmp    $0x2f,%eax
jne    12ba <new_equation+0x18a>
cmpl   $0x0,-0x30(%rbp)
jne    12b5 <new_equation+0x185>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12ba <new_equation+0x18a>
jmp    1620 <new_equation+0x4f0>
cmpl   $0x3,-0x4(%rbp)
jne    13c5 <new_equation+0x295>
movl   $0x0,-0x38(%rbp)
movb   $0x30,-0x3b(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x30(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    130c <new_equation+0x1dc>
movb   $0x2b,-0x39(%rbp)
movb   $0x2b,-0x3a(%rbp)
jmp    1376 <new_equation+0x246>
cmpl   $0x5,-0x8(%rbp)
jge    1323 <new_equation+0x1f3>
movb   $0x2d,-0x39(%rbp)
movb   $0x2d,-0x3a(%rbp)
jmp    1371 <new_equation+0x241>
cmpl   $0x7,-0x8(%rbp)
jge    133a <new_equation+0x20a>
movb   $0x2a,-0x39(%rbp)
movb   $0x2a,-0x3a(%rbp)
jmp    136c <new_equation+0x23c>
cmpl   $0x9,-0x8(%rbp)
jge    1351 <new_equation+0x221>
movb   $0x2f,-0x39(%rbp)
movb   $0x2f,-0x3a(%rbp)
jmp    1367 <new_equation+0x237>
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x39(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x3a(%rbp)
jmp    136c <new_equation+0x23c>
jmp    1371 <new_equation+0x241>
jmp    1376 <new_equation+0x246>
movsbl -0x39(%rbp),%eax
cmp    $0x2f,%eax
jne    139b <new_equation+0x26b>
cmpl   $0x0,-0x30(%rbp)
jne    1396 <new_equation+0x266>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    139b <new_equation+0x26b>
movsbl -0x3a(%rbp),%eax
cmp    $0x2f,%eax
jne    13c0 <new_equation+0x290>
cmpl   $0x0,-0x34(%rbp)
jne    13bb <new_equation+0x28b>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    13c0 <new_equation+0x290>
jmp    161b <new_equation+0x4eb>
cmpl   $0x4,-0x4(%rbp)
jne    14cb <new_equation+0x39b>
movl   $0x0,-0x38(%rbp)
movb   $0x30,-0x3b(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x30(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1412 <new_equation+0x2e2>
movb   $0x2b,-0x39(%rbp)
movb   $0x2b,-0x3a(%rbp)
jmp    147c <new_equation+0x34c>
cmpl   $0x4,-0x8(%rbp)
jge    1429 <new_equation+0x2f9>
movb   $0x2d,-0x39(%rbp)
movb   $0x2d,-0x3a(%rbp)
jmp    1477 <new_equation+0x347>
cmpl   $0x6,-0x8(%rbp)
jge    1440 <new_equation+0x310>
movb   $0x2a,-0x39(%rbp)
movb   $0x2a,-0x3a(%rbp)
jmp    1472 <new_equation+0x342>
cmpl   $0x8,-0x8(%rbp)
jge    1457 <new_equation+0x327>
movb   $0x2f,-0x39(%rbp)
movb   $0x2f,-0x3a(%rbp)
jmp    146d <new_equation+0x33d>
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x39(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x3a(%rbp)
jmp    1472 <new_equation+0x342>
jmp    1477 <new_equation+0x347>
jmp    147c <new_equation+0x34c>
movsbl -0x39(%rbp),%eax
cmp    $0x2f,%eax
jne    14a1 <new_equation+0x371>
cmpl   $0x0,-0x30(%rbp)
jne    149c <new_equation+0x36c>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    14a1 <new_equation+0x371>
movsbl -0x3a(%rbp),%eax
cmp    $0x2f,%eax
jne    14c6 <new_equation+0x396>
cmpl   $0x0,-0x34(%rbp)
jne    14c1 <new_equation+0x391>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    14c6 <new_equation+0x396>
jmp    1616 <new_equation+0x4e6>
cmpl   $0x5,-0x4(%rbp)
jne    1611 <new_equation+0x4e1>
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x30(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x34(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <determine_term@plt>
mov    %eax,-0x38(%rbp)
cmpl   $0x1,-0x8(%rbp)
jge    151c <new_equation+0x3ec>
movb   $0x2b,-0x39(%rbp)
movb   $0x2b,-0x3a(%rbp)
movb   $0x2b,-0x3b(%rbp)
jmp    159d <new_equation+0x46d>
cmpl   $0x2,-0x8(%rbp)
jge    1537 <new_equation+0x407>
movb   $0x2d,-0x39(%rbp)
movb   $0x2d,-0x3a(%rbp)
movb   $0x2d,-0x3b(%rbp)
jmp    1598 <new_equation+0x468>
cmpl   $0x3,-0x8(%rbp)
jge    1552 <new_equation+0x422>
movb   $0x2a,-0x39(%rbp)
movb   $0x2a,-0x3a(%rbp)
movb   $0x2a,-0x3b(%rbp)
jmp    1593 <new_equation+0x463>
cmpl   $0x4,-0x8(%rbp)
jge    156d <new_equation+0x43d>
movb   $0x2f,-0x39(%rbp)
movb   $0x2f,-0x3a(%rbp)
movb   $0x2f,-0x3b(%rbp)
jmp    158e <new_equation+0x45e>
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x39(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x3a(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <determine_operand@plt>
mov    %al,-0x3b(%rbp)
jmp    1593 <new_equation+0x463>
jmp    1598 <new_equation+0x468>
jmp    159d <new_equation+0x46d>
movsbl -0x39(%rbp),%eax
cmp    $0x2f,%eax
jne    15c2 <new_equation+0x492>
cmpl   $0x0,-0x30(%rbp)
jne    15bd <new_equation+0x48d>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    15c2 <new_equation+0x492>
movsbl -0x3a(%rbp),%eax
cmp    $0x2f,%eax
jne    15e7 <new_equation+0x4b7>
cmpl   $0x0,-0x34(%rbp)
jne    15e2 <new_equation+0x4b2>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    15e7 <new_equation+0x4b7>
movsbl -0x3b(%rbp),%eax
cmp    $0x2f,%eax
jne    160c <new_equation+0x4dc>
cmpl   $0x0,-0x38(%rbp)
jne    1607 <new_equation+0x4d7>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    160c <new_equation+0x4dc>
jmp    1611 <new_equation+0x4e1>
jmp    1616 <new_equation+0x4e6>
jmp    161b <new_equation+0x4eb>
jmp    1620 <new_equation+0x4f0>
jmp    1625 <new_equation+0x4f5>
mov    -0x2c(%rbp),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x30(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x34(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x38(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x39(%rbp),%cl
mov    0x10(%rbp),%rax
mov    %cl,(%rax)
mov    -0x3a(%rbp),%cl
mov    0x18(%rbp),%rax
mov    %cl,(%rax)
mov    -0x3b(%rbp),%cl
mov    0x20(%rbp),%rax
mov    %cl,(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<new_equation>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdx,%r11
mov    $0x30,%al
xor    %r10d,%r10d
mov    0x80(%rsp),%rdx
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%rbx
add    $0xffffffff,%edi
cmp    $0x4,%edi
ja     137c <new_equation+0x24c>
lea    0xe95(%rip),%rax
movslq (%rax,%rdi,4),%rdx
add    %rax,%rdx
mov    %r9,0x20(%rsp)
mov    %r8,0x18(%rsp)
mov    %rcx,0x10(%rsp)
jmp    *%rdx
mov    %r11,%rbp
xor    %eax,%eax
mov    %esi,%ebx
call   1050 <rand@plt>
movslq %eax,%rdx
imul   $0x38e38e39,%rdx,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,8),%eax
sub    %eax,%edx
mov    %rdx,0x8(%rsp)
xor    %eax,%eax
call   1050 <rand@plt>
movslq %eax,%r13
imul   $0x38e38e39,%r13,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,8),%eax
sub    %eax,%r13d
xor    %eax,%eax
call   1050 <rand@plt>
movslq %eax,%r15
imul   $0x38e38e39,%r15,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,8),%eax
sub    %eax,%r15d
mov    $0x2b,%r14b
cmp    $0x4,%ebx
jge    1512 <new_equation+0x3e2>
mov    $0x2b,%r12b
jmp    15b3 <new_equation+0x483>
mov    %r11,0x28(%rsp)
mov    $0x3,%edi
mov    %esi,%ebp
call   1040 <determine_term@plt>
mov    %rax,0x8(%rsp)
mov    $0x3,%edi
call   1040 <determine_term@plt>
mov    %eax,%r15d
mov    $0x3,%edi
call   1040 <determine_term@plt>
mov    %ebp,%ecx
mov    %eax,%ebp
mov    $0x2b,%r14b
mov    $0x2b,%r12b
cmp    $0x3,%ecx
jl     14c3 <new_equation+0x393>
mov    $0x2d,%r14b
mov    $0x2d,%r12b
cmp    $0x5,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x2a,%r14b
mov    $0x2a,%r12b
cmp    $0x7,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x2f,%r14b
mov    $0x2f,%r12b
cmp    $0x9,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x3,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r14d
mov    $0x3,%edi
jmp    14bb <new_equation+0x38b>
mov    %r11,%r15
mov    $0x5,%edi
mov    %esi,%ebx
call   1040 <determine_term@plt>
mov    %eax,%r13d
mov    $0x5,%edi
call   1040 <determine_term@plt>
mov    %eax,0x34(%rsp)
mov    $0x5,%edi
call   1040 <determine_term@plt>
mov    %eax,0x8(%rsp)
mov    $0x5,%edi
call   1040 <determine_term@plt>
mov    %eax,0x28(%rsp)
test   %ebx,%ebx
jle    1522 <new_equation+0x3f2>
mov    %ebx,%r10d
mov    $0x2d,%r14b
mov    $0x2d,%r12b
mov    $0x2d,%al
cmp    $0x1,%ebx
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rcx
mov    0x80(%rsp),%rdx
mov    %r15,%r11
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%rbx
mov    %r13,%rdi
je     1551 <new_equation+0x421>
mov    $0x2a,%r14b
mov    $0x2a,%r12b
mov    $0x2a,%al
cmp    $0x3,%r10d
jb     1551 <new_equation+0x421>
mov    $0x2f,%r14b
mov    $0x2f,%r12b
mov    $0x2f,%al
je     1551 <new_equation+0x421>
mov    $0x5,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r14d
mov    $0x5,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r12d
mov    $0x5,%edi
call   1030 <determine_operand@plt>
mov    0x70(%rsp),%rbx
mov    0x78(%rsp),%rbp
mov    %r15,%r11
mov    0x80(%rsp),%rdx
mov    0x10(%rsp),%rcx
mov    0x18(%rsp),%r8
mov    0x20(%rsp),%r9
jmp    154e <new_equation+0x41e>
xor    %edi,%edi
xor    %r13d,%r13d
xor    %r15d,%r15d
mov    $0x30,%r14b
mov    $0x30,%r12b
jmp    15e1 <new_equation+0x4b1>
mov    %r11,0x28(%rsp)
xor    %r15d,%r15d
xor    %eax,%eax
mov    %esi,%ebp
call   1050 <rand@plt>
mov    %rax,%r13
cltq
imul   $0x38e38e39,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,8),%ebx
xor    %eax,%eax
call   1050 <rand@plt>
movslq %eax,%r12
imul   $0x38e38e39,%r12,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,8),%eax
sub    %eax,%r12d
mov    $0x2a,%r14b
cmp    $0x4,%ebp
jl     13ff <new_equation+0x2cf>
mov    %ebp,%edx
mov    $0x2f,%r14b
cmp    $0x7,%ebp
jb     13ff <new_equation+0x2cf>
mov    $0x2,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r14d
mov    %r13,%rdi
sub    %ebx,%edi
test   %r12d,%r12d
mov    $0x1,%r13d
cmovne %r12d,%r13d
cmp    $0x2f,%r14b
cmovne %r12d,%r13d
xor    %r10d,%r10d
mov    $0x30,%r12b
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rcx
mov    0x80(%rsp),%rdx
mov    0x28(%rsp),%r11
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%rbx
mov    $0x30,%al
jmp    15e1 <new_equation+0x4b1>
mov    %r11,0x28(%rsp)
mov    $0x4,%edi
mov    %esi,%ebp
call   1040 <determine_term@plt>
mov    %rax,0x8(%rsp)
mov    $0x4,%edi
call   1040 <determine_term@plt>
mov    %eax,%r15d
mov    $0x4,%edi
call   1040 <determine_term@plt>
mov    %ebp,%ecx
mov    %eax,%ebp
mov    $0x2b,%r14b
mov    $0x2b,%r12b
cmp    $0x2,%ecx
jl     14c3 <new_equation+0x393>
mov    $0x2d,%r14b
mov    $0x2d,%r12b
cmp    $0x4,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x2a,%r14b
mov    $0x2a,%r12b
cmp    $0x6,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x2f,%r14b
mov    $0x2f,%r12b
cmp    $0x8,%ecx
jb     14c3 <new_equation+0x393>
mov    $0x4,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r14d
mov    $0x4,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r12d
test   %r15d,%r15d
mov    $0x1,%r13d
cmovne %r15d,%r13d
cmp    $0x2f,%r14b
cmovne %r15d,%r13d
mov    $0x1,%r15d
test   %ebp,%ebp
cmovne %ebp,%r15d
cmp    $0x2f,%r12b
cmovne %ebp,%r15d
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rcx
mov    0x80(%rsp),%rdx
mov    0x28(%rsp),%r11
mov    0x78(%rsp),%rbp
jmp    15d7 <new_equation+0x4a7>
mov    $0x2d,%r14b
cmp    $0x7,%ebx
jae    1599 <new_equation+0x469>
mov    $0x2d,%r12b
jmp    15b3 <new_equation+0x483>
mov    $0x2b,%r14b
mov    $0x2b,%r12b
mov    $0x2b,%al
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rcx
mov    0x80(%rsp),%rdx
mov    %r15,%r11
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%rbx
mov    %r13,%rdi
mov    0x34(%rsp),%esi
test   %esi,%esi
mov    $0x1,%r13d
cmovne %esi,%r13d
cmp    $0x2f,%r14b
cmovne %esi,%r13d
mov    0x8(%rsp),%esi
test   %esi,%esi
mov    $0x1,%r15d
cmovne %esi,%r15d
cmp    $0x2f,%r12b
cmovne %esi,%r15d
mov    $0x1,%r10d
mov    0x28(%rsp),%esi
test   %esi,%esi
cmovne %esi,%r10d
cmp    $0x2f,%al
cmovne %esi,%r10d
jmp    15e1 <new_equation+0x4b1>
mov    $0x1,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r14d
mov    $0x1,%edi
call   1030 <determine_operand@plt>
mov    %eax,%r12d
mov    0x20(%rsp),%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rcx
mov    0x80(%rsp),%rdx
mov    %rbp,%r11
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%rbx
mov    0x8(%rsp),%rdi
mov    $0x30,%al
xor    %r10d,%r10d
mov    %edi,(%r11)
mov    %r13d,(%rcx)
mov    %r15d,(%r8)
mov    %r10d,(%r9)
mov    %r14b,(%rbx)
mov    %r12b,0x0(%rbp)
mov    %al,(%rdx)
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @new_equation(i32 %0, i32 %1, i32* %2, i32* %3, i32* %4, i32* %5, i8* %6, i8* %7, i8* %8) {
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i8
%24 = alloca i8
%25 = alloca i8
store i32 %0, i32* %10
store i32 %1, i32* %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32* %4, i32** %14
store i32* %5, i32** %15
store i8* %6, i8** %16
store i8* %7, i8** %17
store i8* %8, i8** %18
store i32 0, i32* %19
store i32 0, i32* %20
store i32 0, i32* %21
store i32 0, i32* %22
store i8 48, i8* %23
store i8 48, i8* %24
store i8 48, i8* %25
%26 = load i32, i32* %10
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %49
28: ; preds = %9
store i32 0, i32* %22
store i8 48, i8* %25
%29 = call i32 (...) @rand()
%30 = srem i32 %29, 9
store i32 %30, i32* %19
%31 = call i32 (...) @rand()
%32 = srem i32 %31, 9
store i32 %32, i32* %20
%33 = call i32 (...) @rand()
%34 = srem i32 %33, 9
store i32 %34, i32* %21
%35 = load i32, i32* %11
%36 = icmp slt i32 %35, 4
br i1 %36, label %37, label %38
37: ; preds = %28
store i8 43, i8* %23
store i8 43, i8* %24
br label %48
38: ; preds = %28
%39 = load i32, i32* %11
%40 = icmp slt i32 %39, 7
br i1 %40, label %41, label %42
41: ; preds = %38
store i8 45, i8* %23
store i8 45, i8* %24
br label %47
42: ; preds = %38
%43 = load i32, i32* %10
%44 = call signext i8 @determine_operand(i32 %43)
store i8 %44, i8* %23
%45 = load i32, i32* %10
%46 = call signext i8 @determine_operand(i32 %45)
store i8 %46, i8* %24
br label %47
47: ; preds = %42, %41
br label %48
48: ; preds = %47, %37
br label %267
49: ; preds = %9
%50 = load i32, i32* %10
%51 = icmp eq i32 %50, 2
br i1 %51, label %52, label %80
52: ; preds = %49
store i32 0, i32* %21
store i32 0, i32* %22
store i8 48, i8* %24
store i8 48, i8* %25
%53 = call i32 (...) @rand()
%54 = srem i32 %53, 9
store i32 %54, i32* %19
%55 = call i32 (...) @rand()
%56 = srem i32 %55, 9
store i32 %56, i32* %20
%57 = load i32, i32* %11
%58 = icmp slt i32 %57, 4
br i1 %58, label %59, label %60
59: ; preds = %52
store i8 42, i8* %23
br label %68
60: ; preds = %52
%61 = load i32, i32* %11
%62 = icmp slt i32 %61, 7
br i1 %62, label %63, label %64
63: ; preds = %60
store i8 47, i8* %23
br label %67
64: ; preds = %60
%65 = load i32, i32* %10
%66 = call signext i8 @determine_operand(i32 %65)
store i8 %66, i8* %23
br label %67
67: ; preds = %64, %63
br label %68
68: ; preds = %67, %59
%69 = load i8, i8* %23
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 47
br i1 %71, label %72, label %79
72: ; preds = %68
%73 = load i32, i32* %20
%74 = icmp ne i32 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %72
%76 = load i32, i32* %20
%77 = add nsw i32 %76, 1
store i32 %77, i32* %20
br label %78
78: ; preds = %75, %72
br label %79
79: ; preds = %78, %68
br label %266
80: ; preds = %49
%81 = load i32, i32* %10
%82 = icmp eq i32 %81, 3
br i1 %82, label %83, label %136
83: ; preds = %80
store i32 0, i32* %22
store i8 48, i8* %25
%84 = load i32, i32* %10
%85 = call i32 @determine_term(i32 %84)
store i32 %85, i32* %19
%86 = load i32, i32* %10
%87 = call i32 @determine_term(i32 %86)
store i32 %87, i32* %20
%88 = load i32, i32* %10
%89 = call i32 @determine_term(i32 %88)
store i32 %89, i32* %21
%90 = load i32, i32* %11
%91 = icmp slt i32 %90, 3
br i1 %91, label %92, label %93
92: ; preds = %83
store i8 43, i8* %23
store i8 43, i8* %24
br label %113
93: ; preds = %83
%94 = load i32, i32* %11
%95 = icmp slt i32 %94, 5
br i1 %95, label %96, label %97
96: ; preds = %93
store i8 45, i8* %23
store i8 45, i8* %24
br label %112
97: ; preds = %93
%98 = load i32, i32* %11
%99 = icmp slt i32 %98, 7
br i1 %99, label %100, label %101
100: ; preds = %97
store i8 42, i8* %23
store i8 42, i8* %24
br label %111
101: ; preds = %97
%102 = load i32, i32* %11
%103 = icmp slt i32 %102, 9
br i1 %103, label %104, label %105
104: ; preds = %101
store i8 47, i8* %23
store i8 47, i8* %24
br label %110
105: ; preds = %101
%106 = load i32, i32* %10
%107 = call signext i8 @determine_operand(i32 %106)
store i8 %107, i8* %23
%108 = load i32, i32* %10
%109 = call signext i8 @determine_operand(i32 %108)
store i8 %109, i8* %24
br label %110
110: ; preds = %105, %104
br label %111
111: ; preds = %110, %100
br label %112
112: ; preds = %111, %96
br label %113
113: ; preds = %112, %92
%114 = load i8, i8* %23
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 47
br i1 %116, label %117, label %124
117: ; preds = %113
%118 = load i32, i32* %20
%119 = icmp ne i32 %118, 0
br i1 %119, label %123, label %120
120: ; preds = %117
%121 = load i32, i32* %20
%122 = add nsw i32 %121, 1
store i32 %122, i32* %20
br label %123
123: ; preds = %120, %117
br label %124
124: ; preds = %123, %113
%125 = load i8, i8* %24
%126 = sext i8 %125 to i32
%127 = icmp eq i32 %126, 47
br i1 %127, label %128, label %135
128: ; preds = %124
%129 = load i32, i32* %21
%130 = icmp ne i32 %129, 0
br i1 %130, label %134, label %131
131: ; preds = %128
%132 = load i32, i32* %21
%133 = add nsw i32 %132, 1
store i32 %133, i32* %21
br label %134
134: ; preds = %131, %128
br label %135
135: ; preds = %134, %124
br label %265
136: ; preds = %80
%137 = load i32, i32* %10
%138 = icmp eq i32 %137, 4
br i1 %138, label %139, label %192
139: ; preds = %136
store i32 0, i32* %22
store i8 48, i8* %25
%140 = load i32, i32* %10
%141 = call i32 @determine_term(i32 %140)
store i32 %141, i32* %19
%142 = load i32, i32* %10
%143 = call i32 @determine_term(i32 %142)
store i32 %143, i32* %20
%144 = load i32, i32* %10
%145 = call i32 @determine_term(i32 %144)
store i32 %145, i32* %21
%146 = load i32, i32* %11
%147 = icmp slt i32 %146, 2
br i1 %147, label %148, label %149
148: ; preds = %139
store i8 43, i8* %23
store i8 43, i8* %24
br label %169
149: ; preds = %139
%150 = load i32, i32* %11
%151 = icmp slt i32 %150, 4
br i1 %151, label %152, label %153
152: ; preds = %149
store i8 45, i8* %23
store i8 45, i8* %24
br label %168
153: ; preds = %149
%154 = load i32, i32* %11
%155 = icmp slt i32 %154, 6
br i1 %155, label %156, label %157
156: ; preds = %153
store i8 42, i8* %23
store i8 42, i8* %24
br label %167
157: ; preds = %153
%158 = load i32, i32* %11
%159 = icmp slt i32 %158, 8
br i1 %159, label %160, label %161
160: ; preds = %157
store i8 47, i8* %23
store i8 47, i8* %24
br label %166
161: ; preds = %157
%162 = load i32, i32* %10
%163 = call signext i8 @determine_operand(i32 %162)
store i8 %163, i8* %23
%164 = load i32, i32* %10
%165 = call signext i8 @determine_operand(i32 %164)
store i8 %165, i8* %24
br label %166
166: ; preds = %161, %160
br label %167
167: ; preds = %166, %156
br label %168
168: ; preds = %167, %152
br label %169
169: ; preds = %168, %148
%170 = load i8, i8* %23
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 47
br i1 %172, label %173, label %180
173: ; preds = %169
%174 = load i32, i32* %20
%175 = icmp ne i32 %174, 0
br i1 %175, label %179, label %176
176: ; preds = %173
%177 = load i32, i32* %20
%178 = add nsw i32 %177, 1
store i32 %178, i32* %20
br label %179
179: ; preds = %176, %173
br label %180
180: ; preds = %179, %169
%181 = load i8, i8* %24
%182 = sext i8 %181 to i32
%183 = icmp eq i32 %182, 47
br i1 %183, label %184, label %191
184: ; preds = %180
%185 = load i32, i32* %21
%186 = icmp ne i32 %185, 0
br i1 %186, label %190, label %187
187: ; preds = %184
%188 = load i32, i32* %21
%189 = add nsw i32 %188, 1
store i32 %189, i32* %21
br label %190
190: ; preds = %187, %184
br label %191
191: ; preds = %190, %180
br label %264
192: ; preds = %136
%193 = load i32, i32* %10
%194 = icmp eq i32 %193, 5
br i1 %194, label %195, label %263
195: ; preds = %192
%196 = load i32, i32* %10
%197 = call i32 @determine_term(i32 %196)
store i32 %197, i32* %19
%198 = load i32, i32* %10
%199 = call i32 @determine_term(i32 %198)
store i32 %199, i32* %20
%200 = load i32, i32* %10
%201 = call i32 @determine_term(i32 %200)
store i32 %201, i32* %21
%202 = load i32, i32* %10
%203 = call i32 @determine_term(i32 %202)
store i32 %203, i32* %22
%204 = load i32, i32* %11
%205 = icmp slt i32 %204, 1
br i1 %205, label %206, label %207
206: ; preds = %195
store i8 43, i8* %23
store i8 43, i8* %24
store i8 43, i8* %25
br label %229
207: ; preds = %195
%208 = load i32, i32* %11
%209 = icmp slt i32 %208, 2
br i1 %209, label %210, label %211
210: ; preds = %207
store i8 45, i8* %23
store i8 45, i8* %24
store i8 45, i8* %25
br label %228
211: ; preds = %207
%212 = load i32, i32* %11
%213 = icmp slt i32 %212, 3
br i1 %213, label %214, label %215
214: ; preds = %211
store i8 42, i8* %23
store i8 42, i8* %24
store i8 42, i8* %25
br label %227
215: ; preds = %211
%216 = load i32, i32* %11
%217 = icmp slt i32 %216, 4
br i1 %217, label %218, label %219
218: ; preds = %215
store i8 47, i8* %23
store i8 47, i8* %24
store i8 47, i8* %25
br label %226
219: ; preds = %215
%220 = load i32, i32* %10
%221 = call signext i8 @determine_operand(i32 %220)
store i8 %221, i8* %23
%222 = load i32, i32* %10
%223 = call signext i8 @determine_operand(i32 %222)
store i8 %223, i8* %24
%224 = load i32, i32* %10
%225 = call signext i8 @determine_operand(i32 %224)
store i8 %225, i8* %25
br label %226
226: ; preds = %219, %218
br label %227
227: ; preds = %226, %214
br label %228
228: ; preds = %227, %210
br label %229
229: ; preds = %228, %206
%230 = load i8, i8* %23
%231 = sext i8 %230 to i32
%232 = icmp eq i32 %231, 47
br i1 %232, label %233, label %240
233: ; preds = %229
%234 = load i32, i32* %20
%235 = icmp ne i32 %234, 0
br i1 %235, label %239, label %236
236: ; preds = %233
%237 = load i32, i32* %20
%238 = add nsw i32 %237, 1
store i32 %238, i32* %20
br label %239
239: ; preds = %236, %233
br label %240
240: ; preds = %239, %229
%241 = load i8, i8* %24
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 47
br i1 %243, label %244, label %251
244: ; preds = %240
%245 = load i32, i32* %21
%246 = icmp ne i32 %245, 0
br i1 %246, label %250, label %247
247: ; preds = %244
%248 = load i32, i32* %21
%249 = add nsw i32 %248, 1
store i32 %249, i32* %21
br label %250
250: ; preds = %247, %244
br label %251
251: ; preds = %250, %240
%252 = load i8, i8* %25
%253 = sext i8 %252 to i32
%254 = icmp eq i32 %253, 47
br i1 %254, label %255, label %262
255: ; preds = %251
%256 = load i32, i32* %22
%257 = icmp ne i32 %256, 0
br i1 %257, label %261, label %258
258: ; preds = %255
%259 = load i32, i32* %22
%260 = add nsw i32 %259, 1
store i32 %260, i32* %22
br label %261
261: ; preds = %258, %255
br label %262
262: ; preds = %261, %251
br label %263
263: ; preds = %262, %192
br label %264
264: ; preds = %263, %191
br label %265
265: ; preds = %264, %135
br label %266
266: ; preds = %265, %79
br label %267
267: ; preds = %266, %48
%268 = load i32, i32* %19
%269 = load i32*, i32** %12
store i32 %268, i32* %269
%270 = load i32, i32* %20
%271 = load i32*, i32** %13
store i32 %270, i32* %271
%272 = load i32, i32* %21
%273 = load i32*, i32** %14
store i32 %272, i32* %273
%274 = load i32, i32* %22
%275 = load i32*, i32** %15
store i32 %274, i32* %275
%276 = load i8, i8* %23
%277 = load i8*, i8** %16
store i8 %276, i8* %277
%278 = load i8, i8* %24
%279 = load i8*, i8** %17
store i8 %278, i8* %279
%280 = load i8, i8* %25
%281 = load i8*, i8** %18
store i8 %280, i8* %281
ret void
}

LLVM IR (-O2):
define void @new_equation(i32 %0, i32 %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3, i32* nocapture writeonly %4, i32* nocapture writeonly %5, i8* nocapture writeonly %6, i8* nocapture writeonly %7, i8* nocapture writeonly %8) {
switch i32 %0, label %121 [
i32 1, label %10
i32 2, label %23
i32 3, label %39
i32 4, label %64
i32 5, label %89
]
10: ; preds = %9
%11 = tail call i32 (...) @rand()
%12 = srem i32 %11, 9
%13 = tail call i32 (...) @rand()
%14 = srem i32 %13, 9
%15 = tail call i32 (...) @rand()
%16 = srem i32 %15, 9
%17 = icmp slt i32 %1, 4
br i1 %17, label %121, label %18
18: ; preds = %10
%19 = icmp ult i32 %1, 7
br i1 %19, label %121, label %20
20: ; preds = %18
%21 = tail call signext i8 @determine_operand(i32 1)
%22 = tail call signext i8 @determine_operand(i32 1)
br label %121
23: ; preds = %9
%24 = tail call i32 (...) @rand()
%25 = srem i32 %24, 9
%26 = tail call i32 (...) @rand()
%27 = srem i32 %26, 9
%28 = icmp slt i32 %1, 4
br i1 %28, label %33, label %29
29: ; preds = %23
%30 = icmp ult i32 %1, 7
br i1 %30, label %33, label %31
31: ; preds = %29
%32 = tail call signext i8 @determine_operand(i32 2)
br label %33
33: ; preds = %29, %23, %31
%34 = phi i8 [ %32, %31 ], [ 42, %23 ], [ 47, %29 ]
%35 = icmp ne i8 %34, 47
%36 = icmp ne i32 %27, 0
%37 = select i1 %35, i1 true, i1 %36
%38 = select i1 %37, i32 %27, i32 1
br label %121
39: ; preds = %9
%40 = tail call i32 @determine_term(i32 3)
%41 = tail call i32 @determine_term(i32 3)
%42 = tail call i32 @determine_term(i32 3)
%43 = icmp slt i32 %1, 3
br i1 %43, label %53, label %44
44: ; preds = %39
%45 = icmp ult i32 %1, 5
br i1 %45, label %53, label %46
46: ; preds = %44
%47 = icmp ult i32 %1, 7
br i1 %47, label %53, label %48
48: ; preds = %46
%49 = icmp ult i32 %1, 9
br i1 %49, label %53, label %50
50: ; preds = %48
%51 = tail call signext i8 @determine_operand(i32 3)
%52 = tail call signext i8 @determine_operand(i32 3)
br label %53
53: ; preds = %48, %46, %44, %39, %50
%54 = phi i8 [ %51, %50 ], [ 43, %39 ], [ 45, %44 ], [ 42, %46 ], [ 47, %48 ]
%55 = phi i8 [ %52, %50 ], [ 43, %39 ], [ 45, %44 ], [ 42, %46 ], [ 47, %48 ]
%56 = icmp ne i8 %54, 47
%57 = icmp ne i32 %41, 0
%58 = select i1 %56, i1 true, i1 %57
%59 = select i1 %58, i32 %41, i32 1
%60 = icmp ne i8 %55, 47
%61 = icmp ne i32 %42, 0
%62 = select i1 %60, i1 true, i1 %61
%63 = select i1 %62, i32 %42, i32 1
br label %121
64: ; preds = %9
%65 = tail call i32 @determine_term(i32 4)
%66 = tail call i32 @determine_term(i32 4)
%67 = tail call i32 @determine_term(i32 4)
%68 = icmp slt i32 %1, 2
br i1 %68, label %78, label %69
69: ; preds = %64
%70 = icmp ult i32 %1, 4
br i1 %70, label %78, label %71
71: ; preds = %69
%72 = icmp ult i32 %1, 6
br i1 %72, label %78, label %73
73: ; preds = %71
%74 = icmp ult i32 %1, 8
br i1 %74, label %78, label %75
75: ; preds = %73
%76 = tail call signext i8 @determine_operand(i32 4)
%77 = tail call signext i8 @determine_operand(i32 4)
br label %78
78: ; preds = %73, %71, %69, %64, %75
%79 = phi i8 [ %76, %75 ], [ 43, %64 ], [ 45, %69 ], [ 42, %71 ], [ 47, %73 ]
%80 = phi i8 [ %77, %75 ], [ 43, %64 ], [ 45, %69 ], [ 42, %71 ], [ 47, %73 ]
%81 = icmp ne i8 %79, 47
%82 = icmp ne i32 %66, 0
%83 = select i1 %81, i1 true, i1 %82
%84 = select i1 %83, i32 %66, i32 1
%85 = icmp ne i8 %80, 47
%86 = icmp ne i32 %67, 0
%87 = select i1 %85, i1 true, i1 %86
%88 = select i1 %87, i32 %67, i32 1
br label %121
89: ; preds = %9
%90 = tail call i32 @determine_term(i32 5)
%91 = tail call i32 @determine_term(i32 5)
%92 = tail call i32 @determine_term(i32 5)
%93 = tail call i32 @determine_term(i32 5)
%94 = icmp slt i32 %1, 1
br i1 %94, label %105, label %95
95: ; preds = %89
%96 = icmp eq i32 %1, 1
br i1 %96, label %105, label %97
97: ; preds = %95
%98 = icmp ult i32 %1, 3
br i1 %98, label %105, label %99
99: ; preds = %97
%100 = icmp eq i32 %1, 3
br i1 %100, label %105, label %101
101: ; preds = %99
%102 = tail call signext i8 @determine_operand(i32 5)
%103 = tail call signext i8 @determine_operand(i32 5)
%104 = tail call signext i8 @determine_operand(i32 5)
br label %105
105: ; preds = %99, %97, %95, %89, %101
%106 = phi i8 [ %102, %101 ], [ 43, %89 ], [ 45, %95 ], [ 42, %97 ], [ 47, %99 ]
%107 = phi i8 [ %103, %101 ], [ 43, %89 ], [ 45, %95 ], [ 42, %97 ], [ 47, %99 ]
%108 = phi i8 [ %104, %101 ], [ 43, %89 ], [ 45, %95 ], [ 42, %97 ], [ 47, %99 ]
%109 = icmp ne i8 %106, 47
%110 = icmp ne i32 %91, 0
%111 = select i1 %109, i1 true, i1 %110
%112 = select i1 %111, i32 %91, i32 1
%113 = icmp ne i8 %107, 47
%114 = icmp ne i32 %92, 0
%115 = select i1 %113, i1 true, i1 %114
%116 = select i1 %115, i32 %92, i32 1
%117 = icmp ne i8 %108, 47
%118 = icmp ne i32 %93, 0
%119 = select i1 %117, i1 true, i1 %118
%120 = select i1 %119, i32 %93, i32 1
br label %121
121: ; preds = %105, %78, %53, %33, %9, %18, %10, %20
%122 = phi i32 [ %12, %20 ], [ %12, %10 ], [ %12, %18 ], [ %25, %33 ], [ 0, %9 ], [ %40, %53 ], [ %65, %78 ], [ %90, %105 ]
%123 = phi i32 [ %14, %20 ], [ %14, %10 ], [ %14, %18 ], [ %38, %33 ], [ 0, %9 ], [ %59, %53 ], [ %84, %78 ], [ %112, %105 ]
%124 = phi i32 [ %16, %20 ], [ %16, %10 ], [ %16, %18 ], [ 0, %33 ], [ 0, %9 ], [ %63, %53 ], [ %88, %78 ], [ %116, %105 ]
%125 = phi i32 [ 0, %20 ], [ 0, %10 ], [ 0, %18 ], [ 0, %33 ], [ 0, %9 ], [ 0, %53 ], [ 0, %78 ], [ %120, %105 ]
%126 = phi i8 [ %21, %20 ], [ 43, %10 ], [ 45, %18 ], [ %34, %33 ], [ 48, %9 ], [ %54, %53 ], [ %79, %78 ], [ %106, %105 ]
%127 = phi i8 [ %22, %20 ], [ 43, %10 ], [ 45, %18 ], [ 48, %33 ], [ 48, %9 ], [ %55, %53 ], [ %80, %78 ], [ %107, %105 ]
%128 = phi i8 [ 48, %20 ], [ 48, %10 ], [ 48, %18 ], [ 48, %33 ], [ 48, %9 ], [ 48, %53 ], [ 48, %78 ], [ %108, %105 ]
store i32 %122, i32* %2
store i32 %123, i32* %3
store i32 %124, i32* %4
store i32 %125, i32* %5
store i8 %126, i8* %6
store i8 %127, i8* %7
store i8 %128, i8* %8
ret void
}