#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 */
int EOF;
int getchar();
int m_homogeneous_Bezout_number(int *, int *, char *);
int m_homogeneous_start_system(int, char *);
int m_partition_Bezout_number(int *, int, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, char *);
int solcon_number_of_standard_solutions(int *);
int solcon_write_standard_solutions();
int solve_linear_product_system();
int syscon_read_standard_system();
int syscon_write_standard_system();
int compute_m_homogeneous_Bezout_number(int *b) {
  int fail, mbz, ncp, nbsols;
  int size = 256;
  char partition[size];
  char answer;
  fail = syscon_read_standard_system();
  printf("\nThe system in the container : \n");
  fail = syscon_write_standard_system();
  fail = m_homogeneous_Bezout_number(&mbz, &ncp, partition);
  printf("\nA m-homogeneous Bezout number : %d\n", mbz);
  printf("with partition %s.\n", partition);
  printf("\nDo you wnat to give a partition ? (y/n) ");
  scanf("%c", &answer);
  if (answer == 'y') {
    scanf("%c", &answer);
    printf("\nReading a partition ...\nEnter a string : ");
    {
      int c, i;
      for (i = 0; (c = getchar()) != EOF && c != '\n' && i < size; ++i)
        partition[i] = c;
      partition[i] = '\0';
      ncp = i + 1;
    }
    printf("-> your partition : %s\n", partition);
    fail = m_partition_Bezout_number(&mbz, ncp, partition);
    printf("the m-homogeneous Bezout number : %d\n", mbz);
  }
  printf("\nConstructing a m-homogeneous start system ...\n");
  fail = m_homogeneous_start_system(ncp, partition);
  printf("An m-homogeneous linear-product start system :\n");
  fail = syscon_write_standard_system();
  fail = solve_linear_product_system();
  printf("\nThe solutions : \n");
  fail = solcon_write_standard_solutions();
  fail = solcon_number_of_standard_solutions(&nbsols);
  if (mbz == nbsols)
    printf("\nComputed %d solutions, as many as the root count.\n", nbsols);
  else
    printf("\nNumber of solutions computed %d /= %d, the root count ?!!\n",
           nbsols, mbz);
  return fail;
}


