#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 add_one_to_double_loop_counters(int *, int *, int, int);
int /*<<< orphan*/ printf(char *, int, int);
int solcon_extrinsic_product(int, int, int, int, double *, double *, int,
                             double *);
int solcon_read_next_witness_point(int, int, int *, double *);
int solcon_reset_input_file(int, int *, int *);
int get_next_start_product(int *i, int *j, int monitor, int n1, int n2,
                           int dim1, int dim2, int deg1, int deg2, int extcd,
                           double *sol1, double *sol2, double *ps) {
  int fail, m, done, dim, deg;
  if (dim1 >= dim2) {
    if (((*i) == 0) && ((*j) == 0))
      fail = solcon_read_next_witness_point(1, n1, &m, sol1);
    fail = solcon_read_next_witness_point(2, n2, &m, sol2);
    fail = solcon_extrinsic_product(dim1, dim2, n1, n2, sol1, sol2, extcd, ps);
    done = add_one_to_double_loop_counters(i, j, deg1, deg2);
    if ((*j == 0) && (done == 0)) {
      fail = solcon_read_next_witness_point(1, n1, &m, sol1);
      fail = solcon_reset_input_file(2, &deg, &dim);
      if (monitor == 1)
        printf("after resetting 2 : n = %d  degree = %d\n", dim, deg);
    }
  } else {
    if (((*i) == 0) && ((*j) == 0))
      fail = solcon_read_next_witness_point(2, n2, &m, sol2);
    fail = solcon_read_next_witness_point(1, n1, &m, sol1);
    fail = solcon_extrinsic_product(dim2, dim1, n2, n1, sol2, sol1, extcd, ps);
    done = add_one_to_double_loop_counters(j, i, deg2, deg1);
    if ((*i == 0) && (done == 0)) {
      fail = solcon_read_next_witness_point(2, n2, &m, sol2);
      fail = solcon_reset_input_file(1, &deg, &dim);
      if (monitor == 1)
        printf("after resetting 1 : n = %d  degree = %d\n", dim, deg);
    }
  }
  return (fail && done);
}


