#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 */
scalar_t__ calloc(int, int);
double fabs(double);
scalar_t__ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ free(void *);
int get_FITS_key(int, char **, char *, char *);
int /*<<< orphan*/ memset(char *, char, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int read_FITS_header(int /*<<< orphan*/ *, char ***);
int read_FITS_image(int /*<<< orphan*/ *, char **, int, void **);
int sscanf(char *, char *, ...);
float *read_FITS_1Dfile(char *iname, int *ncards, char ***header, int *n1) {
  void *buf;
  char value[70], **lhead;
  int i, hs, bitpix, naxes, nx, nbytes;
  float *ldata;
  double FITS_bzero, FITS_dirale;
  FILE *inf;
  memset(value, ' ', 70);
  if ((inf = fopen(iname, "r")) == NULL) {
    perror(iname);
    return (NULL);
  }
  if ((hs = read_FITS_header(inf, &lhead)) < 36) {
    printf("\n\tERROR! read_FITS_1Dfile(): incorrect header length\n");
    return (NULL);
  }
  if ((nbytes = read_FITS_image(inf, lhead, hs, &buf)) < 1) {
    printf("\n\tERROR! read_FITS_1Dfile(): incorrect image length\n");
    return (NULL);
  }
  if (fclose(inf) != 0)
    printf("\n\tWARNING! read_FITS_1Dfile: cannot close %s\n", iname);
  if (get_FITS_key(hs, lhead, "NAXIS", value) == -1) {
    printf("\n\tERROR! read_FITS_1Dfile(%s): NAXIS not found in the header\n",
           iname);
    return (NULL);
  }
  if (sscanf(value, "%d", &naxes) < 1) {
    printf("\n\tERROR! read_FITS_1Dfile(): reading NAXIS\n");
    return (NULL);
  }
  if (naxes != 1) {
    printf("\n\tERROR! read_FITS_1Dfile(%s): NAXIS= %d (expected 1)\n", iname,
           naxes);
    return (NULL);
  }
  if (get_FITS_key(hs, lhead, "NAXIS1", value) == -1) {
    printf("\n\tERROR! read_FITS_1Dfile(%s): NAXIS1 not found in the header\n",
           iname);
    return (NULL);
  }
  if (sscanf(value, "%d", &nx) < 1) {
    printf("\n\tERROR! read_FITS_1Dfile(): reading NAXIS1\n");
    return (NULL);
  }
  if (get_FITS_key(hs, lhead, "BITPIX", value) == -1) {
    printf("\n\tERROR! read_FITS_1Dfile(%s): BITPIX not found in the header\n",
           iname);
    return (NULL);
  }
  if (sscanf(value, "%d", &bitpix) < 1) {
    printf("\n\tERROR! read_FITS_1Dfile(): reading BITPIX\n");
    return (NULL);
  }
  if ((ldata = (float *)calloc(nx, sizeof(float))) == NULL) {
    perror("\n\tERROR! read_FITS_1Dfile(): calloc(ldata)");
    return (NULL);
  }
  if (get_FITS_key(hs, lhead, "BZERO", value) == -1)
    FITS_bzero = 0.0;
  else {
    if (sscanf(value, "%lg", &FITS_bzero) < 1) {
      printf("\n\tERROR! read_FITS_1Dfile(): reading BZERO\n");
      return (NULL);
    }
  }
  if (get_FITS_key(hs, lhead, "BSCALE", value) == -1)
    FITS_dirale = 1.0;
  else {
    if (sscanf(value, "%lg", &FITS_dirale) < 1) {
      printf("\n\tERROR! read_FITS_1Dfile(): reading BSCALE\n");
      return (NULL);
    }
  }
  switch (bitpix) {
  case 8:
    for (i = 0; i < nx; i++)
      ldata[i] = (float)((unsigned char *)buf)[i];
    break;
  case 16:
    for (i = 0; i < nx; i++)
      ldata[i] = (float)((short *)buf)[i];
    break;
  case 32:
    for (i = 0; i < nx; i++)
      ldata[i] = (float)((int *)buf)[i];
    break;
  case -32:
    for (i = 0; i < nx; i++)
      ldata[i] = ((float *)buf)[i];
    break;
  case -64:
    for (i = 0; i < nx; i++)
      ldata[i] = (float)((double *)buf)[i];
    break;
  default:
    printf("\n\tERROR! read_FITS_1Dfile(%s): bitpix= %d", iname, bitpix);
    printf(" not supported\n");
    return (NULL);
  }
  free(buf);
  if (fabs(FITS_dirale - 1.0) > 1.0e-15)
    for (i = 0; i < nx; i++)
      ldata[i] *= FITS_dirale;
  if (fabs(FITS_bzero) > 1.0e-15)
    for (i = 0; i < nx; i++)
      ldata[i] += FITS_bzero;
  *n1 = nx;
  *ncards = hs;
  *header = lhead;
  return (ldata);
}


x86 assembly (clang, -O0):
<read_FITS_1Dfile>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
lea    -0x80(%rbp),%rdi
mov    $0x20,%esi
mov    $0x46,%edx
call   1070 <memset@plt>
mov    -0x10(%rbp),%rdi
lea    0xe37(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0xc0(%rbp)
cmp    $0x0,%rax
jne    1215 <read_FITS_1Dfile+0x65>
mov    -0x10(%rbp),%rdi
call   10c0 <perror@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0xc0(%rbp),%rdi
lea    -0x88(%rbp),%rsi
call   10d0 <read_FITS_header@plt>
mov    %eax,-0x90(%rbp)
cmp    $0x24,%eax
jge    1252 <read_FITS_1Dfile+0xa2>
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0xc0(%rbp),%rdi
mov    -0x88(%rbp),%rsi
mov    -0x90(%rbp),%edx
lea    -0x30(%rbp),%rcx
call   1040 <read_FITS_image@plt>
mov    %eax,-0xa0(%rbp)
cmp    $0x1,%eax
jge    1299 <read_FITS_1Dfile+0xe9>
lea    0xdd3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0xc0(%rbp),%rdi
call   1050 <fclose@plt>
cmp    $0x0,%rax
je     12c1 <read_FITS_1Dfile+0x111>
mov    -0x10(%rbp),%rsi
lea    0xdd3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x90(%rbp),%edi
mov    -0x88(%rbp),%rsi
lea    -0x80(%rbp),%rcx
lea    0xde2(%rip),%rdx
call   1090 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
jne    1306 <read_FITS_1Dfile+0x156>
mov    -0x10(%rbp),%rsi
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
lea    -0x80(%rbp),%rdi
lea    0xff3(%rip),%rsi
lea    -0x98(%rbp),%rdx
mov    $0x0,%al
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
jge    1343 <read_FITS_1Dfile+0x193>
lea    0xdd0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
cmpl   $0x1,-0x98(%rbp)
je     1375 <read_FITS_1Dfile+0x1c5>
mov    -0x10(%rbp),%rsi
mov    -0x98(%rbp),%edx
lea    0xdca(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0x90(%rbp),%edi
mov    -0x88(%rbp),%rsi
lea    -0x80(%rbp),%rcx
lea    0xdd5(%rip),%rdx
call   1090 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
jne    13ba <read_FITS_1Dfile+0x20a>
mov    -0x10(%rbp),%rsi
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
lea    -0x80(%rbp),%rdi
lea    0xf3f(%rip),%rsi
lea    -0x9c(%rbp),%rdx
mov    $0x0,%al
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
jge    13f7 <read_FITS_1Dfile+0x247>
lea    0xdc5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0x90(%rbp),%edi
mov    -0x88(%rbp),%rsi
lea    -0x80(%rbp),%rcx
lea    0xdc6(%rip),%rdx
call   1090 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
jne    143c <read_FITS_1Dfile+0x28c>
mov    -0x10(%rbp),%rsi
lea    0xdb4(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
lea    -0x80(%rbp),%rdi
lea    0xebd(%rip),%rsi
lea    -0x94(%rbp),%rdx
mov    $0x0,%al
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
jge    1479 <read_FITS_1Dfile+0x2c9>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0x9c(%rbp),%edi
mov    $0x4,%esi
call   1080 <calloc@plt>
mov    %rax,-0xa8(%rbp)
cmp    $0x0,%rax
jne    14b3 <read_FITS_1Dfile+0x303>
lea    0xda7(%rip),%rdi
call   10c0 <perror@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0x90(%rbp),%edi
mov    -0x88(%rbp),%rsi
lea    -0x80(%rbp),%rcx
lea    0xda8(%rip),%rdx
call   1090 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
jne    14e9 <read_FITS_1Dfile+0x339>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
jmp    152b <read_FITS_1Dfile+0x37b>
lea    -0x80(%rbp),%rdi
lea    0xd85(%rip),%rsi
lea    -0xb0(%rbp),%rdx
mov    $0x0,%al
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
jge    1526 <read_FITS_1Dfile+0x376>
lea    0xd6b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
jmp    152b <read_FITS_1Dfile+0x37b>
mov    -0x90(%rbp),%edi
mov    -0x88(%rbp),%rsi
lea    -0x80(%rbp),%rcx
lea    0xd66(%rip),%rdx
call   1090 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
jne    1566 <read_FITS_1Dfile+0x3b6>
movsd  0xaa7(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
jmp    15a8 <read_FITS_1Dfile+0x3f8>
lea    -0x80(%rbp),%rdi
lea    0xd08(%rip),%rsi
lea    -0xb8(%rbp),%rdx
mov    $0x0,%al
call   10a0 <sscanf@plt>
cmp    $0x1,%eax
jge    15a3 <read_FITS_1Dfile+0x3f3>
lea    0xd21(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
jmp    15a8 <read_FITS_1Dfile+0x3f8>
mov    -0x94(%rbp),%eax
mov    %eax,-0xc4(%rbp)
sub    $0xffffffc0,%eax
je     1778 <read_FITS_1Dfile+0x5c8>
jmp    15c2 <read_FITS_1Dfile+0x412>
mov    -0xc4(%rbp),%eax
sub    $0xffffffe0,%eax
je     1720 <read_FITS_1Dfile+0x570>
jmp    15d6 <read_FITS_1Dfile+0x426>
mov    -0xc4(%rbp),%eax
sub    $0x8,%eax
je     1612 <read_FITS_1Dfile+0x462>
jmp    15ea <read_FITS_1Dfile+0x43a>
mov    -0xc4(%rbp),%eax
sub    $0x10,%eax
je     166d <read_FITS_1Dfile+0x4bd>
jmp    15fe <read_FITS_1Dfile+0x44e>
mov    -0xc4(%rbp),%eax
sub    $0x20,%eax
je     16c8 <read_FITS_1Dfile+0x518>
jmp    17d4 <read_FITS_1Dfile+0x624>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    1668 <read_FITS_1Dfile+0x4b8>
mov    -0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
cvtsi2ss %eax,%xmm0
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    161c <read_FITS_1Dfile+0x46c>
jmp    1807 <read_FITS_1Dfile+0x657>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    16c3 <read_FITS_1Dfile+0x513>
mov    -0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cvtsi2ss %eax,%xmm0
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    1677 <read_FITS_1Dfile+0x4c7>
jmp    1807 <read_FITS_1Dfile+0x657>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    171b <read_FITS_1Dfile+0x56b>
mov    -0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
cvtsi2ssl (%rax,%rcx,4),%xmm0
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    16d2 <read_FITS_1Dfile+0x522>
jmp    1807 <read_FITS_1Dfile+0x657>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    1773 <read_FITS_1Dfile+0x5c3>
mov    -0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    172a <read_FITS_1Dfile+0x57a>
jmp    1807 <read_FITS_1Dfile+0x657>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    17cf <read_FITS_1Dfile+0x61f>
mov    -0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    1782 <read_FITS_1Dfile+0x5d2>
jmp    1807 <read_FITS_1Dfile+0x657>
mov    -0x10(%rbp),%rsi
mov    -0x94(%rbp),%edx
lea    0xaf8(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xb14(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x8(%rbp)
jmp    1959 <read_FITS_1Dfile+0x7a9>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
movsd  -0xb8(%rbp),%xmm0
ff
movsd  0x7e0(%rip),%xmm1
subsd  %xmm1,%xmm0
movaps 0x7e5(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  0x7d1(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    18a2 <read_FITS_1Dfile+0x6f2>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    189d <read_FITS_1Dfile+0x6ed>
movsd  -0xb8(%rbp),%xmm1
ff
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    184b <read_FITS_1Dfile+0x69b>
jmp    18a2 <read_FITS_1Dfile+0x6f2>
movsd  -0xb0(%rbp),%xmm0
ff
movaps 0x75f(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  0x74b(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1928 <read_FITS_1Dfile+0x778>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    1923 <read_FITS_1Dfile+0x773>
movsd  -0xb0(%rbp),%xmm1
ff
mov    -0xa8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    18d1 <read_FITS_1Dfile+0x721>
jmp    1928 <read_FITS_1Dfile+0x778>
mov    -0x9c(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x90(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x88(%rbp),%rcx
mov    -0x20(%rbp),%rax
mov    %rcx,(%rax)
mov    -0xa8(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<read_FITS_1Dfile>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %rcx,%r15
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%rbp
lea    0x30(%rsp),%rdi
mov    $0x20,%esi
mov    $0x46,%edx
call   1080 <memset@plt>
lea    0xe2b(%rip),%rsi
mov    %rbp,%rdi
call   10c0 <fopen@plt>
test   %rax,%rax
je     13da <read_FITS_1Dfile+0x21a>
mov    %rax,%rbx
lea    0x8(%rsp),%rsi
mov    %rax,%rdi
call   10e0 <read_FITS_header@plt>
cmp    $0x23,%eax
jg     1227 <read_FITS_1Dfile+0x67>
lea    0x1097(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
mov    %eax,%r13d
mov    0x8(%rsp),%rsi
lea    0x10(%rsp),%rcx
mov    %rbx,%rdi
mov    %eax,%edx
call   1050 <read_FITS_image@plt>
test   %eax,%eax
jle    139c <read_FITS_1Dfile+0x1dc>
mov    %rbx,%rdi
call   1060 <fclose@plt>
test   %rax,%rax
je     1264 <read_FITS_1Dfile+0xa4>
lea    0xdc8(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp),%rsi
lea    0x100f(%rip),%rdx
lea    0x30(%rsp),%rcx
mov    %r13d,%edi
call   10a0 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
je     13a5 <read_FITS_1Dfile+0x1e5>
lea    0xf0c(%rip),%rsi
lea    0x30(%rsp),%rdi
lea    0x18(%rsp),%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
test   %eax,%eax
jle    13ba <read_FITS_1Dfile+0x1fa>
mov    0x18(%rsp),%edx
cmp    $0x1,%edx
jne    13e4 <read_FITS_1Dfile+0x224>
mov    0x8(%rsp),%rsi
lea    0xf94(%rip),%rdx
lea    0x30(%rsp),%rcx
mov    %r13d,%edi
call   10a0 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
je     13f9 <read_FITS_1Dfile+0x239>
lea    0xebd(%rip),%rsi
lea    0x30(%rsp),%rdi
lea    0x4(%rsp),%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
test   %eax,%eax
jle    1402 <read_FITS_1Dfile+0x242>
mov    0x8(%rsp),%rsi
lea    0xf26(%rip),%rdx
lea    0x30(%rsp),%rcx
mov    %r13d,%edi
call   10a0 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
je     140b <read_FITS_1Dfile+0x24b>
lea    0xe7b(%rip),%rsi
lea    0x30(%rsp),%rdi
lea    0x1c(%rsp),%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
test   %eax,%eax
jle    1414 <read_FITS_1Dfile+0x254>
mov    0x4(%rsp),%edi
mov    $0x4,%esi
call   1090 <calloc@plt>
test   %rax,%rax
je     1692 <read_FITS_1Dfile+0x4d2>
mov    %rax,%rbx
mov    0x8(%rsp),%rsi
lea    0xe9f(%rip),%rdx
lea    0x30(%rsp),%rcx
mov    %r13d,%edi
call   10a0 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
je     141d <read_FITS_1Dfile+0x25d>
lea    0xdf4(%rip),%rsi
lea    0x30(%rsp),%rdi
lea    0x28(%rsp),%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
test   %eax,%eax
jg     1426 <read_FITS_1Dfile+0x266>
lea    0xe3d(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
lea    0xee2(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
lea    0xca4(%rip),%rdi
xor    %ebx,%ebx
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    13c8 <read_FITS_1Dfile+0x208>
lea    0xe99(%rip),%rdi
call   1040 <puts@plt>
xor    %ebx,%ebx
mov    %rbx,%rax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %rbp,%rdi
call   10d0 <perror@plt>
jmp    13c6 <read_FITS_1Dfile+0x206>
lea    0xca3(%rip),%rdi
xor    %ebx,%ebx
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    13c8 <read_FITS_1Dfile+0x208>
lea    0xcc5(%rip),%rdi
jmp    13ac <read_FITS_1Dfile+0x1ec>
lea    0xe25(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
lea    0xcf2(%rip),%rdi
jmp    13ac <read_FITS_1Dfile+0x1ec>
lea    0xde7(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
movq   $0x0,0x28(%rsp)
mov    0x8(%rsp),%rsi
lea    0xd9e(%rip),%rdx
lea    0x30(%rsp),%rcx
mov    %r13d,%edi
call   10a0 <get_FITS_key@plt>
cmp    $0xffffffff,%eax
je     146c <read_FITS_1Dfile+0x2ac>
lea    0xd23(%rip),%rsi
lea    0x30(%rsp),%rdi
lea    0x20(%rsp),%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
test   %eax,%eax
jg     147b <read_FITS_1Dfile+0x2bb>
lea    0xd44(%rip),%rdi
jmp    13c1 <read_FITS_1Dfile+0x201>
movabs $0x3ff0000000000000,%rax
mov    %rax,0x20(%rsp)
mov    0x1c(%rsp),%edx
cmp    $0x7,%edx
jle    14c0 <read_FITS_1Dfile+0x300>
cmp    $0x8,%edx
je     1570 <read_FITS_1Dfile+0x3b0>
cmp    $0x10,%edx
je     162c <read_FITS_1Dfile+0x46c>
cmp    $0x20,%edx
jne    166e <read_FITS_1Dfile+0x4ae>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1996 <read_FITS_1Dfile+0x7d6>
mov    0x10(%rsp),%rcx
cmp    $0x8,%eax
jae    169e <read_FITS_1Dfile+0x4de>
xor    %edx,%edx
jmp    18e7 <read_FITS_1Dfile+0x727>
cmp    $0xffffffc0,%edx
je     164d <read_FITS_1Dfile+0x48d>
cmp    $0xffffffe0,%edx
jne    166e <read_FITS_1Dfile+0x4ae>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1996 <read_FITS_1Dfile+0x7d6>
mov    0x10(%rsp),%rcx
cmp    $0x8,%eax
jb     1502 <read_FITS_1Dfile+0x342>
lea    (%rcx,%rax,4),%rdx
cmp    %rdx,%rbx
jae    1803 <read_FITS_1Dfile+0x643>
lea    (%rbx,%rax,4),%rdx
cmp    %rdx,%rcx
jae    1803 <read_FITS_1Dfile+0x643>
xor    %edx,%edx
mov    %rdx,%rsi
not    %rsi
add    %rax,%rsi
mov    %rax,%rdi
and    $0x3,%rdi
je     152a <read_FITS_1Dfile+0x36a>
movss  (%rcx,%rdx,4),%xmm0
movss  %xmm0,(%rbx,%rdx,4)
add    $0x1,%rdx
add    $0xffffffffffffffff,%rdi
jne    1516 <read_FITS_1Dfile+0x356>
cmp    $0x3,%rsi
jb     1996 <read_FITS_1Dfile+0x7d6>
movss  (%rcx,%rdx,4),%xmm0
movss  %xmm0,(%rbx,%rdx,4)
movss  0x4(%rcx,%rdx,4),%xmm0
movss  %xmm0,0x4(%rbx,%rdx,4)
movss  0x8(%rcx,%rdx,4),%xmm0
movss  %xmm0,0x8(%rbx,%rdx,4)
movss  0xc(%rcx,%rdx,4),%xmm0
movss  %xmm0,0xc(%rbx,%rdx,4)
add    $0x4,%rdx
cmp    %rdx,%rax
jne    1534 <read_FITS_1Dfile+0x374>
jmp    1996 <read_FITS_1Dfile+0x7d6>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1996 <read_FITS_1Dfile+0x7d6>
mov    0x10(%rsp),%rcx
cmp    $0x8,%eax
jb     15a0 <read_FITS_1Dfile+0x3e0>
lea    (%rcx,%rax,1),%rdx
cmp    %rbx,%rdx
jbe    182f <read_FITS_1Dfile+0x66f>
lea    (%rbx,%rax,4),%rdx
cmp    %rdx,%rcx
jae    182f <read_FITS_1Dfile+0x66f>
xor    %edx,%edx
mov    %rdx,%rsi
not    %rsi
add    %rax,%rsi
mov    %rax,%rdi
and    $0x3,%rdi
je     15ce <read_FITS_1Dfile+0x40e>
movzbl (%rcx,%rdx,1),%ebp
xorps  %xmm0,%xmm0
cvtsi2ss %ebp,%xmm0
movss  %xmm0,(%rbx,%rdx,4)
add    $0x1,%rdx
add    $0xffffffffffffffff,%rdi
jne    15b4 <read_FITS_1Dfile+0x3f4>
cmp    $0x3,%rsi
jb     1996 <read_FITS_1Dfile+0x7d6>
movzbl (%rcx,%rdx,1),%esi
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
movss  %xmm0,(%rbx,%rdx,4)
movzbl 0x1(%rcx,%rdx,1),%esi
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
movss  %xmm0,0x4(%rbx,%rdx,4)
movzbl 0x2(%rcx,%rdx,1),%esi
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
movss  %xmm0,0x8(%rbx,%rdx,4)
movzbl 0x3(%rcx,%rdx,1),%esi
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
movss  %xmm0,0xc(%rbx,%rdx,4)
add    $0x4,%rdx
cmp    %rdx,%rax
jne    15d8 <read_FITS_1Dfile+0x418>
jmp    1996 <read_FITS_1Dfile+0x7d6>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1996 <read_FITS_1Dfile+0x7d6>
mov    0x10(%rsp),%rcx
cmp    $0x8,%eax
jae    1705 <read_FITS_1Dfile+0x545>
xor    %edx,%edx
jmp    193b <read_FITS_1Dfile+0x77b>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1996 <read_FITS_1Dfile+0x7d6>
mov    0x10(%rsp),%rcx
cmp    $0x4,%eax
jae    1794 <read_FITS_1Dfile+0x5d4>
xor    %edx,%edx
jmp    197f <read_FITS_1Dfile+0x7bf>
lea    0xafd(%rip),%rdi
xor    %ebx,%ebx
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xb14(%rip),%rdi
call   1040 <puts@plt>
jmp    13c8 <read_FITS_1Dfile+0x208>
lea    0xaaa(%rip),%rdi
jmp    13dd <read_FITS_1Dfile+0x21d>
mov    %eax,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rsi
mov    %rsi,%rbp
shr    $0x3,%rbp
add    $0x1,%rbp
test   %rsi,%rsi
je     18be <read_FITS_1Dfile+0x6fe>
mov    %rbp,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edi,%edi
movups (%rcx,%rdi,4),%xmm0
movups 0x10(%rcx,%rdi,4),%xmm1
cvtdq2ps %xmm0,%xmm0
cvtdq2ps %xmm1,%xmm1
movups %xmm0,(%rbx,%rdi,4)
movups %xmm1,0x10(%rbx,%rdi,4)
movups 0x20(%rcx,%rdi,4),%xmm0
movups 0x30(%rcx,%rdi,4),%xmm1
cvtdq2ps %xmm0,%xmm0
cvtdq2ps %xmm1,%xmm1
movups %xmm0,0x20(%rbx,%rdi,4)
movups %xmm1,0x30(%rbx,%rdi,4)
add    $0x10,%rdi
add    $0xfffffffffffffffe,%rsi
jne    16c4 <read_FITS_1Dfile+0x504>
jmp    18c0 <read_FITS_1Dfile+0x700>
mov    %eax,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rsi
mov    %rsi,%rbp
shr    $0x3,%rbp
add    $0x1,%rbp
test   %rsi,%rsi
je     1902 <read_FITS_1Dfile+0x742>
mov    %rbp,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %esi,%esi
movq   (%rcx,%rsi,2),%xmm0
punpcklwd %xmm0,%xmm0
movq   0x8(%rcx,%rsi,2),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm0
cvtdq2ps %xmm0,%xmm0
psrad  $0x10,%xmm1
cvtdq2ps %xmm1,%xmm1
movups %xmm0,(%rbx,%rsi,4)
movups %xmm1,0x10(%rbx,%rsi,4)
movq   0x10(%rcx,%rsi,2),%xmm0
punpcklwd %xmm0,%xmm0
movq   0x18(%rcx,%rsi,2),%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm0
cvtdq2ps %xmm0,%xmm0
psrad  $0x10,%xmm1
cvtdq2ps %xmm1,%xmm1
movups %xmm0,0x20(%rbx,%rsi,4)
movups %xmm1,0x30(%rbx,%rsi,4)
add    $0x10,%rsi
add    $0xfffffffffffffffe,%rdi
jne    172b <read_FITS_1Dfile+0x56b>
jmp    1904 <read_FITS_1Dfile+0x744>
mov    %eax,%edx
and    $0xfffffffc,%edx
lea    -0x4(%rdx),%rsi
mov    %rsi,%rbp
shr    $0x2,%rbp
add    $0x1,%rbp
test   %rsi,%rsi
je     1956 <read_FITS_1Dfile+0x796>
mov    %rbp,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edi,%edi
movupd (%rcx,%rdi,8),%xmm0
movupd 0x10(%rcx,%rdi,8),%xmm1
cvtpd2ps %xmm0,%xmm0
cvtpd2ps %xmm1,%xmm1
unpcklpd %xmm1,%xmm0
movupd %xmm0,(%rbx,%rdi,4)
movupd 0x20(%rcx,%rdi,8),%xmm0
movupd 0x30(%rcx,%rdi,8),%xmm1
cvtpd2ps %xmm0,%xmm0
cvtpd2ps %xmm1,%xmm1
unpcklpd %xmm1,%xmm0
movupd %xmm0,0x10(%rbx,%rdi,4)
add    $0x8,%rdi
add    $0xfffffffffffffffe,%rsi
jne    17ba <read_FITS_1Dfile+0x5fa>
jmp    1958 <read_FITS_1Dfile+0x798>
mov    %eax,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rsi
mov    %rsi,%rdi
shr    $0x3,%rdi
add    $0x1,%rdi
mov    %edi,%r8d
and    $0x3,%r8d
cmp    $0x18,%rsi
jae    1ca8 <read_FITS_1Dfile+0xae8>
xor    %ebp,%ebp
jmp    1d17 <read_FITS_1Dfile+0xb57>
mov    %eax,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rsi
mov    %rsi,%rbp
shr    $0x3,%rbp
add    $0x1,%rbp
test   %rsi,%rsi
je     1d60 <read_FITS_1Dfile+0xba0>
mov    %rbp,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %esi,%esi
pxor   %xmm0,%xmm0
movd   (%rcx,%rsi,1),%xmm1
movd   0x4(%rcx,%rsi,1),%xmm2
punpcklbw %xmm0,%xmm1
punpcklwd %xmm0,%xmm1
cvtdq2ps %xmm1,%xmm1
punpcklbw %xmm0,%xmm2
punpcklwd %xmm0,%xmm2
cvtdq2ps %xmm2,%xmm2
movups %xmm1,(%rbx,%rsi,4)
movups %xmm2,0x10(%rbx,%rsi,4)
movd   0x8(%rcx,%rsi,1),%xmm1
movd   0xc(%rcx,%rsi,1),%xmm2
punpcklbw %xmm0,%xmm1
punpcklwd %xmm0,%xmm1
cvtdq2ps %xmm1,%xmm1
punpcklbw %xmm0,%xmm2
punpcklwd %xmm0,%xmm2
cvtdq2ps %xmm2,%xmm2
movups %xmm1,0x20(%rbx,%rsi,4)
movups %xmm2,0x30(%rbx,%rsi,4)
add    $0x10,%rsi
add    $0xfffffffffffffffe,%rdi
jne    1859 <read_FITS_1Dfile+0x699>
jmp    1d62 <read_FITS_1Dfile+0xba2>
xor    %edi,%edi
test   $0x1,%bpl
je     18de <read_FITS_1Dfile+0x71e>
movups (%rcx,%rdi,4),%xmm0
movups 0x10(%rcx,%rdi,4),%xmm1
cvtdq2ps %xmm0,%xmm0
cvtdq2ps %xmm1,%xmm1
movups %xmm0,(%rbx,%rdi,4)
movups %xmm1,0x10(%rbx,%rdi,4)
cmp    %rax,%rdx
je     1996 <read_FITS_1Dfile+0x7d6>
xorps  %xmm0,%xmm0
cvtsi2ssl (%rcx,%rdx,4),%xmm0
movss  %xmm0,(%rbx,%rdx,4)
add    $0x1,%rdx
cmp    %rdx,%rax
jne    18e7 <read_FITS_1Dfile+0x727>
jmp    1996 <read_FITS_1Dfile+0x7d6>
xor    %esi,%esi
test   $0x1,%bpl
je     1936 <read_FITS_1Dfile+0x776>
movq   (%rcx,%rsi,2),%xmm0
movq   0x8(%rcx,%rsi,2),%xmm1
punpcklwd %xmm0,%xmm0
psrad  $0x10,%xmm0
cvtdq2ps %xmm0,%xmm0
punpcklwd %xmm1,%xmm1
psrad  $0x10,%xmm1
cvtdq2ps %xmm1,%xmm1
movups %xmm0,(%rbx,%rsi,4)
movups %xmm1,0x10(%rbx,%rsi,4)
cmp    %rax,%rdx
je     1996 <read_FITS_1Dfile+0x7d6>
movswl (%rcx,%rdx,2),%esi
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
movss  %xmm0,(%rbx,%rdx,4)
add    $0x1,%rdx
cmp    %rdx,%rax
jne    193b <read_FITS_1Dfile+0x77b>
jmp    1996 <read_FITS_1Dfile+0x7d6>
xor    %edi,%edi
test   $0x1,%bpl
je     197a <read_FITS_1Dfile+0x7ba>
movupd (%rcx,%rdi,8),%xmm0
movupd 0x10(%rcx,%rdi,8),%xmm1
cvtpd2ps %xmm0,%xmm0
cvtpd2ps %xmm1,%xmm1
unpcklpd %xmm1,%xmm0
movupd %xmm0,(%rbx,%rdi,4)
cmp    %rax,%rdx
je     1996 <read_FITS_1Dfile+0x7d6>
movsd  (%rcx,%rdx,8),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,(%rbx,%rdx,4)
add    $0x1,%rdx
cmp    %rdx,%rax
jne    197f <read_FITS_1Dfile+0x7bf>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
movsd  0x20(%rsp),%xmm0
movsd  0x652(%rip),%xmm1
addsd  %xmm0,%xmm1
andpd  0x656(%rip),%xmm1
ucomisd 0x646(%rip),%xmm1
jbe    1b1e <read_FITS_1Dfile+0x95e>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1b1e <read_FITS_1Dfile+0x95e>
cmp    $0x8,%eax
jae    19e0 <read_FITS_1Dfile+0x820>
xor    %ecx,%ecx
jmp    1aff <read_FITS_1Dfile+0x93f>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
lea    -0x8(%rcx),%rdx
mov    %rdx,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
test   %rdx,%rdx
je     1aac <read_FITS_1Dfile+0x8ec>
mov    %rsi,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %edx,%edx
cvtps2pd 0x8(%rbx,%rdx,4),%xmm2
cvtps2pd (%rbx,%rdx,4),%xmm3
cvtps2pd 0x18(%rbx,%rdx,4),%xmm4
cvtps2pd 0x10(%rbx,%rdx,4),%xmm5
mulpd  %xmm1,%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm5
mulpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm2
cvtpd2ps %xmm3,%xmm3
cvtpd2ps %xmm4,%xmm4
unpcklpd %xmm2,%xmm3
cvtpd2ps %xmm5,%xmm2
unpcklpd %xmm4,%xmm2
movupd %xmm3,(%rbx,%rdx,4)
movupd %xmm2,0x10(%rbx,%rdx,4)
cvtps2pd 0x28(%rbx,%rdx,4),%xmm2
cvtps2pd 0x20(%rbx,%rdx,4),%xmm3
cvtps2pd 0x38(%rbx,%rdx,4),%xmm4
cvtps2pd 0x30(%rbx,%rdx,4),%xmm5
mulpd  %xmm1,%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm5
mulpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm2
cvtpd2ps %xmm3,%xmm3
cvtpd2ps %xmm4,%xmm4
unpcklpd %xmm2,%xmm3
cvtpd2ps %xmm5,%xmm2
unpcklpd %xmm4,%xmm2
movupd %xmm3,0x20(%rbx,%rdx,4)
movupd %xmm2,0x30(%rbx,%rdx,4)
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rdi
jne    1a0e <read_FITS_1Dfile+0x84e>
jmp    1aae <read_FITS_1Dfile+0x8ee>
xor    %edx,%edx
test   $0x1,%sil
je     1afa <read_FITS_1Dfile+0x93a>
cvtps2pd 0x8(%rbx,%rdx,4),%xmm2
cvtps2pd (%rbx,%rdx,4),%xmm3
cvtps2pd 0x18(%rbx,%rdx,4),%xmm4
cvtps2pd 0x10(%rbx,%rdx,4),%xmm5
mulpd  %xmm1,%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm5
mulpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm1
cvtpd2ps %xmm3,%xmm2
cvtpd2ps %xmm4,%xmm3
cvtpd2ps %xmm5,%xmm4
unpcklpd %xmm1,%xmm2
unpcklpd %xmm3,%xmm4
movupd %xmm2,(%rbx,%rdx,4)
movupd %xmm4,0x10(%rbx,%rdx,4)
cmp    %rax,%rcx
je     1b1e <read_FITS_1Dfile+0x95e>
movss  (%rbx,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
movss  %xmm1,(%rbx,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1aff <read_FITS_1Dfile+0x93f>
movsd  0x28(%rsp),%xmm0
movapd 0x4e4(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd 0x4d0(%rip),%xmm1
mov    0x4(%rsp),%eax
jbe    1c94 <read_FITS_1Dfile+0xad4>
test   %eax,%eax
jle    1c94 <read_FITS_1Dfile+0xad4>
cmp    $0x8,%eax
jae    1b56 <read_FITS_1Dfile+0x996>
xor    %ecx,%ecx
jmp    1c75 <read_FITS_1Dfile+0xab5>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
lea    -0x8(%rcx),%rdx
mov    %rdx,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
test   %rdx,%rdx
je     1c22 <read_FITS_1Dfile+0xa62>
mov    %rsi,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %edx,%edx
cvtps2pd 0x8(%rbx,%rdx,4),%xmm2
cvtps2pd (%rbx,%rdx,4),%xmm3
cvtps2pd 0x18(%rbx,%rdx,4),%xmm4
cvtps2pd 0x10(%rbx,%rdx,4),%xmm5
addpd  %xmm1,%xmm3
addpd  %xmm1,%xmm2
addpd  %xmm1,%xmm5
addpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm2
cvtpd2ps %xmm3,%xmm3
cvtpd2ps %xmm4,%xmm4
unpcklpd %xmm2,%xmm3
cvtpd2ps %xmm5,%xmm2
unpcklpd %xmm4,%xmm2
movupd %xmm3,(%rbx,%rdx,4)
movupd %xmm2,0x10(%rbx,%rdx,4)
cvtps2pd 0x28(%rbx,%rdx,4),%xmm2
cvtps2pd 0x20(%rbx,%rdx,4),%xmm3
cvtps2pd 0x38(%rbx,%rdx,4),%xmm4
cvtps2pd 0x30(%rbx,%rdx,4),%xmm5
addpd  %xmm1,%xmm3
addpd  %xmm1,%xmm2
addpd  %xmm1,%xmm5
addpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm2
cvtpd2ps %xmm3,%xmm3
cvtpd2ps %xmm4,%xmm4
unpcklpd %xmm2,%xmm3
cvtpd2ps %xmm5,%xmm2
unpcklpd %xmm4,%xmm2
movupd %xmm3,0x20(%rbx,%rdx,4)
movupd %xmm2,0x30(%rbx,%rdx,4)
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rdi
jne    1b84 <read_FITS_1Dfile+0x9c4>
jmp    1c24 <read_FITS_1Dfile+0xa64>
xor    %edx,%edx
test   $0x1,%sil
je     1c70 <read_FITS_1Dfile+0xab0>
cvtps2pd 0x8(%rbx,%rdx,4),%xmm2
cvtps2pd (%rbx,%rdx,4),%xmm3
cvtps2pd 0x18(%rbx,%rdx,4),%xmm4
cvtps2pd 0x10(%rbx,%rdx,4),%xmm5
addpd  %xmm1,%xmm3
addpd  %xmm1,%xmm2
addpd  %xmm1,%xmm5
addpd  %xmm1,%xmm4
cvtpd2ps %xmm2,%xmm1
cvtpd2ps %xmm3,%xmm2
cvtpd2ps %xmm4,%xmm3
cvtpd2ps %xmm5,%xmm4
unpcklpd %xmm1,%xmm2
unpcklpd %xmm3,%xmm4
movupd %xmm2,(%rbx,%rdx,4)
movupd %xmm4,0x10(%rbx,%rdx,4)
cmp    %rax,%rcx
je     1c94 <read_FITS_1Dfile+0xad4>
movss  (%rbx,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm0,%xmm1
cvtsd2ss %xmm1,%xmm1
movss  %xmm1,(%rbx,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1c75 <read_FITS_1Dfile+0xab5>
mov    %eax,(%r15)
mov    %r13d,(%r12)
mov    0x8(%rsp),%rax
mov    %rax,(%r14)
jmp    13c8 <read_FITS_1Dfile+0x208>
movabs $0x3ffffffffffffffe,%rsi
ff ff 3f
add    $0xfffffffffffffffe,%rsi
and    %rsi,%rdi
xor    %ebp,%ebp
movups (%rcx,%rbp,4),%xmm0
movups 0x10(%rcx,%rbp,4),%xmm1
movups %xmm0,(%rbx,%rbp,4)
movups %xmm1,0x10(%rbx,%rbp,4)
movups 0x20(%rcx,%rbp,4),%xmm0
movups 0x30(%rcx,%rbp,4),%xmm1
movups %xmm0,0x20(%rbx,%rbp,4)
movups %xmm1,0x30(%rbx,%rbp,4)
movups 0x40(%rcx,%rbp,4),%xmm0
movups 0x50(%rcx,%rbp,4),%xmm1
movups %xmm0,0x40(%rbx,%rbp,4)
movups %xmm1,0x50(%rbx,%rbp,4)
movupd 0x60(%rcx,%rbp,4),%xmm0
movupd 0x70(%rcx,%rbp,4),%xmm1
movupd %xmm0,0x60(%rbx,%rbp,4)
movupd %xmm1,0x70(%rbx,%rbp,4)
add    $0x20,%rbp
add    $0xfffffffffffffffc,%rdi
jne    1cbb <read_FITS_1Dfile+0xafb>
test   %r8,%r8
je     1d52 <read_FITS_1Dfile+0xb92>
lea    (%rbx,%rbp,4),%rdi
add    $0x10,%rdi
lea    (%rcx,%rbp,4),%rbp
add    $0x10,%rbp
shl    $0x5,%r8
xor    %esi,%esi
movupd -0x10(%rbp,%rsi,1),%xmm0
movupd 0x0(%rbp,%rsi,1),%xmm1
movupd %xmm0,-0x10(%rdi,%rsi,1)
movupd %xmm1,(%rdi,%rsi,1)
add    $0x20,%rsi
cmp    %rsi,%r8
jne    1d32 <read_FITS_1Dfile+0xb72>
cmp    %rax,%rdx
je     1996 <read_FITS_1Dfile+0x7d6>
jmp    1504 <read_FITS_1Dfile+0x344>
xor    %esi,%esi
test   $0x1,%bpl
je     1d95 <read_FITS_1Dfile+0xbd5>
movd   (%rcx,%rsi,1),%xmm0
movd   0x4(%rcx,%rsi,1),%xmm1
xorps  %xmm2,%xmm2
punpcklbw %xmm2,%xmm0
punpcklwd %xmm2,%xmm0
cvtdq2ps %xmm0,%xmm0
punpcklbw %xmm2,%xmm1
punpcklwd %xmm2,%xmm1
cvtdq2ps %xmm1,%xmm1
movups %xmm0,(%rbx,%rsi,4)
movups %xmm1,0x10(%rbx,%rsi,4)
cmp    %rax,%rdx
je     1996 <read_FITS_1Dfile+0x7d6>
jmp    15a2 <read_FITS_1Dfile+0x3e2>

LLVM IR (-O0):
@.str = [2 x i8] c"r\00"
@.str.1 = [54 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): incorrect header length\0A\00"
@.str.2 = [53 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): incorrect image length\0A\00"
@.str.3 = [46 x i8] c"\0A\09WARNING! read_FITS_1Dfile: cannot close %s\0A\00"
@.str.4 = [6 x i8] c"NAXIS\00"
@.str.5 = [62 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS not found in the header\0A\00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [44 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading NAXIS\0A\00"
@.str.8 = [55 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS= %d (expected 1)\0A\00"
@.str.9 = [7 x i8] c"NAXIS1\00"
@.str.10 = [63 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS1 not found in the header\0A\00"
@.str.11 = [45 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading NAXIS1\0A\00"
@.str.12 = [7 x i8] c"BITPIX\00"
@.str.13 = [63 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): BITPIX not found in the header\0A\00"
@.str.14 = [45 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BITPIX\0A\00"
@.str.15 = [43 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): calloc(ldata)\00"
@.str.16 = [6 x i8] c"BZERO\00"
@.str.17 = [4 x i8] c"%lg\00"
@.str.18 = [44 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BZERO\0A\00"
@.str.19 = [7 x i8] c"BSCALE\00"
@.str.20 = [45 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BSCALE\0A\00"
@.str.21 = [42 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): bitpix= %d\00"
@.str.22 = [16 x i8] c" not supported\0A\00"
define float* @read_FITS_1Dfile(i8* %0, i32* %1, i8*** %2, i32* %3) {
%5 = alloca float*
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca i8***
%9 = alloca i32*
%10 = alloca i8*
%11 = alloca [70 x i8]
%12 = alloca i8**
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca float*
%20 = alloca double
%21 = alloca double
%22 = alloca i32*
store i8* %0, i8** %6
store i32* %1, i32** %7
store i8*** %2, i8**** %8
store i32* %3, i32** %9
%23 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%24 = call i32 @memset(i8* %23, i8 signext 32, i32 70)
%25 = load i8*, i8** %6
%26 = call i32* @fopen(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %26, i32** %22
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %31
28: ; preds = %4
%29 = load i8*, i8** %6
%30 = call i32 @perror(i8* %29)
store float* null, float** %5
br label %306
31: ; preds = %4
%32 = load i32*, i32** %22
%33 = call i32 @read_FITS_header(i32* %32, i8*** %12)
store i32 %33, i32* %14
%34 = icmp slt i32 %33, 36
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.1, i64 0, i64 0))
store float* null, float** %5
br label %306
37: ; preds = %31
%38 = load i32*, i32** %22
%39 = load i8**, i8*** %12
%40 = load i32, i32* %14
%41 = call i32 @read_FITS_image(i32* %38, i8** %39, i32 %40, i8** %10)
store i32 %41, i32* %18
%42 = icmp slt i32 %41, 1
br i1 %42, label %43, label %45
43: ; preds = %37
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0))
store float* null, float** %5
br label %306
45: ; preds = %37
%46 = load i32*, i32** %22
%47 = call i64 @fclose(i32* %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i8*, i8** %6
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8* %50)
br label %52
52: ; preds = %49, %45
%53 = load i32, i32* %14
%54 = load i8**, i8*** %12
%55 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%56 = call i32 @get_FITS_key(i32 %53, i8** %54, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %55)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = load i8*, i8** %6
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i8* %59)
store float* null, float** %5
br label %306
61: ; preds = %52
%62 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%63 = call i32 (i8*, i8*, ...) @sscanf(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %16)
%64 = icmp slt i32 %63, 1
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0))
store float* null, float** %5
br label %306
67: ; preds = %61
%68 = load i32, i32* %16
%69 = icmp ne i32 %68, 1
br i1 %69, label %70, label %74
70: ; preds = %67
%71 = load i8*, i8** %6
%72 = load i32, i32* %16
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i8* %71, i32 %72)
store float* null, float** %5
br label %306
74: ; preds = %67
%75 = load i32, i32* %14
%76 = load i8**, i8*** %12
%77 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%78 = call i32 @get_FITS_key(i32 %75, i8** %76, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* %77)
%79 = icmp eq i32 %78, -1
br i1 %79, label %80, label %83
80: ; preds = %74
%81 = load i8*, i8** %6
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0), i8* %81)
store float* null, float** %5
br label %306
83: ; preds = %74
%84 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%85 = call i32 (i8*, i8*, ...) @sscanf(i8* %84, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %17)
%86 = icmp slt i32 %85, 1
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
store float* null, float** %5
br label %306
89: ; preds = %83
%90 = load i32, i32* %14
%91 = load i8**, i8*** %12
%92 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%93 = call i32 @get_FITS_key(i32 %90, i8** %91, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* %92)
%94 = icmp eq i32 %93, -1
br i1 %94, label %95, label %98
95: ; preds = %89
%96 = load i8*, i8** %6
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.13, i64 0, i64 0), i8* %96)
store float* null, float** %5
br label %306
98: ; preds = %89
%99 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%100 = call i32 (i8*, i8*, ...) @sscanf(i8* %99, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %15)
%101 = icmp slt i32 %100, 1
br i1 %101, label %102, label %104
102: ; preds = %98
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0))
store float* null, float** %5
br label %306
104: ; preds = %98
%105 = load i32, i32* %17
%106 = call i64 @calloc(i32 %105, i32 4)
%107 = inttoptr i64 %106 to float*
store float* %107, float** %19
%108 = icmp eq float* %107, null
br i1 %108, label %109, label %111
109: ; preds = %104
%110 = call i32 @perror(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
store float* null, float** %5
br label %306
111: ; preds = %104
%112 = load i32, i32* %14
%113 = load i8**, i8*** %12
%114 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%115 = call i32 @get_FITS_key(i32 %112, i8** %113, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i8* %114)
%116 = icmp eq i32 %115, -1
br i1 %116, label %117, label %118
117: ; preds = %111
store double 0.000000e+00, double* %20
br label %125
118: ; preds = %111
%119 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%120 = call i32 (i8*, i8*, ...) @sscanf(i8* %119, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %20)
%121 = icmp slt i32 %120, 1
br i1 %121, label %122, label %124
122: ; preds = %118
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.18, i64 0, i64 0))
store float* null, float** %5
br label %306
124: ; preds = %118
br label %125
125: ; preds = %124, %117
%126 = load i32, i32* %14
%127 = load i8**, i8*** %12
%128 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%129 = call i32 @get_FITS_key(i32 %126, i8** %127, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), i8* %128)
%130 = icmp eq i32 %129, -1
br i1 %130, label %131, label %132
131: ; preds = %125
store double 1.000000e+00, double* %21
br label %139
132: ; preds = %125
%133 = getelementptr inbounds [70 x i8], [70 x i8]* %11, i64 0, i64 0
%134 = call i32 (i8*, i8*, ...) @sscanf(i8* %133, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %21)
%135 = icmp slt i32 %134, 1
br i1 %135, label %136, label %138
136: ; preds = %132
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.20, i64 0, i64 0))
store float* null, float** %5
br label %306
138: ; preds = %132
br label %139
139: ; preds = %138, %131
%140 = load i32, i32* %15
switch i32 %140, label %244 [
i32 8, label %141
i32 16, label %161
i32 32, label %182
i32 -32, label %203
i32 -64, label %223
]
141: ; preds = %139
store i32 0, i32* %13
br label %142
142: ; preds = %157, %141
%143 = load i32, i32* %13
%144 = load i32, i32* %17
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %160
146: ; preds = %142
%147 = load i8*, i8** %10
%148 = load i32, i32* %13
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, i8* %147, i64 %149
%151 = load i8, i8* %150
%152 = uitofp i8 %151 to float
%153 = load float*, float** %19
%154 = load i32, i32* %13
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds float, float* %153, i64 %155
store float %152, float* %156
br label %157
157: ; preds = %146
%158 = load i32, i32* %13
%159 = add nsw i32 %158, 1
store i32 %159, i32* %13
br label %142
160: ; preds = %142
br label %249
161: ; preds = %139
store i32 0, i32* %13
br label %162
162: ; preds = %178, %161
%163 = load i32, i32* %13
%164 = load i32, i32* %17
%165 = icmp slt i32 %163, %164
br i1 %165, label %166, label %181
166: ; preds = %162
%167 = load i8*, i8** %10
%168 = bitcast i8* %167 to i16*
%169 = load i32, i32* %13
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i16, i16* %168, i64 %170
%172 = load i16, i16* %171
%173 = sitofp i16 %172 to float
%174 = load float*, float** %19
%175 = load i32, i32* %13
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds float, float* %174, i64 %176
store float %173, float* %177
br label %178
178: ; preds = %166
%179 = load i32, i32* %13
%180 = add nsw i32 %179, 1
store i32 %180, i32* %13
br label %162
181: ; preds = %162
br label %249
182: ; preds = %139
store i32 0, i32* %13
br label %183
183: ; preds = %199, %182
%184 = load i32, i32* %13
%185 = load i32, i32* %17
%186 = icmp slt i32 %184, %185
br i1 %186, label %187, label %202
187: ; preds = %183
%188 = load i8*, i8** %10
%189 = bitcast i8* %188 to i32*
%190 = load i32, i32* %13
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i32, i32* %189, i64 %191
%193 = load i32, i32* %192
%194 = sitofp i32 %193 to float
%195 = load float*, float** %19
%196 = load i32, i32* %13
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds float, float* %195, i64 %197
store float %194, float* %198
br label %199
199: ; preds = %187
%200 = load i32, i32* %13
%201 = add nsw i32 %200, 1
store i32 %201, i32* %13
br label %183
202: ; preds = %183
br label %249
203: ; preds = %139
store i32 0, i32* %13
br label %204
204: ; preds = %219, %203
%205 = load i32, i32* %13
%206 = load i32, i32* %17
%207 = icmp slt i32 %205, %206
br i1 %207, label %208, label %222
208: ; preds = %204
%209 = load i8*, i8** %10
%210 = bitcast i8* %209 to float*
%211 = load i32, i32* %13
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds float, float* %210, i64 %212
%214 = load float, float* %213
%215 = load float*, float** %19
%216 = load i32, i32* %13
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds float, float* %215, i64 %217
store float %214, float* %218
br label %219
219: ; preds = %208
%220 = load i32, i32* %13
%221 = add nsw i32 %220, 1
store i32 %221, i32* %13
br label %204
222: ; preds = %204
br label %249
223: ; preds = %139
store i32 0, i32* %13
br label %224
224: ; preds = %240, %223
%225 = load i32, i32* %13
%226 = load i32, i32* %17
%227 = icmp slt i32 %225, %226
br i1 %227, label %228, label %243
228: ; preds = %224
%229 = load i8*, i8** %10
%230 = bitcast i8* %229 to double*
%231 = load i32, i32* %13
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, double* %230, i64 %232
%234 = load double, double* %233
%235 = fptrunc double %234 to float
%236 = load float*, float** %19
%237 = load i32, i32* %13
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds float, float* %236, i64 %238
store float %235, float* %239
br label %240
240: ; preds = %228
%241 = load i32, i32* %13
%242 = add nsw i32 %241, 1
store i32 %242, i32* %13
br label %224
243: ; preds = %224
br label %249
244: ; preds = %139
%245 = load i8*, i8** %6
%246 = load i32, i32* %15
%247 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.21, i64 0, i64 0), i8* %245, i32 %246)
%248 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0))
store float* null, float** %5
br label %306
249: ; preds = %243, %222, %202, %181, %160
%250 = load i8*, i8** %10
%251 = call i32 @free(i8* %250)
%252 = load double, double* %21
%253 = fsub double %252, 1.000000e+00
%254 = call double @llvm.fabs.f64(double %253)
%255 = fcmp ogt double %254, 1.000000e-15
br i1 %255, label %256, label %275
256: ; preds = %249
store i32 0, i32* %13
br label %257
257: ; preds = %271, %256
%258 = load i32, i32* %13
%259 = load i32, i32* %17
%260 = icmp slt i32 %258, %259
br i1 %260, label %261, label %274
261: ; preds = %257
%262 = load double, double* %21
%263 = load float*, float** %19
%264 = load i32, i32* %13
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds float, float* %263, i64 %265
%267 = load float, float* %266
%268 = fpext float %267 to double
%269 = fmul double %268, %262
%270 = fptrunc double %269 to float
store float %270, float* %266
br label %271
271: ; preds = %261
%272 = load i32, i32* %13
%273 = add nsw i32 %272, 1
store i32 %273, i32* %13
br label %257
274: ; preds = %257
br label %275
275: ; preds = %274, %249
%276 = load double, double* %20
%277 = call double @llvm.fabs.f64(double %276)
%278 = fcmp ogt double %277, 1.000000e-15
br i1 %278, label %279, label %298
279: ; preds = %275
store i32 0, i32* %13
br label %280
280: ; preds = %294, %279
%281 = load i32, i32* %13
%282 = load i32, i32* %17
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %297
284: ; preds = %280
%285 = load double, double* %20
%286 = load float*, float** %19
%287 = load i32, i32* %13
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds float, float* %286, i64 %288
%290 = load float, float* %289
%291 = fpext float %290 to double
%292 = fadd double %291, %285
%293 = fptrunc double %292 to float
store float %293, float* %289
br label %294
294: ; preds = %284
%295 = load i32, i32* %13
%296 = add nsw i32 %295, 1
store i32 %296, i32* %13
br label %280
297: ; preds = %280
br label %298
298: ; preds = %297, %275
%299 = load i32, i32* %17
%300 = load i32*, i32** %9
store i32 %299, i32* %300
%301 = load i32, i32* %14
%302 = load i32*, i32** %7
store i32 %301, i32* %302
%303 = load i8**, i8*** %12
%304 = load i8***, i8**** %8
store i8** %303, i8*** %304
%305 = load float*, float** %19
store float* %305, float** %5
br label %306
306: ; preds = %298, %244, %136, %122, %109, %102, %95, %87, %80, %70, %65, %58, %43, %35, %28
%307 = load float*, float** %5
ret float* %307
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.3 = [46 x i8] c"\0A\09WARNING! read_FITS_1Dfile: cannot close %s\0A\00"
@.str.4 = [6 x i8] c"NAXIS\00"
@.str.5 = [62 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS not found in the header\0A\00"
@.str.6 = [3 x i8] c"%d\00"
@.str.8 = [55 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS= %d (expected 1)\0A\00"
@.str.9 = [7 x i8] c"NAXIS1\00"
@.str.10 = [63 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): NAXIS1 not found in the header\0A\00"
@.str.12 = [7 x i8] c"BITPIX\00"
@.str.13 = [63 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): BITPIX not found in the header\0A\00"
@.str.15 = [43 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): calloc(ldata)\00"
@.str.16 = [6 x i8] c"BZERO\00"
@.str.17 = [4 x i8] c"%lg\00"
@.str.19 = [7 x i8] c"BSCALE\00"
@.str.21 = [42 x i8] c"\0A\09ERROR! read_FITS_1Dfile(%s): bitpix= %d\00"
@str = [15 x i8] c" not supported\00"
@str.23 = [44 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BSCALE\00"
@str.24 = [43 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BZERO\00"
@str.25 = [44 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading BITPIX\00"
@str.26 = [44 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading NAXIS1\00"
@str.27 = [43 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): reading NAXIS\00"
@str.28 = [52 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): incorrect image length\00"
@str.29 = [53 x i8] c"\0A\09ERROR! read_FITS_1Dfile(): incorrect header length\00"
define float* @read_FITS_1Dfile(i8* %0, i32* nocapture writeonly %1, i8*** nocapture writeonly %2, i32* nocapture writeonly %3) {
%5 = alloca i8*
%6 = alloca [70 x i8]
%7 = alloca i8**
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
%12 = alloca double
%13 = bitcast i8** %5 to i8*
%14 = getelementptr inbounds [70 x i8], [70 x i8]* %6, i64 0, i64 0
%15 = bitcast i8*** %7 to i8*
%16 = bitcast i32* %8 to i8*
%17 = bitcast i32* %9 to i8*
%18 = bitcast i32* %10 to i8*
%19 = bitcast double* %11 to i8*
%20 = bitcast double* %12 to i8*
%21 = call i32 @memset(i8* %14, i8 signext 32, i32 70)
%22 = call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%23 = icmp eq i32* %22, null
br i1 %23, label %24, label %26
24: ; preds = %4
%25 = call i32 @perror(i8* %0)
br label %769
26: ; preds = %4
%27 = call i32 @read_FITS_header(i32* %22, i8*** %7)
%28 = icmp slt i32 %27, 36
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.29, i64 0, i64 0))
br label %769
31: ; preds = %26
%32 = load i8**, i8*** %7
%33 = call i32 @read_FITS_image(i32* %22, i8** %32, i32 %27, i8** %5)
%34 = icmp slt i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.28, i64 0, i64 0))
br label %769
37: ; preds = %31
%38 = call i64 @fclose(i32* %22)
%39 = icmp eq i64 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8* %0)
br label %42
42: ; preds = %40, %37
%43 = load i8**, i8*** %7
%44 = call i32 @get_FITS_key(i32 %27, i8** %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %14)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i8* %0)
br label %769
48: ; preds = %42
%49 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %9)
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.27, i64 0, i64 0))
br label %769
53: ; preds = %48
%54 = load i32, i32* %9
%55 = icmp eq i32 %54, 1
br i1 %55, label %58, label %56
56: ; preds = %53
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i8* %0, i32 %54)
br label %769
58: ; preds = %53
%59 = load i8**, i8*** %7
%60 = call i32 @get_FITS_key(i32 %27, i8** %59, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* %14)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.10, i64 0, i64 0), i8* %0)
br label %769
64: ; preds = %58
%65 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %10)
%66 = icmp slt i32 %65, 1
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.26, i64 0, i64 0))
br label %769
69: ; preds = %64
%70 = load i8**, i8*** %7
%71 = call i32 @get_FITS_key(i32 %27, i8** %70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* %14)
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.13, i64 0, i64 0), i8* %0)
br label %769
75: ; preds = %69
%76 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %8)
%77 = icmp slt i32 %76, 1
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.25, i64 0, i64 0))
br label %769
80: ; preds = %75
%81 = load i32, i32* %10
%82 = call i64 @calloc(i32 %81, i32 4)
%83 = inttoptr i64 %82 to float*
%84 = inttoptr i64 %82 to i8*
%85 = icmp eq i64 %82, 0
br i1 %85, label %86, label %88
86: ; preds = %80
%87 = call i32 @perror(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
br label %769
88: ; preds = %80
%89 = load i8**, i8*** %7
%90 = call i32 @get_FITS_key(i32 %27, i8** %89, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i8* %14)
%91 = icmp eq i32 %90, -1
br i1 %91, label %92, label %93
92: ; preds = %88
store double 0.000000e+00, double* %11
br label %98
93: ; preds = %88
%94 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %11)
%95 = icmp slt i32 %94, 1
br i1 %95, label %96, label %98
96: ; preds = %93
%97 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.24, i64 0, i64 0))
br label %769
98: ; preds = %93, %92
%99 = load i8**, i8*** %7
%100 = call i32 @get_FITS_key(i32 %27, i8** %99, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0), i8* %14)
%101 = icmp eq i32 %100, -1
br i1 %101, label %102, label %103
102: ; preds = %98
store double 1.000000e+00, double* %12
br label %108
103: ; preds = %98
%104 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %12)
%105 = icmp slt i32 %104, 1
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.23, i64 0, i64 0))
br label %769
108: ; preds = %103, %102
%109 = load i32, i32* %8
switch i32 %109, label %583 [
i32 8, label %426
i32 16, label %358
i32 32, label %290
i32 -32, label %178
i32 -64, label %110
]
110: ; preds = %108
%111 = load i32, i32* %10
%112 = icmp sgt i32 %111, 0
br i1 %112, label %113, label %586
113: ; preds = %110
%114 = bitcast i8** %5 to double**
%115 = load double*, double** %114
%116 = zext i32 %111 to i64
%117 = icmp ult i32 %111, 4
br i1 %117, label %176, label %118
118: ; preds = %113
%119 = and i64 %116, 4294967292
%120 = add nsw i64 %119, -4
%121 = lshr exact i64 %120, 2
%122 = add nuw nsw i64 %121, 1
%123 = and i64 %122, 1
%124 = icmp eq i64 %120, 0
br i1 %124, label %158, label %125
125: ; preds = %118
%126 = and i64 %122, 9223372036854775806
br label %127
127: ; preds = %127, %125
%128 = phi i64 [ 0, %125 ], [ %155, %127 ]
%129 = phi i64 [ 0, %125 ], [ %156, %127 ]
%130 = getelementptr inbounds double, double* %115, i64 %128
%131 = bitcast double* %130 to <2 x double>*
%132 = load <2 x double>, <2 x double>* %131
%133 = getelementptr inbounds double, double* %130, i64 2
%134 = bitcast double* %133 to <2 x double>*
%135 = load <2 x double>, <2 x double>* %134
%136 = fptrunc <2 x double> %132 to <2 x float>
%137 = fptrunc <2 x double> %135 to <2 x float>
%138 = getelementptr inbounds float, float* %83, i64 %128
%139 = bitcast float* %138 to <2 x float>*
store <2 x float> %136, <2 x float>* %139
%140 = getelementptr inbounds float, float* %138, i64 2
%141 = bitcast float* %140 to <2 x float>*
store <2 x float> %137, <2 x float>* %141
%142 = or i64 %128, 4
%143 = getelementptr inbounds double, double* %115, i64 %142
%144 = bitcast double* %143 to <2 x double>*
%145 = load <2 x double>, <2 x double>* %144
%146 = getelementptr inbounds double, double* %143, i64 2
%147 = bitcast double* %146 to <2 x double>*
%148 = load <2 x double>, <2 x double>* %147
%149 = fptrunc <2 x double> %145 to <2 x float>
%150 = fptrunc <2 x double> %148 to <2 x float>
%151 = getelementptr inbounds float, float* %83, i64 %142
%152 = bitcast float* %151 to <2 x float>*
store <2 x float> %149, <2 x float>* %152
%153 = getelementptr inbounds float, float* %151, i64 2
%154 = bitcast float* %153 to <2 x float>*
store <2 x float> %150, <2 x float>* %154
%155 = add nuw i64 %128, 8
%156 = add i64 %129, 2
%157 = icmp eq i64 %156, %126
br i1 %157, label %158, label %127
158: ; preds = %127, %118
%159 = phi i64 [ 0, %118 ], [ %155, %127 ]
%160 = icmp eq i64 %123, 0
br i1 %160, label %174, label %161
161: ; preds = %158
%162 = getelementptr inbounds double, double* %115, i64 %159
%163 = bitcast double* %162 to <2 x double>*
%164 = load <2 x double>, <2 x double>* %163
%165 = getelementptr inbounds double, double* %162, i64 2
%166 = bitcast double* %165 to <2 x double>*
%167 = load <2 x double>, <2 x double>* %166
%168 = fptrunc <2 x double> %164 to <2 x float>
%169 = fptrunc <2 x double> %167 to <2 x float>
%170 = getelementptr inbounds float, float* %83, i64 %159
%171 = bitcast float* %170 to <2 x float>*
store <2 x float> %168, <2 x float>* %171
%172 = getelementptr inbounds float, float* %170, i64 2
%173 = bitcast float* %172 to <2 x float>*
store <2 x float> %169, <2 x float>* %173
br label %174
174: ; preds = %158, %161
%175 = icmp eq i64 %119, %116
br i1 %175, label %586, label %176
176: ; preds = %113, %174
%177 = phi i64 [ 0, %113 ], [ %119, %174 ]
br label %575
178: ; preds = %108
%179 = load i32, i32* %10
%180 = icmp sgt i32 %179, 0
br i1 %180, label %181, label %586
181: ; preds = %178
%182 = bitcast i8** %5 to float**
%183 = load float*, float** %182
%184 = zext i32 %179 to i64
%185 = icmp ult i32 %179, 8
br i1 %185, label %272, label %186
186: ; preds = %181
%187 = getelementptr float, float* %83, i64 %184
%188 = getelementptr float, float* %183, i64 %184
%189 = bitcast float* %188 to i8*
%190 = icmp ult i8* %84, %189
%191 = icmp ult float* %183, %187
%192 = and i1 %190, %191
br i1 %192, label %272, label %193
193: ; preds = %186
%194 = and i64 %184, 4294967288
%195 = add nsw i64 %194, -8
%196 = lshr exact i64 %195, 3
%197 = add nuw nsw i64 %196, 1
%198 = and i64 %197, 3
%199 = icmp ult i64 %195, 24
br i1 %199, label %251, label %200
200: ; preds = %193
%201 = and i64 %197, 4611686018427387900
br label %202
202: ; preds = %202, %200
%203 = phi i64 [ 0, %200 ], [ %248, %202 ]
%204 = phi i64 [ 0, %200 ], [ %249, %202 ]
%205 = getelementptr inbounds float, float* %183, i64 %203
%206 = bitcast float* %205 to <4 x float>*
%207 = load <4 x float>, <4 x float>* %206
%208 = getelementptr inbounds float, float* %205, i64 4
%209 = bitcast float* %208 to <4 x float>*
%210 = load <4 x float>, <4 x float>* %209
%211 = getelementptr inbounds float, float* %83, i64 %203
%212 = bitcast float* %211 to <4 x float>*
store <4 x float> %207, <4 x float>* %212
%213 = getelementptr inbounds float, float* %211, i64 4
%214 = bitcast float* %213 to <4 x float>*
store <4 x float> %210, <4 x float>* %214
%215 = or i64 %203, 8
%216 = getelementptr inbounds float, float* %183, i64 %215
%217 = bitcast float* %216 to <4 x float>*
%218 = load <4 x float>, <4 x float>* %217
%219 = getelementptr inbounds float, float* %216, i64 4
%220 = bitcast float* %219 to <4 x float>*
%221 = load <4 x float>, <4 x float>* %220
%222 = getelementptr inbounds float, float* %83, i64 %215
%223 = bitcast float* %222 to <4 x float>*
store <4 x float> %218, <4 x float>* %223
%224 = getelementptr inbounds float, float* %222, i64 4
%225 = bitcast float* %224 to <4 x float>*
store <4 x float> %221, <4 x float>* %225
%226 = or i64 %203, 16
%227 = getelementptr inbounds float, float* %183, i64 %226
%228 = bitcast float* %227 to <4 x float>*
%229 = load <4 x float>, <4 x float>* %228
%230 = getelementptr inbounds float, float* %227, i64 4
%231 = bitcast float* %230 to <4 x float>*
%232 = load <4 x float>, <4 x float>* %231
%233 = getelementptr inbounds float, float* %83, i64 %226
%234 = bitcast float* %233 to <4 x float>*
store <4 x float> %229, <4 x float>* %234
%235 = getelementptr inbounds float, float* %233, i64 4
%236 = bitcast float* %235 to <4 x float>*
store <4 x float> %232, <4 x float>* %236
%237 = or i64 %203, 24
%238 = getelementptr inbounds float, float* %183, i64 %237
%239 = bitcast float* %238 to <4 x float>*
%240 = load <4 x float>, <4 x float>* %239
%241 = getelementptr inbounds float, float* %238, i64 4
%242 = bitcast float* %241 to <4 x float>*
%243 = load <4 x float>, <4 x float>* %242
%244 = getelementptr inbounds float, float* %83, i64 %237
%245 = bitcast float* %244 to <4 x float>*
store <4 x float> %240, <4 x float>* %245
%246 = getelementptr inbounds float, float* %244, i64 4
%247 = bitcast float* %246 to <4 x float>*
store <4 x float> %243, <4 x float>* %247
%248 = add nuw i64 %203, 32
%249 = add i64 %204, 4
%250 = icmp eq i64 %249, %201
br i1 %250, label %251, label %202
251: ; preds = %202, %193
%252 = phi i64 [ 0, %193 ], [ %248, %202 ]
%253 = icmp eq i64 %198, 0
br i1 %253, label %270, label %254
254: ; preds = %251, %254
%255 = phi i64 [ %267, %254 ], [ %252, %251 ]
%256 = phi i64 [ %268, %254 ], [ 0, %251 ]
%257 = getelementptr inbounds float, float* %183, i64 %255
%258 = bitcast float* %257 to <4 x float>*
%259 = load <4 x float>, <4 x float>* %258
%260 = getelementptr inbounds float, float* %257, i64 4
%261 = bitcast float* %260 to <4 x float>*
%262 = load <4 x float>, <4 x float>* %261
%263 = getelementptr inbounds float, float* %83, i64 %255
%264 = bitcast float* %263 to <4 x float>*
store <4 x float> %259, <4 x float>* %264
%265 = getelementptr inbounds float, float* %263, i64 4
%266 = bitcast float* %265 to <4 x float>*
store <4 x float> %262, <4 x float>* %266
%267 = add nuw i64 %255, 8
%268 = add i64 %256, 1
%269 = icmp eq i64 %268, %198
br i1 %269, label %270, label %254
270: ; preds = %254, %251
%271 = icmp eq i64 %194, %184
br i1 %271, label %586, label %272
272: ; preds = %186, %181, %270
%273 = phi i64 [ 0, %186 ], [ 0, %181 ], [ %194, %270 ]
%274 = xor i64 %273, -1
%275 = add nsw i64 %274, %184
%276 = and i64 %184, 3
%277 = icmp eq i64 %276, 0
br i1 %277, label %287, label %278
278: ; preds = %272, %278
%279 = phi i64 [ %284, %278 ], [ %273, %272 ]
%280 = phi i64 [ %285, %278 ], [ 0, %272 ]
%281 = getelementptr inbounds float, float* %183, i64 %279
%282 = load float, float* %281
%283 = getelementptr inbounds float, float* %83, i64 %279
store float %282, float* %283
%284 = add nuw nsw i64 %279, 1
%285 = add i64 %280, 1
%286 = icmp eq i64 %285, %276
br i1 %286, label %287, label %278
287: ; preds = %278, %272
%288 = phi i64 [ %273, %272 ], [ %284, %278 ]
%289 = icmp ult i64 %275, 3
br i1 %289, label %586, label %556
290: ; preds = %108
%291 = load i32, i32* %10
%292 = icmp sgt i32 %291, 0
br i1 %292, label %293, label %586
293: ; preds = %290
%294 = bitcast i8** %5 to i32**
%295 = load i32*, i32** %294
%296 = zext i32 %291 to i64
%297 = icmp ult i32 %291, 8
br i1 %297, label %356, label %298
298: ; preds = %293
%299 = and i64 %296, 4294967288
%300 = add nsw i64 %299, -8
%301 = lshr exact i64 %300, 3
%302 = add nuw nsw i64 %301, 1
%303 = and i64 %302, 1
%304 = icmp eq i64 %300, 0
br i1 %304, label %338, label %305
305: ; preds = %298
%306 = and i64 %302, 4611686018427387902
br label %307
307: ; preds = %307, %305
%308 = phi i64 [ 0, %305 ], [ %335, %307 ]
%309 = phi i64 [ 0, %305 ], [ %336, %307 ]
%310 = getelementptr inbounds i32, i32* %295, i64 %308
%311 = bitcast i32* %310 to <4 x i32>*
%312 = load <4 x i32>, <4 x i32>* %311
%313 = getelementptr inbounds i32, i32* %310, i64 4
%314 = bitcast i32* %313 to <4 x i32>*
%315 = load <4 x i32>, <4 x i32>* %314
%316 = sitofp <4 x i32> %312 to <4 x float>
%317 = sitofp <4 x i32> %315 to <4 x float>
%318 = getelementptr inbounds float, float* %83, i64 %308
%319 = bitcast float* %318 to <4 x float>*
store <4 x float> %316, <4 x float>* %319
%320 = getelementptr inbounds float, float* %318, i64 4
%321 = bitcast float* %320 to <4 x float>*
store <4 x float> %317, <4 x float>* %321
%322 = or i64 %308, 8
%323 = getelementptr inbounds i32, i32* %295, i64 %322
%324 = bitcast i32* %323 to <4 x i32>*
%325 = load <4 x i32>, <4 x i32>* %324
%326 = getelementptr inbounds i32, i32* %323, i64 4
%327 = bitcast i32* %326 to <4 x i32>*
%328 = load <4 x i32>, <4 x i32>* %327
%329 = sitofp <4 x i32> %325 to <4 x float>
%330 = sitofp <4 x i32> %328 to <4 x float>
%331 = getelementptr inbounds float, float* %83, i64 %322
%332 = bitcast float* %331 to <4 x float>*
store <4 x float> %329, <4 x float>* %332
%333 = getelementptr inbounds float, float* %331, i64 4
%334 = bitcast float* %333 to <4 x float>*
store <4 x float> %330, <4 x float>* %334
%335 = add nuw i64 %308, 16
%336 = add i64 %309, 2
%337 = icmp eq i64 %336, %306
br i1 %337, label %338, label %307
338: ; preds = %307, %298
%339 = phi i64 [ 0, %298 ], [ %335, %307 ]
%340 = icmp eq i64 %303, 0
br i1 %340, label %354, label %341
341: ; preds = %338
%342 = getelementptr inbounds i32, i32* %295, i64 %339
%343 = bitcast i32* %342 to <4 x i32>*
%344 = load <4 x i32>, <4 x i32>* %343
%345 = getelementptr inbounds i32, i32* %342, i64 4
%346 = bitcast i32* %345 to <4 x i32>*
%347 = load <4 x i32>, <4 x i32>* %346
%348 = sitofp <4 x i32> %344 to <4 x float>
%349 = sitofp <4 x i32> %347 to <4 x float>
%350 = getelementptr inbounds float, float* %83, i64 %339
%351 = bitcast float* %350 to <4 x float>*
store <4 x float> %348, <4 x float>* %351
%352 = getelementptr inbounds float, float* %350, i64 4
%353 = bitcast float* %352 to <4 x float>*
store <4 x float> %349, <4 x float>* %353
br label %354
354: ; preds = %338, %341
%355 = icmp eq i64 %299, %296
br i1 %355, label %586, label %356
356: ; preds = %293, %354
%357 = phi i64 [ 0, %293 ], [ %299, %354 ]
br label %548
358: ; preds = %108
%359 = load i32, i32* %10
%360 = icmp sgt i32 %359, 0
br i1 %360, label %361, label %586
361: ; preds = %358
%362 = bitcast i8** %5 to i16**
%363 = load i16*, i16** %362
%364 = zext i32 %359 to i64
%365 = icmp ult i32 %359, 8
br i1 %365, label %424, label %366
366: ; preds = %361
%367 = and i64 %364, 4294967288
%368 = add nsw i64 %367, -8
%369 = lshr exact i64 %368, 3
%370 = add nuw nsw i64 %369, 1
%371 = and i64 %370, 1
%372 = icmp eq i64 %368, 0
br i1 %372, label %406, label %373
373: ; preds = %366
%374 = and i64 %370, 4611686018427387902
br label %375
375: ; preds = %375, %373
%376 = phi i64 [ 0, %373 ], [ %403, %375 ]
%377 = phi i64 [ 0, %373 ], [ %404, %375 ]
%378 = getelementptr inbounds i16, i16* %363, i64 %376
%379 = bitcast i16* %378 to <4 x i16>*
%380 = load <4 x i16>, <4 x i16>* %379
%381 = getelementptr inbounds i16, i16* %378, i64 4
%382 = bitcast i16* %381 to <4 x i16>*
%383 = load <4 x i16>, <4 x i16>* %382
%384 = sitofp <4 x i16> %380 to <4 x float>
%385 = sitofp <4 x i16> %383 to <4 x float>
%386 = getelementptr inbounds float, float* %83, i64 %376
%387 = bitcast float* %386 to <4 x float>*
store <4 x float> %384, <4 x float>* %387
%388 = getelementptr inbounds float, float* %386, i64 4
%389 = bitcast float* %388 to <4 x float>*
store <4 x float> %385, <4 x float>* %389
%390 = or i64 %376, 8
%391 = getelementptr inbounds i16, i16* %363, i64 %390
%392 = bitcast i16* %391 to <4 x i16>*
%393 = load <4 x i16>, <4 x i16>* %392
%394 = getelementptr inbounds i16, i16* %391, i64 4
%395 = bitcast i16* %394 to <4 x i16>*
%396 = load <4 x i16>, <4 x i16>* %395
%397 = sitofp <4 x i16> %393 to <4 x float>
%398 = sitofp <4 x i16> %396 to <4 x float>
%399 = getelementptr inbounds float, float* %83, i64 %390
%400 = bitcast float* %399 to <4 x float>*
store <4 x float> %397, <4 x float>* %400
%401 = getelementptr inbounds float, float* %399, i64 4
%402 = bitcast float* %401 to <4 x float>*
store <4 x float> %398, <4 x float>* %402
%403 = add nuw i64 %376, 16
%404 = add i64 %377, 2
%405 = icmp eq i64 %404, %374
br i1 %405, label %406, label %375
406: ; preds = %375, %366
%407 = phi i64 [ 0, %366 ], [ %403, %375 ]
%408 = icmp eq i64 %371, 0
br i1 %408, label %422, label %409
409: ; preds = %406
%410 = getelementptr inbounds i16, i16* %363, i64 %407
%411 = bitcast i16* %410 to <4 x i16>*
%412 = load <4 x i16>, <4 x i16>* %411
%413 = getelementptr inbounds i16, i16* %410, i64 4
%414 = bitcast i16* %413 to <4 x i16>*
%415 = load <4 x i16>, <4 x i16>* %414
%416 = sitofp <4 x i16> %412 to <4 x float>
%417 = sitofp <4 x i16> %415 to <4 x float>
%418 = getelementptr inbounds float, float* %83, i64 %407
%419 = bitcast float* %418 to <4 x float>*
store <4 x float> %416, <4 x float>* %419
%420 = getelementptr inbounds float, float* %418, i64 4
%421 = bitcast float* %420 to <4 x float>*
store <4 x float> %417, <4 x float>* %421
br label %422
422: ; preds = %406, %409
%423 = icmp eq i64 %367, %364
br i1 %423, label %586, label %424
424: ; preds = %361, %422
%425 = phi i64 [ 0, %361 ], [ %367, %422 ]
br label %540
426: ; preds = %108
%427 = load i32, i32* %10
%428 = icmp sgt i32 %427, 0
br i1 %428, label %429, label %586
429: ; preds = %426
%430 = load i8*, i8** %5
%431 = zext i32 %427 to i64
%432 = icmp ult i32 %427, 8
br i1 %432, label %498, label %433
433: ; preds = %429
%434 = getelementptr float, float* %83, i64 %431
%435 = bitcast float* %434 to i8*
%436 = getelementptr i8, i8* %430, i64 %431
%437 = icmp ugt i8* %436, %84
%438 = icmp ult i8* %430, %435
%439 = and i1 %437, %438
br i1 %439, label %498, label %440
440: ; preds = %433
%441 = and i64 %431, 4294967288
%442 = add nsw i64 %441, -8
%443 = lshr exact i64 %442, 3
%444 = add nuw nsw i64 %443, 1
%445 = and i64 %444, 1
%446 = icmp eq i64 %442, 0
br i1 %446, label %480, label %447
447: ; preds = %440
%448 = and i64 %444, 4611686018427387902
br label %449
449: ; preds = %449, %447
%450 = phi i64 [ 0, %447 ], [ %477, %449 ]
%451 = phi i64 [ 0, %447 ], [ %478, %449 ]
%452 = getelementptr inbounds i8, i8* %430, i64 %450
%453 = bitcast i8* %452 to <4 x i8>*
%454 = load <4 x i8>, <4 x i8>* %453
%455 = getelementptr inbounds i8, i8* %452, i64 4
%456 = bitcast i8* %455 to <4 x i8>*
%457 = load <4 x i8>, <4 x i8>* %456
%458 = uitofp <4 x i8> %454 to <4 x float>
%459 = uitofp <4 x i8> %457 to <4 x float>
%460 = getelementptr inbounds float, float* %83, i64 %450
%461 = bitcast float* %460 to <4 x float>*
store <4 x float> %458, <4 x float>* %461
%462 = getelementptr inbounds float, float* %460, i64 4
%463 = bitcast float* %462 to <4 x float>*
store <4 x float> %459, <4 x float>* %463
%464 = or i64 %450, 8
%465 = getelementptr inbounds i8, i8* %430, i64 %464
%466 = bitcast i8* %465 to <4 x i8>*
%467 = load <4 x i8>, <4 x i8>* %466
%468 = getelementptr inbounds i8, i8* %465, i64 4
%469 = bitcast i8* %468 to <4 x i8>*
%470 = load <4 x i8>, <4 x i8>* %469
%471 = uitofp <4 x i8> %467 to <4 x float>
%472 = uitofp <4 x i8> %470 to <4 x float>
%473 = getelementptr inbounds float, float* %83, i64 %464
%474 = bitcast float* %473 to <4 x float>*
store <4 x float> %471, <4 x float>* %474
%475 = getelementptr inbounds float, float* %473, i64 4
%476 = bitcast float* %475 to <4 x float>*
store <4 x float> %472, <4 x float>* %476
%477 = add nuw i64 %450, 16
%478 = add i64 %451, 2
%479 = icmp eq i64 %478, %448
br i1 %479, label %480, label %449
480: ; preds = %449, %440
%481 = phi i64 [ 0, %440 ], [ %477, %449 ]
%482 = icmp eq i64 %445, 0
br i1 %482, label %496, label %483
483: ; preds = %480
%484 = getelementptr inbounds i8, i8* %430, i64 %481
%485 = bitcast i8* %484 to <4 x i8>*
%486 = load <4 x i8>, <4 x i8>* %485
%487 = getelementptr inbounds i8, i8* %484, i64 4
%488 = bitcast i8* %487 to <4 x i8>*
%489 = load <4 x i8>, <4 x i8>* %488
%490 = uitofp <4 x i8> %486 to <4 x float>
%491 = uitofp <4 x i8> %489 to <4 x float>
%492 = getelementptr inbounds float, float* %83, i64 %481
%493 = bitcast float* %492 to <4 x float>*
store <4 x float> %490, <4 x float>* %493
%494 = getelementptr inbounds float, float* %492, i64 4
%495 = bitcast float* %494 to <4 x float>*
store <4 x float> %491, <4 x float>* %495
br label %496
496: ; preds = %480, %483
%497 = icmp eq i64 %441, %431
br i1 %497, label %586, label %498
498: ; preds = %433, %429, %496
%499 = phi i64 [ 0, %433 ], [ 0, %429 ], [ %441, %496 ]
%500 = xor i64 %499, -1
%501 = add nsw i64 %500, %431
%502 = and i64 %431, 3
%503 = icmp eq i64 %502, 0
br i1 %503, label %514, label %504
504: ; preds = %498, %504
%505 = phi i64 [ %511, %504 ], [ %499, %498 ]
%506 = phi i64 [ %512, %504 ], [ 0, %498 ]
%507 = getelementptr inbounds i8, i8* %430, i64 %505
%508 = load i8, i8* %507
%509 = uitofp i8 %508 to float
%510 = getelementptr inbounds float, float* %83, i64 %505
store float %509, float* %510
%511 = add nuw nsw i64 %505, 1
%512 = add i64 %506, 1
%513 = icmp eq i64 %512, %502
br i1 %513, label %514, label %504
514: ; preds = %504, %498
%515 = phi i64 [ %499, %498 ], [ %511, %504 ]
%516 = icmp ult i64 %501, 3
br i1 %516, label %586, label %517
517: ; preds = %514, %517
%518 = phi i64 [ %538, %517 ], [ %515, %514 ]
%519 = getelementptr inbounds i8, i8* %430, i64 %518
%520 = load i8, i8* %519
%521 = uitofp i8 %520 to float
%522 = getelementptr inbounds float, float* %83, i64 %518
store float %521, float* %522
%523 = add nuw nsw i64 %518, 1
%524 = getelementptr inbounds i8, i8* %430, i64 %523
%525 = load i8, i8* %524
%526 = uitofp i8 %525 to float
%527 = getelementptr inbounds float, float* %83, i64 %523
store float %526, float* %527
%528 = add nuw nsw i64 %518, 2
%529 = getelementptr inbounds i8, i8* %430, i64 %528
%530 = load i8, i8* %529
%531 = uitofp i8 %530 to float
%532 = getelementptr inbounds float, float* %83, i64 %528
store float %531, float* %532
%533 = add nuw nsw i64 %518, 3
%534 = getelementptr inbounds i8, i8* %430, i64 %533
%535 = load i8, i8* %534
%536 = uitofp i8 %535 to float
%537 = getelementptr inbounds float, float* %83, i64 %533
store float %536, float* %537
%538 = add nuw nsw i64 %518, 4
%539 = icmp eq i64 %538, %431
br i1 %539, label %586, label %517
540: ; preds = %424, %540
%541 = phi i64 [ %546, %540 ], [ %425, %424 ]
%542 = getelementptr inbounds i16, i16* %363, i64 %541
%543 = load i16, i16* %542
%544 = sitofp i16 %543 to float
%545 = getelementptr inbounds float, float* %83, i64 %541
store float %544, float* %545
%546 = add nuw nsw i64 %541, 1
%547 = icmp eq i64 %546, %364
br i1 %547, label %586, label %540
548: ; preds = %356, %548
%549 = phi i64 [ %554, %548 ], [ %357, %356 ]
%550 = getelementptr inbounds i32, i32* %295, i64 %549
%551 = load i32, i32* %550
%552 = sitofp i32 %551 to float
%553 = getelementptr inbounds float, float* %83, i64 %549
store float %552, float* %553
%554 = add nuw nsw i64 %549, 1
%555 = icmp eq i64 %554, %296
br i1 %555, label %586, label %548
556: ; preds = %287, %556
%557 = phi i64 [ %573, %556 ], [ %288, %287 ]
%558 = getelementptr inbounds float, float* %183, i64 %557
%559 = load float, float* %558
%560 = getelementptr inbounds float, float* %83, i64 %557
store float %559, float* %560
%561 = add nuw nsw i64 %557, 1
%562 = getelementptr inbounds float, float* %183, i64 %561
%563 = load float, float* %562
%564 = getelementptr inbounds float, float* %83, i64 %561
store float %563, float* %564
%565 = add nuw nsw i64 %557, 2
%566 = getelementptr inbounds float, float* %183, i64 %565
%567 = load float, float* %566
%568 = getelementptr inbounds float, float* %83, i64 %565
store float %567, float* %568
%569 = add nuw nsw i64 %557, 3
%570 = getelementptr inbounds float, float* %183, i64 %569
%571 = load float, float* %570
%572 = getelementptr inbounds float, float* %83, i64 %569
store float %571, float* %572
%573 = add nuw nsw i64 %557, 4
%574 = icmp eq i64 %573, %184
br i1 %574, label %586, label %556
575: ; preds = %176, %575
%576 = phi i64 [ %581, %575 ], [ %177, %176 ]
%577 = getelementptr inbounds double, double* %115, i64 %576
%578 = load double, double* %577
%579 = fptrunc double %578 to float
%580 = getelementptr inbounds float, float* %83, i64 %576
store float %579, float* %580
%581 = add nuw nsw i64 %576, 1
%582 = icmp eq i64 %581, %116
br i1 %582, label %586, label %575
583: ; preds = %108
%584 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.21, i64 0, i64 0), i8* %0, i32 %109)
%585 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
br label %769
586: ; preds = %575, %287, %556, %548, %540, %514, %517, %174, %270, %354, %422, %496, %110, %178, %290, %358, %426
%587 = load i8*, i8** %5
%588 = call i32 @free(i8* %587)
%589 = load double, double* %12
%590 = fadd double %589, -1.000000e+00
%591 = call double @llvm.fabs.f64(double %590)
%592 = fcmp ogt double %591, 1.000000e-15
br i1 %592, label %593, label %678
593: ; preds = %586
%594 = load i32, i32* %10
%595 = icmp sgt i32 %594, 0
br i1 %595, label %596, label %678
596: ; preds = %593
%597 = zext i32 %594 to i64
%598 = icmp ult i32 %594, 8
br i1 %598, label %667, label %599
599: ; preds = %596
%600 = and i64 %597, 4294967288
%601 = insertelement <4 x double> poison, double %589, i64 0
%602 = shufflevector <4 x double> %601, <4 x double> poison, <4 x i32> zeroinitializer
%603 = insertelement <4 x double> poison, double %589, i64 0
%604 = shufflevector <4 x double> %603, <4 x double> poison, <4 x i32> zeroinitializer
%605 = add nsw i64 %600, -8
%606 = lshr exact i64 %605, 3
%607 = add nuw nsw i64 %606, 1
%608 = and i64 %607, 1
%609 = icmp eq i64 %605, 0
br i1 %609, label %647, label %610
610: ; preds = %599
%611 = and i64 %607, 4611686018427387902
br label %612
612: ; preds = %612, %610
%613 = phi i64 [ 0, %610 ], [ %644, %612 ]
%614 = phi i64 [ 0, %610 ], [ %645, %612 ]
%615 = getelementptr inbounds float, float* %83, i64 %613
%616 = bitcast float* %615 to <4 x float>*
%617 = load <4 x float>, <4 x float>* %616
%618 = getelementptr inbounds float, float* %615, i64 4
%619 = bitcast float* %618 to <4 x float>*
%620 = load <4 x float>, <4 x float>* %619
%621 = fpext <4 x float> %617 to <4 x double>
%622 = fpext <4 x float> %620 to <4 x double>
%623 = fmul <4 x double> %602, %621
%624 = fmul <4 x double> %604, %622
%625 = fptrunc <4 x double> %623 to <4 x float>
%626 = fptrunc <4 x double> %624 to <4 x float>
%627 = bitcast float* %615 to <4 x float>*
store <4 x float> %625, <4 x float>* %627
%628 = bitcast float* %618 to <4 x float>*
store <4 x float> %626, <4 x float>* %628
%629 = or i64 %613, 8
%630 = getelementptr inbounds float, float* %83, i64 %629
%631 = bitcast float* %630 to <4 x float>*
%632 = load <4 x float>, <4 x float>* %631
%633 = getelementptr inbounds float, float* %630, i64 4
%634 = bitcast float* %633 to <4 x float>*
%635 = load <4 x float>, <4 x float>* %634
%636 = fpext <4 x float> %632 to <4 x double>
%637 = fpext <4 x float> %635 to <4 x double>
%638 = fmul <4 x double> %602, %636
%639 = fmul <4 x double> %604, %637
%640 = fptrunc <4 x double> %638 to <4 x float>
%641 = fptrunc <4 x double> %639 to <4 x float>
%642 = bitcast float* %630 to <4 x float>*
store <4 x float> %640, <4 x float>* %642
%643 = bitcast float* %633 to <4 x float>*
store <4 x float> %641, <4 x float>* %643
%644 = add nuw i64 %613, 16
%645 = add i64 %614, 2
%646 = icmp eq i64 %645, %611
br i1 %646, label %647, label %612
647: ; preds = %612, %599
%648 = phi i64 [ 0, %599 ], [ %644, %612 ]
%649 = icmp eq i64 %608, 0
br i1 %649, label %665, label %650
650: ; preds = %647
%651 = getelementptr inbounds float, float* %83, i64 %648
%652 = bitcast float* %651 to <4 x float>*
%653 = load <4 x float>, <4 x float>* %652
%654 = getelementptr inbounds float, float* %651, i64 4
%655 = bitcast float* %654 to <4 x float>*
%656 = load <4 x float>, <4 x float>* %655
%657 = fpext <4 x float> %653 to <4 x double>
%658 = fpext <4 x float> %656 to <4 x double>
%659 = fmul <4 x double> %602, %657
%660 = fmul <4 x double> %604, %658
%661 = fptrunc <4 x double> %659 to <4 x float>
%662 = fptrunc <4 x double> %660 to <4 x float>
%663 = bitcast float* %651 to <4 x float>*
store <4 x float> %661, <4 x float>* %663
%664 = bitcast float* %654 to <4 x float>*
store <4 x float> %662, <4 x float>* %664
br label %665
665: ; preds = %647, %650
%666 = icmp eq i64 %600, %597
br i1 %666, label %678, label %667
667: ; preds = %596, %665
%668 = phi i64 [ 0, %596 ], [ %600, %665 ]
br label %669
669: ; preds = %667, %669
%670 = phi i64 [ %676, %669 ], [ %668, %667 ]
%671 = getelementptr inbounds float, float* %83, i64 %670
%672 = load float, float* %671
%673 = fpext float %672 to double
%674 = fmul double %589, %673
%675 = fptrunc double %674 to float
store float %675, float* %671
%676 = add nuw nsw i64 %670, 1
%677 = icmp eq i64 %676, %597
br i1 %677, label %678, label %669
678: ; preds = %669, %665, %593, %586
%679 = load double, double* %11
%680 = call double @llvm.fabs.f64(double %679)
%681 = fcmp ogt double %680, 1.000000e-15
%682 = load i32, i32* %10
%683 = icmp sgt i32 %682, 0
%684 = select i1 %681, i1 %683, i1 false
br i1 %684, label %685, label %767
685: ; preds = %678
%686 = zext i32 %682 to i64
%687 = icmp ult i32 %682, 8
br i1 %687, label %756, label %688
688: ; preds = %685
%689 = and i64 %686, 4294967288
%690 = insertelement <4 x double> poison, double %679, i64 0
%691 = shufflevector <4 x double> %690, <4 x double> poison, <4 x i32> zeroinitializer
%692 = insertelement <4 x double> poison, double %679, i64 0
%693 = shufflevector <4 x double> %692, <4 x double> poison, <4 x i32> zeroinitializer
%694 = add nsw i64 %689, -8
%695 = lshr exact i64 %694, 3
%696 = add nuw nsw i64 %695, 1
%697 = and i64 %696, 1
%698 = icmp eq i64 %694, 0
br i1 %698, label %736, label %699
699: ; preds = %688
%700 = and i64 %696, 4611686018427387902
br label %701
701: ; preds = %701, %699
%702 = phi i64 [ 0, %699 ], [ %733, %701 ]
%703 = phi i64 [ 0, %699 ], [ %734, %701 ]
%704 = getelementptr inbounds float, float* %83, i64 %702
%705 = bitcast float* %704 to <4 x float>*
%706 = load <4 x float>, <4 x float>* %705
%707 = getelementptr inbounds float, float* %704, i64 4
%708 = bitcast float* %707 to <4 x float>*
%709 = load <4 x float>, <4 x float>* %708
%710 = fpext <4 x float> %706 to <4 x double>
%711 = fpext <4 x float> %709 to <4 x double>
%712 = fadd <4 x double> %691, %710
%713 = fadd <4 x double> %693, %711
%714 = fptrunc <4 x double> %712 to <4 x float>
%715 = fptrunc <4 x double> %713 to <4 x float>
%716 = bitcast float* %704 to <4 x float>*
store <4 x float> %714, <4 x float>* %716
%717 = bitcast float* %707 to <4 x float>*
store <4 x float> %715, <4 x float>* %717
%718 = or i64 %702, 8
%719 = getelementptr inbounds float, float* %83, i64 %718
%720 = bitcast float* %719 to <4 x float>*
%721 = load <4 x float>, <4 x float>* %720
%722 = getelementptr inbounds float, float* %719, i64 4
%723 = bitcast float* %722 to <4 x float>*
%724 = load <4 x float>, <4 x float>* %723
%725 = fpext <4 x float> %721 to <4 x double>
%726 = fpext <4 x float> %724 to <4 x double>
%727 = fadd <4 x double> %691, %725
%728 = fadd <4 x double> %693, %726
%729 = fptrunc <4 x double> %727 to <4 x float>
%730 = fptrunc <4 x double> %728 to <4 x float>
%731 = bitcast float* %719 to <4 x float>*
store <4 x float> %729, <4 x float>* %731
%732 = bitcast float* %722 to <4 x float>*
store <4 x float> %730, <4 x float>* %732
%733 = add nuw i64 %702, 16
%734 = add i64 %703, 2
%735 = icmp eq i64 %734, %700
br i1 %735, label %736, label %701
736: ; preds = %701, %688
%737 = phi i64 [ 0, %688 ], [ %733, %701 ]
%738 = icmp eq i64 %697, 0
br i1 %738, label %754, label %739
739: ; preds = %736
%740 = getelementptr inbounds float, float* %83, i64 %737
%741 = bitcast float* %740 to <4 x float>*
%742 = load <4 x float>, <4 x float>* %741
%743 = getelementptr inbounds float, float* %740, i64 4
%744 = bitcast float* %743 to <4 x float>*
%745 = load <4 x float>, <4 x float>* %744
%746 = fpext <4 x float> %742 to <4 x double>
%747 = fpext <4 x float> %745 to <4 x double>
%748 = fadd <4 x double> %691, %746
%749 = fadd <4 x double> %693, %747
%750 = fptrunc <4 x double> %748 to <4 x float>
%751 = fptrunc <4 x double> %749 to <4 x float>
%752 = bitcast float* %740 to <4 x float>*
store <4 x float> %750, <4 x float>* %752
%753 = bitcast float* %743 to <4 x float>*
store <4 x float> %751, <4 x float>* %753
br label %754
754: ; preds = %736, %739
%755 = icmp eq i64 %689, %686
br i1 %755, label %767, label %756
756: ; preds = %685, %754
%757 = phi i64 [ 0, %685 ], [ %689, %754 ]
br label %758
758: ; preds = %756, %758
%759 = phi i64 [ %765, %758 ], [ %757, %756 ]
%760 = getelementptr inbounds float, float* %83, i64 %759
%761 = load float, float* %760
%762 = fpext float %761 to double
%763 = fadd double %679, %762
%764 = fptrunc double %763 to float
store float %764, float* %760
%765 = add nuw nsw i64 %759, 1
%766 = icmp eq i64 %765, %686
br i1 %766, label %767, label %758
767: ; preds = %758, %754, %678
store i32 %682, i32* %3
store i32 %27, i32* %1
%768 = load i8**, i8*** %7
store i8** %768, i8*** %2
br label %769
769: ; preds = %767, %583, %106, %96, %86, %78, %73, %67, %62, %56, %51, %46, %35, %29, %24
%770 = phi float* [ null, %24 ], [ null, %29 ], [ null, %35 ], [ null, %46 ], [ null, %51 ], [ null, %56 ], [ null, %62 ], [ null, %67 ], [ null, %73 ], [ null, %78 ], [ null, %86 ], [ null, %583 ], [ %83, %767 ], [ null, %106 ], [ null, %96 ]
ret float* %770
}