#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 */
double RAND_MAX;
int /*<<< orphan*/ dd_cos(double *, double *);
int /*<<< orphan*/ dd_inc(double *, double *);
int /*<<< orphan*/ dd_sin(double *, double *);
int /*<<< orphan*/ dd_sqr(double *, double *);
int /*<<< orphan*/ dd_write(double *, int);
int /*<<< orphan*/ printf(char *);
scalar_t__ rand();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int test_sincos(void) {
  const double pi16_hi = 1.963495408493620697e-01;
  const double pi16_lo = 7.654042494670957545e-18;
  double rnd;
  srand(time(NULL));
  rnd = (double)rand();
  rnd = rnd / RAND_MAX;
  rnd = 6.0 * rnd - 3.0;
  double ddrnd[2];
  ddrnd[0] = rnd;
  ddrnd[1] = 0.0;
  printf("test on sin and cos of a random number r ...\n");
  printf("r : ");
  dd_write(ddrnd, 32);
  printf("\n");
  double sinrnd[2], cosrnd[2], x[2], y[2];
  printf("computing sin(r) ...\n");
  dd_sin(ddrnd, sinrnd);
  printf("sin(r) : ");
  dd_write(sinrnd, 32);
  printf("\n");
  printf("computing cos(r) ...\n");
  dd_cos(ddrnd, cosrnd);
  printf("cos(r) : ");
  dd_write(cosrnd, 32);
  printf("\n");
  dd_sqr(sinrnd, x);
  dd_sqr(cosrnd, y);
  dd_inc(x, y);
  printf("sin(r)^2 + cos(r)^2 : ");
  dd_write(x, 32);
  printf("\n");
  ddrnd[0] = pi16_hi;
  ddrnd[1] = pi16_lo;
  printf("test on sin and cos of r = pi/32 ...\n");
  printf("r : ");
  dd_write(ddrnd, 32);
  printf("\n");
  printf("computing sin(r) ...\n");
  dd_sin(ddrnd, sinrnd);
  printf("sin(r) : ");
  dd_write(sinrnd, 32);
  printf("\n");
  printf("computing cos(r) ...\n");
  dd_cos(ddrnd, cosrnd);
  printf("cos(r) : ");
  dd_write(cosrnd, 32);
  printf("\n");
  dd_sqr(sinrnd, x);
  dd_sqr(cosrnd, y);
  dd_inc(x, y);
  printf("sin(r)^2 + cos(r)^2 : ");
  dd_write(x, 32);
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<test_sincos>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  0xe68(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  0xe53(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
mov    $0x0,%al
call   10b0 <rand@plt>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    0x2e09(%rip),%rax
divsd  (%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xe1b(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe17(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
lea    0xdfd(%rip),%rdi
call   1040 <printf@plt>
lea    0xe1f(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xe1e(%rip),%rdi
call   1040 <printf@plt>
lea    0xdfe(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1060 <dd_sin@plt>
lea    0xdfb(%rip),%rdi
call   1040 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xddf(%rip),%rdi
call   1040 <printf@plt>
lea    0xddf(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1080 <dd_cos@plt>
lea    0xddc(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xda0(%rip),%rdi
call   1040 <printf@plt>
lea    -0x40(%rbp),%rdi
lea    -0x60(%rbp),%rsi
call   1090 <dd_sqr@plt>
lea    -0x50(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1090 <dd_sqr@plt>
lea    -0x60(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1030 <dd_inc@plt>
lea    0xd99(%rip),%rdi
call   1040 <printf@plt>
lea    -0x60(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xd53(%rip),%rdi
call   1040 <printf@plt>
movsd  0xce7(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xcd2(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
lea    0xd70(%rip),%rdi
call   1040 <printf@plt>
lea    0xd08(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xd07(%rip),%rdi
call   1040 <printf@plt>
lea    0xce7(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1060 <dd_sin@plt>
lea    0xce4(%rip),%rdi
call   1040 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xcc8(%rip),%rdi
call   1040 <printf@plt>
lea    0xcc8(%rip),%rdi
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1080 <dd_cos@plt>
lea    0xcc5(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xc89(%rip),%rdi
call   1040 <printf@plt>
lea    -0x40(%rbp),%rdi
lea    -0x60(%rbp),%rsi
call   1090 <dd_sqr@plt>
lea    -0x50(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1090 <dd_sqr@plt>
lea    -0x60(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1030 <dd_inc@plt>
lea    0xc82(%rip),%rdi
call   1040 <printf@plt>
lea    -0x60(%rbp),%rdi
mov    $0x20,%esi
call   10a0 <dd_write@plt>
lea    0xc3c(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_sincos>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1070 <srand@plt>
xor    %eax,%eax
call   10d0 <rand@plt>
cvtsi2sd %rax,%xmm0
mov    0x2e09(%rip),%rax
divsd  (%rax),%xmm0
mulsd  0xe15(%rip),%xmm0
addsd  0xe15(%rip),%xmm0
movsd  %xmm0,(%rsp)
movq   $0x0,0x8(%rsp)
lea    0xe48(%rip),%rdi
call   1040 <puts@plt>
lea    0xe0c(%rip),%rdi
call   1060 <printf@plt>
mov    %rsp,%r15
mov    %r15,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe68(%rip),%rdi
call   1040 <puts@plt>
lea    0x40(%rsp),%r14
mov    %r15,%rdi
mov    %r14,%rsi
call   1080 <dd_sin@plt>
lea    0xdcf(%rip),%rdi
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe3e(%rip),%rdi
call   1040 <puts@plt>
lea    0x30(%rsp),%r12
mov    %r15,%rdi
mov    %r12,%rsi
call   10a0 <dd_cos@plt>
lea    0xd9a(%rip),%rdi
call   1060 <printf@plt>
mov    %r12,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x20(%rsp),%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
call   10b0 <dd_sqr@plt>
lea    0x10(%rsp),%r13
mov    %r12,%rdi
mov    %r13,%rsi
call   10b0 <dd_sqr@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1050 <dd_inc@plt>
lea    0xd56(%rip),%rbp
mov    %rbp,%rdi
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movaps 0xd07(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0xd69(%rip),%rdi
call   1040 <puts@plt>
lea    0xd00(%rip),%rdi
call   1060 <printf@plt>
mov    %r15,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd5f(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
mov    %r14,%rsi
call   1080 <dd_sin@plt>
lea    0xccb(%rip),%rdi
call   1060 <printf@plt>
mov    %r14,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd3a(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   10a0 <dd_cos@plt>
lea    0xc9b(%rip),%rdi
call   1060 <printf@plt>
mov    %r12,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   10b0 <dd_sqr@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   10b0 <dd_sqr@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1050 <dd_inc@plt>
mov    %rbp,%rdi
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x20,%esi
call   10c0 <dd_write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@RAND_MAX = global double 0.000000e+00
@.str = [46 x i8] c"test on sin and cos of a random number r ...\0A\00"
@.str.1 = [5 x i8] c"r : \00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [22 x i8] c"computing sin(r) ...\0A\00"
@.str.4 = [10 x i8] c"sin(r) : \00"
@.str.5 = [22 x i8] c"computing cos(r) ...\0A\00"
@.str.6 = [10 x i8] c"cos(r) : \00"
@.str.7 = [23 x i8] c"sin(r)^2 + cos(r)^2 : \00"
@.str.8 = [38 x i8] c"test on sin and cos of r = pi/32 ...\0A\00"
define i32 @test_sincos() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca [2 x double]
%5 = alloca [2 x double]
%6 = alloca [2 x double]
%7 = alloca [2 x double]
%8 = alloca [2 x double]
store double 0x3FC921FB54442D18, double* %1
store double 0x3C61A62633145C07, double* %2
%9 = call i32 @time(i32* null)
%10 = call i32 @srand(i32 %9)
%11 = call i64 (...) @rand()
%12 = sitofp i64 %11 to double
store double %12, double* %3
%13 = load double, double* %3
%14 = load double, double* @RAND_MAX
%15 = fdiv double %13, %14
store double %15, double* %3
%16 = load double, double* %3
%17 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %16, double -3.000000e+00)
store double %17, double* %3
%18 = load double, double* %3
%19 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
store double %18, double* %19
%20 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 1
store double 0.000000e+00, double* %20
%21 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%23 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%24 = call i32 @dd_write(double* %23, i32 32)
%25 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%27 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%28 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%29 = call i32 @dd_sin(double* %27, double* %28)
%30 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%31 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%32 = call i32 @dd_write(double* %31, i32 32)
%33 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%35 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%36 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%37 = call i32 @dd_cos(double* %35, double* %36)
%38 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%39 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%40 = call i32 @dd_write(double* %39, i32 32)
%41 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%42 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%43 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%44 = call i32 @dd_sqr(double* %42, double* %43)
%45 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%46 = getelementptr inbounds [2 x double], [2 x double]* %8, i64 0, i64 0
%47 = call i32 @dd_sqr(double* %45, double* %46)
%48 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%49 = getelementptr inbounds [2 x double], [2 x double]* %8, i64 0, i64 0
%50 = call i32 @dd_inc(double* %48, double* %49)
%51 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%52 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%53 = call i32 @dd_write(double* %52, i32 32)
%54 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%55 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
store double 0x3FC921FB54442D18, double* %55
%56 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 1
store double 0x3C61A62633145C07, double* %56
%57 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
%58 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%59 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%60 = call i32 @dd_write(double* %59, i32 32)
%61 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%62 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%63 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%64 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%65 = call i32 @dd_sin(double* %63, double* %64)
%66 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%67 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%68 = call i32 @dd_write(double* %67, i32 32)
%69 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%70 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%71 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%72 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%73 = call i32 @dd_cos(double* %71, double* %72)
%74 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%75 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%76 = call i32 @dd_write(double* %75, i32 32)
%77 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%78 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%79 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%80 = call i32 @dd_sqr(double* %78, double* %79)
%81 = getelementptr inbounds [2 x double], [2 x double]* %6, i64 0, i64 0
%82 = getelementptr inbounds [2 x double], [2 x double]* %8, i64 0, i64 0
%83 = call i32 @dd_sqr(double* %81, double* %82)
%84 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%85 = getelementptr inbounds [2 x double], [2 x double]* %8, i64 0, i64 0
%86 = call i32 @dd_inc(double* %84, double* %85)
%87 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%88 = getelementptr inbounds [2 x double], [2 x double]* %7, i64 0, i64 0
%89 = call i32 @dd_write(double* %88, i32 32)
%90 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@RAND_MAX = global double 0.000000e+00
@.str.1 = [5 x i8] c"r : \00"
@.str.4 = [10 x i8] c"sin(r) : \00"
@.str.6 = [10 x i8] c"cos(r) : \00"
@.str.7 = [23 x i8] c"sin(r)^2 + cos(r)^2 : \00"
@str = [45 x i8] c"test on sin and cos of a random number r ...\00"
@str.11 = [37 x i8] c"test on sin and cos of r = pi/32 ...\00"
@str.12 = [21 x i8] c"computing sin(r) ...\00"
@str.13 = [21 x i8] c"computing cos(r) ...\00"
define i32 @test_sincos() {
%1 = alloca <2 x double>
%2 = alloca [2 x double]
%3 = alloca [2 x double]
%4 = alloca [2 x double]
%5 = alloca [2 x double]
%6 = tail call i32 @time(i32* null)
%7 = tail call i32 @srand(i32 %6)
%8 = tail call i64 (...) @rand()
%9 = sitofp i64 %8 to double
%10 = load double, double* @RAND_MAX
%11 = fdiv double %9, %10
%12 = tail call double @llvm.fmuladd.f64(double %11, double 6.000000e+00, double -3.000000e+00)
%13 = bitcast <2 x double>* %1 to i8*
%14 = getelementptr inbounds <2 x double>, <2 x double>* %1, i64 0, i64 0
store double %12, double* %14
%15 = getelementptr inbounds <2 x double>, <2 x double>* %1, i64 0, i64 1
store double 0.000000e+00, double* %15
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%18 = call i32 @dd_write(double* %14, i32 32)
%19 = call i32 @putchar(i32 10)
%20 = bitcast [2 x double]* %2 to i8*
%21 = bitcast [2 x double]* %3 to i8*
%22 = bitcast [2 x double]* %4 to i8*
%23 = bitcast [2 x double]* %5 to i8*
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.12, i64 0, i64 0))
%25 = getelementptr inbounds [2 x double], [2 x double]* %2, i64 0, i64 0
%26 = call i32 @dd_sin(double* %14, double* %25)
%27 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%28 = call i32 @dd_write(double* %25, i32 32)
%29 = call i32 @putchar(i32 10)
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.13, i64 0, i64 0))
%31 = getelementptr inbounds [2 x double], [2 x double]* %3, i64 0, i64 0
%32 = call i32 @dd_cos(double* %14, double* %31)
%33 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%34 = call i32 @dd_write(double* %31, i32 32)
%35 = call i32 @putchar(i32 10)
%36 = getelementptr inbounds [2 x double], [2 x double]* %4, i64 0, i64 0
%37 = call i32 @dd_sqr(double* %25, double* %36)
%38 = getelementptr inbounds [2 x double], [2 x double]* %5, i64 0, i64 0
%39 = call i32 @dd_sqr(double* %31, double* %38)
%40 = call i32 @dd_inc(double* %36, double* %38)
%41 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%42 = call i32 @dd_write(double* %36, i32 32)
%43 = call i32 @putchar(i32 10)
store <2 x double> <double 0x3FC921FB54442D18, double 0x3C61A62633145C07>, <2 x double>* %1
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.11, i64 0, i64 0))
%45 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%46 = call i32 @dd_write(double* %14, i32 32)
%47 = call i32 @putchar(i32 10)
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.12, i64 0, i64 0))
%49 = call i32 @dd_sin(double* %14, double* %25)
%50 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%51 = call i32 @dd_write(double* %25, i32 32)
%52 = call i32 @putchar(i32 10)
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.13, i64 0, i64 0))
%54 = call i32 @dd_cos(double* %14, double* %31)
%55 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%56 = call i32 @dd_write(double* %31, i32 32)
%57 = call i32 @putchar(i32 10)
%58 = call i32 @dd_sqr(double* %25, double* %36)
%59 = call i32 @dd_sqr(double* %31, double* %38)
%60 = call i32 @dd_inc(double* %36, double* %38)
%61 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%62 = call i32 @dd_write(double* %36, i32 32)
%63 = call i32 @putchar(i32 10)
ret i32 0
}