#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ feedback(int, int, int, int, int, int, int, int, char *,
                            char *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, int *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main_feedback(char *inputfile, char *outputfile) {
  int n, m, p, q, nb, level, nn, i, input;
  double *points, *planes;
  FILE *ifp, *ofp;
  ifp = fopen(inputfile, "r");
  if (ifp == NULL) {
    printf("Opening %s for reading failed!\n", inputfile);
    exit(1);
  }
  fscanf(ifp, "%d", &n);
  printf("The number of the internal states for the given plant (A, B, C) n = "
         "%d\n",
         n);
  fscanf(ifp, "%d", &m);
  printf("The system's input dimension m = %d.\n", m);
  fscanf(ifp, "%d", &p);
  printf("The system's output dimension p = %d.\n", p);
  fscanf(ifp, "%d", &q);
  printf("The number of the internal states for the dynamic compensators q = "
         "%d.\n",
         q);
  fscanf(ifp, "%d", &nb);
  printf("Give the number of maps wanted (<0 for all) : %d ", nb);
  fscanf(ifp, "%d", &level);
  printf("\nType 0, 1, 2, or 3 to select output level :\n");
  printf("  0. no intermediate output;\n");
  printf("  1. only final determinant validation;\n");
  printf("  2. + validation of all intermediate determinants;\n");
  printf("  3. + intermediate output of all path trackers.\n");
  printf("The amount of the intermediate output: %d\n", level);
  fscanf(ifp, "%d", &input);
  printf("Type 0, 1, 2 to select input :\n");
  printf("  0. interactive input of real numbers\n");
  printf("  1. interactive input of complex numbers\n");
  printf("  2. random input of complex numbers\n");
  printf("  3. random input of real numbers\n");
  printf("  4. interactive input of real numbers for matrices and complex "
         "numbers for poles\n");
  printf("The selected input is: %d\n", input);
  nn = m * p + q * (m + p);
  srand(time(NULL));
  fclose(ifp);
  feedback(n, m, p, q, nb, level, nn, input, inputfile, outputfile);
  return 0;
}