x86 assembly (clang, -O0):
<compute_m_homogeneous_Bezout_number>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x100,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x28(%rbp)
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
mov    $0x0,%al
call   10c0 <syscon_read_standard_system@plt>
mov    %eax,-0xc(%rbp)
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10a0 <syscon_write_standard_system@plt>
mov    -0x48(%rbp),%rdx
mov    %eax,-0xc(%rbp)
lea    -0x10(%rbp),%rdi
lea    -0x14(%rbp),%rsi
call   10d0 <m_homogeneous_Bezout_number@plt>
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%esi
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%rsi
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe2d(%rip),%rdi
lea    -0x31(%rbp),%rsi
call   10b0 <scanf@plt>
movsbl -0x31(%rbp),%eax
cmp    $0x79,%eax
jne    1342 <compute_m_homogeneous_Bezout_number+0x192>
lea    0xe10(%rip),%rdi
lea    -0x31(%rbp),%rsi
call   10b0 <scanf@plt>
lea    0xe03(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x3c(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,%ecx
mov    %ecx,-0x38(%rbp)
xor    %eax,%eax
mov    0x2d41(%rip),%rdx
cmp    (%rdx),%ecx
mov    %al,-0x49(%rbp)
je     12cd <compute_m_homogeneous_Bezout_number+0x11d>
xor    %eax,%eax
cmpl   $0xa,-0x38(%rbp)
mov    %al,-0x49(%rbp)
je     12cd <compute_m_homogeneous_Bezout_number+0x11d>
mov    -0x3c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
setl   %al
mov    %al,-0x49(%rbp)
mov    -0x49(%rbp),%al
test   $0x1,%al
jne    12dd <compute_m_homogeneous_Bezout_number+0x12d>
jmp    12fb <compute_m_homogeneous_Bezout_number+0x14b>
mov    -0x48(%rbp),%rax
mov    -0x38(%rbp),%ecx
mov    %cl,%dl
movslq -0x3c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1292 <compute_m_homogeneous_Bezout_number+0xe2>
mov    -0x48(%rbp),%rsi
movslq -0x3c(%rbp),%rax
movb   $0x0,(%rsi,%rax,1)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%rdx
mov    -0x14(%rbp),%esi
lea    -0x10(%rbp),%rdi
call   1030 <m_partition_Bezout_number@plt>
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%esi
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%rsi
mov    -0x14(%rbp),%edi
call   1060 <m_homogeneous_start_system@plt>
mov    %eax,-0xc(%rbp)
lea    0xdba(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10a0 <syscon_write_standard_system@plt>
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1040 <solve_linear_product_system@plt>
mov    %eax,-0xc(%rbp)
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1090 <solcon_write_standard_solutions@plt>
mov    %eax,-0xc(%rbp)
lea    -0x18(%rbp),%rdi
call   1080 <solcon_number_of_standard_solutions@plt>
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    13c7 <compute_m_homogeneous_Bezout_number+0x217>
mov    -0x18(%rbp),%esi
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13db <compute_m_homogeneous_Bezout_number+0x22b>
mov    -0x18(%rbp),%esi
mov    -0x10(%rbp),%edx
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
mov    -0x28(%rbp),%rcx
mov    %rcx,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compute_m_homogeneous_Bezout_number>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %rsp,%r14
xor    %r12d,%r12d
xor    %eax,%eax
call   10d0 <syscon_read_standard_system@plt>
lea    0xf5d(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <syscon_write_standard_system@plt>
lea    0x4(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%r15
mov    %r15,%rdx
call   10e0 <m_homogeneous_Bezout_number@plt>
mov    0x4(%rsp),%esi
lea    0xdf0(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe07(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe0a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe26(%rip),%rdi
lea    0x3(%rsp),%rsi
call   10c0 <scanf@plt>
cmpb   $0x79,0x3(%rsp)
jne    12ff <compute_m_homogeneous_Bezout_number+0x13f>
lea    0xe0a(%rip),%rdi
lea    0x3(%rsp),%rsi
call   10c0 <scanf@plt>
lea    0xdfc(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1080 <getchar@plt>
cmp    $0xa,%eax
je     12b5 <compute_m_homogeneous_Bezout_number+0xf5>
mov    0x2d64(%rip),%r15
cmp    (%r15),%eax
je     12b5 <compute_m_homogeneous_Bezout_number+0xf5>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    %al,0x10(%rsp,%rbx,1)
lea    0x1(%rbx),%r12
xor    %eax,%eax
call   1080 <getchar@plt>
cmp    $0xa,%eax
je     12b5 <compute_m_homogeneous_Bezout_number+0xf5>
cmp    (%r15),%eax
je     12b5 <compute_m_homogeneous_Bezout_number+0xf5>
cmp    $0xff,%rbx
mov    %r12,%rbx
jb     1290 <compute_m_homogeneous_Bezout_number+0xd0>
mov    %r12d,%eax
movb   $0x0,0x10(%rsp,%rax,1)
add    $0x1,%r12d
mov    %r12d,0x8(%rsp)
lea    0xdc4(%rip),%rdi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8(%rsp),%esi
lea    0x4(%rsp),%rdi
mov    %rbx,%rdx
call   1030 <m_partition_Bezout_number@plt>
mov    0x4(%rsp),%esi
lea    0xdb1(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe59(%rip),%rdi
call   1040 <puts@plt>
mov    0x8(%rsp),%edi
lea    0x10(%rsp),%rsi
call   1070 <m_homogeneous_start_system@plt>
lea    0xe6e(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10b0 <syscon_write_standard_system@plt>
xor    %eax,%eax
call   1050 <solve_linear_product_system@plt>
lea    0xe83(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10a0 <solcon_write_standard_solutions@plt>
lea    0xc(%rsp),%rdi
call   1090 <solcon_number_of_standard_solutions@plt>
mov    %eax,%ebx
mov    0x4(%rsp),%edx
mov    0xc(%rsp),%esi
cmp    %esi,%edx
jne    1370 <compute_m_homogeneous_Bezout_number+0x1b0>
lea    0xd6a(%rip),%rdi
mov    %edx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    137e <compute_m_homogeneous_Bezout_number+0x1be>
lea    0xd8c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rsp
mov    %ebx,%eax
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [33 x i8] c"\0AThe system in the container : \0A\00"
@.str.1 = [37 x i8] c"\0AA m-homogeneous Bezout number : %d\0A\00"
@.str.2 = [20 x i8] c"with partition %s.\0A\00"
@.str.3 = [42 x i8] c"\0ADo you wnat to give a partition ? (y/n) \00"
@.str.4 = [3 x i8] c"%c\00"
@.str.5 = [43 x i8] c"\0AReading a partition ...\0AEnter a string : \00"
@EOF = global i32 0
@.str.6 = [24 x i8] c"-> your partition : %s\0A\00"
@.str.7 = [38 x i8] c"the m-homogeneous Bezout number : %d\0A\00"
@.str.8 = [48 x i8] c"\0AConstructing a m-homogeneous start system ...\0A\00"
@.str.9 = [48 x i8] c"An m-homogeneous linear-product start system :\0A\00"
@.str.10 = [19 x i8] c"\0AThe solutions : \0A\00"
@.str.11 = [52 x i8] c"\0AComputed %d solutions, as many as the root count.\0A\00"
@.str.12 = [60 x i8] c"\0ANumber of solutions computed %d /= %d, the root count ?!!\0A\00"
define i32 @compute_m_homogeneous_Bezout_number(i32* %0) {
%2 = alloca i32*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i8
%11 = alloca i32
%12 = alloca i32
store i32* %0, i32** %2
store i32 256, i32* %7
%13 = load i32, i32* %7
%14 = zext i32 %13 to i64
%15 = call i8* @llvm.stacksave()
store i8* %15, i8** %8
%16 = alloca i8, i64 %14
store i64 %14, i64* %9
%17 = call i32 (...) @syscon_read_standard_system()
store i32 %17, i32* %3
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%19 = call i32 (...) @syscon_write_standard_system()
store i32 %19, i32* %3
%20 = call i32 @m_homogeneous_Bezout_number(i32* %4, i32* %5, i8* %16)
store i32 %20, i32* %3
%21 = load i32, i32* %4
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8* %16)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0))
%25 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %10)
%26 = load i8, i8* %10
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 121
br i1 %28, label %29, label %65
29: ; preds = %1
%30 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %10)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %12
br label %32
32: ; preds = %51, %29
%33 = call i32 (...) @getchar()
store i32 %33, i32* %11
%34 = load i32, i32* @EOF
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load i32, i32* %11
%38 = icmp ne i32 %37, 10
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load i32, i32* %12
%41 = load i32, i32* %7
%42 = icmp slt i32 %40, %41
br label %43
43: ; preds = %39, %36, %32
%44 = phi i1 [ false, %36 ], [ false, %32 ], [ %42, %39 ]
br i1 %44, label %45, label %54
45: ; preds = %43
%46 = load i32, i32* %11
%47 = trunc i32 %46 to i8
%48 = load i32, i32* %12
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %16, i64 %49
store i8 %47, i8* %50
br label %51
51: ; preds = %45
%52 = load i32, i32* %12
%53 = add nsw i32 %52, 1
store i32 %53, i32* %12
br label %32
54: ; preds = %43
%55 = load i32, i32* %12
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, i8* %16, i64 %56
store i8 0, i8* %57
%58 = load i32, i32* %12
%59 = add nsw i32 %58, 1
store i32 %59, i32* %5
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0), i8* %16)
%61 = load i32, i32* %5
%62 = call i32 @m_partition_Bezout_number(i32* %4, i32 %61, i8* %16)
store i32 %62, i32* %3
%63 = load i32, i32* %4
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0), i32 %63)
br label %65
65: ; preds = %54, %1
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
%67 = load i32, i32* %5
%68 = call i32 @m_homogeneous_start_system(i32 %67, i8* %16)
store i32 %68, i32* %3
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.9, i64 0, i64 0))
%70 = call i32 (...) @syscon_write_standard_system()
store i32 %70, i32* %3
%71 = call i32 (...) @solve_linear_product_system()
store i32 %71, i32* %3
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%73 = call i32 (...) @solcon_write_standard_solutions()
store i32 %73, i32* %3
%74 = call i32 @solcon_number_of_standard_solutions(i32* %6)
store i32 %74, i32* %3
%75 = load i32, i32* %4
%76 = load i32, i32* %6
%77 = icmp eq i32 %75, %76
br i1 %77, label %78, label %81
78: ; preds = %65
%79 = load i32, i32* %6
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0), i32 %79)
br label %85
81: ; preds = %65
%82 = load i32, i32* %6
%83 = load i32, i32* %4
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.12, i64 0, i64 0), i32 %82, i32 %83)
br label %85
85: ; preds = %81, %78
%86 = load i32, i32* %3
%87 = load i8*, i8** %8
ret i32 %86
}

