#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 /*<<< orphan*/ fwt97(double *, int);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  double x[32];
  int i;
  for (i = 0; i < 32; i++)
    x[i] = 5 + i + 0.4 * i * i - 0.02 * i * i * i;
  printf("Original signal:\n");
  for (i = 0; i < 32; i++)
    printf("x[%d]=%f\n", i, x[i]);
  printf("\n");
  fwt97(x, 32);
  printf("Wavelets coefficients:\n");
  for (i = 0; i < 32; i++)
    printf("wc[%d]=%f\n", i, x[i]);
  printf("\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x114(%rbp)
cmpl   $0x20,-0x114(%rbp)
jge    11e5 <main+0xc5>
mov    -0x114(%rbp),%eax
add    $0x5,%eax
cvtsi2sd %eax,%xmm0
cvtsi2sdl -0x114(%rbp),%xmm2
ff
movsd  0xea2(%rip),%xmm1
mulsd  %xmm2,%xmm1
cvtsi2sdl -0x114(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
cvtsi2sdl -0x114(%rbp),%xmm2
ff
movsd  0xe76(%rip),%xmm0
mulsd  %xmm2,%xmm0
cvtsi2sdl -0x114(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
cvtsi2sdl -0x114(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x114(%rbp),%rax
movsd  %xmm0,-0x110(%rbp,%rax,8)
ff ff
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    113c <main+0x1c>
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x20,-0x114(%rbp)
jge    1242 <main+0x122>
mov    -0x114(%rbp),%esi
movslq -0x114(%rbp),%rax
movsd  -0x110(%rbp,%rax,8),%xmm0
ff ff
lea    0xdfb(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    11fd <main+0xdd>
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x110(%rbp),%rdi
mov    $0x20,%esi
call   1040 <fwt97@plt>
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x20,-0x114(%rbp)
jge    12be <main+0x19e>
mov    -0x114(%rbp),%esi
movslq -0x114(%rbp),%rax
movsd  -0x110(%rbp,%rax,8),%xmm0
ff ff
lea    0xda1(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    1279 <main+0x159>
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x100,%rsp
movdqa 0xeb0(%rip),%xmm0
xor    %eax,%eax
movdqa 0xeb5(%rip),%xmm8
movapd 0xebd(%rip),%xmm2
movapd 0xec5(%rip),%xmm3
movdqa 0xecd(%rip),%xmm4
movdqa %xmm0,%xmm5
nopw   0x0(%rax,%rax,1)
movdqa %xmm0,%xmm6
paddd  %xmm8,%xmm6
cvtdq2pd %xmm6,%xmm6
cvtdq2pd %xmm5,%xmm1
movapd %xmm1,%xmm7
mulpd  %xmm2,%xmm7
mulpd  %xmm1,%xmm7
addpd  %xmm6,%xmm7
movapd %xmm1,%xmm6
mulpd  %xmm3,%xmm6
mulpd  %xmm1,%xmm6
mulpd  %xmm1,%xmm6
addpd  %xmm7,%xmm6
movapd %xmm6,(%rsp,%rax,8)
add    $0x2,%rax
paddd  %xmm4,%xmm0
paddd  %xmm4,%xmm5
cmp    $0x20,%rax
jne    1180 <main+0x40>
lea    0xe92(%rip),%rdi
call   1040 <puts@plt>
movsd  (%rsp),%xmm0
lea    0xe6c(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x18(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x20(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x28(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x5,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x30(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x38(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x40(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x48(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x50(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x58(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xb,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x60(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xc,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x68(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xd,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x70(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xe,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x78(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xf,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x80(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x10,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x88(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x11,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x90(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x98(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x13,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xa0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x14,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xa8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x15,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x16,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x17,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xc0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x18,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xc8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x19,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xd0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1a,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xd8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1b,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xe0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1c,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xe8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1d,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xf0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1e,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xf8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1f,%esi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rsp,%rdi
mov    $0x20,%esi
call   1060 <fwt97@plt>
lea    0xbad(%rip),%rdi
call   1040 <puts@plt>
movsd  (%rsp),%xmm0
lea    0xb80(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x18(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x20(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x28(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x5,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x30(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x38(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x40(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x48(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x50(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x58(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xb,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x60(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xc,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x68(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xd,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x70(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xe,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x78(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0xf,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x80(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x10,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x88(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x11,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x90(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x98(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x13,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xa0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x14,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xa8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x15,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x16,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x17,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xc0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x18,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xc8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x19,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xd0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1a,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xd8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1b,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xe0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1c,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xe8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1d,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xf0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1e,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xf8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1f,%esi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x100,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"Original signal:\0A\00"
@.str.1 = [10 x i8] c"x[%d]=%f\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [24 x i8] c"Wavelets coefficients:\0A\00"
@.str.4 = [11 x i8] c"wc[%d]=%f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [32 x double]
%3 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
br label %4
4: ; preds = %30, %0
%5 = load i32, i32* %3
%6 = icmp slt i32 %5, 32
br i1 %6, label %7, label %33
7: ; preds = %4
%8 = load i32, i32* %3
%9 = add nsw i32 5, %8
%10 = sitofp i32 %9 to double
%11 = load i32, i32* %3
%12 = sitofp i32 %11 to double
%13 = fmul double 4.000000e-01, %12
%14 = load i32, i32* %3
%15 = sitofp i32 %14 to double
%16 = call double @llvm.fmuladd.f64(double %13, double %15, double %10)
%17 = load i32, i32* %3
%18 = sitofp i32 %17 to double
%19 = fmul double 2.000000e-02, %18
%20 = load i32, i32* %3
%21 = sitofp i32 %20 to double
%22 = fmul double %19, %21
%23 = load i32, i32* %3
%24 = sitofp i32 %23 to double
%25 = fneg double %22
%26 = call double @llvm.fmuladd.f64(double %25, double %24, double %16)
%27 = load i32, i32* %3
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [32 x double], [32 x double]* %2, i64 0, i64 %28
store double %26, double* %29
br label %30
30: ; preds = %7
%31 = load i32, i32* %3
%32 = add nsw i32 %31, 1
store i32 %32, i32* %3
br label %4
33: ; preds = %4
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %35
35: ; preds = %45, %33
%36 = load i32, i32* %3
%37 = icmp slt i32 %36, 32
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i32, i32* %3
%40 = load i32, i32* %3
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [32 x double], [32 x double]* %2, i64 0, i64 %41
%43 = load double, double* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 %39, double %43)
br label %45
45: ; preds = %38
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 1
store i32 %47, i32* %3
br label %35
48: ; preds = %35
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%50 = getelementptr inbounds [32 x double], [32 x double]* %2, i64 0, i64 0
%51 = call i32 @fwt97(double* %50, i32 32)
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %3
br label %53
53: ; preds = %63, %48
%54 = load i32, i32* %3
%55 = icmp slt i32 %54, 32
br i1 %55, label %56, label %66
56: ; preds = %53
%57 = load i32, i32* %3
%58 = load i32, i32* %3
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [32 x double], [32 x double]* %2, i64 0, i64 %59
%61 = load double, double* %60
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %57, double %61)
br label %63
63: ; preds = %56
%64 = load i32, i32* %3
%65 = add nsw i32 %64, 1
store i32 %65, i32* %3
br label %53
66: ; preds = %53
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%68 = load i32, i32* %1
ret i32 %68
}

LLVM IR (-O2):
@.str.1 = [10 x i8] c"x[%d]=%f\0A\00"
@.str.4 = [11 x i8] c"wc[%d]=%f\0A\00"
@str = [17 x i8] c"Original signal:\00"
@str.5 = [23 x i8] c"Wavelets coefficients:\00"
define i32 @main() {
%1 = alloca [32 x double]
%2 = bitcast [32 x double]* %1 to i8*
br label %3
3: ; preds = %3, %0
%4 = phi i64 [ 0, %0 ], [ %17, %3 ]
%5 = phi <2 x i32> [ <i32 0, i32 1>, %0 ], [ %18, %3 ]
%6 = phi <2 x i32> [ <i32 0, i32 1>, %0 ], [ %19, %3 ]
%7 = add <2 x i32> %5, <i32 5, i32 5>
%8 = sitofp <2 x i32> %7 to <2 x double>
%9 = sitofp <2 x i32> %6 to <2 x double>
%10 = fmul <2 x double> %9, <double 4.000000e-01, double 4.000000e-01>
%11 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %10, <2 x double> %9, <2 x double> %8)
%12 = fmul <2 x double> %9, <double -2.000000e-02, double -2.000000e-02>
%13 = fmul <2 x double> %12, %9
%14 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> %9, <2 x double> %11)
%15 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 %4
%16 = bitcast double* %15 to <2 x double>*
store <2 x double> %14, <2 x double>* %16
%17 = add nuw i64 %4, 2
%18 = add <2 x i32> %5, <i32 2, i32 2>
%19 = add <2 x i32> %6, <i32 2, i32 2>
%20 = icmp eq i64 %17, 32
br i1 %20, label %21, label %3
21: ; preds = %3
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%23 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 0
%24 = load double, double* %23
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 0, double %24)
%26 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 1
%27 = load double, double* %26
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 1, double %27)
%29 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 2
%30 = load double, double* %29
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 2, double %30)
%32 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 3
%33 = load double, double* %32
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 3, double %33)
%35 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 4
%36 = load double, double* %35
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 4, double %36)
%38 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 5
%39 = load double, double* %38
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 5, double %39)
%41 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 6
%42 = load double, double* %41
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 6, double %42)
%44 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 7
%45 = load double, double* %44
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 7, double %45)
%47 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 8
%48 = load double, double* %47
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 8, double %48)
%50 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 9
%51 = load double, double* %50
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 9, double %51)
%53 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 10
%54 = load double, double* %53
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 10, double %54)
%56 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 11
%57 = load double, double* %56
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 11, double %57)
%59 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 12
%60 = load double, double* %59
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 12, double %60)
%62 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 13
%63 = load double, double* %62
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 13, double %63)
%65 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 14
%66 = load double, double* %65
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 14, double %66)
%68 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 15
%69 = load double, double* %68
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 15, double %69)
%71 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 16
%72 = load double, double* %71
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 16, double %72)
%74 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 17
%75 = load double, double* %74
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 17, double %75)
%77 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 18
%78 = load double, double* %77
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 18, double %78)
%80 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 19
%81 = load double, double* %80
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 19, double %81)
%83 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 20
%84 = load double, double* %83
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 20, double %84)
%86 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 21
%87 = load double, double* %86
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 21, double %87)
%89 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 22
%90 = load double, double* %89
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 22, double %90)
%92 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 23
%93 = load double, double* %92
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 23, double %93)
%95 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 24
%96 = load double, double* %95
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 24, double %96)
%98 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 25
%99 = load double, double* %98
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 25, double %99)
%101 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 26
%102 = load double, double* %101
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 26, double %102)
%104 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 27
%105 = load double, double* %104
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 27, double %105)
%107 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 28
%108 = load double, double* %107
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 28, double %108)
%110 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 29
%111 = load double, double* %110
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 29, double %111)
%113 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 30
%114 = load double, double* %113
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 30, double %114)
%116 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 31
%117 = load double, double* %116
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 31, double %117)
%119 = tail call i32 @putchar(i32 10)
%120 = call i32 @fwt97(double* %23, i32 32)
%121 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.5, i64 0, i64 0))
%122 = load double, double* %23
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 0, double %122)
%124 = load double, double* %26
%125 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 1, double %124)
%126 = load double, double* %29
%127 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 2, double %126)
%128 = load double, double* %32
%129 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 3, double %128)
%130 = load double, double* %35
%131 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 4, double %130)
%132 = load double, double* %38
%133 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 5, double %132)
%134 = load double, double* %41
%135 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 6, double %134)
%136 = load double, double* %44
%137 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 7, double %136)
%138 = load double, double* %47
%139 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 8, double %138)
%140 = load double, double* %50
%141 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 9, double %140)
%142 = load double, double* %53
%143 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 10, double %142)
%144 = load double, double* %56
%145 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 11, double %144)
%146 = load double, double* %59
%147 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 12, double %146)
%148 = load double, double* %62
%149 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 13, double %148)
%150 = load double, double* %65
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 14, double %150)
%152 = load double, double* %68
%153 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 15, double %152)
%154 = load double, double* %71
%155 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 16, double %154)
%156 = load double, double* %74
%157 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 17, double %156)
%158 = load double, double* %77
%159 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 18, double %158)
%160 = load double, double* %80
%161 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 19, double %160)
%162 = load double, double* %83
%163 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 20, double %162)
%164 = load double, double* %86
%165 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 21, double %164)
%166 = load double, double* %89
%167 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 22, double %166)
%168 = load double, double* %92
%169 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 23, double %168)
%170 = load double, double* %95
%171 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 24, double %170)
%172 = load double, double* %98
%173 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 25, double %172)
%174 = load double, double* %101
%175 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 26, double %174)
%176 = load double, double* %104
%177 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 27, double %176)
%178 = load double, double* %107
%179 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 28, double %178)
%180 = load double, double* %110
%181 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 29, double %180)
%182 = load double, double* %113
%183 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 30, double %182)
%184 = load double, double* %116
%185 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 31, double %184)
%186 = call i32 @putchar(i32 10)
ret i32 0
}