x86 assembly (clang, -O0):
<get_next_start_product>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9d,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    0x10(%rbp),%eax
jl     1289 <get_next_start_product+0x139>
mov    -0x8(%rbp),%rax
cmpl   $0x0,(%rax)
jne    11c4 <get_next_start_product+0x74>
mov    -0x10(%rbp),%rax
cmpl   $0x0,(%rax)
jne    11c4 <get_next_start_product+0x74>
mov    -0x18(%rbp),%esi
mov    0x30(%rbp),%rcx
mov    $0x1,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    -0x1c(%rbp),%esi
mov    0x38(%rbp),%rcx
mov    $0x2,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%edi
mov    0x10(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
mov    0x30(%rbp),%r8
mov    0x38(%rbp),%r9
mov    0x28(%rbp),%r10d
mov    0x40(%rbp),%rax
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <solcon_extrinsic_product@plt>
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    0x18(%rbp),%edx
mov    0x20(%rbp),%ecx
call   1060 <add_one_to_double_loop_counters@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
cmpl   $0x0,(%rax)
jne    1284 <get_next_start_product+0x134>
cmpl   $0x0,-0x2c(%rbp)
jne    1284 <get_next_start_product+0x134>
mov    -0x18(%rbp),%esi
mov    0x30(%rbp),%rcx
mov    $0x1,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    $0x2,%edi
lea    -0x34(%rbp),%rsi
lea    -0x30(%rbp),%rdx
call   1050 <solcon_reset_input_file@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    127f <get_next_start_product+0x12f>
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
lea    0xd86(%rip),%rdi
call   1030 <printf@plt>
jmp    1284 <get_next_start_product+0x134>
jmp    1380 <get_next_start_product+0x230>
mov    -0x8(%rbp),%rax
cmpl   $0x0,(%rax)
jne    12bb <get_next_start_product+0x16b>
mov    -0x10(%rbp),%rax
cmpl   $0x0,(%rax)
jne    12bb <get_next_start_product+0x16b>
mov    -0x1c(%rbp),%esi
mov    0x38(%rbp),%rcx
mov    $0x2,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%esi
mov    0x30(%rbp),%rcx
mov    $0x1,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    0x10(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    0x38(%rbp),%r8
mov    0x30(%rbp),%r9
mov    0x28(%rbp),%r10d
mov    0x40(%rbp),%rax
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <solcon_extrinsic_product@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    0x20(%rbp),%edx
mov    0x18(%rbp),%ecx
call   1060 <add_one_to_double_loop_counters@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rax
cmpl   $0x0,(%rax)
jne    137b <get_next_start_product+0x22b>
cmpl   $0x0,-0x2c(%rbp)
jne    137b <get_next_start_product+0x22b>
mov    -0x1c(%rbp),%esi
mov    0x38(%rbp),%rcx
mov    $0x2,%edi
lea    -0x28(%rbp),%rdx
call   1070 <solcon_read_next_witness_point@plt>
mov    %eax,-0x24(%rbp)
mov    $0x1,%edi
lea    -0x34(%rbp),%rsi
lea    -0x30(%rbp),%rdx
call   1050 <solcon_reset_input_file@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    1376 <get_next_start_product+0x226>
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
lea    0xcb8(%rip),%rdi
call   1030 <printf@plt>
jmp    137b <get_next_start_product+0x22b>
jmp    1380 <get_next_start_product+0x230>
xor    %eax,%eax
cmpl   $0x0,-0x24(%rbp)
mov    %al,-0x35(%rbp)
je     1399 <get_next_start_product+0x249>
cmpl   $0x0,-0x2c(%rbp)
setne  %al
mov    %al,-0x35(%rbp)
mov    -0x35(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_next_start_product>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9d,%ebx
mov    %r8d,%r15d
mov    %ecx,%r12d
mov    %rsi,%r14
mov    %rdi,%rbp
mov    0x70(%rsp),%r13
mov    (%rdi),%eax
cmp    0x50(%rsp),%r9d
mov    %edx,0x14(%rsp)
jge    1255 <get_next_start_product+0x105>
test   %eax,%eax
jne    11a4 <get_next_start_product+0x54>
cmpl   $0x0,(%r14)
jne    11a4 <get_next_start_product+0x54>
lea    0x8(%rsp),%rdx
mov    $0x2,%edi
mov    %r15d,%esi
mov    0x78(%rsp),%rcx
call   1070 <solcon_read_next_witness_point@plt>
lea    0x8(%rsp),%rdx
mov    $0x1,%edi
mov    %r12d,%esi
mov    %r13,%rcx
call   1070 <solcon_read_next_witness_point@plt>
mov    0x50(%rsp),%edi
mov    %ebx,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    0x78(%rsp),%r12
mov    %r12,%r8
mov    %r13,%r9
push   0x80(%rsp)
mov    0x70(%rsp),%eax
push   %rax
call   1040 <solcon_extrinsic_product@plt>
add    $0x10,%rsp
mov    %eax,%r13d
mov    %r14,%rdi
mov    %rbp,%rsi
mov    0x60(%rsp),%edx
mov    0x58(%rsp),%ecx
call   1060 <add_one_to_double_loop_counters@plt>
mov    %eax,%ebx
mov    0x0(%rbp),%eax
or     %ebx,%eax
jne    1322 <get_next_start_product+0x1d2>
lea    0x8(%rsp),%rdx
mov    $0x2,%edi
mov    %r15d,%esi
mov    %r12,%rcx
call   1070 <solcon_read_next_witness_point@plt>
lea    0xc(%rsp),%rsi
lea    0x10(%rsp),%rdx
mov    $0x1,%edi
call   1050 <solcon_reset_input_file@plt>
mov    %eax,%r13d
xor    %ebx,%ebx
cmpl   $0x1,0x14(%rsp)
jne    1322 <get_next_start_product+0x1d2>
mov    0x10(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xdd9(%rip),%rdi
jmp    131d <get_next_start_product+0x1cd>
test   %eax,%eax
jne    1274 <get_next_start_product+0x124>
cmpl   $0x0,(%r14)
jne    1274 <get_next_start_product+0x124>
lea    0x8(%rsp),%rdx
mov    $0x1,%edi
mov    %r12d,%esi
mov    %r13,%rcx
call   1070 <solcon_read_next_witness_point@plt>
lea    0x8(%rsp),%rdx
mov    $0x2,%edi
mov    %r15d,%esi
mov    0x78(%rsp),%r13
mov    %r13,%rcx
call   1070 <solcon_read_next_witness_point@plt>
mov    %ebx,%edi
mov    0x50(%rsp),%esi
mov    %r12d,%edx
mov    %r15d,%ecx
mov    0x70(%rsp),%r15
mov    %r15,%r8
mov    %r13,%r9
push   0x80(%rsp)
mov    0x70(%rsp),%eax
push   %rax
call   1040 <solcon_extrinsic_product@plt>
add    $0x10,%rsp
mov    %eax,%r13d
mov    %rbp,%rdi
mov    %r14,%rsi
mov    0x58(%rsp),%edx
mov    0x60(%rsp),%ecx
call   1060 <add_one_to_double_loop_counters@plt>
mov    %eax,%ebx
mov    (%r14),%eax
or     %ebx,%eax
jne    1322 <get_next_start_product+0x1d2>
lea    0x8(%rsp),%rdx
mov    $0x1,%edi
mov    %r12d,%esi
mov    %r15,%rcx
call   1070 <solcon_read_next_witness_point@plt>
lea    0xc(%rsp),%rsi
lea    0x10(%rsp),%rdx
mov    $0x2,%edi
call   1050 <solcon_reset_input_file@plt>
mov    %eax,%r13d
xor    %ebx,%ebx
cmpl   $0x1,0x14(%rsp)
jne    1322 <get_next_start_product+0x1d2>
mov    0x10(%rsp),%esi
mov    0xc(%rsp),%edx
lea    0xce3(%rip),%rdi
call   1030 <printf@plt>
test   %r13d,%r13d
setne  %al
test   %ebx,%ebx
setne  %cl
and    %al,%cl
movzbl %cl,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [41 x i8] c"after resetting 2 : n = %d degree = %d\0A\00"
@.str.1 = [41 x i8] c"after resetting 1 : n = %d degree = %d\0A\00"
define i32 @get_next_start_product(i32* %0, i32* %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, double* %10, double* %11, double* %12) {
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
store i32* %0, i32** %14
store i32* %1, i32** %15
store i32 %2, i32* %16
store i32 %3, i32* %17
store i32 %4, i32* %18
store i32 %5, i32* %19
store i32 %6, i32* %20
store i32 %7, i32* %21
store i32 %8, i32* %22
store i32 %9, i32* %23
store double* %10, double** %24
store double* %11, double** %25
store double* %12, double** %26
%32 = load i32, i32* %19
%33 = load i32, i32* %20
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %84
35: ; preds = %13
%36 = load i32*, i32** %14
%37 = load i32, i32* %36
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %35
%40 = load i32*, i32** %15
%41 = load i32, i32* %40
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, i32* %17
%45 = load double*, double** %24
%46 = call i32 @solcon_read_next_witness_point(i32 1, i32 %44, i32* %28, double* %45)
store i32 %46, i32* %27
br label %47
47: ; preds = %43, %39, %35
%48 = load i32, i32* %18
%49 = load double*, double** %25
%50 = call i32 @solcon_read_next_witness_point(i32 2, i32 %48, i32* %28, double* %49)
store i32 %50, i32* %27
%51 = load i32, i32* %19
%52 = load i32, i32* %20
%53 = load i32, i32* %17
%54 = load i32, i32* %18
%55 = load double*, double** %24
%56 = load double*, double** %25
%57 = load i32, i32* %23
%58 = load double*, double** %26
%59 = call i32 @solcon_extrinsic_product(i32 %51, i32 %52, i32 %53, i32 %54, double* %55, double* %56, i32 %57, double* %58)
store i32 %59, i32* %27
%60 = load i32*, i32** %14
%61 = load i32*, i32** %15
%62 = load i32, i32* %21
%63 = load i32, i32* %22
%64 = call i32 @add_one_to_double_loop_counters(i32* %60, i32* %61, i32 %62, i32 %63)
store i32 %64, i32* %29
%65 = load i32*, i32** %15
%66 = load i32, i32* %65
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %83
68: ; preds = %47
%69 = load i32, i32* %29
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %83
71: ; preds = %68
%72 = load i32, i32* %17
%73 = load double*, double** %24
%74 = call i32 @solcon_read_next_witness_point(i32 1, i32 %72, i32* %28, double* %73)
store i32 %74, i32* %27
%75 = call i32 @solcon_reset_input_file(i32 2, i32* %31, i32* %30)
store i32 %75, i32* %27
%76 = load i32, i32* %16
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %82
78: ; preds = %71
%79 = load i32, i32* %30
%80 = load i32, i32* %31
%81 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %79, i32 %80)
br label %82
82: ; preds = %78, %71
br label %83
83: ; preds = %82, %68, %47
br label %133
84: ; preds = %13
%85 = load i32*, i32** %14
%86 = load i32, i32* %85
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %96
88: ; preds = %84
%89 = load i32*, i32** %15
%90 = load i32, i32* %89
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %88
%93 = load i32, i32* %18
%94 = load double*, double** %25
%95 = call i32 @solcon_read_next_witness_point(i32 2, i32 %93, i32* %28, double* %94)
store i32 %95, i32* %27
br label %96
96: ; preds = %92, %88, %84
%97 = load i32, i32* %17
%98 = load double*, double** %24
%99 = call i32 @solcon_read_next_witness_point(i32 1, i32 %97, i32* %28, double* %98)
store i32 %99, i32* %27
%100 = load i32, i32* %20
%101 = load i32, i32* %19
%102 = load i32, i32* %18
%103 = load i32, i32* %17
%104 = load double*, double** %25
%105 = load double*, double** %24
%106 = load i32, i32* %23
%107 = load double*, double** %26
%108 = call i32 @solcon_extrinsic_product(i32 %100, i32 %101, i32 %102, i32 %103, double* %104, double* %105, i32 %106, double* %107)
store i32 %108, i32* %27
%109 = load i32*, i32** %15
%110 = load i32*, i32** %14
%111 = load i32, i32* %22
%112 = load i32, i32* %21
%113 = call i32 @add_one_to_double_loop_counters(i32* %109, i32* %110, i32 %111, i32 %112)
store i32 %113, i32* %29
%114 = load i32*, i32** %14
%115 = load i32, i32* %114
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %132
117: ; preds = %96
%118 = load i32, i32* %29
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %132
120: ; preds = %117
%121 = load i32, i32* %18
%122 = load double*, double** %25
%123 = call i32 @solcon_read_next_witness_point(i32 2, i32 %121, i32* %28, double* %122)
store i32 %123, i32* %27
%124 = call i32 @solcon_reset_input_file(i32 1, i32* %31, i32* %30)
store i32 %124, i32* %27
%125 = load i32, i32* %16
%126 = icmp eq i32 %125, 1
br i1 %126, label %127, label %131
127: ; preds = %120
%128 = load i32, i32* %30
%129 = load i32, i32* %31
%130 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0), i32 %128, i32 %129)
br label %131
131: ; preds = %127, %120
br label %132
132: ; preds = %131, %117, %96
br label %133
133: ; preds = %132, %83
%134 = load i32, i32* %27
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = load i32, i32* %29
%138 = icmp ne i32 %137, 0
br label %139
139: ; preds = %136, %133
%140 = phi i1 [ false, %133 ], [ %138, %136 ]
%141 = zext i1 %140 to i32
ret i32 %141
}

LLVM IR (-O2):
@.str = [41 x i8] c"after resetting 2 : n = %d degree = %d\0A\00"
@.str.1 = [41 x i8] c"after resetting 1 : n = %d degree = %d\0A\00"
define i32 @get_next_start_product(i32* %0, i32* %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, double* %10, double* %11, double* %12) {
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = bitcast i32* %14 to i8*
%18 = bitcast i32* %15 to i8*
%19 = bitcast i32* %16 to i8*
%20 = icmp slt i32 %5, %6
%21 = load i32, i32* %0
%22 = icmp eq i32 %21, 0
br i1 %20, label %45, label %23
23: ; preds = %13
br i1 %22, label %24, label %29
24: ; preds = %23
%25 = load i32, i32* %1
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @solcon_read_next_witness_point(i32 1, i32 %3, i32* %14, double* %10)
br label %29
29: ; preds = %27, %24, %23
%30 = call i32 @solcon_read_next_witness_point(i32 2, i32 %4, i32* %14, double* %11)
%31 = call i32 @solcon_extrinsic_product(i32 %5, i32 %6, i32 %3, i32 %4, double* %10, double* %11, i32 %9, double* %12)
%32 = call i32 @add_one_to_double_loop_counters(i32* %0, i32* %1, i32 %7, i32 %8)
%33 = load i32, i32* %1
%34 = icmp eq i32 %33, 0
%35 = icmp eq i32 %32, 0
%36 = select i1 %34, i1 %35, i1 false
br i1 %36, label %37, label %67
37: ; preds = %29
%38 = call i32 @solcon_read_next_witness_point(i32 1, i32 %3, i32* %14, double* %10)
%39 = call i32 @solcon_reset_input_file(i32 2, i32* %16, i32* %15)
%40 = icmp eq i32 %2, 1
br i1 %40, label %41, label %67
41: ; preds = %37
%42 = load i32, i32* %15
%43 = load i32, i32* %16
%44 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %42, i32 %43)
br label %67
45: ; preds = %13
br i1 %22, label %46, label %51
46: ; preds = %45
%47 = load i32, i32* %1
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @solcon_read_next_witness_point(i32 2, i32 %4, i32* %14, double* %11)
br label %51
51: ; preds = %49, %46, %45
%52 = call i32 @solcon_read_next_witness_point(i32 1, i32 %3, i32* %14, double* %10)
%53 = call i32 @solcon_extrinsic_product(i32 %6, i32 %5, i32 %4, i32 %3, double* %11, double* %10, i32 %9, double* %12)
%54 = call i32 @add_one_to_double_loop_counters(i32* %1, i32* %0, i32 %8, i32 %7)
%55 = load i32, i32* %0
%56 = icmp eq i32 %55, 0
%57 = icmp eq i32 %54, 0
%58 = select i1 %56, i1 %57, i1 false
br i1 %58, label %59, label %67
59: ; preds = %51
%60 = call i32 @solcon_read_next_witness_point(i32 2, i32 %4, i32* %14, double* %11)
%61 = call i32 @solcon_reset_input_file(i32 1, i32* %16, i32* %15)
%62 = icmp eq i32 %2, 1
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = load i32, i32* %15
%65 = load i32, i32* %16
%66 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0), i32 %64, i32 %65)
br label %67
67: ; preds = %51, %63, %59, %29, %41, %37
%68 = phi i32 [ %39, %41 ], [ %39, %37 ], [ %31, %29 ], [ %61, %63 ], [ %61, %59 ], [ %53, %51 ]
%69 = phi i32 [ 0, %41 ], [ 0, %37 ], [ %32, %29 ], [ 0, %63 ], [ 0, %59 ], [ %54, %51 ]
%70 = icmp ne i32 %68, 0
%71 = icmp ne i32 %69, 0
%72 = select i1 %70, i1 %71, i1 false
%73 = zext i1 %72 to i32
ret i32 %73
}