#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_quaddobl_solution_string(int, int *);
int solcon_write_quaddobl_solution_string(int, int, char *);
int solve_quaddobl_system(int *, int /*<<< orphan*/, int *, char *, int, int);
int syscon_initialize_number_of_quaddobl_polynomials(int);
int syscon_store_quaddobl_polynomial(int, int, int, char *);
int /*<<< orphan*/ syscon_write_quaddobl_system();
int quaddobl_interactive_input_output(void) {
  int n, fail, k, nc, i, rc, nrc, len, nbtasks, 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_quaddobl_polynomials(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_quaddobl_polynomial(nc, n, k, p);
  }
  printf("The system in the container : \n");
  syscon_write_quaddobl_system();
  printf("\nGive the number of tasks : ");
  scanf("%d", &nbtasks);
  printf("\nGive the verbose level : ");
  scanf("%d", &vrb);
  fail = solve_quaddobl_system(&rc, 0, &nrc, rocos, nbtasks, 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_quaddobl_solution_string(k, &len);
    {
      char s[len];
      fail = solcon_write_quaddobl_solution_string(k, len, s);
      printf("\nSolution %d : \n%s", k, s);
    }
  } while (k >= 0);
  return fail;
}


x86 assembly (clang, -O0):
<quaddobl_interactive_input_output>:
push   %rbp
mov    %rsp,%rbp
sub    $0x780,%rsp
lea    0xe4e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe71(%rip),%rdi
lea    -0x4(%rbp),%rsi
call   10b0 <scanf@plt>
mov    -0x4(%rbp),%edi
call   1040 <syscon_initialize_number_of_quaddobl_polynomials@plt>
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe56(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
jg     125a <quaddobl_interactive_input_output+0xba>
mov    -0xc(%rbp),%esi
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <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   10a0 <syscon_store_quaddobl_polynomial@plt>
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11fa <quaddobl_interactive_input_output+0x5a>
lea    0xe27(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1080 <syscon_write_quaddobl_system@plt>
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdad(%rip),%rdi
lea    -0x24(%rbp),%rsi
call   10b0 <scanf@plt>
lea    0xe31(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd8f(%rip),%rdi
lea    -0x28(%rbp),%rsi
call   10b0 <scanf@plt>
lea    -0x430(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x28(%rbp),%r9d
lea    -0x18(%rbp),%rdi
xor    %esi,%esi
lea    -0x1c(%rbp),%rdx
call   10c0 <solve_quaddobl_system@plt>
mov    %eax,-0x8(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe2c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd31(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   10b0 <scanf@plt>
cmpl   $0x0,-0xc(%rbp)
jge    1318 <quaddobl_interactive_input_output+0x178>
jmp    1390 <quaddobl_interactive_input_output+0x1f0>
mov    -0xc(%rbp),%edi
lea    -0x20(%rbp),%rsi
call   1070 <solcon_length_quaddobl_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   1090 <solcon_write_quaddobl_solution_string@plt>
mov    -0x778(%rbp),%rdx
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%esi
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x768(%rbp),%rax
mov    %rax,%rsp
cmpl   $0x0,-0xc(%rbp)
jge    12eb <quaddobl_interactive_input_output+0x14b>
mov    -0x8(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<quaddobl_interactive_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   1060 <printf@plt>
lea    0xe58(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   10c0 <scanf@plt>
mov    -0x30(%rbp),%edi
call   1050 <syscon_initialize_number_of_quaddobl_polynomials@plt>
mov    -0x30(%rbp),%esi
lea    0xe40(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xeee(%rip),%rdi
call   1040 <puts@plt>
movl   $0x1,-0x2c(%rbp)
cmpl   $0x0,-0x30(%rbp)
jle    126b <quaddobl_interactive_input_output+0xbb>
mov    $0x1,%ebx
lea    0xe2e(%rip),%r14
lea    -0x44(%rbp),%r15
lea    -0x370(%rbp),%r12
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <read_poly@plt>
mov    -0x44(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    %ebx,%edx
mov    %r12,%rcx
call   10b0 <syscon_store_quaddobl_polynomial@plt>
lea    0x1(%rbx),%eax
mov    %eax,-0x2c(%rbp)
cmp    -0x30(%rbp),%ebx
mov    %eax,%ebx
jl     1230 <quaddobl_interactive_input_output+0x80>
lea    0xea3(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1090 <syscon_write_quaddobl_system@plt>
lea    0xddd(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd9e(%rip),%r14
lea    -0x3c(%rbp),%rsi
mov    %r14,%rdi
call   10c0 <scanf@plt>
lea    0xdd9(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    -0x38(%rbp),%rsi
mov    %r14,%rdi
call   10c0 <scanf@plt>
mov    -0x3c(%rbp),%r8d
mov    -0x38(%rbp),%r9d
lea    -0x40(%rbp),%rdi
lea    -0x48(%rbp),%rdx
lea    -0x770(%rbp),%rcx
xor    %esi,%esi
call   10d0 <solve_quaddobl_system@plt>
mov    %eax,%ebx
mov    -0x40(%rbp),%esi
lea    0xdb7(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe43(%rip),%rdi
call   1040 <puts@plt>
lea    0xdb3(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    -0x2c(%rbp),%rsi
mov    %r14,%rdi
call   10c0 <scanf@plt>
mov    -0x2c(%rbp),%edi
test   %edi,%edi
js     139d <quaddobl_interactive_input_output+0x1ed>
lea    0xd0f(%rip),%r13
lea    -0x2c(%rbp),%r14
cs nopw 0x0(%rax,%rax,1)
lea    -0x34(%rbp),%rsi
call   1080 <solcon_length_quaddobl_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   10a0 <solcon_write_quaddobl_solution_string@plt>
mov    %eax,%ebx
mov    -0x2c(%rbp),%esi
lea    0xd73(%rip),%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rsp
cmpl   $0x0,-0x2c(%rbp)
js     139d <quaddobl_interactive_input_output+0x1ed>
lea    0xd2c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   10c0 <scanf@plt>
mov    -0x2c(%rbp),%edi
test   %edi,%edi
jns    1330 <quaddobl_interactive_input_output+0x180>
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 = [27 x i8] c"\0AGive the verbose level : \00"
@.str.8 = [22 x i8] c"\0AThe root count : %d\0A\00"
@.str.9 = [40 x i8] c"interactive selection of solutions... \0A\00"
@.str.10 = [45 x i8] c"\0AGive an index to a solution (-1 to exit) : \00"
@.str.11 = [19 x i8] c"\0ASolution %d : \0A%s\00"
define i32 @quaddobl_interactive_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 [1024 x i8]
%12 = alloca i8
%13 = alloca [800 x i8]
%14 = alloca i8*
%15 = alloca i64
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%18 = load i32, i32* %1
%19 = call i32 @syscon_initialize_number_of_quaddobl_polynomials(i32 %18)
store i32 %19, i32* %2
%20 = load i32, i32* %1
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %20)
%22 = 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 %23
23: ; preds = %38, %0
%24 = load i32, i32* %3
%25 = load i32, i32* %1
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %41
27: ; preds = %23
%28 = load i32, i32* %3
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %28)
%30 = call signext i8 (...) @getchar()
store i8 %30, i8* %12
%31 = getelementptr inbounds [800 x i8], [800 x i8]* %13, i64 0, i64 0
%32 = call i32 @read_poly(i32* %4, i8* %31)
%33 = load i32, i32* %4
%34 = load i32, i32* %1
%35 = load i32, i32* %3
%36 = getelementptr inbounds [800 x i8], [800 x i8]* %13, i64 0, i64 0
%37 = call i32 @syscon_store_quaddobl_polynomial(i32 %33, i32 %34, i32 %35, i8* %36)
store i32 %37, i32* %2
br label %38
38: ; preds = %27
%39 = load i32, i32* %3
%40 = add nsw i32 %39, 1
store i32 %40, i32* %3
br label %23
41: ; preds = %23
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%43 = call i32 (...) @syscon_write_quaddobl_system()
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %10)
%48 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%49 = load i32, i32* %9
%50 = load i32, i32* %10
%51 = call i32 @solve_quaddobl_system(i32* %6, i32 0, i32* %7, i8* %48, i32 %49, i32 %50)
store i32 %51, i32* %2
%52 = load i32, i32* %6
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i32 %52)
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0))
br label %55
55: ; preds = %74, %41
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%58 = load i32, i32* %3
%59 = icmp slt i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %55
br label %77
61: ; preds = %55
%62 = load i32, i32* %3
%63 = call i32 @solcon_length_quaddobl_solution_string(i32 %62, i32* %8)
store i32 %63, i32* %2
%64 = load i32, i32* %8
%65 = zext i32 %64 to i64
%66 = call i8* @llvm.stacksave()
store i8* %66, i8** %14
%67 = alloca i8, i64 %65
store i64 %65, i64* %15
%68 = load i32, i32* %3
%69 = load i32, i32* %8
%70 = call i32 @solcon_write_quaddobl_solution_string(i32 %68, i32 %69, i8* %67)
store i32 %70, i32* %2
%71 = load i32, i32* %3
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i32 %71, i8* %67)
%73 = load i8*, i8** %14
br label %74
74: ; preds = %61
%75 = load i32, i32* %3
%76 = icmp sge i32 %75, 0
br i1 %76, label %55, label %77
77: ; preds = %74, %60
%78 = load i32, i32* %2
ret i32 %78
}

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 = [27 x i8] c"\0AGive the verbose level : \00"
@.str.8 = [22 x i8] c"\0AThe root count : %d\0A\00"
@.str.10 = [45 x i8] c"\0AGive an index to a solution (-1 to exit) : \00"
@.str.11 = [19 x i8] c"\0ASolution %d : \0A%s\00"
@str = [37 x i8] c"terminate each with ; (semicolon)...\00"
@str.12 = [31 x i8] c"The system in the container : \00"
@str.13 = [39 x i8] c"interactive selection of solutions... \00"
define i32 @quaddobl_interactive_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 [1024 x i8]
%10 = alloca [800 x i8]
%11 = bitcast i32* %1 to i8*
%12 = bitcast i32* %2 to i8*
%13 = bitcast i32* %3 to i8*
%14 = bitcast i32* %4 to i8*
%15 = bitcast i32* %5 to i8*
%16 = bitcast i32* %6 to i8*
%17 = bitcast i32* %7 to i8*
%18 = bitcast i32* %8 to i8*
%19 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%20 = getelementptr inbounds [800 x i8], [800 x i8]* %10, i64 0, i64 0
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%22 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%23 = load i32, i32* %1
%24 = call i32 @syscon_initialize_number_of_quaddobl_polynomials(i32 %23)
%25 = load i32, i32* %1
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %25)
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
store i32 1, i32* %2
%28 = load i32, i32* %1
%29 = icmp slt i32 %28, 1
br i1 %29, label %41, label %30
30: ; preds = %0, %30
%31 = phi i32 [ %38, %30 ], [ 1, %0 ]
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %31)
%33 = call signext i8 (...) @getchar()
%34 = call i32 @read_poly(i32* %3, i8* %20)
%35 = load i32, i32* %3
%36 = load i32, i32* %1
%37 = call i32 @syscon_store_quaddobl_polynomial(i32 %35, i32 %36, i32 %31, i8* %20)
%38 = add nuw nsw i32 %31, 1
store i32 %38, i32* %2
%39 = load i32, i32* %1
%40 = icmp slt i32 %31, %39
br i1 %40, label %30, label %41
41: ; preds = %30, %0
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.12, i64 0, i64 0))
%43 = call i32 (...) @syscon_write_quaddobl_system()
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%48 = load i32, i32* %7
%49 = load i32, i32* %8
%50 = call i32 @solve_quaddobl_system(i32* %4, i32 0, i32* %5, i8* %19, i32 %48, i32 %49)
%51 = load i32, i32* %4
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i32 %51)
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.13, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%55 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%56 = load i32, i32* %2
%57 = icmp slt i32 %56, 0
br i1 %57, label %77, label %63
58: ; preds = %63
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, 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 %77, label %63
63: ; preds = %41, %58
%64 = phi i32 [ %61, %58 ], [ %56, %41 ]
%65 = call i32 @solcon_length_quaddobl_solution_string(i32 %64, i32* %6)
%66 = load i32, i32* %6
%67 = zext i32 %66 to i64
%68 = call i8* @llvm.stacksave()
%69 = alloca i8, i64 %67
%70 = load i32, i32* %2
%71 = load i32, i32* %6
%72 = call i32 @solcon_write_quaddobl_solution_string(i32 %70, i32 %71, i8* %69)
%73 = load i32, i32* %2
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i32 %73, i8* %69)
%75 = load i32, i32* %2
%76 = icmp sgt i32 %75, -1
br i1 %76, label %58, label %77
77: ; preds = %63, %58, %41
%78 = phi i32 [ %50, %41 ], [ %72, %58 ], [ %72, %63 ]
ret i32 %78
}