#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 getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ read_poly(int *, char *);
int /*<<< orphan*/ scanf(char *, int *);
int solcon_length_standard_solution_string(int, int *);
int solcon_write_standard_solution_string(int, int, char *);
int solve_standard_Laurent_system(int *, int /*<<< orphan*/, int *, char *, int,
                                  int, int);
int syscon_initialize_number_of_standard_Laurentials(int);
int syscon_store_standard_Laurential(int, int, int, char *);
int /*<<< orphan*/ syscon_write_standard_Laurent_system();
int standard_interactive_Laurent_input_output(void) {
  int n, fail, k, nc, nrc, i, rc, len, nbtasks, focusmv, vrb;
  char rocos[1024];
  char ch, p[800];
  printf("\nGive the number of polynomials in the system : ");
  scanf("%d", &n);
  fail = syscon_initialize_number_of_standard_Laurentials(n);
  printf("\nReading %d polynomials, ", n);
  printf("terminate each with ; (semicolon)...\n");
  for (k = 1; k <= n; k++) {
    printf("-> polynomial %d : ", k);
    ch = getchar();
    read_poly(&nc, p);
    fail = syscon_store_standard_Laurential(nc, n, k, p);
  }
  printf("The system in the container : \n");
  syscon_write_standard_Laurent_system();
  printf("\nGive the number of tasks : ");
  scanf("%d", &nbtasks);
  printf("\nFocus on mixed volumes (1 = yes, 0 = no) : ");
  scanf("%d", &focusmv);
  printf("\nGive the verbose level : ");
  scanf("%d", &vrb);
  fail =
      solve_standard_Laurent_system(&rc, 0, &nrc, rocos, nbtasks, focusmv, vrb);
  printf("\nThe root count : %d\n", rc);
  printf("interactive selection of solutions... \n");
  do {
    printf("\nGive an index to a solution (-1 to exit) : ");
    scanf("%d", &k);
    if (k < 0)
      break;
    fail = solcon_length_standard_solution_string(k, &len);
    {
      char s[len];
      fail = solcon_write_standard_solution_string(k, len, s);
      printf("\nSolution %d : \n%s", k, s);
    }
  } while (k >= 0);
  return fail;
}


