#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 _ada_use_celcon(int, int *, int *, double *);
int *calloc(int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int read_mixed_cell(int r, int n) {
  int a[3], *b, cnt[r], i, j, k, fail, sum;
  double c[n];
  printf("Give the inner normal (%d-vector) : ", n);
  for (i = 0; i < n; i++)
    scanf("%lf", &c[i]);
  printf("Reading the number of points in each support...\n");
  a[0] = r;
  a[1] = n;
  sum = 0;
  for (i = 0; i < r; i++) {
    printf("  #points in support %d : ", i + 1);
    scanf("%d", &cnt[i]);
    sum += cnt[i];
  }
  a[2] = 1 + r + sum;
  b = calloc(a[2], sizeof(int));
  b[0] = sum;
  for (i = 0; i < r; i++)
    b[i + 1] = cnt[i];
  printf("Reading the labels for each support...\n");
  k = r + 1;
  for (i = 0; i < r; i++) {
    printf("  give %d labels for support %d : ", cnt[i], i + 1);
    for (j = 0; j < cnt[i]; j++)
      scanf("%d", &b[k++]);
  }
  fail = _ada_use_celcon(13, a, b, c);
  return fail;
}


x86 assembly (clang, -O0):
<read_mixed_cell>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    -0x4(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x28(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x60(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x58(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%esi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11e4 <read_mixed_cell+0xa4>
mov    -0x58(%rbp),%rsi
movslq -0x34(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rsi
lea    0xe56(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11ad <read_mixed_cell+0x6d>
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
movl   $0x0,-0x44(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1268 <read_mixed_cell+0x128>
mov    -0x34(%rbp),%esi
add    $0x1,%esi
lea    0xe35(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rsi
movslq -0x34(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe33(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x44(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    120c <read_mixed_cell+0xcc>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
add    -0x44(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%edi
mov    $0x4,%esi
call   1040 <calloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x44(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12ca <read_mixed_cell+0x18a>
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x20(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1295 <read_mixed_cell+0x155>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1375 <read_mixed_cell+0x235>
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
mov    -0x34(%rbp),%edx
add    $0x1,%edx
lea    0xd94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x38(%rbp)
mov    -0x60(%rbp),%rcx
mov    -0x38(%rbp),%eax
movslq -0x34(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1362 <read_mixed_cell+0x222>
mov    -0x20(%rbp),%rsi
mov    -0x3c(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x3c(%rbp)
cltq
shl    $0x2,%rax
add    %rax,%rsi
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    131a <read_mixed_cell+0x1da>
jmp    1367 <read_mixed_cell+0x227>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12e8 <read_mixed_cell+0x1a8>
mov    -0x58(%rbp),%rcx
lea    -0x14(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    $0xd,%edi
call   1060 <_ada_use_celcon@plt>
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%eax
mov    -0x28(%rbp),%rcx
mov    %rcx,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<read_mixed_cell>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %esi,%ebx
mov    %rsp,-0x68(%rbp)
mov    %rdi,-0x30(%rbp)
mov    %edi,%eax
mov    %rsp,%r12
mov    %rax,-0x40(%rbp)
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r12
mov    %r12,%rsp
mov    %esi,%r14d
mov    %rsp,%rcx
lea    0xf(,%r14,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
lea    0xe47(%rip),%rdi
xor    %r15d,%r15d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebx,-0x38(%rbp)
test   %ebx,%ebx
jle    11f7 <read_mixed_cell+0x97>
lea    0xe54(%rip),%r13
mov    -0x48(%rbp),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
add    $0x8,%rbx
add    $0xffffffffffffffff,%r14
jne    11e0 <read_mixed_cell+0x80>
lea    0xe6c(%rip),%rdi
call   1030 <puts@plt>
mov    -0x30(%rbp),%rax
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%ecx
mov    %ecx,-0x58(%rbp)
test   %eax,%eax
mov    -0x40(%rbp),%r13
jle    1262 <read_mixed_cell+0x102>
mov    %r12,%rbx
xor    %r14d,%r14d
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
lea    0xdee(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf8(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
add    (%rbx),%r15d
add    $0x4,%rbx
cmp    %r14,%r13
jne    1230 <read_mixed_cell+0xd0>
mov    -0x30(%rbp),%rbx
lea    (%r15,%rbx,1),%edi
add    $0x1,%edi
mov    %edi,-0x54(%rbp)
mov    $0x4,%esi
call   1050 <calloc@plt>
mov    %r15d,(%rax)
test   %ebx,%ebx
mov    %rax,-0x50(%rbp)
jle    1328 <read_mixed_cell+0x1c8>
add    $0x1,%ebx
lea    0x4(%rax),%rdi
mov    -0x40(%rbp),%r13
lea    0x0(,%r13,4),%rdx
mov    %r12,%rsi
call   1060 <memcpy@plt>
lea    0xdef(%rip),%rdi
call   1030 <puts@plt>
lea    0xd8d(%rip),%r14
xor    %r15d,%r15d
jmp    12c9 <read_mixed_cell+0x169>
nopl   0x0(%rax)
mov    -0x38(%rbp),%r15
cmp    %r13,%r15
je     1334 <read_mixed_cell+0x1d4>
mov    (%r12,%r15,4),%esi
lea    0x1(%r15),%rdx
lea    0xd6f(%rip),%rdi
mov    %rdx,-0x38(%rbp)
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,(%r12,%r15,4)
jle    12c0 <read_mixed_cell+0x160>
mov    %rbx,-0x30(%rbp)
movslq %ebx,%rax
mov    -0x50(%rbp),%rcx
lea    (%rcx,%rax,4),%rbx
xor    %r13d,%r13d
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
add    $0x1,%r13d
add    $0x4,%rbx
cmp    (%r12,%r15,4),%r13d
jl     1300 <read_mixed_cell+0x1a0>
mov    -0x30(%rbp),%rbx
add    %r13d,%ebx
mov    -0x40(%rbp),%r13
jmp    12c0 <read_mixed_cell+0x160>
lea    0xd6b(%rip),%rdi
call   1030 <puts@plt>
lea    -0x5c(%rbp),%rsi
mov    $0xd,%edi
mov    -0x50(%rbp),%rdx
mov    -0x48(%rbp),%rcx
call   1080 <_ada_use_celcon@plt>
mov    -0x68(%rbp),%rsp
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [37 x i8] c"Give the inner normal (%d-vector) : \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [49 x i8] c"Reading the number of points in each support...\0A\00"
@.str.3 = [27 x i8] c" #points in support %d : \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [40 x i8] c"Reading the labels for each support...\0A\00"
@.str.6 = [35 x i8] c" give %d labels for support %d : \00"
define i32 @read_mixed_cell(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [3 x i32]
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i64
store i32 %0, i32* %3
store i32 %1, i32* %4
%15 = load i32, i32* %3
%16 = zext i32 %15 to i64
%17 = call i8* @llvm.stacksave()
store i8* %17, i8** %7
%18 = alloca i32, i64 %16
store i64 %16, i64* %8
%19 = load i32, i32* %4
%20 = zext i32 %19 to i64
%21 = alloca double, i64 %20
store i64 %20, i64* %14
%22 = load i32, i32* %4
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 %22)
store i32 0, i32* %9
br label %24
24: ; preds = %33, %2
%25 = load i32, i32* %9
%26 = load i32, i32* %4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, i32* %9
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, double* %21, i64 %30
%32 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %31)
br label %33
33: ; preds = %28
%34 = load i32, i32* %9
%35 = add nsw i32 %34, 1
store i32 %35, i32* %9
br label %24
36: ; preds = %24
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%38 = load i32, i32* %3
%39 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 0
store i32 %38, i32* %39
%40 = load i32, i32* %4
%41 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 1
store i32 %40, i32* %41
store i32 0, i32* %13
store i32 0, i32* %9
br label %42
42: ; preds = %60, %36
%43 = load i32, i32* %9
%44 = load i32, i32* %3
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %63
46: ; preds = %42
%47 = load i32, i32* %9
%48 = add nsw i32 %47, 1
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %48)
%50 = load i32, i32* %9
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, i32* %18, i64 %51
%53 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %52)
%54 = load i32, i32* %9
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, i32* %18, i64 %55
%57 = load i32, i32* %56
%58 = load i32, i32* %13
%59 = add nsw i32 %58, %57
store i32 %59, i32* %13
br label %60
60: ; preds = %46
%61 = load i32, i32* %9
%62 = add nsw i32 %61, 1
store i32 %62, i32* %9
br label %42
63: ; preds = %42
%64 = load i32, i32* %3
%65 = add nsw i32 1, %64
%66 = load i32, i32* %13
%67 = add nsw i32 %65, %66
%68 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 2
store i32 %67, i32* %68
%69 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 2
%70 = load i32, i32* %69
%71 = call i32* @calloc(i32 %70, i32 4)
store i32* %71, i32** %6
%72 = load i32, i32* %13
%73 = load i32*, i32** %6
%74 = getelementptr inbounds i32, i32* %73, i64 0
store i32 %72, i32* %74
store i32 0, i32* %9
br label %75
75: ; preds = %89, %63
%76 = load i32, i32* %9
%77 = load i32, i32* %3
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %92
79: ; preds = %75
%80 = load i32, i32* %9
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, i32* %18, i64 %81
%83 = load i32, i32* %82
%84 = load i32*, i32** %6
%85 = load i32, i32* %9
%86 = add nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, i32* %84, i64 %87
store i32 %83, i32* %88
br label %89
89: ; preds = %79
%90 = load i32, i32* %9
%91 = add nsw i32 %90, 1
store i32 %91, i32* %9
br label %75
92: ; preds = %75
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%94 = load i32, i32* %3
%95 = add nsw i32 %94, 1
store i32 %95, i32* %11
store i32 0, i32* %9
br label %96
96: ; preds = %126, %92
%97 = load i32, i32* %9
%98 = load i32, i32* %3
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %129
100: ; preds = %96
%101 = load i32, i32* %9
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, i32* %18, i64 %102
%104 = load i32, i32* %103
%105 = load i32, i32* %9
%106 = add nsw i32 %105, 1
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i32 %104, i32 %106)
store i32 0, i32* %10
br label %108
108: ; preds = %122, %100
%109 = load i32, i32* %10
%110 = load i32, i32* %9
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, i32* %18, i64 %111
%113 = load i32, i32* %112
%114 = icmp slt i32 %109, %113
br i1 %114, label %115, label %125
115: ; preds = %108
%116 = load i32*, i32** %6
%117 = load i32, i32* %11
%118 = add nsw i32 %117, 1
store i32 %118, i32* %11
%119 = sext i32 %117 to i64
%120 = getelementptr inbounds i32, i32* %116, i64 %119
%121 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %120)
br label %122
122: ; preds = %115
%123 = load i32, i32* %10
%124 = add nsw i32 %123, 1
store i32 %124, i32* %10
br label %108
125: ; preds = %108
br label %126
126: ; preds = %125
%127 = load i32, i32* %9
%128 = add nsw i32 %127, 1
store i32 %128, i32* %9
br label %96
129: ; preds = %96
%130 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 0
%131 = load i32*, i32** %6
%132 = call i32 @_ada_use_celcon(i32 13, i32* %130, i32* %131, double* %21)
store i32 %132, i32* %12
%133 = load i32, i32* %12
%134 = load i8*, i8** %7
ret i32 %133
}

LLVM IR (-O2):
@.str = [37 x i8] c"Give the inner normal (%d-vector) : \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.3 = [27 x i8] c" #points in support %d : \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.6 = [35 x i8] c" give %d labels for support %d : \00"
@str = [48 x i8] c"Reading the number of points in each support...\00"
@str.7 = [39 x i8] c"Reading the labels for each support...\00"
define i32 @read_mixed_cell(i32 %0, i32 %1) {
%3 = alloca [3 x i32]
%4 = bitcast [3 x i32]* %3 to i8*
%5 = zext i32 %0 to i64
%6 = tail call i8* @llvm.stacksave()
%7 = alloca i32, i64 %5
%8 = bitcast i32* %7 to i8*
%9 = zext i32 %1 to i64
%10 = alloca double, i64 %9
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i32 %1)
%12 = icmp sgt i32 %1, 0
br i1 %12, label %13, label %19
13: ; preds = %2, %13
%14 = phi i64 [ %17, %13 ], [ 0, %2 ]
%15 = getelementptr inbounds double, double* %10, i64 %14
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %15)
%17 = add nuw nsw i64 %14, 1
%18 = icmp eq i64 %17, %9
br i1 %18, label %19, label %13
19: ; preds = %13, %2
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str, i64 0, i64 0))
%21 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 0
store i32 %0, i32* %21
%22 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 1
store i32 %1, i32* %22
%23 = icmp sgt i32 %0, 0
br i1 %23, label %24, label %35
24: ; preds = %19, %24
%25 = phi i64 [ %27, %24 ], [ 0, %19 ]
%26 = phi i32 [ %33, %24 ], [ 0, %19 ]
%27 = add nuw nsw i64 %25, 1
%28 = trunc i64 %27 to i32
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds i32, i32* %7, i64 %25
%31 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %30)
%32 = load i32, i32* %30
%33 = add nsw i32 %32, %26
%34 = icmp eq i64 %27, %5
br i1 %34, label %35, label %24
35: ; preds = %24, %19
%36 = phi i32 [ 0, %19 ], [ %33, %24 ]
%37 = add nsw i32 %0, 1
%38 = add nsw i32 %36, %37
%39 = getelementptr inbounds [3 x i32], [3 x i32]* %3, i64 0, i64 2
store i32 %38, i32* %39
%40 = call i32* @calloc(i32 %38, i32 4)
store i32 %36, i32* %40
br i1 %23, label %43, label %41
41: ; preds = %35
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.7, i64 0, i64 0))
br label %74
43: ; preds = %35
%44 = getelementptr i32, i32* %40, i64 1
%45 = bitcast i32* %44 to i8*
%46 = shl nuw nsw i64 %5, 2
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.7, i64 0, i64 0))
br label %53
48: ; preds = %65
%49 = trunc i64 %68 to i32
br label %50
50: ; preds = %48, %53
%51 = phi i32 [ %55, %53 ], [ %49, %48 ]
%52 = icmp eq i64 %58, %5
br i1 %52, label %74, label %53
53: ; preds = %43, %50
%54 = phi i64 [ 0, %43 ], [ %58, %50 ]
%55 = phi i32 [ %37, %43 ], [ %51, %50 ]
%56 = getelementptr inbounds i32, i32* %7, i64 %54
%57 = load i32, i32* %56
%58 = add nuw nsw i64 %54, 1
%59 = trunc i64 %58 to i32
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), i32 %57, i32 %59)
%61 = load i32, i32* %56
%62 = icmp sgt i32 %61, 0
br i1 %62, label %63, label %50
63: ; preds = %53
%64 = sext i32 %55 to i64
br label %65
65: ; preds = %63, %65
%66 = phi i64 [ %64, %63 ], [ %68, %65 ]
%67 = phi i32 [ 0, %63 ], [ %71, %65 ]
%68 = add nsw i64 %66, 1
%69 = getelementptr inbounds i32, i32* %40, i64 %66
%70 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %69)
%71 = add nuw nsw i32 %67, 1
%72 = load i32, i32* %56
%73 = icmp slt i32 %71, %72
br i1 %73, label %65, label %48
74: ; preds = %50, %41
%75 = call i32 @_ada_use_celcon(i32 13, i32* %21, i32* %40, double* %10)
ret i32 %75
}