#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 /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ gplot(double *, int, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int main(void) {
  double h[10] = {5, 4.441, 3.824, 3.235, 2.647, 2.059, 1.471, 0.882, 0.294, 0};
  double x[20] = {0,   0,   0,   0,   0,   14, 14, 14, 14, 14,
                  -14, -14, -14, -14, -14, 0,  0,  0,  0,  0};
  double dh[10] = {0.0};
  int length = 10 + 20 - 1;
  double y[length];
  for (int n = 0; n < 20; n++) {
    for (int i = 0; i < 10; i++) {
      dh[i] = h[i] * x[n];
      y[n + i] += dh[i];
    }
  }
  FILE *fp;
  fp = fopen("response.txt", "w+");
  printf("x[t]*h[t] = ");
  for (int i = 0; i < length; i++) {
    printf("%3.2f ", y[i]);
    fprintf(fp, "%5.3f; ", y[i]);
  }
  fprintf(fp, "\n");
  fclose(fp);
  putchar('\n');
  gplot(x, 20, "Input signal");
  gplot(h, 10, "Impulse response");
  gplot(y, length, "Convolution result");
  putchar('\n');
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x190,%rsp
movl   $0x0,-0x4(%rbp)
movaps 0xeb7(%rip),%xmm0
movaps %xmm0,-0x20(%rbp)
movaps 0xe9c(%rip),%xmm0
movaps %xmm0,-0x30(%rbp)
movaps 0xe81(%rip),%xmm0
movaps %xmm0,-0x40(%rbp)
movaps 0xe66(%rip),%xmm0
movaps %xmm0,-0x50(%rbp)
movaps 0xe4b(%rip),%xmm0
movaps %xmm0,-0x60(%rbp)
lea    0xe90(%rip),%rsi
lea    -0x100(%rbp),%rdi
mov    $0xa0,%edx
call   1080 <memcpy@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,-0x110(%rbp)
movaps %xmm0,-0x120(%rbp)
movaps %xmm0,-0x130(%rbp)
movaps %xmm0,-0x140(%rbp)
movaps %xmm0,-0x150(%rbp)
movl   $0x1d,-0x154(%rbp)
mov    -0x154(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x160(%rbp)
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x188(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x168(%rbp)
movl   $0x0,-0x16c(%rbp)
cmpl   $0x14,-0x16c(%rbp)
jge    12ec <main+0x17c>
movl   $0x0,-0x170(%rbp)
cmpl   $0xa,-0x170(%rbp)
jge    12d3 <main+0x163>
mov    -0x188(%rbp),%rax
movslq -0x170(%rbp),%rcx
movsd  -0x60(%rbp,%rcx,8),%xmm0
movslq -0x16c(%rbp),%rcx
mulsd  -0x100(%rbp,%rcx,8),%xmm0
ff ff
movslq -0x170(%rbp),%rcx
movsd  %xmm0,-0x150(%rbp,%rcx,8)
ff ff
movslq -0x170(%rbp),%rcx
movsd  -0x150(%rbp,%rcx,8),%xmm0
ff ff
mov    -0x16c(%rbp),%ecx
add    -0x170(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
jmp    1255 <main+0xe5>
jmp    12d8 <main+0x168>
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    123e <main+0xce>
lea    0xdfd(%rip),%rdi
lea    0xe03(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x178(%rbp)
lea    0xdf3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x17c(%rbp)
mov    -0x17c(%rbp),%eax
cmp    -0x154(%rbp),%eax
jge    138d <main+0x21d>
mov    -0x188(%rbp),%rax
movslq -0x17c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xdc3(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    -0x188(%rbp),%rax
mov    -0x178(%rbp),%rdi
movslq -0x17c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xda2(%rip),%rsi
mov    $0x1,%al
call   1070 <fprintf@plt>
mov    -0x17c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x17c(%rbp)
jmp    131e <main+0x1ae>
mov    -0x178(%rbp),%rdi
lea    0xd81(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x178(%rbp),%rdi
call   1040 <fclose@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    -0x100(%rbp),%rdi
mov    $0x14,%esi
lea    0xd53(%rip),%rdx
call   1050 <gplot@plt>
lea    -0x60(%rbp),%rdi
mov    $0xa,%esi
lea    0xd4b(%rip),%rdx
call   1050 <gplot@plt>
mov    -0x188(%rbp),%rdi
mov    -0x154(%rbp),%esi
lea    0xd43(%rip),%rdx
call   1050 <gplot@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x160(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1f0,%rsp
movaps 0xef9(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xedd(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xec1(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xea5(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movapd 0xe88(%rip),%xmm0
movapd %xmm0,0x10(%rsp)
lea    0xecb(%rip),%rsi
lea    0x150(%rsp),%rdi
mov    $0xa0,%edx
call   1090 <memcpy@plt>
mov    %rsp,%r12
xorpd  %xmm3,%xmm3
xor    %eax,%eax
movapd 0xe07(%rip),%xmm8
movapd 0xe0e(%rip),%xmm9
movapd 0xe15(%rip),%xmm10
movapd 0xe1d(%rip),%xmm4
movsd  0xe25(%rip),%xmm5
nopl   0x0(%rax,%rax,1)
unpcklpd %xmm3,%xmm3
movapd %xmm3,%xmm7
movhpd 0x68(%rsp,%rax,8),%xmm6
mulpd  %xmm8,%xmm7
addpd  %xmm7,%xmm6
movupd %xmm6,0x60(%rsp,%rax,8)
movapd %xmm3,%xmm7
mulpd  %xmm9,%xmm7
movupd 0x70(%rsp,%rax,8),%xmm0
addpd  %xmm7,%xmm0
movupd 0x80(%rsp,%rax,8),%xmm7
movupd 0x90(%rsp,%rax,8),%xmm1
movupd 0xa0(%rsp,%rax,8),%xmm2
movupd %xmm0,0x70(%rsp,%rax,8)
movapd %xmm3,%xmm0
mulpd  %xmm10,%xmm0
addpd  %xmm7,%xmm0
movupd %xmm0,0x80(%rsp,%rax,8)
movapd %xmm3,%xmm0
mulpd  %xmm4,%xmm0
addpd  %xmm1,%xmm0
movupd %xmm0,0x90(%rsp,%rax,8)
mulpd  %xmm5,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm3,0xa0(%rsp,%rax,8)
cmp    $0x13,%rax
je     12c9 <main+0x149>
movsd  0x158(%rsp,%rax,8),%xmm3
unpckhpd %xmm6,%xmm6
add    $0x1,%rax
jmp    1220 <main+0xa0>
lea    0xe70(%rip),%rdi
lea    0xe76(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,%r13
lea    0xe6a(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe67(%rip),%r14
lea    0xe67(%rip),%r15
nopl   (%rax)
movsd  0x60(%rsp,%rbx,8),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    %r13,%rdi
mov    %r15,%rsi
movsd  0x8(%rsp),%xmm0
mov    $0x1,%al
call   1080 <fprintf@plt>
add    $0x1,%rbx
cmp    $0x1d,%rbx
jne    1300 <main+0x180>
mov    $0xa,%edi
mov    %r13,%rsi
call   1070 <fputc@plt>
mov    %r13,%rdi
call   1040 <fclose@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe13(%rip),%rdx
lea    0x150(%rsp),%rdi
mov    $0x14,%esi
call   1050 <gplot@plt>
lea    0xe07(%rip),%rdx
lea    0x10(%rsp),%rdi
mov    $0xa,%esi
call   1050 <gplot@plt>
lea    0xe02(%rip),%rdx
lea    0x60(%rsp),%rdi
mov    $0x1d,%esi
call   1050 <gplot@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r12,%rsp
xor    %eax,%eax
add    $0x1f0,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.h = [10 x double] [double 5.000000e+00, double 4.441000e+00, double 3.824000e+00, double 3.235000e+00, double 2.647000e+00, double 2.059000e+00, double 1.471000e+00, double 8.820000e-01, double 2.940000e-01, double 0.000000e+00]
@__const.main.x = [20 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]
@.str = [13 x i8] c"response.txt\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [13 x i8] c"x[t]*h[t] = \00"
@.str.3 = [7 x i8] c"%3.2f \00"
@.str.4 = [8 x i8] c"%5.3f; \00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [13 x i8] c"Input signal\00"
@.str.7 = [17 x i8] c"Impulse response\00"
@.str.8 = [19 x i8] c"Convolution result\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x double]
%3 = alloca [20 x double]
%4 = alloca [10 x double]
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i64
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32*
%11 = alloca i32
store i32 0, i32* %1
%12 = bitcast [10 x double]* %2 to i8*
%13 = bitcast [20 x double]* %3 to i8*
%14 = bitcast [10 x double]* %4 to i8*
store i32 29, i32* %5
%15 = load i32, i32* %5
%16 = zext i32 %15 to i64
%17 = call i8* @llvm.stacksave()
store i8* %17, i8** %6
%18 = alloca double, i64 %16
store i64 %16, i64* %7
store i32 0, i32* %8
br label %19
19: ; preds = %54, %0
%20 = load i32, i32* %8
%21 = icmp slt i32 %20, 20
br i1 %21, label %22, label %57
22: ; preds = %19
store i32 0, i32* %9
br label %23
23: ; preds = %50, %22
%24 = load i32, i32* %9
%25 = icmp slt i32 %24, 10
br i1 %25, label %26, label %53
26: ; preds = %23
%27 = load i32, i32* %9
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %28
%30 = load double, double* %29
%31 = load i32, i32* %8
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [20 x double], [20 x double]* %3, i64 0, i64 %32
%34 = load double, double* %33
%35 = fmul double %30, %34
%36 = load i32, i32* %9
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 0, i64 %37
store double %35, double* %38
%39 = load i32, i32* %9
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 0, i64 %40
%42 = load double, double* %41
%43 = load i32, i32* %8
%44 = load i32, i32* %9
%45 = add nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, double* %18, i64 %46
%48 = load double, double* %47
%49 = fadd double %48, %42
store double %49, double* %47
br label %50
50: ; preds = %26
%51 = load i32, i32* %9
%52 = add nsw i32 %51, 1
store i32 %52, i32* %9
br label %23
53: ; preds = %23
br label %54
54: ; preds = %53
%55 = load i32, i32* %8
%56 = add nsw i32 %55, 1
store i32 %56, i32* %8
br label %19
57: ; preds = %19
%58 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %58, i32** %10
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %11
br label %60
60: ; preds = %76, %57
%61 = load i32, i32* %11
%62 = load i32, i32* %5
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %79
64: ; preds = %60
%65 = load i32, i32* %11
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %18, i64 %66
%68 = load double, double* %67
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double %68)
%70 = load i32*, i32** %10
%71 = load i32, i32* %11
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, double* %18, i64 %72
%74 = load double, double* %73
%75 = call i32 (i32*, i8*, ...) @fprintf(i32* %70, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %74)
br label %76
76: ; preds = %64
%77 = load i32, i32* %11
%78 = add nsw i32 %77, 1
store i32 %78, i32* %11
br label %60
79: ; preds = %60
%80 = load i32*, i32** %10
%81 = call i32 (i32*, i8*, ...) @fprintf(i32* %80, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%82 = load i32*, i32** %10
%83 = call i32 @fclose(i32* %82)
%84 = call i32 @putchar(i8 signext 10)
%85 = getelementptr inbounds [20 x double], [20 x double]* %3, i64 0, i64 0
%86 = call i32 @gplot(double* %85, i32 20, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%87 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 0
%88 = call i32 @gplot(double* %87, i32 10, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%89 = load i32, i32* %5
%90 = call i32 @gplot(double* %18, i32 %89, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%91 = call i32 @putchar(i8 signext 10)
store i32 0, i32* %1
%92 = load i8*, i8** %6
%93 = load i32, i32* %1
ret i32 %93
}

LLVM IR (-O2):
@__const.main.h = [10 x double] [double 5.000000e+00, double 4.441000e+00, double 3.824000e+00, double 3.235000e+00, double 2.647000e+00, double 2.059000e+00, double 1.471000e+00, double 8.820000e-01, double 2.940000e-01, double 0.000000e+00]
@__const.main.x = [20 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double 1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double -1.400000e+01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]
@.str = [13 x i8] c"response.txt\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [13 x i8] c"x[t]*h[t] = \00"
@.str.3 = [7 x i8] c"%3.2f \00"
@.str.4 = [8 x i8] c"%5.3f; \00"
@.str.6 = [13 x i8] c"Input signal\00"
@.str.7 = [17 x i8] c"Impulse response\00"
@.str.8 = [19 x i8] c"Convolution result\00"
define i32 @main() {
%1 = alloca [10 x double]
%2 = alloca [20 x double]
%3 = bitcast [10 x double]* %1 to i8*
%4 = bitcast [20 x double]* %2 to i8*
%5 = tail call i8* @llvm.stacksave()
%6 = alloca [29 x double]
br label %7
7: ; preds = %51, %0
%8 = phi double [ undef, %0 ], [ %54, %51 ]
%9 = phi double [ 0.000000e+00, %0 ], [ %53, %51 ]
%10 = phi i64 [ 0, %0 ], [ %15, %51 ]
%11 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %10
%12 = insertelement <2 x double> poison, double %9, i64 0
%13 = shufflevector <2 x double> %12, <2 x double> poison, <2 x i32> zeroinitializer
%14 = fmul <2 x double> %13, <double 5.000000e+00, double 4.441000e+00>
%15 = add nuw nsw i64 %10, 1
%16 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %15
%17 = load double, double* %16
%18 = insertelement <2 x double> poison, double %8, i64 0
%19 = insertelement <2 x double> %18, double %17, i64 1
%20 = fadd <2 x double> %19, %14
%21 = bitcast double* %11 to <2 x double>*
store <2 x double> %20, <2 x double>* %21
%22 = add nuw nsw i64 %10, 2
%23 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %22
%24 = fmul <2 x double> %13, <double 3.824000e+00, double 3.235000e+00>
%25 = bitcast double* %23 to <2 x double>*
%26 = load <2 x double>, <2 x double>* %25
%27 = fadd <2 x double> %26, %24
%28 = bitcast double* %23 to <2 x double>*
store <2 x double> %27, <2 x double>* %28
%29 = add nuw nsw i64 %10, 4
%30 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %29
%31 = fmul <2 x double> %13, <double 2.647000e+00, double 2.059000e+00>
%32 = bitcast double* %30 to <2 x double>*
%33 = load <2 x double>, <2 x double>* %32
%34 = fadd <2 x double> %33, %31
%35 = bitcast double* %30 to <2 x double>*
store <2 x double> %34, <2 x double>* %35
%36 = add nuw nsw i64 %10, 6
%37 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %36
%38 = fmul <2 x double> %13, <double 1.471000e+00, double 8.820000e-01>
%39 = bitcast double* %37 to <2 x double>*
%40 = load <2 x double>, <2 x double>* %39
%41 = fadd <2 x double> %40, %38
%42 = bitcast double* %37 to <2 x double>*
store <2 x double> %41, <2 x double>* %42
%43 = add nuw nsw i64 %10, 8
%44 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %43
%45 = fmul <2 x double> %13, <double 2.940000e-01, double 0.000000e+00>
%46 = bitcast double* %44 to <2 x double>*
%47 = load <2 x double>, <2 x double>* %46
%48 = fadd <2 x double> %47, %45
%49 = bitcast double* %44 to <2 x double>*
store <2 x double> %48, <2 x double>* %49
%50 = icmp eq i64 %15, 20
br i1 %50, label %55, label %51
51: ; preds = %7
%52 = getelementptr inbounds [20 x double], [20 x double]* %2, i64 0, i64 %15
%53 = load double, double* %52
%54 = extractelement <2 x double> %20, i64 1
br label %7
55: ; preds = %7
%56 = tail call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
br label %69
58: ; preds = %69
%59 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 0
%60 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 0
%61 = tail call i32 @fputc(i32 10, i32* %56)
%62 = tail call i32 @fclose(i32* %56)
%63 = tail call i32 @putchar(i8 signext 10)
%64 = getelementptr inbounds [20 x double], [20 x double]* %2, i64 0, i64 0
%65 = call i32 @gplot(double* %64, i32 20, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%66 = call i32 @gplot(double* %59, i32 10, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%67 = call i32 @gplot(double* %60, i32 29, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%68 = call i32 @putchar(i8 signext 10)
ret i32 0
69: ; preds = %55, %69
%70 = phi i64 [ 0, %55 ], [ %75, %69 ]
%71 = getelementptr inbounds [29 x double], [29 x double]* %6, i64 0, i64 %70
%72 = load double, double* %71
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double %72)
%74 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %72)
%75 = add nuw nsw i64 %70, 1
%76 = icmp eq i64 %75, 29
br i1 %76, label %58, label %69
}