#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 *);
scalar_t__ getc(int /*<<< orphan*/ *);
void mp_mul_f_cmul(int nfft, char *f_name_in, double dinout[]) {
  int j, k;
  double xr, xi, yr, yi, din[3];
  char *cin;
  FILE *f_in;
  cin = (char *)din;
  f_in = fopen(f_name_in, "rb");
  for (k = 0; k < 3 * (int)sizeof(double); k++) {
    cin[k] = (char)getc(f_in);
  }
  dinout[0] += din[0];
  dinout[1] *= din[1];
  dinout[2] *= din[2];
  for (j = 3; j < nfft; j += 2) {
    for (k = 0; k < 2 * (int)sizeof(double); k++) {
      cin[k] = (char)getc(f_in);
    }
    xr = din[0];
    xi = din[1];
    yr = dinout[j];
    yi = dinout[j + 1];
    dinout[j] = xr * yr - xi * yi;
    dinout[j + 1] = xr * yi + xi * yr;
  }
  for (k = 0; k < (int)sizeof(double); k++) {
    cin[k] = (char)getc(f_in);
  }
  dinout[nfft + 1] *= din[0];
  fclose(f_in);
}


x86 assembly (clang, -O0):
<mp_mul_f_cmul>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    -0x60(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xeaa(%rip),%rsi
call   1040 <fopen@plt>
mov    %rax,-0x70(%rbp)
movl   $0x0,-0x20(%rbp)
cmpl   $0x18,-0x20(%rbp)
jge    1194 <mp_mul_f_cmul+0x64>
mov    -0x70(%rbp),%rdi
call   1050 <getc@plt>
mov    %al,%dl
mov    -0x68(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1166 <mp_mul_f_cmul+0x36>
movsd  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,0x10(%rax)
movl   $0x3,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12cc <mp_mul_f_cmul+0x19c>
movl   $0x0,-0x20(%rbp)
cmpl   $0x10,-0x20(%rbp)
jge    1213 <mp_mul_f_cmul+0xe3>
mov    -0x70(%rbp),%rdi
call   1050 <getc@plt>
mov    %al,%dl
mov    -0x68(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11e5 <mp_mul_f_cmul+0xb5>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x28(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x1c(%rbp)
jmp    11d2 <mp_mul_f_cmul+0xa2>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    1301 <mp_mul_f_cmul+0x1d1>
mov    -0x70(%rbp),%rdi
call   1050 <getc@plt>
mov    %al,%dl
mov    -0x68(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12d3 <mp_mul_f_cmul+0x1a3>
movsd  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x4(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x70(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mp_mul_f_cmul>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rdx,%r15
mov    %rsi,%rax
mov    %edi,%r12d
lea    0xf2f(%rip),%rsi
mov    %rax,%rdi
call   1040 <fopen@plt>
mov    %rax,%r14
mov    %rax,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x8,%eax
movzwl %ax,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
shl    $0x10,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x18,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
shl    $0x20,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebx
shl    $0x28,%rbx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x38,%rax
movzbl %bpl,%ecx
shl    $0x30,%rcx
or     %rbx,%rcx
or     %rax,%rcx
mov    %rcx,(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%r13
shl    $0x8,%r13d
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,0x20(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,0x30(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,0x40(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,0x50(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,0x68(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movd   %r13d,%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
pand   0xd94(%rip),%xmm1
movdqa %xmm1,0x10(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x8,%eax
movq   %rbx,%xmm1
movd   %eax,%xmm0
punpcklqdq %xmm0,%xmm1
pand   0xd7e(%rip),%xmm1
por    0x10(%rsp),%xmm1
movdqa %xmm1,0x10(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   %rbp,%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
psllq  $0x10,%xmm1
pand   0xd5f(%rip),%xmm1
movdqa %xmm1,0x70(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   0x20(%rsp),%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
psllq  $0x18,%xmm1
pand   0xd45(%rip),%xmm1
por    0x70(%rsp),%xmm1
por    0x10(%rsp),%xmm1
movdqa %xmm1,0x20(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   0x30(%rsp),%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
psllq  $0x20,%xmm1
pand   0xd1f(%rip),%xmm1
movdqa %xmm1,0x30(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   0x40(%rsp),%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
psllq  $0x28,%xmm1
pand   0xd05(%rip),%xmm1
por    0x30(%rsp),%xmm1
movdqa %xmm1,0x40(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   0x50(%rsp),%xmm1
movq   %rax,%xmm0
punpcklqdq %xmm0,%xmm1
psllq  $0x30,%xmm1
movdqa %xmm1,0x50(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movq   0x68(%rsp),%xmm0
movq   %rax,%xmm1
punpcklqdq %xmm1,%xmm0
psllq  $0x38,%xmm0
movdqa 0x50(%rsp),%xmm1
pand   0xcbd(%rip),%xmm1
por    0x40(%rsp),%xmm1
por    0x20(%rsp),%xmm1
por    %xmm0,%xmm1
movsd  (%rsp),%xmm0
addsd  (%r15),%xmm0
movsd  %xmm0,(%r15)
movupd 0x8(%r15),%xmm0
mulpd  %xmm1,%xmm0
movupd %xmm0,0x8(%r15)
cmp    $0x4,%r12d
jl     15a3 <mp_mul_f_cmul+0x473>
mov    $0x3,%eax
mov    %r12d,0xc(%rsp)
cs nopw 0x0(%rax,%rax,1)
mov    %rax,(%rsp)
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x8,%eax
movzwl %ax,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
shl    $0x10,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x18,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
shl    $0x20,%rbp
movabs $0xff00000000,%rax
and    %rax,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x28,%rbx
movabs $0xff0000000000,%rax
and    %rax,%rbx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%r13
shl    $0x30,%r13
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x38,%rax
movabs $0xff000000000000,%rcx
and    %rcx,%r13
or     %rbx,%r13
or     %rax,%r13
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebx
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x8,%eax
movzwl %ax,%ebp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %r15,%r12
movzbl %al,%r15d
shl    $0x10,%r15
or     %rbp,%r15
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x18,%ebx
or     %r15,%rbx
mov    %r12,%r15
mov    0xc(%rsp),%r12d
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
shl    $0x20,%rbp
movabs $0xff00000000,%rax
and    %rax,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x28,%rbx
movabs $0xff0000000000,%rax
and    %rax,%rbx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
shl    $0x30,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x38,%rax
movabs $0xff000000000000,%rcx
and    %rcx,%rbp
or     %rbx,%rbp
or     %rax,%rbp
mov    (%rsp),%rax
movq   %rbp,%xmm0
movupd (%r15,%rax,8),%xmm1
movdqa %xmm0,%xmm2
pxor   0xaff(%rip),%xmm2
punpcklqdq %xmm0,%xmm2
movq   %r13,%xmm0
pshufd $0x44,%xmm0,%xmm0
mulpd  %xmm1,%xmm0
shufpd $0x1,%xmm1,%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm1,%xmm0
movupd %xmm0,(%r15,%rax,8)
add    $0x2,%rax
cmp    %r12d,%eax
jl     13f0 <mp_mul_f_cmul+0x2c0>
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x8,%eax
movzwl %ax,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
movzbl %al,%ebp
shl    $0x10,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x18,%ebx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
shl    $0x20,%rbp
movabs $0xff00000000,%rax
and    %rax,%rbp
or     %rbx,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbx
shl    $0x28,%rbx
movabs $0xff0000000000,%rax
and    %rax,%rbx
or     %rbp,%rbx
mov    %r14,%rdi
call   1050 <getc@plt>
mov    %rax,%rbp
shl    $0x30,%rbp
mov    %r14,%rdi
call   1050 <getc@plt>
shl    $0x38,%rax
movabs $0xff000000000000,%rcx
and    %rcx,%rbp
or     %rbx,%rbp
or     %rax,%rbp
movq   %rbp,%xmm0
movslq %r12d,%rax
mulsd  0x8(%r15,%rax,8),%xmm0
movsd  %xmm0,0x8(%r15,%rax,8)
mov    %r14,%rdi
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fclose@plt>

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

LLVM IR (-O2):
@.str = [3 x i8] c"rb\00"
define void @mp_mul_f_cmul(i32 %0, i8* nocapture %1, double* nocapture %2) {
%4 = tail call i32* @fopen(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%5 = tail call i64 @getc(i32* %4)
%6 = and i64 %5, 255
%7 = tail call i64 @getc(i32* %4)
%8 = shl i64 %7, 8
%9 = and i64 %8, 65280
%10 = or i64 %6, %9
%11 = tail call i64 @getc(i32* %4)
%12 = shl i64 %11, 16
%13 = and i64 %12, 16711680
%14 = or i64 %10, %13
%15 = tail call i64 @getc(i32* %4)
%16 = shl i64 %15, 24
%17 = and i64 %16, 4278190080
%18 = or i64 %14, %17
%19 = tail call i64 @getc(i32* %4)
%20 = shl i64 %19, 32
%21 = and i64 %20, 1095216660480
%22 = or i64 %18, %21
%23 = tail call i64 @getc(i32* %4)
%24 = shl i64 %23, 40
%25 = and i64 %24, 280375465082880
%26 = tail call i64 @getc(i32* %4)
%27 = shl i64 %26, 48
%28 = or i64 %22, %25
%29 = tail call i64 @getc(i32* %4)
%30 = shl i64 %29, 56
%31 = and i64 %27, 71776119061217280
%32 = or i64 %28, %31
%33 = or i64 %32, %30
%34 = bitcast i64 %33 to double
%35 = tail call i64 @getc(i32* %4)
%36 = tail call i64 @getc(i32* %4)
%37 = shl i64 %36, 8
%38 = tail call i64 @getc(i32* %4)
%39 = tail call i64 @getc(i32* %4)
%40 = tail call i64 @getc(i32* %4)
%41 = tail call i64 @getc(i32* %4)
%42 = tail call i64 @getc(i32* %4)
%43 = tail call i64 @getc(i32* %4)
%44 = tail call i64 @getc(i32* %4)
%45 = insertelement <2 x i64> poison, i64 %37, i64 0
%46 = insertelement <2 x i64> %45, i64 %44, i64 1
%47 = and <2 x i64> %46, <i64 65280, i64 255>
%48 = tail call i64 @getc(i32* %4)
%49 = shl i64 %48, 8
%50 = insertelement <2 x i64> poison, i64 %35, i64 0
%51 = insertelement <2 x i64> %50, i64 %49, i64 1
%52 = and <2 x i64> %51, <i64 255, i64 65280>
%53 = or <2 x i64> %47, %52
%54 = tail call i64 @getc(i32* %4)
%55 = insertelement <2 x i64> poison, i64 %38, i64 0
%56 = insertelement <2 x i64> %55, i64 %54, i64 1
%57 = shl <2 x i64> %56, <i64 16, i64 16>
%58 = and <2 x i64> %57, <i64 16711680, i64 16711680>
%59 = or <2 x i64> %53, %58
%60 = tail call i64 @getc(i32* %4)
%61 = insertelement <2 x i64> poison, i64 %39, i64 0
%62 = insertelement <2 x i64> %61, i64 %60, i64 1
%63 = shl <2 x i64> %62, <i64 24, i64 24>
%64 = and <2 x i64> %63, <i64 4278190080, i64 4278190080>
%65 = or <2 x i64> %59, %64
%66 = tail call i64 @getc(i32* %4)
%67 = insertelement <2 x i64> poison, i64 %40, i64 0
%68 = insertelement <2 x i64> %67, i64 %66, i64 1
%69 = shl <2 x i64> %68, <i64 32, i64 32>
%70 = and <2 x i64> %69, <i64 1095216660480, i64 1095216660480>
%71 = or <2 x i64> %65, %70
%72 = tail call i64 @getc(i32* %4)
%73 = insertelement <2 x i64> poison, i64 %41, i64 0
%74 = insertelement <2 x i64> %73, i64 %72, i64 1
%75 = shl <2 x i64> %74, <i64 40, i64 40>
%76 = and <2 x i64> %75, <i64 280375465082880, i64 280375465082880>
%77 = tail call i64 @getc(i32* %4)
%78 = insertelement <2 x i64> poison, i64 %42, i64 0
%79 = insertelement <2 x i64> %78, i64 %77, i64 1
%80 = shl <2 x i64> %79, <i64 48, i64 48>
%81 = or <2 x i64> %71, %76
%82 = tail call i64 @getc(i32* %4)
%83 = insertelement <2 x i64> poison, i64 %43, i64 0
%84 = insertelement <2 x i64> %83, i64 %82, i64 1
%85 = shl <2 x i64> %84, <i64 56, i64 56>
%86 = and <2 x i64> %80, <i64 71776119061217280, i64 71776119061217280>
%87 = or <2 x i64> %81, %86
%88 = or <2 x i64> %87, %85
%89 = bitcast <2 x i64> %88 to <2 x double>
%90 = load double, double* %2
%91 = fadd double %90, %34
store double %91, double* %2
%92 = getelementptr inbounds double, double* %2, i64 1
%93 = bitcast double* %92 to <2 x double>*
%94 = load <2 x double>, <2 x double>* %93
%95 = fmul <2 x double> %94, %89
%96 = bitcast double* %92 to <2 x double>*
store <2 x double> %95, <2 x double>* %96
%97 = icmp sgt i32 %0, 3
br i1 %97, label %98, label %175
98: ; preds = %3, %98
%99 = phi i64 [ %172, %98 ], [ 3, %3 ]
%100 = tail call i64 @getc(i32* %4)
%101 = and i64 %100, 255
%102 = tail call i64 @getc(i32* %4)
%103 = shl i64 %102, 8
%104 = and i64 %103, 65280
%105 = or i64 %101, %104
%106 = tail call i64 @getc(i32* %4)
%107 = shl i64 %106, 16
%108 = and i64 %107, 16711680
%109 = or i64 %105, %108
%110 = tail call i64 @getc(i32* %4)
%111 = shl i64 %110, 24
%112 = and i64 %111, 4278190080
%113 = or i64 %109, %112
%114 = tail call i64 @getc(i32* %4)
%115 = shl i64 %114, 32
%116 = and i64 %115, 1095216660480
%117 = or i64 %113, %116
%118 = tail call i64 @getc(i32* %4)
%119 = shl i64 %118, 40
%120 = and i64 %119, 280375465082880
%121 = tail call i64 @getc(i32* %4)
%122 = shl i64 %121, 48
%123 = or i64 %117, %120
%124 = tail call i64 @getc(i32* %4)
%125 = shl i64 %124, 56
%126 = and i64 %122, 71776119061217280
%127 = or i64 %123, %126
%128 = or i64 %127, %125
%129 = tail call i64 @getc(i32* %4)
%130 = and i64 %129, 255
%131 = tail call i64 @getc(i32* %4)
%132 = shl i64 %131, 8
%133 = and i64 %132, 65280
%134 = or i64 %130, %133
%135 = tail call i64 @getc(i32* %4)
%136 = shl i64 %135, 16
%137 = and i64 %136, 16711680
%138 = or i64 %134, %137
%139 = tail call i64 @getc(i32* %4)
%140 = shl i64 %139, 24
%141 = and i64 %140, 4278190080
%142 = or i64 %138, %141
%143 = tail call i64 @getc(i32* %4)
%144 = shl i64 %143, 32
%145 = and i64 %144, 1095216660480
%146 = or i64 %142, %145
%147 = tail call i64 @getc(i32* %4)
%148 = shl i64 %147, 40
%149 = and i64 %148, 280375465082880
%150 = tail call i64 @getc(i32* %4)
%151 = shl i64 %150, 48
%152 = or i64 %146, %149
%153 = tail call i64 @getc(i32* %4)
%154 = shl i64 %153, 56
%155 = and i64 %151, 71776119061217280
%156 = or i64 %152, %155
%157 = or i64 %156, %154
%158 = bitcast i64 %157 to double
%159 = getelementptr inbounds double, double* %2, i64 %99
%160 = bitcast double* %159 to <2 x double>*
%161 = load <2 x double>, <2 x double>* %160
%162 = fneg double %158
%163 = insertelement <2 x double> poison, double %158, i64 0
%164 = insertelement <2 x double> %163, double %162, i64 1
%165 = fmul <2 x double> %161, %164
%166 = shufflevector <2 x double> %165, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%167 = insertelement <2 x i64> undef, i64 %128, i64 0
%168 = bitcast <2 x i64> %167 to <2 x double>
%169 = shufflevector <2 x double> %168, <2 x double> poison, <2 x i32> zeroinitializer
%170 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %169, <2 x double> %161, <2 x double> %166)
%171 = bitcast double* %159 to <2 x double>*
store <2 x double> %170, <2 x double>* %171
%172 = add nuw i64 %99, 2
%173 = trunc i64 %172 to i32
%174 = icmp slt i32 %173, %0
br i1 %174, label %98, label %175
175: ; preds = %98, %3
%176 = tail call i64 @getc(i32* %4)
%177 = and i64 %176, 255
%178 = tail call i64 @getc(i32* %4)
%179 = shl i64 %178, 8
%180 = and i64 %179, 65280
%181 = or i64 %177, %180
%182 = tail call i64 @getc(i32* %4)
%183 = shl i64 %182, 16
%184 = and i64 %183, 16711680
%185 = or i64 %181, %184
%186 = tail call i64 @getc(i32* %4)
%187 = shl i64 %186, 24
%188 = and i64 %187, 4278190080
%189 = or i64 %185, %188
%190 = tail call i64 @getc(i32* %4)
%191 = shl i64 %190, 32
%192 = and i64 %191, 1095216660480
%193 = or i64 %189, %192
%194 = tail call i64 @getc(i32* %4)
%195 = shl i64 %194, 40
%196 = and i64 %195, 280375465082880
%197 = tail call i64 @getc(i32* %4)
%198 = shl i64 %197, 48
%199 = or i64 %193, %196
%200 = tail call i64 @getc(i32* %4)
%201 = shl i64 %200, 56
%202 = and i64 %198, 71776119061217280
%203 = or i64 %199, %202
%204 = or i64 %203, %201
%205 = bitcast i64 %204 to double
%206 = add nsw i32 %0, 1
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds double, double* %2, i64 %207
%209 = load double, double* %208
%210 = fmul double %209, %205
store double %210, double* %208
%211 = tail call i32 @fclose(i32* %4)
ret void
}