#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 M_PI;
float atan(int);
int pow(int, int);
int /*<<< orphan*/ printf(char *, ...);
float sin(int);
float sqrt(int);
void signalGen(float *t, float *V, float *I, unsigned int size, float *Fs,
               float Vrms, float freq, unsigned int type, float R, float L,
               float C) {
  unsigned int i;
  float t_inter = (1 / freq) / 64;
  *Fs = 1 / t_inter;
  float Z, Ip, theta;
  for (i = 0; i < 64; i++) {
    t[i] = i * t_inter;
  }
  if (type == 0) {
    Z = sqrt(pow(R, 2) + pow(2 * M_PI * freq * L, 2));
    Ip = (Vrms / Z) * sqrt(2);
    theta = atan((-2 * M_PI * freq * L) / (R));
    for (i = 0; i < 64; i++) {
      V[i] = Vrms * sqrt(2) * sin(2 * M_PI * freq * t[i]);
      I[i] = Ip * sin((2 * M_PI * ((float)i / (float)64)) + (theta));
    }
  } else if (type == 1) {
    Z = sqrt(pow(R, 2) + pow(1 / (2 * M_PI * freq * C), 2));
    Ip = (Vrms / Z) * sqrt(2);
    theta = atan((1) / (2 * M_PI * freq * C * R));
    for (i = 0; i < 64; i++) {
      V[i] = Vrms * sqrt(2) * sin(2 * M_PI * freq * t[i]);
      I[i] = Ip * sqrt(2) * sin((2 * M_PI * ((float)i / (float)64)) + (theta));
    }
  } else {
    Z = R;
    theta = 0;
    Ip = (Vrms * sqrt(2)) / R;
    for (i = 0; i < 64; i++) {
      V[i] = Vrms * sqrt(2) * sin(2 * M_PI * freq * t[i]);
      if (i < 64 / 2)
        I[i] = Ip * sin(2 * M_PI * freq * t[i]);
      else
        I[i] = 0;
    }
  }
  printf("->criacao do sinal...\n");
  printf("->Fs: %f, t_inter: %f, Z: %f, \n->theta: %f, Ip: %f\n", *Fs, t_inter,
         Z, theta, Ip);
}


