#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 */
typedef int uint8_t;

/* Variables and functions */
int /*<<< orphan*/ cubic1(float *, float *, int, int);
int /*<<< orphan*/ printf(char *, int, int, int);
scalar_t__ round(float);
int main() {
  float smooth[3][80] = {};
  float orig[3][16] = {{0x00, 0x04, 0x01, 0x03, 0x02, 0x01, 0x00, 0xfd, 0xe5,
                        0xfd, 0xfd, 0xd4, 0xbc, 0xf8, 0x98, 0xfd},
                       {0x00, 0xe9, 0x9f, 0x00, 0xfd, 0xc5, 0x8e, 0xf8, 0xbc,
                        0x95, 0x00, 0x00, 0x00, 0x00, 0x54, 0xfd},
                       {0x00, 0xe7, 0xf4, 0xf4, 0x02, 0x01, 0x00, 0x02, 0x00,
                        0x00, 0x00, 0x00, 0x00, 0xfd, 0xc6, 0xfd}};
  cubic1(orig[0], smooth[0], 16, 5);
  cubic1(orig[1], smooth[1], 16, 5);
  cubic1(orig[2], smooth[2], 16, 5);
  for (int i = 0; i < 80; i++)
    printf(
        "{0x%02x,0x%02x,0x%02x}\n",
        (uint8_t)round(
            (((((smooth[0][i])) > ((0x00)) ? ((smooth[0][i])) : ((0x00)))) <
                     ((0xff))
                 ? ((((smooth[0][i])) > ((0x00)) ? ((smooth[0][i])) : ((0x00))))
                 : ((0xff)))),
        (uint8_t)round(
            (((((smooth[1][i])) > ((0x00)) ? ((smooth[1][i])) : ((0x00)))) <
                     ((0xff))
                 ? ((((smooth[1][i])) > ((0x00)) ? ((smooth[1][i])) : ((0x00))))
                 : ((0xff)))),
        (uint8_t)round(
            (((((smooth[2][i])) > ((0x00)) ? ((smooth[2][i])) : ((0x00)))) <
                     ((0xff))
                 ? ((((smooth[2][i])) > ((0x00)) ? ((smooth[2][i])) : ((0x00))))
                 : ((0xff)))));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4c0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x3d0(%rbp),%rdi
xor    %esi,%esi
mov    $0x3c0,%edx
call   1050 <memset@plt>
lea    -0x490(%rbp),%rdi
lea    0xe8d(%rip),%rsi
mov    $0xc0,%edx
call   1060 <memcpy@plt>
lea    -0x490(%rbp),%rdi
lea    -0x3d0(%rbp),%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
lea    -0x490(%rbp),%rdi
add    $0x40,%rdi
lea    -0x3d0(%rbp),%rsi
add    $0x140,%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
lea    -0x490(%rbp),%rdi
add    $0x80,%rdi
lea    -0x3d0(%rbp),%rsi
add    $0x280,%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
movl   $0x0,-0x494(%rbp)
cmpl   $0x50,-0x494(%rbp)
jge    14f4 <main+0x3a4>
movslq -0x494(%rbp),%rax
movss  -0x3d0(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    124d <main+0xfd>
movslq -0x494(%rbp),%rax
movss  -0x3d0(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x498(%rbp)
ff
jmp    125d <main+0x10d>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x498(%rbp)
ff
jmp    125d <main+0x10d>
movss  -0x498(%rbp),%xmm1
ff
movss  0xd93(%rip),%xmm0
ucomiss %xmm1,%xmm0
jbe    12d4 <main+0x184>
movslq -0x494(%rbp),%rax
movss  -0x3d0(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    12af <main+0x15f>
movslq -0x494(%rbp),%rax
movss  -0x3d0(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x49c(%rbp)
ff
jmp    12bf <main+0x16f>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x49c(%rbp)
ff
jmp    12bf <main+0x16f>
movss  -0x49c(%rbp),%xmm0
ff
movss  %xmm0,-0x4a0(%rbp)
ff
jmp    12e9 <main+0x199>
movss  0xd24(%rip),%xmm0
movss  %xmm0,-0x4a0(%rbp)
ff
jmp    12e9 <main+0x199>
movss  -0x4a0(%rbp),%xmm0
ff
call   1070 <round@plt>
mov    %eax,-0x4a4(%rbp)
movslq -0x494(%rbp),%rax
movss  -0x290(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    1335 <main+0x1e5>
movslq -0x494(%rbp),%rax
movss  -0x290(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x4a8(%rbp)
ff
jmp    1345 <main+0x1f5>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4a8(%rbp)
ff
jmp    1345 <main+0x1f5>
movss  -0x4a8(%rbp),%xmm1
ff
movss  0xcab(%rip),%xmm0
ucomiss %xmm1,%xmm0
jbe    13bc <main+0x26c>
movslq -0x494(%rbp),%rax
movss  -0x290(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    1397 <main+0x247>
movslq -0x494(%rbp),%rax
movss  -0x290(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x4ac(%rbp)
ff
jmp    13a7 <main+0x257>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4ac(%rbp)
ff
jmp    13a7 <main+0x257>
movss  -0x4ac(%rbp),%xmm0
ff
movss  %xmm0,-0x4b0(%rbp)
ff
jmp    13d1 <main+0x281>
movss  0xc3c(%rip),%xmm0
movss  %xmm0,-0x4b0(%rbp)
ff
jmp    13d1 <main+0x281>
movss  -0x4b0(%rbp),%xmm0
ff
call   1070 <round@plt>
mov    %eax,-0x4b4(%rbp)
movslq -0x494(%rbp),%rax
movss  -0x150(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    141d <main+0x2cd>
movslq -0x494(%rbp),%rax
movss  -0x150(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x4b8(%rbp)
ff
jmp    142d <main+0x2dd>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4b8(%rbp)
ff
jmp    142d <main+0x2dd>
movss  -0x4b8(%rbp),%xmm1
ff
movss  0xbc3(%rip),%xmm0
ucomiss %xmm1,%xmm0
jbe    14a4 <main+0x354>
movslq -0x494(%rbp),%rax
movss  -0x150(%rbp,%rax,4),%xmm0
ff ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    147f <main+0x32f>
movslq -0x494(%rbp),%rax
movss  -0x150(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0x4bc(%rbp)
ff
jmp    148f <main+0x33f>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4bc(%rbp)
ff
jmp    148f <main+0x33f>
movss  -0x4bc(%rbp),%xmm0
ff
movss  %xmm0,-0x4c0(%rbp)
ff
jmp    14b9 <main+0x369>
movss  0xb54(%rip),%xmm0
movss  %xmm0,-0x4c0(%rbp)
ff
jmp    14b9 <main+0x369>
movss  -0x4c0(%rbp),%xmm0
ff
call   1070 <round@plt>
mov    -0x4a4(%rbp),%esi
mov    -0x4b4(%rbp),%edx
mov    %eax,%ecx
lea    0xbf5(%rip),%rdi
call   1040 <printf@plt>
mov    -0x494(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x494(%rbp)
jmp    1207 <main+0xb7>
mov    -0x4(%rbp),%eax
add    $0x4c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x488,%rsp
lea    0xc0(%rsp),%r14
mov    $0x3c0,%edx
mov    %r14,%rdi
xor    %esi,%esi
call   1050 <memset@plt>
lea    0xe94(%rip),%rsi
mov    %rsp,%rbx
mov    $0xc0,%edx
mov    %rbx,%rdi
call   1060 <memcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
lea    0x40(%rsp),%rdi
lea    0x200(%rsp),%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
lea    0x80(%rsp),%rdi
lea    0x340(%rsp),%rsi
mov    $0x10,%edx
mov    $0x5,%ecx
call   1030 <cubic1@plt>
mov    $0xffffffffffffffb0,%rbx
lea    0xee6(%rip),%r14
jmp    120e <main+0xbe>
nopl   0x0(%rax)
call   1070 <round@plt>
mov    %r14,%rdi
mov    %r15d,%esi
mov    %r12d,%edx
mov    %eax,%ecx
call   1040 <printf@plt>
inc    %rbx
je     12e7 <main+0x197>
movss  0x200(%rsp,%rbx,4),%xmm1
movaps %xmm1,%xmm0
maxss  0xde2(%rip),%xmm0
movss  0xdd6(%rip),%xmm2
ucomiss %xmm0,%xmm2
cmpnltss %xmm2,%xmm0
andps  %xmm2,%xmm0
jbe    124e <main+0xfe>
xorps  %xmm2,%xmm2
cmpltss %xmm1,%xmm2
movaps %xmm2,%xmm3
andnps %xmm0,%xmm3
andps  %xmm1,%xmm2
orps   %xmm3,%xmm2
movaps %xmm2,%xmm0
call   1070 <round@plt>
mov    %rax,%r15
movss  0x340(%rsp,%rbx,4),%xmm1
movaps %xmm1,%xmm0
maxss  0xd9a(%rip),%xmm0
movss  0xd8e(%rip),%xmm2
ucomiss %xmm0,%xmm2
cmpnltss %xmm2,%xmm0
andps  %xmm2,%xmm0
jbe    1296 <main+0x146>
xorps  %xmm2,%xmm2
cmpltss %xmm1,%xmm2
movaps %xmm2,%xmm3
andnps %xmm0,%xmm3
andps  %xmm1,%xmm2
orps   %xmm3,%xmm2
movaps %xmm2,%xmm0
call   1070 <round@plt>
mov    %rax,%r12
movss  0x480(%rsp,%rbx,4),%xmm1
movaps %xmm1,%xmm0
maxss  0xd52(%rip),%xmm0
movss  0xd46(%rip),%xmm2
ucomiss %xmm0,%xmm2
cmpnltss %xmm2,%xmm0
andps  %xmm2,%xmm0
jbe    11f0 <main+0xa0>
xorps  %xmm2,%xmm2
cmpltss %xmm1,%xmm2
movaps %xmm2,%xmm3
andnps %xmm0,%xmm3
andps  %xmm1,%xmm2
orps   %xmm3,%xmm2
movaps %xmm2,%xmm0
jmp    11f0 <main+0xa0>
xor    %eax,%eax
add    $0x488,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.orig = [3 x [16 x float]] [[16 x float] [float 0.000000e+00, float 4.000000e+00, float 1.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float 2.530000e+02, float 2.290000e+02, float 2.530000e+02, float 2.530000e+02, float 2.120000e+02, float 1.880000e+02, float 2.480000e+02, float 1.520000e+02, float 2.530000e+02], [16 x float] [float 0.000000e+00, float 2.330000e+02, float 1.590000e+02, float 0.000000e+00, float 2.530000e+02, float 1.970000e+02, float 1.420000e+02, float 2.480000e+02, float 1.880000e+02, float 1.490000e+02, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 8.400000e+01, float 2.530000e+02], [16 x float] [float 0.000000e+00, float 2.310000e+02, float 2.440000e+02, float 2.440000e+02, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float 2.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 2.530000e+02, float 1.980000e+02, float 2.530000e+02]]
@.str = [24 x i8] c"{0x%02x,0x%02x,0x%02x}\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [3 x [80 x float]]
%3 = alloca [3 x [16 x float]]
%4 = alloca i32
store i32 0, i32* %1
%5 = bitcast [3 x [80 x float]]* %2 to i8*
%6 = bitcast [3 x [16 x float]]* %3 to i8*
%7 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %3, i64 0, i64 0
%8 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 0
%9 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 0
%10 = getelementptr inbounds [80 x float], [80 x float]* %9, i64 0, i64 0
%11 = call i32 @cubic1(float* %8, float* %10, i32 16, i32 5)
%12 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %3, i64 0, i64 1
%13 = getelementptr inbounds [16 x float], [16 x float]* %12, i64 0, i64 0
%14 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 1
%15 = getelementptr inbounds [80 x float], [80 x float]* %14, i64 0, i64 0
%16 = call i32 @cubic1(float* %13, float* %15, i32 16, i32 5)
%17 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %3, i64 0, i64 2
%18 = getelementptr inbounds [16 x float], [16 x float]* %17, i64 0, i64 0
%19 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 2
%20 = getelementptr inbounds [80 x float], [80 x float]* %19, i64 0, i64 0
%21 = call i32 @cubic1(float* %18, float* %20, i32 16, i32 5)
store i32 0, i32* %4
br label %22
22: ; preds = %138, %0
%23 = load i32, i32* %4
%24 = icmp slt i32 %23, 80
br i1 %24, label %25, label %141
25: ; preds = %22
%26 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 0
%27 = load i32, i32* %4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [80 x float], [80 x float]* %26, i64 0, i64 %28
%30 = load float, float* %29
%31 = fcmp ogt float %30, 0.000000e+00
br i1 %31, label %32, label %38
32: ; preds = %25
%33 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 0
%34 = load i32, i32* %4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [80 x float], [80 x float]* %33, i64 0, i64 %35
%37 = load float, float* %36
br label %39
38: ; preds = %25
br label %39
39: ; preds = %38, %32
%40 = phi float [ %37, %32 ], [ 0.000000e+00, %38 ]
%41 = fcmp olt float %40, 2.550000e+02
br i1 %41, label %42, label %58
42: ; preds = %39
%43 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 0
%44 = load i32, i32* %4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [80 x float], [80 x float]* %43, i64 0, i64 %45
%47 = load float, float* %46
%48 = fcmp ogt float %47, 0.000000e+00
br i1 %48, label %49, label %55
49: ; preds = %42
%50 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 0
%51 = load i32, i32* %4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [80 x float], [80 x float]* %50, i64 0, i64 %52
%54 = load float, float* %53
br label %56
55: ; preds = %42
br label %56
56: ; preds = %55, %49
%57 = phi float [ %54, %49 ], [ 0.000000e+00, %55 ]
br label %59
58: ; preds = %39
br label %59
59: ; preds = %58, %56
%60 = phi float [ %57, %56 ], [ 2.550000e+02, %58 ]
%61 = call i64 @round(float %60)
%62 = trunc i64 %61 to i32
%63 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 1
%64 = load i32, i32* %4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [80 x float], [80 x float]* %63, i64 0, i64 %65
%67 = load float, float* %66
%68 = fcmp ogt float %67, 0.000000e+00
br i1 %68, label %69, label %75
69: ; preds = %59
%70 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 1
%71 = load i32, i32* %4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [80 x float], [80 x float]* %70, i64 0, i64 %72
%74 = load float, float* %73
br label %76
75: ; preds = %59
br label %76
76: ; preds = %75, %69
%77 = phi float [ %74, %69 ], [ 0.000000e+00, %75 ]
%78 = fcmp olt float %77, 2.550000e+02
br i1 %78, label %79, label %95
79: ; preds = %76
%80 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 1
%81 = load i32, i32* %4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [80 x float], [80 x float]* %80, i64 0, i64 %82
%84 = load float, float* %83
%85 = fcmp ogt float %84, 0.000000e+00
br i1 %85, label %86, label %92
86: ; preds = %79
%87 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 1
%88 = load i32, i32* %4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [80 x float], [80 x float]* %87, i64 0, i64 %89
%91 = load float, float* %90
br label %93
92: ; preds = %79
br label %93
93: ; preds = %92, %86
%94 = phi float [ %91, %86 ], [ 0.000000e+00, %92 ]
br label %96
95: ; preds = %76
br label %96
96: ; preds = %95, %93
%97 = phi float [ %94, %93 ], [ 2.550000e+02, %95 ]
%98 = call i64 @round(float %97)
%99 = trunc i64 %98 to i32
%100 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 2
%101 = load i32, i32* %4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [80 x float], [80 x float]* %100, i64 0, i64 %102
%104 = load float, float* %103
%105 = fcmp ogt float %104, 0.000000e+00
br i1 %105, label %106, label %112
106: ; preds = %96
%107 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 2
%108 = load i32, i32* %4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [80 x float], [80 x float]* %107, i64 0, i64 %109
%111 = load float, float* %110
br label %113
112: ; preds = %96
br label %113
113: ; preds = %112, %106
%114 = phi float [ %111, %106 ], [ 0.000000e+00, %112 ]
%115 = fcmp olt float %114, 2.550000e+02
br i1 %115, label %116, label %132
116: ; preds = %113
%117 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 2
%118 = load i32, i32* %4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [80 x float], [80 x float]* %117, i64 0, i64 %119
%121 = load float, float* %120
%122 = fcmp ogt float %121, 0.000000e+00
br i1 %122, label %123, label %129
123: ; preds = %116
%124 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %2, i64 0, i64 2
%125 = load i32, i32* %4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [80 x float], [80 x float]* %124, i64 0, i64 %126
%128 = load float, float* %127
br label %130
129: ; preds = %116
br label %130
130: ; preds = %129, %123
%131 = phi float [ %128, %123 ], [ 0.000000e+00, %129 ]
br label %133
132: ; preds = %113
br label %133
133: ; preds = %132, %130
%134 = phi float [ %131, %130 ], [ 2.550000e+02, %132 ]
%135 = call i64 @round(float %134)
%136 = trunc i64 %135 to i32
%137 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %62, i32 %99, i32 %136)
br label %138
138: ; preds = %133
%139 = load i32, i32* %4
%140 = add nsw i32 %139, 1
store i32 %140, i32* %4
br label %22
141: ; preds = %22
%142 = load i32, i32* %1
ret i32 %142
}

LLVM IR (-O2):
@__const.main.orig = [3 x [16 x float]] [[16 x float] [float 0.000000e+00, float 4.000000e+00, float 1.000000e+00, float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float 2.530000e+02, float 2.290000e+02, float 2.530000e+02, float 2.530000e+02, float 2.120000e+02, float 1.880000e+02, float 2.480000e+02, float 1.520000e+02, float 2.530000e+02], [16 x float] [float 0.000000e+00, float 2.330000e+02, float 1.590000e+02, float 0.000000e+00, float 2.530000e+02, float 1.970000e+02, float 1.420000e+02, float 2.480000e+02, float 1.880000e+02, float 1.490000e+02, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 8.400000e+01, float 2.530000e+02], [16 x float] [float 0.000000e+00, float 2.310000e+02, float 2.440000e+02, float 2.440000e+02, float 2.000000e+00, float 1.000000e+00, float 0.000000e+00, float 2.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 2.530000e+02, float 1.980000e+02, float 2.530000e+02]]
@.str = [24 x i8] c"{0x%02x,0x%02x,0x%02x}\0A\00"
define i32 @main() {
%1 = alloca [3 x [80 x float]]
%2 = alloca [3 x [16 x float]]
%3 = bitcast [3 x [80 x float]]* %1 to i8*
%4 = bitcast [3 x [16 x float]]* %2 to i8*
%5 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %2, i64 0, i64 0, i64 0
%6 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 0, i64 0
%7 = call i32 @cubic1(float* %5, float* %6, i32 16, i32 5)
%8 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %2, i64 0, i64 1, i64 0
%9 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 1, i64 0
%10 = call i32 @cubic1(float* %8, float* %9, i32 16, i32 5)
%11 = getelementptr inbounds [3 x [16 x float]], [3 x [16 x float]]* %2, i64 0, i64 2, i64 0
%12 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 2, i64 0
%13 = call i32 @cubic1(float* %11, float* %12, i32 16, i32 5)
br label %15
14: ; preds = %15
ret i32 0
15: ; preds = %0, %15
%16 = phi i64 [ 0, %0 ], [ %51, %15 ]
%17 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 0, i64 %16
%18 = load float, float* %17
%19 = fcmp ogt float %18, 0.000000e+00
%20 = select i1 %19, float %18, float 0.000000e+00
%21 = fcmp uge float %20, 2.550000e+02
%22 = xor i1 %19, true
%23 = or i1 %21, %22
%24 = select i1 %21, float 2.550000e+02, float 0.000000e+00
%25 = select i1 %23, float %24, float %18
%26 = call i64 @round(float %25)
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 1, i64 %16
%29 = load float, float* %28
%30 = fcmp ogt float %29, 0.000000e+00
%31 = select i1 %30, float %29, float 0.000000e+00
%32 = fcmp uge float %31, 2.550000e+02
%33 = xor i1 %30, true
%34 = or i1 %32, %33
%35 = select i1 %32, float 2.550000e+02, float 0.000000e+00
%36 = select i1 %34, float %35, float %29
%37 = call i64 @round(float %36)
%38 = trunc i64 %37 to i32
%39 = getelementptr inbounds [3 x [80 x float]], [3 x [80 x float]]* %1, i64 0, i64 2, i64 %16
%40 = load float, float* %39
%41 = fcmp ogt float %40, 0.000000e+00
%42 = select i1 %41, float %40, float 0.000000e+00
%43 = fcmp uge float %42, 2.550000e+02
%44 = xor i1 %41, true
%45 = or i1 %43, %44
%46 = select i1 %43, float 2.550000e+02, float 0.000000e+00
%47 = select i1 %45, float %46, float %40
%48 = call i64 @round(float %47)
%49 = trunc i64 %48 to i32
%50 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %27, i32 %38, i32 %49)
%51 = add nuw nsw i64 %16, 1
%52 = icmp eq i64 %51, 80
br i1 %52, label %14, label %15
}