x86 assembly (clang, -O0):
<main_feedback>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x78,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe64(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x58(%rbp)
jne    11cc <main_feedback+0x4c>
mov    -0x10(%rbp),%rsi
lea    0xe47(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x58(%rbp),%rdi
lea    0xe4b(%rip),%rsi
lea    -0x1c(%rbp),%rdx
call   1050 <fscanf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe3b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xe26(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1050 <fscanf@plt>
mov    -0x20(%rbp),%esi
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xe01(%rip),%rsi
lea    -0x24(%rbp),%rdx
call   1050 <fscanf@plt>
mov    -0x24(%rbp),%esi
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xddc(%rip),%rsi
lea    -0x28(%rbp),%rdx
call   1050 <fscanf@plt>
mov    -0x28(%rbp),%esi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xdb7(%rip),%rsi
lea    -0x2c(%rbp),%rdx
call   1050 <fscanf@plt>
mov    -0x2c(%rbp),%esi
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xd92(%rip),%rsi
lea    -0x30(%rbp),%rdx
call   1050 <fscanf@plt>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf06(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x30(%rbp),%esi
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xd27(%rip),%rsi
lea    -0x3c(%rbp),%rdx
call   1050 <fscanf@plt>
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf42(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf5c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf79(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf91(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfa6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x3c(%rbp),%esi
lea    0xfe8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%eax
imul   -0x24(%rbp),%eax
mov    -0x28(%rbp),%ecx
mov    -0x20(%rbp),%edx
add    -0x24(%rbp),%edx
imul   %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x34(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
mov    -0x58(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    -0x28(%rbp),%ecx
mov    -0x2c(%rbp),%r8d
mov    -0x30(%rbp),%r9d
mov    -0x34(%rbp),%ebx
mov    -0x3c(%rbp),%r11d
mov    -0x10(%rbp),%r10
mov    -0x18(%rbp),%rax
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %rax,0x18(%rsp)
call   1090 <feedback@plt>
xor    %eax,%eax
add    $0x78,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<main_feedback>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
lea    0xe56(%rip),%rsi
call   1090 <fopen@plt>
test   %rax,%rax
je     139d <main_feedback+0x20d>
mov    %rax,%r13
lea    0xe60(%rip),%r12
lea    0x1c(%rsp),%rdx
mov    %rax,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
mov    0x1c(%rsp),%esi
lea    0xe48(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
mov    0xc(%rsp),%esi
lea    0xe6e(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
mov    0x8(%rsp),%esi
lea    0xe72(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
mov    0x4(%rsp),%esi
lea    0xe77(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x18(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
mov    0x18(%rsp),%esi
lea    0xe9d(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x14(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
lea    0xef7(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6d(%rip),%rdi
call   1030 <puts@plt>
mov    0x14(%rsp),%esi
lea    0xe71(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x10(%rsp),%rdx
mov    %r13,%rdi
mov    %r12,%rsi
call   1060 <fscanf@plt>
lea    0xf70(%rip),%rdi
call   1030 <puts@plt>
lea    0xf83(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
mov    0x10(%rsp),%esi
lea    0xe32(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%eax
mov    0x8(%rsp),%ebx
mov    %ebx,%ecx
imul   %eax,%ecx
add    %eax,%ebx
imul   0x4(%rsp),%ebx
add    %ecx,%ebx
xor    %edi,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1070 <srand@plt>
mov    %r13,%rdi
call   1040 <fclose@plt>
mov    0x1c(%rsp),%edi
mov    0xc(%rsp),%esi
mov    0x8(%rsp),%edx
mov    0x4(%rsp),%ecx
mov    0x18(%rsp),%r8d
mov    0x14(%rsp),%r9d
mov    0x10(%rsp),%eax
push   %r14
push   %r15
push   %rax
push   %rbx
call   10a0 <feedback@plt>
add    $0x20,%rsp
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
lea    0xc5e(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [32 x i8] c"Opening %s for reading failed!\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [72 x i8] c"The number of the internal states for the given plant (A, B, C) n = %d\0A\00"
@.str.4 = [38 x i8] c"The system's input dimension m = %d.\0A\00"
@.str.5 = [39 x i8] c"The system's output dimension p = %d.\0A\00"
@.str.6 = [72 x i8] c"The number of the internal states for the dynamic compensators q = %d.\0A\00"
@.str.7 = [50 x i8] c"Give the number of maps wanted (<0 for all) : %d \00"
@.str.8 = [46 x i8] c"\0AType 0, 1, 2, or 3 to select output level :\0A\00"
@.str.9 = [30 x i8] c" 0. no intermediate output;\0A\00"
@.str.10 = [41 x i8] c" 1. only final determinant validation;\0A\00"
@.str.11 = [53 x i8] c" 2. + validation of all intermediate determinants;\0A\00"
@.str.12 = [50 x i8] c" 3. + intermediate output of all path trackers.\0A\00"
@.str.13 = [43 x i8] c"The amount of the intermediate output: %d\0A\00"
@.str.14 = [32 x i8] c"Type 0, 1, 2 to select input :\0A\00"
@.str.15 = [40 x i8] c" 0. interactive input of real numbers\0A\00"
@.str.16 = [43 x i8] c" 1. interactive input of complex numbers\0A\00"
@.str.17 = [38 x i8] c" 2. random input of complex numbers\0A\00"
@.str.18 = [35 x i8] c" 3. random input of real numbers\0A\00"
@.str.19 = [83 x i8] c" 4. interactive input of real numbers for matrices and complex numbers for poles\0A\00"
@.str.20 = [27 x i8] c"The selected input is: %d\0A\00"
define i32 @main_feedback(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca double*
%15 = alloca double*
%16 = alloca i32*
%17 = alloca i32*
store i8* %0, i8** %3
store i8* %1, i8** %4
%18 = load i8*, i8** %3
%19 = call i32* @fopen(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %19, i32** %16
%20 = load i32*, i32** %16
%21 = icmp eq i32* %20, null
br i1 %21, label %22, label %26
22: ; preds = %2
%23 = load i8*, i8** %3
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), i8* %23)
%25 = call i32 @exit(i32 1)
unreachable
26: ; preds = %2
%27 = load i32*, i32** %16
%28 = call i32 @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %5)
%29 = load i32, i32* %5
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%31 = load i32*, i32** %16
%32 = call i32 @fscanf(i32* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %6)
%33 = load i32, i32* %6
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = load i32*, i32** %16
%36 = call i32 @fscanf(i32* %35, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%37 = load i32, i32* %7
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %37)
%39 = load i32*, i32** %16
%40 = call i32 @fscanf(i32* %39, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %8)
%41 = load i32, i32* %8
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.6, i64 0, i64 0), i32 %41)
%43 = load i32*, i32** %16
%44 = call i32 @fscanf(i32* %43, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %9)
%45 = load i32, i32* %9
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0), i32 %45)
%47 = load i32*, i32** %16
%48 = call i32 @fscanf(i32* %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %10)
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0))
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0))
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.11, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.12, i64 0, i64 0))
%54 = load i32, i32* %10
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0), i32 %54)
%56 = load i32*, i32** %16
%57 = call i32 @fscanf(i32* %56, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %13)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.14, i64 0, i64 0))
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.15, i64 0, i64 0))
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.16, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.17, i64 0, i64 0))
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0))
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.19, i64 0, i64 0))
%64 = load i32, i32* %13
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0), i32 %64)
%66 = load i32, i32* %6
%67 = load i32, i32* %7
%68 = mul nsw i32 %66, %67
%69 = load i32, i32* %8
%70 = load i32, i32* %6
%71 = load i32, i32* %7
%72 = add nsw i32 %70, %71
%73 = mul nsw i32 %69, %72
%74 = add nsw i32 %68, %73
store i32 %74, i32* %11
%75 = call i32 @time(i32* null)
%76 = call i32 @srand(i32 %75)
%77 = load i32*, i32** %16
%78 = call i32 @fclose(i32* %77)
%79 = load i32, i32* %5
%80 = load i32, i32* %6
%81 = load i32, i32* %7
%82 = load i32, i32* %8
%83 = load i32, i32* %9
%84 = load i32, i32* %10
%85 = load i32, i32* %11
%86 = load i32, i32* %13
%87 = load i8*, i8** %3
%88 = load i8*, i8** %4
%89 = call i32 @feedback(i32 %79, i32 %80, i32 %81, i32 %82, i32 %83, i32 %84, i32 %85, i32 %86, i8* %87, i8* %88)
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [32 x i8] c"Opening %s for reading failed!\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [72 x i8] c"The number of the internal states for the given plant (A, B, C) n = %d\0A\00"
@.str.4 = [38 x i8] c"The system's input dimension m = %d.\0A\00"
@.str.5 = [39 x i8] c"The system's output dimension p = %d.\0A\00"
@.str.6 = [72 x i8] c"The number of the internal states for the dynamic compensators q = %d.\0A\00"
@.str.7 = [50 x i8] c"Give the number of maps wanted (<0 for all) : %d \00"
@.str.13 = [43 x i8] c"The amount of the intermediate output: %d\0A\00"
@.str.20 = [27 x i8] c"The selected input is: %d\0A\00"
@str = [45 x i8] c"\0AType 0, 1, 2, or 3 to select output level :\00"
@str.21 = [29 x i8] c" 0. no intermediate output;\00"
@str.22 = [40 x i8] c" 1. only final determinant validation;\00"
@str.23 = [52 x i8] c" 2. + validation of all intermediate determinants;\00"
@str.24 = [49 x i8] c" 3. + intermediate output of all path trackers.\00"
@str.25 = [31 x i8] c"Type 0, 1, 2 to select input :\00"
@str.26 = [39 x i8] c" 0. interactive input of real numbers\00"
@str.27 = [42 x i8] c" 1. interactive input of complex numbers\00"
@str.28 = [37 x i8] c" 2. random input of complex numbers\00"
@str.29 = [34 x i8] c" 3. random input of real numbers\00"
@str.30 = [82 x i8] c" 4. interactive input of real numbers for matrices and complex numbers for poles\00"
define i32 @main_feedback(i8* %0, i8* %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = bitcast i32* %3 to i8*
%11 = bitcast i32* %4 to i8*
%12 = bitcast i32* %5 to i8*
%13 = bitcast i32* %6 to i8*
%14 = bitcast i32* %7 to i8*
%15 = bitcast i32* %8 to i8*
%16 = bitcast i32* %9 to i8*
%17 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%21 = tail call i32 @exit(i32 1)
unreachable
22: ; preds = %2
%23 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %3)
%24 = load i32, i32* %3
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.3, i64 0, i64 0), i32 %24)
%26 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%27 = load i32, i32* %4
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %27)
%29 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %5)
%30 = load i32, i32* %5
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %30)
%32 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %6)
%33 = load i32, i32* %6
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.6, i64 0, i64 0), i32 %33)
%35 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%36 = load i32, i32* %7
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0), i32 %36)
%38 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %8)
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.21, i64 0, i64 0))
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.22, i64 0, i64 0))
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.23, i64 0, i64 0))
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.24, i64 0, i64 0))
%44 = load i32, i32* %8
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0), i32 %44)
%46 = call i32 @fscanf(i32* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %9)
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.25, i64 0, i64 0))
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.26, i64 0, i64 0))
%49 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.27, i64 0, i64 0))
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.28, i64 0, i64 0))
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.29, i64 0, i64 0))
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.30, i64 0, i64 0))
%53 = load i32, i32* %9
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0), i32 %53)
%55 = load i32, i32* %4
%56 = load i32, i32* %5
%57 = mul nsw i32 %56, %55
%58 = load i32, i32* %6
%59 = add nsw i32 %56, %55
%60 = mul nsw i32 %58, %59
%61 = add nsw i32 %60, %57
%62 = call i32 @time(i32* null)
%63 = call i32 @srand(i32 %62)
%64 = call i32 @fclose(i32* %17)
%65 = load i32, i32* %3
%66 = load i32, i32* %4
%67 = load i32, i32* %5
%68 = load i32, i32* %6
%69 = load i32, i32* %7
%70 = load i32, i32* %8
%71 = load i32, i32* %9
%72 = call i32 @feedback(i32 %65, i32 %66, i32 %67, i32 %68, i32 %69, i32 %70, i32 %61, i32 %71, i8* %0, i8* %1)
ret i32 0
}