x86 assembly (clang, -O0):
<signalGen>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
movss  %xmm0,-0x2c(%rbp)
movss  %xmm1,-0x30(%rbp)
mov    %r9d,-0x34(%rbp)
movss  %xmm2,-0x38(%rbp)
movss  %xmm3,-0x3c(%rbp)
movss  %xmm4,-0x40(%rbp)
movss  0xe6d(%rip),%xmm0
divss  -0x30(%rbp),%xmm0
movss  0xe64(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  0xe4f(%rip),%xmm0
divss  -0x48(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movss  %xmm0,(%rax)
movl   $0x0,-0x44(%rbp)
cmpl   $0x40,-0x44(%rbp)
jae    11f6 <signalGen+0xa6>
mov    -0x44(%rbp),%eax
cvtsi2ss %rax,%xmm0
mulss  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    11c5 <signalGen+0x75>
cmpl   $0x0,-0x34(%rbp)
jne    138f <signalGen+0x23f>
cvttss2si -0x38(%rbp),%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    %eax,-0x5c(%rbp)
mov    0x2dcf(%rip),%rax
mov    (%rax),%eax
shl    $0x1,%eax
cvtsi2ss %eax,%xmm0
mulss  -0x30(%rbp),%xmm0
mulss  -0x3c(%rbp),%xmm0
cvttss2si %xmm0,%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    -0x5c(%rbp),%edi
add    %eax,%edi
call   1070 <sqrt@plt>
movss  %xmm0,-0x4c(%rbp)
movss  -0x2c(%rbp),%xmm0
divss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
mov    $0x2,%edi
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x58(%rbp),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,-0x50(%rbp)
mov    0x2d6e(%rip),%rax
imul   $0xfffffffe,(%rax),%eax
cvtsi2ss %eax,%xmm0
mulss  -0x30(%rbp),%xmm0
mulss  -0x3c(%rbp),%xmm0
divss  -0x38(%rbp),%xmm0
cvttss2si %xmm0,%edi
call   1050 <atan@plt>
movss  %xmm0,-0x54(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0x40,-0x44(%rbp)
jae    138a <signalGen+0x23a>
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x74(%rbp)
mov    $0x2,%edi
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x74(%rbp),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
mov    0x2d0a(%rip),%rax
mov    %rax,-0x70(%rbp)
mov    (%rax),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
movss  -0x30(%rbp),%xmm1
mulss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
mov    -0x70(%rbp),%rax
movaps %xmm0,%xmm1
movss  -0x64(%rbp),%xmm0
mulss  %xmm1,%xmm0
mov    -0x10(%rbp),%rcx
mov    -0x44(%rbp),%edx
movss  %xmm0,(%rcx,%rdx,4)
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
mov    (%rax),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
mov    -0x44(%rbp),%eax
cvtsi2ss %rax,%xmm2
movss  0xcba(%rip),%xmm1
divss  %xmm1,%xmm2
movss  -0x54(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movss  -0x60(%rbp),%xmm0
mulss  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    12a8 <signalGen+0x158>
jmp    16cc <signalGen+0x57c>
cmpl   $0x1,-0x34(%rbp)
jne    1579 <signalGen+0x429>
cvttss2si -0x38(%rbp),%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    %eax,-0x7c(%rbp)
mov    0x2c36(%rip),%rax
mov    (%rax),%eax
shl    $0x1,%eax
cvtsi2ss %eax,%xmm1
mulss  -0x30(%rbp),%xmm1
mulss  -0x40(%rbp),%xmm1
movss  0xc33(%rip),%xmm0
divss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    -0x7c(%rbp),%edi
add    %eax,%edi
call   1070 <sqrt@plt>
movss  %xmm0,-0x4c(%rbp)
movss  -0x2c(%rbp),%xmm0
divss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x78(%rbp)
mov    $0x2,%edi
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x78(%rbp),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,-0x50(%rbp)
mov    0x2bc9(%rip),%rax
mov    (%rax),%eax
shl    $0x1,%eax
cvtsi2ss %eax,%xmm1
mulss  -0x30(%rbp),%xmm1
mulss  -0x40(%rbp),%xmm1
mulss  -0x38(%rbp),%xmm1
movss  0xbc1(%rip),%xmm0
divss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1050 <atan@plt>
movss  %xmm0,-0x54(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0x40,-0x44(%rbp)
jae    1574 <signalGen+0x424>
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
mov    $0x2,%edi
mov    %edi,-0x98(%rbp)
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x9c(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
mov    0x2b4b(%rip),%rax
mov    %rax,-0x90(%rbp)
mov    (%rax),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
movss  -0x30(%rbp),%xmm1
mulss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
mov    -0x98(%rbp),%edi
movaps %xmm0,%xmm1
movss  -0x94(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x84(%rbp)
ff
call   1070 <sqrt@plt>
mov    -0x90(%rbp),%rax
movaps %xmm0,%xmm1
movss  -0x84(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
movss  %xmm0,-0x80(%rbp)
mov    (%rax),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
mov    -0x44(%rbp),%eax
cvtsi2ss %rax,%xmm2
movss  0xad0(%rip),%xmm1
divss  %xmm1,%xmm2
movss  -0x54(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movss  -0x80(%rbp),%xmm0
mulss  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1458 <signalGen+0x308>
jmp    16c7 <signalGen+0x577>
movss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
mov    $0x2,%edi
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0xa0(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
divss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0x40,-0x44(%rbp)
jae    16c2 <signalGen+0x572>
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0xa8(%rbp)
ff
mov    $0x2,%edi
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0xa8(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
mov    0x29e7(%rip),%rax
mov    (%rax),%eax
shl    $0x1,%eax
cvtsi2ss %eax,%xmm0
mulss  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x44(%rbp),%ecx
mulss  (%rax,%rcx,4),%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
cmpl   $0x20,-0x44(%rbp)
jae    16a0 <signalGen+0x550>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0xac(%rbp)
ff
mov    0x298b(%rip),%rax
mov    (%rax),%eax
shl    $0x1,%eax
cvtsi2ss %eax,%xmm0
mulss  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x44(%rbp),%ecx
mulss  (%rax,%rcx,4),%xmm0
cvttss2si %xmm0,%edi
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movss  -0xac(%rbp),%xmm0
ff
mulss  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
movss  %xmm0,(%rax,%rcx,4)
jmp    16af <signalGen+0x55f>
mov    -0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    16b4 <signalGen+0x564>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    15c2 <signalGen+0x472>
jmp    16c7 <signalGen+0x577>
jmp    16cc <signalGen+0x57c>
lea    0x935(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x48(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x4c(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  -0x54(%rbp),%xmm3
cvtss2sd %xmm3,%xmm3
movss  -0x50(%rbp),%xmm4
cvtss2sd %xmm4,%xmm4
lea    0x90e(%rip),%rdi
mov    $0x5,%al
call   1030 <printf@plt>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<signalGen>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
movaps %xmm1,%xmm6
mov    %r8,%r13
mov    %rdx,%r15
mov    %rsi,%r12
mov    %rdi,%rbx
movss  0xe7b(%rip),%xmm5
movaps %xmm5,%xmm1
divss  %xmm6,%xmm1
mulss  0xe70(%rip),%xmm1
divss  %xmm1,%xmm5
movss  %xmm5,(%r8)
movaps %xmm1,0x20(%rsp)
movaps %xmm1,%xmm5
shufps $0x0,%xmm1,%xmm5
movaps 0xe60(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,(%rdi)
movaps 0xe63(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x10(%rdi)
movaps 0xe65(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x20(%rdi)
movaps 0xe67(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x30(%rdi)
movaps 0xe69(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x40(%rdi)
movaps 0xe6b(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x50(%rdi)
movaps 0xe6d(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x60(%rdi)
movaps 0xe6f(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x70(%rdi)
movaps 0xe71(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x80(%rdi)
movaps 0xe70(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0x90(%rdi)
movaps 0xe6f(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0xa0(%rdi)
movaps 0xe6e(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0xb0(%rdi)
movaps 0xe6d(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0xc0(%rdi)
movaps 0xe6c(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0xd0(%rdi)
movaps 0xe6b(%rip),%xmm1
mulps  %xmm5,%xmm1
movups %xmm1,0xe0(%rdi)
mulps  0xe6a(%rip),%xmm5
movups %xmm5,0xf0(%rdi)
cmp    $0x1,%r9d
movss  %xmm6,0xc(%rsp)
movss  %xmm0,0x10(%rsp)
movss  %xmm2,0x4(%rsp)
je     1401 <signalGen+0x2a1>
test   %r9d,%r9d
jne    157c <signalGen+0x41c>
mov    %r13,0x18(%rsp)
cvttss2si %xmm2,%edi
mov    $0x2,%esi
movss  %xmm3,(%rsp)
call   1070 <pow@plt>
mov    %eax,%r13d
mov    0x2d04(%rip),%r14
mov    (%r14),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rsp),%xmm0
cvttss2si %xmm0,%edi
mov    $0x2,%esi
call   1070 <pow@plt>
add    %eax,%r13d
mov    %r13d,%edi
call   1080 <sqrt@plt>
movss  0x10(%rsp),%xmm1
movss  %xmm0,0x14(%rsp)
divss  %xmm0,%xmm1
movss  %xmm1,0x8(%rsp)
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
mov    (%r14),%eax
add    %eax,%eax
neg    %eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rsp),%xmm0
divss  0x4(%rsp),%xmm0
cvttss2si %xmm0,%edi
call   1060 <atan@plt>
movss  %xmm0,(%rsp)
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x10(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rbx,%rbp,4),%xmm0
cvttss2si %xmm0,%edi
call   1050 <sin@plt>
mulss  0x4(%rsp),%xmm0
movss  %xmm0,(%r12,%rbp,4)
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mov    %ebp,%eax
xorps  %xmm1,%xmm1
cvtsi2ss %rax,%xmm1
mulss  0xc34(%rip),%xmm1
mulss  %xmm0,%xmm1
addss  (%rsp),%xmm1
cvttss2si %xmm1,%edi
call   1050 <sin@plt>
mulss  0x8(%rsp),%xmm0
movss  %xmm0,(%r15,%rbp,4)
add    $0x1,%rbp
cmp    $0x40,%rbp
jne    1370 <signalGen+0x210>
jmp    1572 <signalGen+0x412>
mov    %r13,0x18(%rsp)
cvttss2si %xmm2,%edi
mov    $0x2,%esi
movss  %xmm4,(%rsp)
call   1070 <pow@plt>
mov    %eax,%r13d
mov    0x2bc5(%rip),%r14
mov    (%r14),%eax
add    %eax,%eax
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rsp),%xmm0
movss  0xbc1(%rip),%xmm1
divss  %xmm0,%xmm1
cvttss2si %xmm1,%edi
mov    $0x2,%esi
call   1070 <pow@plt>
add    %eax,%r13d
mov    %r13d,%edi
call   1080 <sqrt@plt>
movss  0x10(%rsp),%xmm1
movss  %xmm0,0x14(%rsp)
divss  %xmm0,%xmm1
movss  %xmm1,0x8(%rsp)
mov    $0x2,%edi
call   1080 <sqrt@plt>
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
mulss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
mulss  0xc(%rsp),%xmm1
mulss  (%rsp),%xmm1
mulss  0x4(%rsp),%xmm1
movss  0xb53(%rip),%xmm0
divss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1060 <atan@plt>
movss  %xmm0,(%rsp)
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x10(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rbx,%rbp,4),%xmm0
cvttss2si %xmm0,%edi
call   1050 <sin@plt>
mulss  0x4(%rsp),%xmm0
movss  %xmm0,(%r12,%rbp,4)
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x8(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mov    %ebp,%eax
xorps  %xmm1,%xmm1
cvtsi2ss %rax,%xmm1
mulss  0xabe(%rip),%xmm1
mulss  %xmm0,%xmm1
addss  (%rsp),%xmm1
cvttss2si %xmm1,%edi
call   1050 <sin@plt>
mulss  0x4(%rsp),%xmm0
movss  %xmm0,(%r15,%rbp,4)
add    $0x1,%rbp
cmp    $0x40,%rbp
jne    14d0 <signalGen+0x370>
mov    0x18(%rsp),%r13
jmp    1648 <signalGen+0x4e8>
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x10(%rsp),%xmm0
divss  0x4(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
xor    %ebp,%ebp
mov    0x2a47(%rip),%r14
jmp    15c0 <signalGen+0x460>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movss  %xmm0,(%r15,%rbp,4)
add    $0x1,%rbp
cmp    $0x40,%rbp
je     1634 <signalGen+0x4d4>
mov    $0x2,%edi
call   1080 <sqrt@plt>
mulss  0x10(%rsp),%xmm0
movss  %xmm0,(%rsp)
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rbx,%rbp,4),%xmm0
cvttss2si %xmm0,%edi
call   1050 <sin@plt>
mulss  (%rsp),%xmm0
movss  %xmm0,(%r12,%rbp,4)
xorps  %xmm0,%xmm0
cmp    $0x1f,%rbp
ja     15b0 <signalGen+0x450>
mov    (%r14),%eax
add    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  0xc(%rsp),%xmm0
mulss  (%rbx,%rbp,4),%xmm0
cvttss2si %xmm0,%edi
call   1050 <sin@plt>
mulss  0x8(%rsp),%xmm0
jmp    15b0 <signalGen+0x450>
xorps  %xmm0,%xmm0
movss  %xmm0,(%rsp)
movss  0x4(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
lea    0xaf5(%rip),%rdi
call   1030 <puts@plt>
movss  0x0(%r13),%xmm0
cvtss2sd %xmm0,%xmm0
movaps 0x20(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  0x14(%rsp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  (%rsp),%xmm3
cvtss2sd %xmm3,%xmm3
movss  0x8(%rsp),%xmm4
cvtss2sd %xmm4,%xmm4
lea    0xa85(%rip),%rdi
mov    $0x5,%al
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <printf@plt>

LLVM IR (-O0):
@M_PI = global i32 0
@.str = [23 x i8] c"->criacao do sinal...\0A\00"
@.str.1 = [52 x i8] c"->Fs: %f, t_inter: %f, Z: %f, \0A->theta: %f, Ip: %f\0A\00"
define void @signalGen(float* %0, float* %1, float* %2, i32 %3, float* %4, float %5, float %6, i32 %7, float %8, float %9, float %10) {
%12 = alloca float*
%13 = alloca float*
%14 = alloca float*
%15 = alloca i32
%16 = alloca float*
%17 = alloca float
%18 = alloca float
%19 = alloca i32
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca i32
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca float
store float* %0, float** %12
store float* %1, float** %13
store float* %2, float** %14
store i32 %3, i32* %15
store float* %4, float** %16
store float %5, float* %17
store float %6, float* %18
store i32 %7, i32* %19
store float %8, float* %20
store float %9, float* %21
store float %10, float* %22
%28 = load float, float* %18
%29 = fdiv float 1.000000e+00, %28
%30 = fdiv float %29, 6.400000e+01
store float %30, float* %24
%31 = load float, float* %24
%32 = fdiv float 1.000000e+00, %31
%33 = load float*, float** %16
store float %32, float* %33
store i32 0, i32* %23
br label %34
34: ; preds = %46, %11
%35 = load i32, i32* %23
%36 = icmp ult i32 %35, 64
br i1 %36, label %37, label %49
37: ; preds = %34
%38 = load i32, i32* %23
%39 = uitofp i32 %38 to float
%40 = load float, float* %24
%41 = fmul float %39, %40
%42 = load float*, float** %12
%43 = load i32, i32* %23
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds float, float* %42, i64 %44
store float %41, float* %45
br label %46
46: ; preds = %37
%47 = load i32, i32* %23
%48 = add i32 %47, 1
store i32 %48, i32* %23
br label %34
49: ; preds = %34
%50 = load i32, i32* %19
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %128
52: ; preds = %49
%53 = load float, float* %20
%54 = fptosi float %53 to i32
%55 = call i32 @pow(i32 %54, i32 2)
%56 = load i32, i32* @M_PI
%57 = mul nsw i32 2, %56
%58 = sitofp i32 %57 to float
%59 = load float, float* %18
%60 = fmul float %58, %59
%61 = load float, float* %21
%62 = fmul float %60, %61
%63 = fptosi float %62 to i32
%64 = call i32 @pow(i32 %63, i32 2)
%65 = add nsw i32 %55, %64
%66 = call float @sqrt(i32 %65)
store float %66, float* %25
%67 = load float, float* %17
%68 = load float, float* %25
%69 = fdiv float %67, %68
%70 = call float @sqrt(i32 2)
%71 = fmul float %69, %70
store float %71, float* %26
%72 = load i32, i32* @M_PI
%73 = mul nsw i32 -2, %72
%74 = sitofp i32 %73 to float
%75 = load float, float* %18
%76 = fmul float %74, %75
%77 = load float, float* %21
%78 = fmul float %76, %77
%79 = load float, float* %20
%80 = fdiv float %78, %79
%81 = fptosi float %80 to i32
%82 = call float @atan(i32 %81)
store float %82, float* %27
store i32 0, i32* %23
br label %83
83: ; preds = %124, %52
%84 = load i32, i32* %23
%85 = icmp ult i32 %84, 64
br i1 %85, label %86, label %127
86: ; preds = %83
%87 = load float, float* %17
%88 = call float @sqrt(i32 2)
%89 = fmul float %87, %88
%90 = load i32, i32* @M_PI
%91 = mul nsw i32 2, %90
%92 = sitofp i32 %91 to float
%93 = load float, float* %18
%94 = fmul float %92, %93
%95 = load float*, float** %12
%96 = load i32, i32* %23
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds float, float* %95, i64 %97
%99 = load float, float* %98
%100 = fmul float %94, %99
%101 = fptosi float %100 to i32
%102 = call float @sin(i32 %101)
%103 = fmul float %89, %102
%104 = load float*, float** %13
%105 = load i32, i32* %23
%106 = zext i32 %105 to i64
%107 = getelementptr inbounds float, float* %104, i64 %106
store float %103, float* %107
%108 = load float, float* %26
%109 = load i32, i32* @M_PI
%110 = mul nsw i32 2, %109
%111 = sitofp i32 %110 to float
%112 = load i32, i32* %23
%113 = uitofp i32 %112 to float
%114 = fdiv float %113, 6.400000e+01
%115 = load float, float* %27
%116 = call float @llvm.fmuladd.f32(float %111, float %114, float %115)
%117 = fptosi float %116 to i32
%118 = call float @sin(i32 %117)
%119 = fmul float %108, %118
%120 = load float*, float** %14
%121 = load i32, i32* %23
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds float, float* %120, i64 %122
store float %119, float* %123
br label %124
124: ; preds = %86
%125 = load i32, i32* %23
%126 = add i32 %125, 1
store i32 %126, i32* %23
br label %83
127: ; preds = %83
br label %276
128: ; preds = %49
%129 = load i32, i32* %19
%130 = icmp eq i32 %129, 1
br i1 %130, label %131, label %211
131: ; preds = %128
%132 = load float, float* %20
%133 = fptosi float %132 to i32
%134 = call i32 @pow(i32 %133, i32 2)
%135 = load i32, i32* @M_PI
%136 = mul nsw i32 2, %135
%137 = sitofp i32 %136 to float
%138 = load float, float* %18
%139 = fmul float %137, %138
%140 = load float, float* %22
%141 = fmul float %139, %140
%142 = fdiv float 1.000000e+00, %141
%143 = fptosi float %142 to i32
%144 = call i32 @pow(i32 %143, i32 2)
%145 = add nsw i32 %134, %144
%146 = call float @sqrt(i32 %145)
store float %146, float* %25
%147 = load float, float* %17
%148 = load float, float* %25
%149 = fdiv float %147, %148
%150 = call float @sqrt(i32 2)
%151 = fmul float %149, %150
store float %151, float* %26
%152 = load i32, i32* @M_PI
%153 = mul nsw i32 2, %152
%154 = sitofp i32 %153 to float
%155 = load float, float* %18
%156 = fmul float %154, %155
%157 = load float, float* %22
%158 = fmul float %156, %157
%159 = load float, float* %20
%160 = fmul float %158, %159
%161 = fdiv float 1.000000e+00, %160
%162 = fptosi float %161 to i32
%163 = call float @atan(i32 %162)
store float %163, float* %27
store i32 0, i32* %23
br label %164
164: ; preds = %207, %131
%165 = load i32, i32* %23
%166 = icmp ult i32 %165, 64
br i1 %166, label %167, label %210
167: ; preds = %164
%168 = load float, float* %17
%169 = call float @sqrt(i32 2)
%170 = fmul float %168, %169
%171 = load i32, i32* @M_PI
%172 = mul nsw i32 2, %171
%173 = sitofp i32 %172 to float
%174 = load float, float* %18
%175 = fmul float %173, %174
%176 = load float*, float** %12
%177 = load i32, i32* %23
%178 = zext i32 %177 to i64
%179 = getelementptr inbounds float, float* %176, i64 %178
%180 = load float, float* %179
%181 = fmul float %175, %180
%182 = fptosi float %181 to i32
%183 = call float @sin(i32 %182)
%184 = fmul float %170, %183
%185 = load float*, float** %13
%186 = load i32, i32* %23
%187 = zext i32 %186 to i64
%188 = getelementptr inbounds float, float* %185, i64 %187
store float %184, float* %188
%189 = load float, float* %26
%190 = call float @sqrt(i32 2)
%191 = fmul float %189, %190
%192 = load i32, i32* @M_PI
%193 = mul nsw i32 2, %192
%194 = sitofp i32 %193 to float
%195 = load i32, i32* %23
%196 = uitofp i32 %195 to float
%197 = fdiv float %196, 6.400000e+01
%198 = load float, float* %27
%199 = call float @llvm.fmuladd.f32(float %194, float %197, float %198)
%200 = fptosi float %199 to i32
%201 = call float @sin(i32 %200)
%202 = fmul float %191, %201
%203 = load float*, float** %14
%204 = load i32, i32* %23
%205 = zext i32 %204 to i64
%206 = getelementptr inbounds float, float* %203, i64 %205
store float %202, float* %206
br label %207
207: ; preds = %167
%208 = load i32, i32* %23
%209 = add i32 %208, 1
store i32 %209, i32* %23
br label %164
210: ; preds = %164
br label %275
211: ; preds = %128
%212 = load float, float* %20
store float %212, float* %25
store float 0.000000e+00, float* %27
%213 = load float, float* %17
%214 = call float @sqrt(i32 2)
%215 = fmul float %213, %214
%216 = load float, float* %20
%217 = fdiv float %215, %216
store float %217, float* %26
store i32 0, i32* %23
br label %218
218: ; preds = %271, %211
%219 = load i32, i32* %23
%220 = icmp ult i32 %219, 64
br i1 %220, label %221, label %274
221: ; preds = %218
%222 = load float, float* %17
%223 = call float @sqrt(i32 2)
%224 = fmul float %222, %223
%225 = load i32, i32* @M_PI
%226 = mul nsw i32 2, %225
%227 = sitofp i32 %226 to float
%228 = load float, float* %18
%229 = fmul float %227, %228
%230 = load float*, float** %12
%231 = load i32, i32* %23
%232 = zext i32 %231 to i64
%233 = getelementptr inbounds float, float* %230, i64 %232
%234 = load float, float* %233
%235 = fmul float %229, %234
%236 = fptosi float %235 to i32
%237 = call float @sin(i32 %236)
%238 = fmul float %224, %237
%239 = load float*, float** %13
%240 = load i32, i32* %23
%241 = zext i32 %240 to i64
%242 = getelementptr inbounds float, float* %239, i64 %241
store float %238, float* %242
%243 = load i32, i32* %23
%244 = icmp ult i32 %243, 32
br i1 %244, label %245, label %265
245: ; preds = %221
%246 = load float, float* %26
%247 = load i32, i32* @M_PI
%248 = mul nsw i32 2, %247
%249 = sitofp i32 %248 to float
%250 = load float, float* %18
%251 = fmul float %249, %250
%252 = load float*, float** %12
%253 = load i32, i32* %23
%254 = zext i32 %253 to i64
%255 = getelementptr inbounds float, float* %252, i64 %254
%256 = load float, float* %255
%257 = fmul float %251, %256
%258 = fptosi float %257 to i32
%259 = call float @sin(i32 %258)
%260 = fmul float %246, %259
%261 = load float*, float** %14
%262 = load i32, i32* %23
%263 = zext i32 %262 to i64
%264 = getelementptr inbounds float, float* %261, i64 %263
store float %260, float* %264
br label %270
265: ; preds = %221
%266 = load float*, float** %14
%267 = load i32, i32* %23
%268 = zext i32 %267 to i64
%269 = getelementptr inbounds float, float* %266, i64 %268
store float 0.000000e+00, float* %269
br label %270
270: ; preds = %265, %245
br label %271
271: ; preds = %270
%272 = load i32, i32* %23
%273 = add i32 %272, 1
store i32 %273, i32* %23
br label %218
274: ; preds = %218
br label %275
275: ; preds = %274, %210
br label %276
276: ; preds = %275, %127
%277 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%278 = load float*, float** %16
%279 = load float, float* %278
%280 = fpext float %279 to double
%281 = load float, float* %24
%282 = fpext float %281 to double
%283 = load float, float* %25
%284 = fpext float %283 to double
%285 = load float, float* %27
%286 = fpext float %285 to double
%287 = load float, float* %26
%288 = fpext float %287 to double
%289 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0), double %280, double %282, double %284, double %286, double %288)
ret void
}

LLVM IR (-O2):
@M_PI = global i32 0
@.str.1 = [52 x i8] c"->Fs: %f, t_inter: %f, Z: %f, \0A->theta: %f, Ip: %f\0A\00"
@str = [22 x i8] c"->criacao do sinal...\00"
define void @signalGen(float* nocapture %0, float* nocapture writeonly %1, float* nocapture writeonly %2, i32 %3, float* nocapture %4, float %5, float %6, i32 %7, float %8, float %9, float %10) {
%12 = fdiv float 1.000000e+00, %6
%13 = fmul float %12, 1.562500e-02
%14 = fdiv float 1.000000e+00, %13
store float %14, float* %4
%15 = insertelement <4 x float> poison, float %13, i64 0
%16 = shufflevector <4 x float> %15, <4 x float> poison, <4 x i32> zeroinitializer
%17 = fmul <4 x float> %16, <float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00>
%18 = bitcast float* %0 to <4 x float>*
store <4 x float> %17, <4 x float>* %18
%19 = fmul <4 x float> %16, <float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00>
%20 = getelementptr inbounds float, float* %0, i64 4
%21 = bitcast float* %20 to <4 x float>*
store <4 x float> %19, <4 x float>* %21
%22 = fmul <4 x float> %16, <float 8.000000e+00, float 9.000000e+00, float 1.000000e+01, float 1.100000e+01>
%23 = getelementptr inbounds float, float* %0, i64 8
%24 = bitcast float* %23 to <4 x float>*
store <4 x float> %22, <4 x float>* %24
%25 = fmul <4 x float> %16, <float 1.200000e+01, float 1.300000e+01, float 1.400000e+01, float 1.500000e+01>
%26 = getelementptr inbounds float, float* %0, i64 12
%27 = bitcast float* %26 to <4 x float>*
store <4 x float> %25, <4 x float>* %27
%28 = fmul <4 x float> %16, <float 1.600000e+01, float 1.700000e+01, float 1.800000e+01, float 1.900000e+01>
%29 = getelementptr inbounds float, float* %0, i64 16
%30 = bitcast float* %29 to <4 x float>*
store <4 x float> %28, <4 x float>* %30
%31 = fmul <4 x float> %16, <float 2.000000e+01, float 2.100000e+01, float 2.200000e+01, float 2.300000e+01>
%32 = getelementptr inbounds float, float* %0, i64 20
%33 = bitcast float* %32 to <4 x float>*
store <4 x float> %31, <4 x float>* %33
%34 = fmul <4 x float> %16, <float 2.400000e+01, float 2.500000e+01, float 2.600000e+01, float 2.700000e+01>
%35 = getelementptr inbounds float, float* %0, i64 24
%36 = bitcast float* %35 to <4 x float>*
store <4 x float> %34, <4 x float>* %36
%37 = fmul <4 x float> %16, <float 2.800000e+01, float 2.900000e+01, float 3.000000e+01, float 3.100000e+01>
%38 = getelementptr inbounds float, float* %0, i64 28
%39 = bitcast float* %38 to <4 x float>*
store <4 x float> %37, <4 x float>* %39
%40 = fmul <4 x float> %16, <float 3.200000e+01, float 3.300000e+01, float 3.400000e+01, float 3.500000e+01>
%41 = getelementptr inbounds float, float* %0, i64 32
%42 = bitcast float* %41 to <4 x float>*
store <4 x float> %40, <4 x float>* %42
%43 = fmul <4 x float> %16, <float 3.600000e+01, float 3.700000e+01, float 3.800000e+01, float 3.900000e+01>
%44 = getelementptr inbounds float, float* %0, i64 36
%45 = bitcast float* %44 to <4 x float>*
store <4 x float> %43, <4 x float>* %45
%46 = fmul <4 x float> %16, <float 4.000000e+01, float 4.100000e+01, float 4.200000e+01, float 4.300000e+01>
%47 = getelementptr inbounds float, float* %0, i64 40
%48 = bitcast float* %47 to <4 x float>*
store <4 x float> %46, <4 x float>* %48
%49 = fmul <4 x float> %16, <float 4.400000e+01, float 4.500000e+01, float 4.600000e+01, float 4.700000e+01>
%50 = getelementptr inbounds float, float* %0, i64 44
%51 = bitcast float* %50 to <4 x float>*
store <4 x float> %49, <4 x float>* %51
%52 = fmul <4 x float> %16, <float 4.800000e+01, float 4.900000e+01, float 5.000000e+01, float 5.100000e+01>
%53 = getelementptr inbounds float, float* %0, i64 48
%54 = bitcast float* %53 to <4 x float>*
store <4 x float> %52, <4 x float>* %54
%55 = fmul <4 x float> %16, <float 5.200000e+01, float 5.300000e+01, float 5.400000e+01, float 5.500000e+01>
%56 = getelementptr inbounds float, float* %0, i64 52
%57 = bitcast float* %56 to <4 x float>*
store <4 x float> %55, <4 x float>* %57
%58 = fmul <4 x float> %16, <float 5.600000e+01, float 5.700000e+01, float 5.800000e+01, float 5.900000e+01>
%59 = getelementptr inbounds float, float* %0, i64 56
%60 = bitcast float* %59 to <4 x float>*
store <4 x float> %58, <4 x float>* %60
%61 = fmul <4 x float> %16, <float 6.000000e+01, float 6.100000e+01, float 6.200000e+01, float 6.300000e+01>
%62 = getelementptr inbounds float, float* %0, i64 60
%63 = bitcast float* %62 to <4 x float>*
store <4 x float> %61, <4 x float>* %63
switch i32 %7, label %170 [
i32 0, label %64
i32 1, label %115
]
64: ; preds = %11
%65 = fptosi float %8 to i32
%66 = tail call i32 @pow(i32 %65, i32 2)
%67 = load i32, i32* @M_PI
%68 = shl nsw i32 %67, 1
%69 = sitofp i32 %68 to float
%70 = fmul float %69, %6
%71 = fmul float %70, %9
%72 = fptosi float %71 to i32
%73 = tail call i32 @pow(i32 %72, i32 2)
%74 = add nsw i32 %73, %66
%75 = tail call float @sqrt(i32 %74)
%76 = fdiv float %5, %75
%77 = tail call float @sqrt(i32 2)
%78 = fmul float %76, %77
%79 = load i32, i32* @M_PI
%80 = mul nsw i32 %79, -2
%81 = sitofp i32 %80 to float
%82 = fmul float %81, %6
%83 = fmul float %82, %9
%84 = fdiv float %83, %8
%85 = fptosi float %84 to i32
%86 = tail call float @atan(i32 %85)
br label %87
87: ; preds = %64, %87
%88 = phi i64 [ 0, %64 ], [ %113, %87 ]
%89 = tail call float @sqrt(i32 2)
%90 = fmul float %89, %5
%91 = load i32, i32* @M_PI
%92 = shl nsw i32 %91, 1
%93 = sitofp i32 %92 to float
%94 = fmul float %93, %6
%95 = getelementptr inbounds float, float* %0, i64 %88
%96 = load float, float* %95
%97 = fmul float %96, %94
%98 = fptosi float %97 to i32
%99 = tail call float @sin(i32 %98)
%100 = fmul float %90, %99
%101 = getelementptr inbounds float, float* %1, i64 %88
store float %100, float* %101
%102 = load i32, i32* @M_PI
%103 = shl nsw i32 %102, 1
%104 = sitofp i32 %103 to float
%105 = trunc i64 %88 to i32
%106 = uitofp i32 %105 to float
%107 = fmul float %106, 1.562500e-02
%108 = tail call float @llvm.fmuladd.f32(float %104, float %107, float %86)
%109 = fptosi float %108 to i32
%110 = tail call float @sin(i32 %109)
%111 = fmul float %78, %110
%112 = getelementptr inbounds float, float* %2, i64 %88
store float %111, float* %112
%113 = add nuw nsw i64 %88, 1
%114 = icmp eq i64 %113, 64
br i1 %114, label %205, label %87
115: ; preds = %11
%116 = fptosi float %8 to i32
%117 = tail call i32 @pow(i32 %116, i32 2)
%118 = load i32, i32* @M_PI
%119 = shl nsw i32 %118, 1
%120 = sitofp i32 %119 to float
%121 = fmul float %120, %6
%122 = fmul float %121, %10
%123 = fdiv float 1.000000e+00, %122
%124 = fptosi float %123 to i32
%125 = tail call i32 @pow(i32 %124, i32 2)
%126 = add nsw i32 %125, %117
%127 = tail call float @sqrt(i32 %126)
%128 = fdiv float %5, %127
%129 = tail call float @sqrt(i32 2)
%130 = fmul float %128, %129
%131 = load i32, i32* @M_PI
%132 = shl nsw i32 %131, 1
%133 = sitofp i32 %132 to float
%134 = fmul float %133, %6
%135 = fmul float %134, %10
%136 = fmul float %135, %8
%137 = fdiv float 1.000000e+00, %136
%138 = fptosi float %137 to i32
%139 = tail call float @atan(i32 %138)
br label %140
140: ; preds = %115, %140
%141 = phi i64 [ 0, %115 ], [ %168, %140 ]
%142 = tail call float @sqrt(i32 2)
%143 = fmul float %142, %5
%144 = load i32, i32* @M_PI
%145 = shl nsw i32 %144, 1
%146 = sitofp i32 %145 to float
%147 = fmul float %146, %6
%148 = getelementptr inbounds float, float* %0, i64 %141
%149 = load float, float* %148
%150 = fmul float %149, %147
%151 = fptosi float %150 to i32
%152 = tail call float @sin(i32 %151)
%153 = fmul float %143, %152
%154 = getelementptr inbounds float, float* %1, i64 %141
store float %153, float* %154
%155 = tail call float @sqrt(i32 2)
%156 = fmul float %130, %155
%157 = load i32, i32* @M_PI
%158 = shl nsw i32 %157, 1
%159 = sitofp i32 %158 to float
%160 = trunc i64 %141 to i32
%161 = uitofp i32 %160 to float
%162 = fmul float %161, 1.562500e-02
%163 = tail call float @llvm.fmuladd.f32(float %159, float %162, float %139)
%164 = fptosi float %163 to i32
%165 = tail call float @sin(i32 %164)
%166 = fmul float %156, %165
%167 = getelementptr inbounds float, float* %2, i64 %141
store float %166, float* %167
%168 = add nuw nsw i64 %141, 1
%169 = icmp eq i64 %168, 64
br i1 %169, label %205, label %140
170: ; preds = %11
%171 = tail call float @sqrt(i32 2)
%172 = fmul float %171, %5
%173 = fdiv float %172, %8
br label %174
174: ; preds = %170, %200
%175 = phi i64 [ 0, %170 ], [ %203, %200 ]
%176 = tail call float @sqrt(i32 2)
%177 = fmul float %176, %5
%178 = load i32, i32* @M_PI
%179 = shl nsw i32 %178, 1
%180 = sitofp i32 %179 to float
%181 = fmul float %180, %6
%182 = getelementptr inbounds float, float* %0, i64 %175
%183 = load float, float* %182
%184 = fmul float %183, %181
%185 = fptosi float %184 to i32
%186 = tail call float @sin(i32 %185)
%187 = fmul float %177, %186
%188 = getelementptr inbounds float, float* %1, i64 %175
store float %187, float* %188
%189 = icmp ult i64 %175, 32
br i1 %189, label %190, label %200
190: ; preds = %174
%191 = load i32, i32* @M_PI
%192 = shl nsw i32 %191, 1
%193 = sitofp i32 %192 to float
%194 = fmul float %193, %6
%195 = load float, float* %182
%196 = fmul float %195, %194
%197 = fptosi float %196 to i32
%198 = tail call float @sin(i32 %197)
%199 = fmul float %173, %198
br label %200
200: ; preds = %174, %190
%201 = phi float [ %199, %190 ], [ 0.000000e+00, %174 ]
%202 = getelementptr inbounds float, float* %2, i64 %175
store float %201, float* %202
%203 = add nuw nsw i64 %175, 1
%204 = icmp eq i64 %203, 64
br i1 %204, label %205, label %174
205: ; preds = %140, %87, %200
%206 = phi float [ %8, %200 ], [ %75, %87 ], [ %127, %140 ]
%207 = phi float [ %173, %200 ], [ %78, %87 ], [ %130, %140 ]
%208 = phi float [ 0.000000e+00, %200 ], [ %86, %87 ], [ %139, %140 ]
%209 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
%210 = load float, float* %4
%211 = fpext float %210 to double
%212 = fpext float %13 to double
%213 = fpext float %206 to double
%214 = fpext float %208 to double
%215 = fpext float %207 to double
%216 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0), double %211, double %212, double %213, double %214, double %215)
ret void
}