LLVM IR (-O2):
@.str.1 = [37 x i8] c"\0AA m-homogeneous Bezout number : %d\0A\00"
@.str.2 = [20 x i8] c"with partition %s.\0A\00"
@.str.3 = [42 x i8] c"\0ADo you wnat to give a partition ? (y/n) \00"
@.str.4 = [3 x i8] c"%c\00"
@.str.5 = [43 x i8] c"\0AReading a partition ...\0AEnter a string : \00"
@EOF = global i32 0
@.str.6 = [24 x i8] c"-> your partition : %s\0A\00"
@.str.7 = [38 x i8] c"the m-homogeneous Bezout number : %d\0A\00"
@.str.11 = [52 x i8] c"\0AComputed %d solutions, as many as the root count.\0A\00"
@.str.12 = [60 x i8] c"\0ANumber of solutions computed %d /= %d, the root count ?!!\0A\00"
@str = [32 x i8] c"\0AThe system in the container : \00"
@str.13 = [47 x i8] c"\0AConstructing a m-homogeneous start system ...\00"
@str.14 = [47 x i8] c"An m-homogeneous linear-product start system :\00"
@str.15 = [18 x i8] c"\0AThe solutions : \00"
define i32 @compute_m_homogeneous_Bezout_number(i32* nocapture readnone %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8
%6 = bitcast i32* %2 to i8*
%7 = bitcast i32* %3 to i8*
%8 = bitcast i32* %4 to i8*
%9 = tail call i8* @llvm.stacksave()
%10 = alloca [256 x i8]
%11 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 0
%12 = tail call i32 (...) @syscon_read_standard_system()
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
%14 = tail call i32 (...) @syscon_write_standard_system()
%15 = call i32 @m_homogeneous_Bezout_number(i32* %2, i32* %3, i8* %11)
%16 = load i32, i32* %2
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8* %11)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%21 = load i8, i8* %5
%22 = icmp eq i8 %21, 121
br i1 %22, label %23, label %56
23: ; preds = %1
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
%26 = call i32 (...) @getchar()
%27 = load i32, i32* @EOF
%28 = icmp ne i32 %26, %27
%29 = icmp ne i32 %26, 10
%30 = and i1 %29, %28
br i1 %30, label %31, label %46
31: ; preds = %23, %31
%32 = phi i64 [ %36, %31 ], [ 0, %23 ]
%33 = phi i32 [ %37, %31 ], [ %26, %23 ]
%34 = trunc i32 %33 to i8
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 %32
store i8 %34, i8* %35
%36 = add nuw nsw i64 %32, 1
%37 = call i32 (...) @getchar()
%38 = load i32, i32* @EOF
%39 = icmp ne i32 %37, %38
%40 = icmp ne i32 %37, 10
%41 = and i1 %40, %39
%42 = icmp ult i64 %32, 255
%43 = select i1 %41, i1 %42, i1 false
br i1 %43, label %31, label %44
44: ; preds = %31
%45 = trunc i64 %36 to i32
br label %46
46: ; preds = %44, %23
%47 = phi i32 [ 0, %23 ], [ %45, %44 ]
%48 = zext i32 %47 to i64
%49 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 %48
store i8 0, i8* %49
%50 = add nuw nsw i32 %47, 1
store i32 %50, i32* %3
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0), i8* %11)
%52 = load i32, i32* %3
%53 = call i32 @m_partition_Bezout_number(i32* %2, i32 %52, i8* %11)
%54 = load i32, i32* %2
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0), i32 %54)
br label %56
56: ; preds = %46, %1
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.13, i64 0, i64 0))
%58 = load i32, i32* %3
%59 = call i32 @m_homogeneous_start_system(i32 %58, i8* %11)
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.14, i64 0, i64 0))
%61 = call i32 (...) @syscon_write_standard_system()
%62 = call i32 (...) @solve_linear_product_system()
%63 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.15, i64 0, i64 0))
%64 = call i32 (...) @solcon_write_standard_solutions()
%65 = call i32 @solcon_number_of_standard_solutions(i32* %4)
%66 = load i32, i32* %2
%67 = load i32, i32* %4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %71
69: ; preds = %56
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0), i32 %66)
br label %73
71: ; preds = %56
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.12, i64 0, i64 0), i32 %67, i32 %66)
br label %73
73: ; preds = %71, %69
ret i32 %65
}