x86 assembly (clang, -O0):
<standard_interactive_Laurent_input_output>:
push   %rbp
mov    %rsp,%rbp
sub    $0x780,%rsp
lea    0xe4e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe71(%rip),%rdi
lea    -0x4(%rbp),%rsi
call   10a0 <scanf@plt>
mov    -0x4(%rbp),%edi
call   1050 <syscon_initialize_number_of_standard_Laurentials@plt>
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe56(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
jg     125a <standard_interactive_Laurent_input_output+0xba>
mov    -0xc(%rbp),%esi
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   1080 <getchar@plt>
mov    %al,-0x431(%rbp)
lea    -0x760(%rbp),%rsi
lea    -0x10(%rbp),%rdi
call   1030 <read_poly@plt>
mov    -0x10(%rbp),%edi
mov    -0x4(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x760(%rbp),%rcx
call   1070 <syscon_store_standard_Laurential@plt>
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11fa <standard_interactive_Laurent_input_output+0x5a>
lea    0xe27(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x0,%al
call   10c0 <syscon_write_standard_Laurent_system@plt>
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xdad(%rip),%rdi
lea    -0x24(%rbp),%rsi
call   10a0 <scanf@plt>
lea    0xe31(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xd8f(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   10a0 <scanf@plt>
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xd71(%rip),%rdi
lea    -0x2c(%rbp),%rsi
call   10a0 <scanf@plt>
lea    -0x430(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x28(%rbp),%r9d
mov    -0x2c(%rbp),%eax
lea    -0x1c(%rbp),%rdi
xor    %esi,%esi
lea    -0x14(%rbp),%rdx
sub    $0x10,%rsp
mov    %eax,(%rsp)
call   10b0 <solve_standard_Laurent_system@plt>
add    $0x10,%rsp
mov    %eax,-0x8(%rbp)
mov    -0x1c(%rbp),%esi
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe13(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe2d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xd05(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   10a0 <scanf@plt>
cmpl   $0x0,-0xc(%rbp)
jge    1344 <standard_interactive_Laurent_input_output+0x1a4>
jmp    13bc <standard_interactive_Laurent_input_output+0x21c>
mov    -0xc(%rbp),%edi
lea    -0x20(%rbp),%rsi
call   1090 <solcon_length_standard_solution_string@plt>
mov    %eax,-0x8(%rbp)
mov    -0x20(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x768(%rbp)
mov    %rax,%rcx
add    $0xf,%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rdx
sub    %rcx,%rdx
mov    %rdx,-0x778(%rbp)
mov    %rdx,%rsp
mov    %rax,-0x770(%rbp)
mov    -0xc(%rbp),%edi
mov    -0x20(%rbp),%esi
call   1040 <solcon_write_standard_solution_string@plt>
mov    -0x778(%rbp),%rdx
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%esi
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x768(%rbp),%rax
mov    %rax,%rsp
cmpl   $0x0,-0xc(%rbp)
jge    1317 <standard_interactive_Laurent_input_output+0x177>
mov    -0x8(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<standard_interactive_Laurent_input_output>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x748,%rsp
lea    0xe35(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe58(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   10b0 <scanf@plt>
mov    -0x30(%rbp),%edi
call   1060 <syscon_initialize_number_of_standard_Laurentials@plt>
mov    -0x30(%rbp),%esi
lea    0xe40(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xf1b(%rip),%rdi
call   1050 <puts@plt>
movl   $0x1,-0x2c(%rbp)
cmpl   $0x0,-0x30(%rbp)
jle    126b <standard_interactive_Laurent_input_output+0xbb>
mov    $0x1,%ebx
lea    0xe2e(%rip),%r14
lea    -0x48(%rbp),%r15
lea    -0x370(%rbp),%r12
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1070 <printf@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <read_poly@plt>
mov    -0x48(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    %ebx,%edx
mov    %r12,%rcx
call   1080 <syscon_store_standard_Laurential@plt>
lea    0x1(%rbx),%eax
mov    %eax,-0x2c(%rbp)
cmp    -0x30(%rbp),%ebx
mov    %eax,%ebx
jl     1230 <standard_interactive_Laurent_input_output+0x80>
lea    0xed0(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
call   10d0 <syscon_write_standard_Laurent_system@plt>
lea    0xddd(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xd9e(%rip),%r14
lea    -0x40(%rbp),%rsi
mov    %r14,%rdi
call   10b0 <scanf@plt>
lea    0xdd9(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    -0x3c(%rbp),%rsi
mov    %r14,%rdi
call   10b0 <scanf@plt>
lea    0xdec(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    -0x38(%rbp),%rsi
mov    %r14,%rdi
call   10b0 <scanf@plt>
mov    -0x40(%rbp),%r8d
mov    -0x3c(%rbp),%r9d
mov    -0x38(%rbp),%eax
sub    $0x8,%rsp
lea    -0x44(%rbp),%rdi
lea    -0x4c(%rbp),%rdx
lea    -0x770(%rbp),%rcx
xor    %esi,%esi
push   %rax
call   10c0 <solve_standard_Laurent_system@plt>
add    $0x10,%rsp
mov    %eax,%ebx
mov    -0x44(%rbp),%esi
lea    0xdbe(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe4a(%rip),%rdi
call   1050 <puts@plt>
lea    0xdba(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    -0x2c(%rbp),%rsi
mov    %r14,%rdi
call   10b0 <scanf@plt>
mov    -0x2c(%rbp),%edi
test   %edi,%edi
js     13bd <standard_interactive_Laurent_input_output+0x20d>
lea    0xce9(%rip),%r13
lea    -0x2c(%rbp),%r14
nopl   0x0(%rax)
lea    -0x34(%rbp),%rsi
call   10a0 <solcon_length_standard_solution_string@plt>
mov    %rsp,%r15
mov    -0x34(%rbp),%eax
mov    %rsp,%r12
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r12
mov    %r12,%rsp
mov    -0x2c(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    %r12,%rdx
call   1040 <solcon_write_standard_solution_string@plt>
mov    %eax,%ebx
mov    -0x2c(%rbp),%esi
lea    0xd80(%rip),%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r15,%rsp
cmpl   $0x0,-0x2c(%rbp)
js     13bd <standard_interactive_Laurent_input_output+0x20d>
lea    0xd39(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   10b0 <scanf@plt>
mov    -0x2c(%rbp),%edi
test   %edi,%edi
jns    1350 <standard_interactive_Laurent_input_output+0x1a0>
mov    %ebx,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [49 x i8] c"\0AGive the number of polynomials in the system : \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [26 x i8] c"\0AReading %d polynomials, \00"
@.str.3 = [38 x i8] c"terminate each with ; (semicolon)...\0A\00"
@.str.4 = [20 x i8] c"-> polynomial %d : \00"
@.str.5 = [32 x i8] c"The system in the container : \0A\00"
@.str.6 = [29 x i8] c"\0AGive the number of tasks : \00"
@.str.7 = [45 x i8] c"\0AFocus on mixed volumes (1 = yes, 0 = no) : \00"
@.str.8 = [27 x i8] c"\0AGive the verbose level : \00"
@.str.9 = [22 x i8] c"\0AThe root count : %d\0A\00"
@.str.10 = [40 x i8] c"interactive selection of solutions... \0A\00"
@.str.11 = [45 x i8] c"\0AGive an index to a solution (-1 to exit) : \00"
@.str.12 = [19 x i8] c"\0ASolution %d : \0A%s\00"
define i32 @standard_interactive_Laurent_input_output() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [1024 x i8]
%13 = alloca i8
%14 = alloca [800 x i8]
%15 = alloca i8*
%16 = alloca i64
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%19 = load i32, i32* %1
%20 = call i32 @syscon_initialize_number_of_standard_Laurentials(i32 %19)
store i32 %20, i32* %2
%21 = load i32, i32* %1
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %24
24: ; preds = %39, %0
%25 = load i32, i32* %3
%26 = load i32, i32* %1
%27 = icmp sle i32 %25, %26
br i1 %27, label %28, label %42
28: ; preds = %24
%29 = load i32, i32* %3
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %29)
%31 = call signext i8 (...) @getchar()
store i8 %31, i8* %13
%32 = getelementptr inbounds [800 x i8], [800 x i8]* %14, i64 0, i64 0
%33 = call i32 @read_poly(i32* %4, i8* %32)
%34 = load i32, i32* %4
%35 = load i32, i32* %1
%36 = load i32, i32* %3
%37 = getelementptr inbounds [800 x i8], [800 x i8]* %14, i64 0, i64 0
%38 = call i32 @syscon_store_standard_Laurential(i32 %34, i32 %35, i32 %36, i8* %37)
store i32 %38, i32* %2
br label %39
39: ; preds = %28
%40 = load i32, i32* %3
%41 = add nsw i32 %40, 1
store i32 %41, i32* %3
br label %24
42: ; preds = %24
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%44 = call i32 (...) @syscon_write_standard_Laurent_system()
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%48 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %10)
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%50 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %11)
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%52 = load i32, i32* %9
%53 = load i32, i32* %10
%54 = load i32, i32* %11
%55 = call i32 @solve_standard_Laurent_system(i32* %7, i32 0, i32* %5, i8* %51, i32 %52, i32 %53, i32 %54)
store i32 %55, i32* %2
%56 = load i32, i32* %7
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0), i32 %56)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0))
br label %59
59: ; preds = %78, %42
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%61 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%62 = load i32, i32* %3
%63 = icmp slt i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
br label %81
65: ; preds = %59
%66 = load i32, i32* %3
%67 = call i32 @solcon_length_standard_solution_string(i32 %66, i32* %8)
store i32 %67, i32* %2
%68 = load i32, i32* %8
%69 = zext i32 %68 to i64
%70 = call i8* @llvm.stacksave()
store i8* %70, i8** %15
%71 = alloca i8, i64 %69
store i64 %69, i64* %16
%72 = load i32, i32* %3
%73 = load i32, i32* %8
%74 = call i32 @solcon_write_standard_solution_string(i32 %72, i32 %73, i8* %71)
store i32 %74, i32* %2
%75 = load i32, i32* %3
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), i32 %75, i8* %71)
%77 = load i8*, i8** %15
br label %78
78: ; preds = %65
%79 = load i32, i32* %3
%80 = icmp sge i32 %79, 0
br i1 %80, label %59, label %81
81: ; preds = %78, %64
%82 = load i32, i32* %2
ret i32 %82
}

LLVM IR (-O2):
@.str = [49 x i8] c"\0AGive the number of polynomials in the system : \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [26 x i8] c"\0AReading %d polynomials, \00"
@.str.4 = [20 x i8] c"-> polynomial %d : \00"
@.str.6 = [29 x i8] c"\0AGive the number of tasks : \00"
@.str.7 = [45 x i8] c"\0AFocus on mixed volumes (1 = yes, 0 = no) : \00"
@.str.8 = [27 x i8] c"\0AGive the verbose level : \00"
@.str.9 = [22 x i8] c"\0AThe root count : %d\0A\00"
@.str.11 = [45 x i8] c"\0AGive an index to a solution (-1 to exit) : \00"
@.str.12 = [19 x i8] c"\0ASolution %d : \0A%s\00"
@str = [37 x i8] c"terminate each with ; (semicolon)...\00"
@str.13 = [31 x i8] c"The system in the container : \00"
@str.14 = [39 x i8] c"interactive selection of solutions... \00"
define i32 @standard_interactive_Laurent_input_output() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca [1024 x i8]
%11 = alloca [800 x i8]
%12 = bitcast i32* %1 to i8*
%13 = bitcast i32* %2 to i8*
%14 = bitcast i32* %3 to i8*
%15 = bitcast i32* %4 to i8*
%16 = bitcast i32* %5 to i8*
%17 = bitcast i32* %6 to i8*
%18 = bitcast i32* %7 to i8*
%19 = bitcast i32* %8 to i8*
%20 = bitcast i32* %9 to i8*
%21 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%22 = getelementptr inbounds [800 x i8], [800 x i8]* %11, i64 0, i64 0
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%25 = load i32, i32* %1
%26 = call i32 @syscon_initialize_number_of_standard_Laurentials(i32 %25)
%27 = load i32, i32* %1
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %27)
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
store i32 1, i32* %2
%30 = load i32, i32* %1
%31 = icmp slt i32 %30, 1
br i1 %31, label %43, label %32
32: ; preds = %0, %32
%33 = phi i32 [ %40, %32 ], [ 1, %0 ]
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = call signext i8 (...) @getchar()
%36 = call i32 @read_poly(i32* %3, i8* %22)
%37 = load i32, i32* %3
%38 = load i32, i32* %1
%39 = call i32 @syscon_store_standard_Laurential(i32 %37, i32 %38, i32 %33, i8* %22)
%40 = add nuw nsw i32 %33, 1
store i32 %40, i32* %2
%41 = load i32, i32* %1
%42 = icmp slt i32 %33, %41
br i1 %42, label %32, label %43
43: ; preds = %32, %0
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.13, i64 0, i64 0))
%45 = call i32 (...) @syscon_write_standard_Laurent_system()
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%49 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%51 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
%52 = load i32, i32* %7
%53 = load i32, i32* %8
%54 = load i32, i32* %9
%55 = call i32 @solve_standard_Laurent_system(i32* %5, i32 0, i32* %4, i8* %21, i32 %52, i32 %53, i32 %54)
%56 = load i32, i32* %5
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0), i32 %56)
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.14, i64 0, i64 0))
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%60 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%61 = load i32, i32* %2
%62 = icmp slt i32 %61, 0
br i1 %62, label %82, label %68
63: ; preds = %68
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%65 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%66 = load i32, i32* %2
%67 = icmp slt i32 %66, 0
br i1 %67, label %82, label %68
68: ; preds = %43, %63
%69 = phi i32 [ %66, %63 ], [ %61, %43 ]
%70 = call i32 @solcon_length_standard_solution_string(i32 %69, i32* %6)
%71 = load i32, i32* %6
%72 = zext i32 %71 to i64
%73 = call i8* @llvm.stacksave()
%74 = alloca i8, i64 %72
%75 = load i32, i32* %2
%76 = load i32, i32* %6
%77 = call i32 @solcon_write_standard_solution_string(i32 %75, i32 %76, i8* %74)
%78 = load i32, i32* %2
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), i32 %78, i8* %74)
%80 = load i32, i32* %2
%81 = icmp sgt i32 %80, -1
br i1 %81, label %63, label %82
82: ; preds = %68, %63, %43
%83 = phi i32 [ %55, %43 ], [ %77, %63 ], [ %77, %68 ]
ret i32 %83
}