#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 /*<<< orphan*/ abort();
int /*<<< orphan*/ printf(char *);
void ScaleData(void *data, char type, int npts, double m, double b) {
  char *data_c;
  short *data_s;
  unsigned short *data_u;
  unsigned *data_U;
  int *data_i;
  float *data_f;
  double *data_d;
  int i;
  switch (type) {
  case 'n':
    break;
  case 'c':
    data_c = (char *)data;
    for (i = 0; i < npts; i++) {
      data_c[i] = (char)((double)data_c[i] * m + b);
    }
    break;
  case 's':
    data_s = (short *)data;
    for (i = 0; i < npts; i++) {
      data_s[i] = (short)((double)data_s[i] * m + b);
    }
    break;
  case 'u':
    data_u = (unsigned short *)data;
    for (i = 0; i < npts; i++) {
      data_u[i] = (unsigned short)((double)data_u[i] * m + b);
    }
    break;
  case 'S':
  case 'i':
    data_i = (int *)data;
    for (i = 0; i < npts; i++) {
      data_i[i] = (int)((double)data_i[i] * m + b);
    }
    break;
  case 'U':
    data_U = (unsigned *)data;
    for (i = 0; i < npts; i++) {
      data_U[i] = (unsigned)((double)data_U[i] * m + b);
    }
    break;
  case 'f':
    data_f = (float *)data;
    for (i = 0; i < npts; i++) {
      data_f[i] = (float)((double)data_f[i] * m + b);
    }
    break;
  case 'd':
    data_d = (double *)data;
    for (i = 0; i < npts; i++) {
      data_d[i] = data_d[i] * m + b;
    }
    break;
  default:
    printf("Another impossible error\n");
    abort();
    break;
  }
}


x86 assembly (clang, -O0):
<ScaleData>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %sil,%al
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
mov    %edx,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsbl -0x9(%rbp),%eax
add    $0xffffffad,%eax
mov    %eax,%ecx
mov    %rcx,-0x68(%rbp)
sub    $0x22,%eax
ja     140f <ScaleData+0x2ef>
mov    -0x68(%rbp),%rax
lea    0xea0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    11ca <ScaleData+0xaa>
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cvtsi2sd %eax,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %al,%dl
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    117d <ScaleData+0x5d>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    122d <ScaleData+0x10d>
mov    -0x30(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cvtsi2sd %eax,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %ax,%dx
mov    -0x30(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    %dx,(%rax,%rcx,2)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    11de <ScaleData+0xbe>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1290 <ScaleData+0x170>
mov    -0x38(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movzwl (%rax,%rcx,2),%eax
cvtsi2sd %eax,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %ax,%dx
mov    -0x38(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    %dx,(%rax,%rcx,2)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1241 <ScaleData+0x121>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    12ec <ScaleData+0x1cc>
mov    -0x48(%rbp),%rax
movslq -0x5c(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
mov    -0x48(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    12a4 <ScaleData+0x184>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    134e <ScaleData+0x22e>
mov    -0x40(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cvtsi2sd %rax,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rax
mov    %eax,%edx
mov    -0x40(%rbp),%rax
movslq -0x5c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1300 <ScaleData+0x1e0>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x50(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    13b0 <ScaleData+0x290>
mov    -0x50(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x50(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1362 <ScaleData+0x242>
jmp    1422 <ScaleData+0x302>
mov    -0x8(%rbp),%rax
mov    %rax,-0x58(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    140a <ScaleData+0x2ea>
mov    -0x58(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x58(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    13c4 <ScaleData+0x2a4>
jmp    1422 <ScaleData+0x302>
lea    0xc76(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <abort@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ScaleData>:
push   %rax
add    $0xffffffad,%esi
cmp    $0x22,%esi
ja     2075 <ScaleData+0xf55>
lea    0x1eec(%rip),%rax
movslq (%rax,%rsi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x4,%edx
jae    11f3 <ScaleData+0xd3>
xor    %ecx,%ecx
jmp    12f0 <ScaleData+0x1d0>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x4,%edx
jae    1315 <ScaleData+0x1f5>
xor    %ecx,%ecx
jmp    1c90 <ScaleData+0xb70>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x8,%edx
jae    1479 <ScaleData+0x359>
xor    %ecx,%ecx
jmp    2050 <ScaleData+0xf30>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x4,%edx
jae    1535 <ScaleData+0x415>
xor    %ecx,%ecx
jmp    1cf0 <ScaleData+0xbd0>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x8,%edx
jae    15cd <ScaleData+0x4ad>
xor    %ecx,%ecx
jmp    1d80 <ScaleData+0xc60>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x8,%edx
jae    16d1 <ScaleData+0x5b1>
xor    %ecx,%ecx
jmp    1e30 <ScaleData+0xd10>
test   %edx,%edx
jle    2073 <ScaleData+0xf53>
mov    %edx,%eax
cmp    $0x8,%edx
jae    1811 <ScaleData+0x6f1>
xor    %ecx,%ecx
jmp    1f00 <ScaleData+0xde0>
mov    %eax,%ecx
and    $0xfffffffc,%ecx
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    -0x4(%rcx),%rdx
mov    %rdx,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1985 <ScaleData+0x865>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
nopl   0x0(%rax)
movdqu (%rdi,%rdx,4),%xmm4
cvtdq2pd %xmm4,%xmm5
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
cvttpd2dq %xmm5,%xmm5
cvttpd2dq %xmm4,%xmm4
movdqu 0x10(%rdi,%rdx,4),%xmm6
unpcklpd %xmm4,%xmm5
cvtdq2pd %xmm6,%xmm4
movupd %xmm5,(%rdi,%rdx,4)
pshufd $0xee,%xmm6,%xmm5
cvtdq2pd %xmm5,%xmm5
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
cvttpd2dq %xmm4,%xmm4
cvttpd2dq %xmm5,%xmm5
unpcklpd %xmm5,%xmm4
movupd %xmm4,0x10(%rdi,%rdx,4)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1230 <ScaleData+0x110>
test   $0x1,%r8b
je     12db <ScaleData+0x1bb>
movdqu (%rdi,%rdx,4),%xmm4
cvtdq2pd %xmm4,%xmm5
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
cvttpd2dq %xmm5,%xmm2
cvttpd2dq %xmm4,%xmm3
unpcklpd %xmm3,%xmm2
movupd %xmm2,(%rdi,%rdx,4)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xorps  %xmm2,%xmm2
cvtsi2sdl (%rdi,%rcx,4),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edx
mov    %edx,(%rdi,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    12f0 <ScaleData+0x1d0>
jmp    2073 <ScaleData+0xf53>
mov    %eax,%ecx
and    $0xfffffffc,%ecx
movapd %xmm0,%xmm10
unpcklpd %xmm0,%xmm10
movapd %xmm1,%xmm11
unpcklpd %xmm1,%xmm11
lea    -0x4(%rcx),%rdx
mov    %rdx,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1be7 <ScaleData+0xac7>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
xorpd  %xmm8,%xmm8
movapd 0x1ca4(%rip),%xmm5
movapd 0x1cab(%rip),%xmm9
cs nopw 0x0(%rax,%rax,1)
nop
movupd (%rdi,%rdx,4),%xmm6
movupd 0x10(%rdi,%rdx,4),%xmm7
movapd %xmm6,%xmm4
unpckhps %xmm8,%xmm4
orpd   %xmm5,%xmm4
subpd  %xmm5,%xmm4
unpcklps %xmm8,%xmm6
orpd   %xmm5,%xmm6
subpd  %xmm5,%xmm6
mulpd  %xmm10,%xmm6
addpd  %xmm11,%xmm6
mulpd  %xmm10,%xmm4
addpd  %xmm11,%xmm4
cvttpd2dq %xmm4,%xmm3
movapd %xmm3,%xmm2
psrad  $0x1f,%xmm2
subpd  %xmm9,%xmm4
cvttpd2dq %xmm4,%xmm4
andpd  %xmm2,%xmm4
orpd   %xmm3,%xmm4
cvttpd2dq %xmm6,%xmm2
movapd %xmm2,%xmm3
psrad  $0x1f,%xmm3
subpd  %xmm9,%xmm6
cvttpd2dq %xmm6,%xmm6
andpd  %xmm3,%xmm6
orpd   %xmm2,%xmm6
unpcklpd %xmm4,%xmm6
movupd %xmm6,(%rdi,%rdx,4)
movapd %xmm7,%xmm2
unpckhps %xmm8,%xmm2
orpd   %xmm5,%xmm2
subpd  %xmm5,%xmm2
unpcklps %xmm8,%xmm7
orpd   %xmm5,%xmm7
subpd  %xmm5,%xmm7
mulpd  %xmm10,%xmm7
addpd  %xmm11,%xmm7
mulpd  %xmm10,%xmm2
addpd  %xmm11,%xmm2
cvttpd2dq %xmm2,%xmm3
movapd %xmm3,%xmm4
psrad  $0x1f,%xmm4
subpd  %xmm9,%xmm2
cvttpd2dq %xmm2,%xmm2
andpd  %xmm4,%xmm2
orpd   %xmm3,%xmm2
cvttpd2dq %xmm7,%xmm3
movapd %xmm3,%xmm4
psrad  $0x1f,%xmm4
subpd  %xmm9,%xmm7
cvttpd2dq %xmm7,%xmm6
andpd  %xmm4,%xmm6
orpd   %xmm3,%xmm6
unpcklpd %xmm2,%xmm6
movupd %xmm6,0x10(%rdi,%rdx,4)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1370 <ScaleData+0x250>
jmp    1be9 <ScaleData+0xac9>
cmp    $0x10,%edx
jae    1996 <ScaleData+0x876>
xor    %ecx,%ecx
mov    %rcx,%rdx
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
nopl   0x0(%rax)
movq   (%rdi,%rdx,1),%xmm4
punpcklbw %xmm4,%xmm4
punpckhwd %xmm4,%xmm5
psrad  $0x18,%xmm5
cvtdq2pd %xmm5,%xmm6
pshufd $0xee,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
punpcklwd %xmm4,%xmm4
psrad  $0x18,%xmm4
cvtdq2pd %xmm4,%xmm7
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm7
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
cvttpd2dq %xmm6,%xmm6
cvttpd2dq %xmm5,%xmm5
addpd  %xmm3,%xmm7
unpcklpd %xmm5,%xmm6
cvttpd2dq %xmm7,%xmm5
cvttpd2dq %xmm4,%xmm4
unpcklpd %xmm4,%xmm5
packssdw %xmm6,%xmm5
packsswb %xmm5,%xmm5
movq   %xmm5,(%rdi,%rdx,1)
add    $0x8,%rdx
cmp    %rdx,%rcx
jne    14a0 <ScaleData+0x380>
cmp    %rax,%rcx
jne    2050 <ScaleData+0xf30>
jmp    2073 <ScaleData+0xf53>
mov    %eax,%ecx
and    $0xfffffffc,%ecx
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    -0x4(%rcx),%rdx
mov    %rdx,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1cb9 <ScaleData+0xb99>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
movupd (%rdi,%rdx,8),%xmm4
movupd 0x10(%rdi,%rdx,8),%xmm5
movupd 0x20(%rdi,%rdx,8),%xmm6
movupd 0x30(%rdi,%rdx,8),%xmm7
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
movupd %xmm4,(%rdi,%rdx,8)
movupd %xmm5,0x10(%rdi,%rdx,8)
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
mulpd  %xmm2,%xmm7
addpd  %xmm3,%xmm7
movupd %xmm6,0x20(%rdi,%rdx,8)
movupd %xmm7,0x30(%rdi,%rdx,8)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1570 <ScaleData+0x450>
jmp    1cbb <ScaleData+0xb9b>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    -0x8(%rcx),%rdx
mov    %rdx,%r8
shr    $0x3,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1d10 <ScaleData+0xbf0>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cvtps2pd 0x8(%rdi,%rdx,4),%xmm4
cvtps2pd (%rdi,%rdx,4),%xmm5
cvtps2pd 0x18(%rdi,%rdx,4),%xmm6
cvtps2pd 0x10(%rdi,%rdx,4),%xmm7
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm7
addpd  %xmm3,%xmm7
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
cvtpd2ps %xmm4,%xmm4
cvtpd2ps %xmm5,%xmm5
cvtpd2ps %xmm6,%xmm6
unpcklpd %xmm4,%xmm5
cvtpd2ps %xmm7,%xmm4
unpcklpd %xmm6,%xmm4
movupd %xmm5,(%rdi,%rdx,4)
movupd %xmm4,0x10(%rdi,%rdx,4)
cvtps2pd 0x28(%rdi,%rdx,4),%xmm4
cvtps2pd 0x20(%rdi,%rdx,4),%xmm5
cvtps2pd 0x38(%rdi,%rdx,4),%xmm6
cvtps2pd 0x30(%rdi,%rdx,4),%xmm7
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm7
addpd  %xmm3,%xmm7
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
cvtpd2ps %xmm4,%xmm4
cvtpd2ps %xmm5,%xmm5
cvtpd2ps %xmm6,%xmm6
unpcklpd %xmm4,%xmm5
cvtpd2ps %xmm7,%xmm4
unpcklpd %xmm6,%xmm4
movupd %xmm5,0x20(%rdi,%rdx,4)
movupd %xmm4,0x30(%rdi,%rdx,4)
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1610 <ScaleData+0x4f0>
jmp    1d12 <ScaleData+0xbf2>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm8
unpcklpd %xmm0,%xmm8
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    -0x8(%rcx),%rdx
mov    %rdx,%r8
shr    $0x3,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1da8 <ScaleData+0xc88>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
nopl   0x0(%rax)
movdqu (%rdi,%rdx,2),%xmm4
punpckhwd %xmm4,%xmm5
psrad  $0x10,%xmm5
cvtdq2pd %xmm5,%xmm6
pshufd $0xee,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
punpcklwd %xmm4,%xmm7
psrad  $0x10,%xmm7
cvtdq2pd %xmm7,%xmm2
movdqu 0x10(%rdi,%rdx,2),%xmm4
pshufd $0xee,%xmm7,%xmm7
cvtdq2pd %xmm7,%xmm7
mulpd  %xmm8,%xmm7
addpd  %xmm3,%xmm7
mulpd  %xmm8,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm8,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm8,%xmm6
addpd  %xmm3,%xmm6
cvttpd2dq %xmm6,%xmm6
cvttpd2dq %xmm5,%xmm5
cvttpd2dq %xmm2,%xmm2
cvttpd2dq %xmm7,%xmm7
unpcklpd %xmm5,%xmm6
unpcklpd %xmm7,%xmm2
packssdw %xmm6,%xmm2
movdqu %xmm2,(%rdi,%rdx,2)
punpckhwd %xmm4,%xmm2
psrad  $0x10,%xmm2
cvtdq2pd %xmm2,%xmm5
pshufd $0xee,%xmm2,%xmm2
cvtdq2pd %xmm2,%xmm2
punpcklwd %xmm4,%xmm4
psrad  $0x10,%xmm4
cvtdq2pd %xmm4,%xmm6
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm4
mulpd  %xmm8,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm8,%xmm6
addpd  %xmm3,%xmm6
mulpd  %xmm8,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm8,%xmm5
addpd  %xmm3,%xmm5
cvttpd2dq %xmm5,%xmm5
cvttpd2dq %xmm2,%xmm2
cvttpd2dq %xmm6,%xmm6
unpcklpd %xmm2,%xmm5
cvttpd2dq %xmm4,%xmm2
unpcklpd %xmm2,%xmm6
packssdw %xmm5,%xmm6
movdqu %xmm6,0x10(%rdi,%rdx,2)
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1710 <ScaleData+0x5f0>
jmp    1daa <ScaleData+0xc8a>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
movapd %xmm0,%xmm9
unpcklpd %xmm0,%xmm9
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    -0x8(%rcx),%rdx
mov    %rdx,%r8
shr    $0x3,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1e59 <ScaleData+0xd39>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
pxor   %xmm8,%xmm8
xchg   %ax,%ax
movdqu (%rdi,%rdx,2),%xmm6
movdqa %xmm6,%xmm7
punpckhwd %xmm8,%xmm7
cvtdq2pd %xmm7,%xmm4
movdqu 0x10(%rdi,%rdx,2),%xmm5
pshufd $0xee,%xmm7,%xmm7
cvtdq2pd %xmm7,%xmm7
punpcklwd %xmm8,%xmm6
cvtdq2pd %xmm6,%xmm2
pshufd $0xee,%xmm6,%xmm6
cvtdq2pd %xmm6,%xmm6
mulpd  %xmm9,%xmm6
addpd  %xmm3,%xmm6
mulpd  %xmm9,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm9,%xmm7
addpd  %xmm3,%xmm7
mulpd  %xmm9,%xmm4
addpd  %xmm3,%xmm4
cvttpd2dq %xmm4,%xmm4
cvttpd2dq %xmm7,%xmm7
unpcklpd %xmm7,%xmm4
pshuflw $0xe8,%xmm4,%xmm4
pshufhw $0xe8,%xmm4,%xmm4
pshufd $0xe8,%xmm4,%xmm4
cvttpd2dq %xmm2,%xmm2
cvttpd2dq %xmm6,%xmm6
unpcklpd %xmm6,%xmm2
pshuflw $0xe8,%xmm2,%xmm2
pshufhw $0xe8,%xmm2,%xmm2
movdqa %xmm5,%xmm6
punpckhwd %xmm8,%xmm6
cvtdq2pd %xmm6,%xmm7
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xee,%xmm6,%xmm6
cvtdq2pd %xmm6,%xmm6
punpcklqdq %xmm4,%xmm2
punpcklwd %xmm8,%xmm5
cvtdq2pd %xmm5,%xmm4
movdqu %xmm2,(%rdi,%rdx,2)
pshufd $0xee,%xmm5,%xmm2
cvtdq2pd %xmm2,%xmm2
mulpd  %xmm9,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm9,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm9,%xmm6
addpd  %xmm3,%xmm6
mulpd  %xmm9,%xmm7
addpd  %xmm3,%xmm7
cvttpd2dq %xmm7,%xmm5
cvttpd2dq %xmm6,%xmm6
unpcklpd %xmm6,%xmm5
pshuflw $0xe8,%xmm5,%xmm5
pshufhw $0xe8,%xmm5,%xmm5
pshufd $0xe8,%xmm5,%xmm5
cvttpd2dq %xmm4,%xmm4
cvttpd2dq %xmm2,%xmm2
unpcklpd %xmm2,%xmm4
pshuflw $0xe8,%xmm4,%xmm2
pshufhw $0xe8,%xmm2,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpcklqdq %xmm5,%xmm2
movdqu %xmm2,0x10(%rdi,%rdx,2)
add    $0x10,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1850 <ScaleData+0x730>
jmp    1e5b <ScaleData+0xd3b>
xor    %edx,%edx
test   $0x1,%r8b
jne    12a8 <ScaleData+0x188>
jmp    12db <ScaleData+0x1bb>
mov    %eax,%ecx
and    $0xfffffff0,%ecx
movapd %xmm0,%xmm9
unpcklpd %xmm0,%xmm9
movapd %xmm1,%xmm10
unpcklpd %xmm1,%xmm10
lea    -0x10(%rcx),%rdx
mov    %rdx,%r8
shr    $0x4,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1f29 <ScaleData+0xe09>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edx,%edx
movdqu (%rdi,%rdx,1),%xmm3
punpcklbw %xmm3,%xmm2
punpckhwd %xmm2,%xmm4
psrad  $0x18,%xmm4
cvtdq2pd %xmm4,%xmm11
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm12
punpcklwd %xmm2,%xmm2
psrad  $0x18,%xmm2
cvtdq2pd %xmm2,%xmm13
pshufd $0xee,%xmm2,%xmm2
cvtdq2pd %xmm2,%xmm14
punpckhbw %xmm3,%xmm5
punpcklwd %xmm5,%xmm3
psrad  $0x18,%xmm3
cvtdq2pd %xmm3,%xmm4
pshufd $0xee,%xmm3,%xmm3
cvtdq2pd %xmm3,%xmm3
punpckhwd %xmm5,%xmm6
psrad  $0x18,%xmm6
cvtdq2pd %xmm6,%xmm5
movdqu 0x10(%rdi,%rdx,1),%xmm8
pshufd $0xee,%xmm6,%xmm6
cvtdq2pd %xmm6,%xmm6
mulpd  %xmm9,%xmm6
addpd  %xmm10,%xmm6
mulpd  %xmm9,%xmm5
addpd  %xmm10,%xmm5
mulpd  %xmm9,%xmm3
addpd  %xmm10,%xmm3
mulpd  %xmm9,%xmm4
addpd  %xmm10,%xmm4
mulpd  %xmm9,%xmm14
addpd  %xmm10,%xmm14
mulpd  %xmm9,%xmm13
addpd  %xmm10,%xmm13
mulpd  %xmm9,%xmm12
addpd  %xmm10,%xmm12
mulpd  %xmm9,%xmm11
addpd  %xmm10,%xmm11
cvttpd2dq %xmm11,%xmm7
cvttpd2dq %xmm12,%xmm11
cvttpd2dq %xmm13,%xmm2
cvttpd2dq %xmm14,%xmm12
unpcklpd %xmm11,%xmm7
unpcklpd %xmm12,%xmm2
cvttpd2dq %xmm4,%xmm4
packssdw %xmm7,%xmm2
cvttpd2dq %xmm3,%xmm3
unpcklpd %xmm3,%xmm4
cvttpd2dq %xmm5,%xmm3
cvttpd2dq %xmm6,%xmm5
unpcklpd %xmm5,%xmm3
packssdw %xmm3,%xmm4
packsswb %xmm4,%xmm2
punpcklbw %xmm8,%xmm3
punpckhwd %xmm3,%xmm4
psrad  $0x18,%xmm4
cvtdq2pd %xmm4,%xmm11
movdqu %xmm2,(%rdi,%rdx,1)
pshufd $0xee,%xmm4,%xmm2
cvtdq2pd %xmm2,%xmm12
punpcklwd %xmm3,%xmm2
psrad  $0x18,%xmm2
cvtdq2pd %xmm2,%xmm13
pshufd $0xee,%xmm2,%xmm2
cvtdq2pd %xmm2,%xmm4
punpckhbw %xmm8,%xmm5
punpcklwd %xmm5,%xmm3
psrad  $0x18,%xmm3
cvtdq2pd %xmm3,%xmm14
pshufd $0xee,%xmm3,%xmm3
cvtdq2pd %xmm3,%xmm3
punpckhwd %xmm5,%xmm6
psrad  $0x18,%xmm6
cvtdq2pd %xmm6,%xmm5
pshufd $0xee,%xmm6,%xmm6
cvtdq2pd %xmm6,%xmm6
mulpd  %xmm9,%xmm6
addpd  %xmm10,%xmm6
mulpd  %xmm9,%xmm5
addpd  %xmm10,%xmm5
mulpd  %xmm9,%xmm3
addpd  %xmm10,%xmm3
mulpd  %xmm9,%xmm14
addpd  %xmm10,%xmm14
mulpd  %xmm9,%xmm4
addpd  %xmm10,%xmm4
mulpd  %xmm9,%xmm13
addpd  %xmm10,%xmm13
mulpd  %xmm9,%xmm12
addpd  %xmm10,%xmm12
mulpd  %xmm9,%xmm11
addpd  %xmm10,%xmm11
cvttpd2dq %xmm11,%xmm7
cvttpd2dq %xmm12,%xmm8
cvttpd2dq %xmm13,%xmm2
unpcklpd %xmm8,%xmm7
cvttpd2dq %xmm4,%xmm4
unpcklpd %xmm4,%xmm2
cvttpd2dq %xmm14,%xmm4
cvttpd2dq %xmm3,%xmm3
packssdw %xmm7,%xmm2
unpcklpd %xmm3,%xmm4
cvttpd2dq %xmm5,%xmm3
cvttpd2dq %xmm6,%xmm5
unpcklpd %xmm5,%xmm3
packssdw %xmm3,%xmm4
packsswb %xmm4,%xmm2
movdqu %xmm2,0x10(%rdi,%rdx,1)
add    $0x20,%rdx
add    $0xfffffffffffffffe,%rsi
jne    19d0 <ScaleData+0x8b0>
jmp    1f2b <ScaleData+0xe0b>
xor    %edx,%edx
test   $0x1,%r8b
je     1c7d <ScaleData+0xb5d>
movupd (%rdi,%rdx,4),%xmm4
xorpd  %xmm2,%xmm2
movapd %xmm4,%xmm3
unpckhps %xmm2,%xmm3
movapd 0x13f5(%rip),%xmm5
orpd   %xmm5,%xmm3
subpd  %xmm5,%xmm3
unpcklps %xmm2,%xmm4
orpd   %xmm5,%xmm4
subpd  %xmm5,%xmm4
mulpd  %xmm10,%xmm4
addpd  %xmm11,%xmm4
mulpd  %xmm10,%xmm3
addpd  %xmm11,%xmm3
cvttpd2dq %xmm3,%xmm2
movapd %xmm2,%xmm5
psrad  $0x1f,%xmm5
movapd 0x13c9(%rip),%xmm6
subpd  %xmm6,%xmm3
cvttpd2dq %xmm3,%xmm3
andpd  %xmm5,%xmm3
orpd   %xmm2,%xmm3
cvttpd2dq %xmm4,%xmm2
movapd %xmm2,%xmm5
psrad  $0x1f,%xmm5
subpd  %xmm6,%xmm4
cvttpd2dq %xmm4,%xmm4
andpd  %xmm5,%xmm4
orpd   %xmm2,%xmm4
unpcklpd %xmm3,%xmm4
movupd %xmm4,(%rdi,%rdx,4)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
cs nopw 0x0(%rax,%rax,1)
mov    (%rdi,%rcx,4),%edx
xorps  %xmm2,%xmm2
cvtsi2sd %rdx,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%rdx
mov    %edx,(%rdi,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1c90 <ScaleData+0xb70>
jmp    2073 <ScaleData+0xf53>
xor    %edx,%edx
test   $0x1,%r8b
je     1ce7 <ScaleData+0xbc7>
movupd (%rdi,%rdx,8),%xmm4
movupd 0x10(%rdi,%rdx,8),%xmm5
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
movupd %xmm4,(%rdi,%rdx,8)
movupd %xmm5,0x10(%rdi,%rdx,8)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
movsd  (%rdi,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,(%rdi,%rcx,8)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1cf0 <ScaleData+0xbd0>
jmp    2073 <ScaleData+0xf53>
xor    %edx,%edx
test   $0x1,%r8b
je     1d6e <ScaleData+0xc4e>
cvtps2pd 0x8(%rdi,%rdx,4),%xmm4
cvtps2pd (%rdi,%rdx,4),%xmm5
cvtps2pd 0x18(%rdi,%rdx,4),%xmm6
cvtps2pd 0x10(%rdi,%rdx,4),%xmm7
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm2,%xmm7
addpd  %xmm3,%xmm7
mulpd  %xmm2,%xmm6
addpd  %xmm3,%xmm6
cvtpd2ps %xmm4,%xmm2
cvtpd2ps %xmm5,%xmm3
cvtpd2ps %xmm6,%xmm4
cvtpd2ps %xmm7,%xmm5
unpcklpd %xmm2,%xmm3
unpcklpd %xmm4,%xmm5
movupd %xmm3,(%rdi,%rdx,4)
movupd %xmm5,0x10(%rdi,%rdx,4)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
nopw   0x0(%rax,%rax,1)
movss  (%rdi,%rcx,4),%xmm2
cvtss2sd %xmm2,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvtsd2ss %xmm2,%xmm2
movss  %xmm2,(%rdi,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1d80 <ScaleData+0xc60>
jmp    2073 <ScaleData+0xf53>
xor    %edx,%edx
test   $0x1,%r8b
je     1e26 <ScaleData+0xd06>
movdqu (%rdi,%rdx,2),%xmm2
punpckhwd %xmm2,%xmm4
psrad  $0x10,%xmm4
cvtdq2pd %xmm4,%xmm5
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm4
punpcklwd %xmm2,%xmm2
psrad  $0x10,%xmm2
cvtdq2pd %xmm2,%xmm6
pshufd $0xee,%xmm2,%xmm2
cvtdq2pd %xmm2,%xmm2
mulpd  %xmm8,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm8,%xmm6
addpd  %xmm3,%xmm6
mulpd  %xmm8,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm8,%xmm5
addpd  %xmm3,%xmm5
cvttpd2dq %xmm5,%xmm3
cvttpd2dq %xmm4,%xmm4
cvttpd2dq %xmm6,%xmm5
cvttpd2dq %xmm2,%xmm2
unpcklpd %xmm4,%xmm3
unpcklpd %xmm2,%xmm5
packssdw %xmm3,%xmm5
movdqu %xmm5,(%rdi,%rdx,2)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
nop
movswl (%rdi,%rcx,2),%edx
xorps  %xmm2,%xmm2
cvtsi2sd %edx,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edx
mov    %dx,(%rdi,%rcx,2)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1e30 <ScaleData+0xd10>
jmp    2073 <ScaleData+0xf53>
xor    %edx,%edx
test   $0x1,%r8b
je     1ef7 <ScaleData+0xdd7>
movdqu (%rdi,%rdx,2),%xmm2
pxor   %xmm4,%xmm4
movdqa %xmm2,%xmm5
punpckhwd %xmm4,%xmm5
cvtdq2pd %xmm5,%xmm6
pshufd $0xee,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
punpcklwd %xmm4,%xmm2
cvtdq2pd %xmm2,%xmm4
pshufd $0xee,%xmm2,%xmm2
cvtdq2pd %xmm2,%xmm2
mulpd  %xmm9,%xmm2
addpd  %xmm3,%xmm2
mulpd  %xmm9,%xmm4
addpd  %xmm3,%xmm4
mulpd  %xmm9,%xmm5
addpd  %xmm3,%xmm5
mulpd  %xmm9,%xmm6
addpd  %xmm3,%xmm6
cvttpd2dq %xmm6,%xmm3
cvttpd2dq %xmm5,%xmm5
unpcklpd %xmm5,%xmm3
pshuflw $0xe8,%xmm3,%xmm3
pshufhw $0xe8,%xmm3,%xmm3
pshufd $0xe8,%xmm3,%xmm3
cvttpd2dq %xmm4,%xmm4
cvttpd2dq %xmm2,%xmm2
unpcklpd %xmm2,%xmm4
pshuflw $0xe8,%xmm4,%xmm2
pshufhw $0xe8,%xmm2,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpcklqdq %xmm3,%xmm2
movdqu %xmm2,(%rdi,%rdx,2)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
movzwl (%rdi,%rcx,2),%edx
xorps  %xmm2,%xmm2
cvtsi2sd %edx,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edx
mov    %dx,(%rdi,%rcx,2)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1f00 <ScaleData+0xde0>
jmp    2073 <ScaleData+0xf53>
xor    %edx,%edx
test   $0x1,%r8b
je     2034 <ScaleData+0xf14>
movdqu (%rdi,%rdx,1),%xmm2
punpcklbw %xmm2,%xmm3
punpckhwd %xmm3,%xmm4
psrad  $0x18,%xmm4
cvtdq2pd %xmm4,%xmm8
pshufd $0xee,%xmm4,%xmm4
cvtdq2pd %xmm4,%xmm11
punpcklwd %xmm3,%xmm3
psrad  $0x18,%xmm3
cvtdq2pd %xmm3,%xmm12
pshufd $0xee,%xmm3,%xmm3
cvtdq2pd %xmm3,%xmm7
punpckhbw %xmm2,%xmm4
punpcklwd %xmm4,%xmm3
psrad  $0x18,%xmm3
cvtdq2pd %xmm3,%xmm13
pshufd $0xee,%xmm3,%xmm3
cvtdq2pd %xmm3,%xmm3
punpckhwd %xmm4,%xmm5
psrad  $0x18,%xmm5
cvtdq2pd %xmm5,%xmm4
pshufd $0xee,%xmm5,%xmm5
cvtdq2pd %xmm5,%xmm5
mulpd  %xmm9,%xmm5
addpd  %xmm10,%xmm5
mulpd  %xmm9,%xmm4
addpd  %xmm10,%xmm4
mulpd  %xmm9,%xmm3
addpd  %xmm10,%xmm3
mulpd  %xmm9,%xmm13
addpd  %xmm10,%xmm13
mulpd  %xmm9,%xmm7
addpd  %xmm10,%xmm7
mulpd  %xmm9,%xmm12
addpd  %xmm10,%xmm12
mulpd  %xmm9,%xmm11
addpd  %xmm10,%xmm11
mulpd  %xmm9,%xmm8
addpd  %xmm10,%xmm8
cvttpd2dq %xmm8,%xmm6
cvttpd2dq %xmm11,%xmm8
cvttpd2dq %xmm12,%xmm2
cvttpd2dq %xmm7,%xmm7
unpcklpd %xmm8,%xmm6
unpcklpd %xmm7,%xmm2
cvttpd2dq %xmm13,%xmm7
packssdw %xmm6,%xmm2
cvttpd2dq %xmm3,%xmm3
unpcklpd %xmm3,%xmm7
cvttpd2dq %xmm4,%xmm3
cvttpd2dq %xmm5,%xmm4
unpcklpd %xmm4,%xmm3
packssdw %xmm3,%xmm7
packsswb %xmm7,%xmm2
movdqu %xmm2,(%rdi,%rdx,1)
cmp    %rax,%rcx
je     2073 <ScaleData+0xf53>
test   $0x8,%al
jne    1484 <ScaleData+0x364>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsbl (%rdi,%rcx,1),%edx
xorps  %xmm2,%xmm2
cvtsi2sd %edx,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edx
mov    %dl,(%rdi,%rcx,1)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    2050 <ScaleData+0xf30>
pop    %rax
ret
lea    0x1030(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1030 <abort@plt>

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

LLVM IR (-O2):
@str = [25 x i8] c"Another impossible error\00"
define void @ScaleData(i8* nocapture %0, i8 signext %1, i32 %2, double %3, double %4) {
%6 = sext i8 %1 to i32
switch i32 %6, label %515 [
i32 110, label %518
i32 99, label %7
i32 115, label %95
i32 117, label %159
i32 83, label %223
i32 105, label %223
i32 85, label %287
i32 102, label %351
i32 100, label %440
]
7: ; preds = %5
%8 = icmp sgt i32 %2, 0
br i1 %8, label %9, label %518
9: ; preds = %7
%10 = zext i32 %2 to i64
%11 = icmp ult i32 %2, 8
br i1 %11, label %84, label %12
12: ; preds = %9
%13 = icmp ult i32 %2, 16
br i1 %13, label %64, label %14
14: ; preds = %12
%15 = and i64 %10, 4294967280
%16 = insertelement <16 x double> poison, double %3, i64 0
%17 = shufflevector <16 x double> %16, <16 x double> poison, <16 x i32> zeroinitializer
%18 = insertelement <16 x double> poison, double %4, i64 0
%19 = shufflevector <16 x double> %18, <16 x double> poison, <16 x i32> zeroinitializer
%20 = add nsw i64 %15, -16
%21 = lshr exact i64 %20, 4
%22 = add nuw nsw i64 %21, 1
%23 = and i64 %22, 1
%24 = icmp eq i64 %20, 0
br i1 %24, label %48, label %25
25: ; preds = %14
%26 = and i64 %22, 2305843009213693950
br label %27
27: ; preds = %27, %25
%28 = phi i64 [ 0, %25 ], [ %45, %27 ]
%29 = phi i64 [ 0, %25 ], [ %46, %27 ]
%30 = getelementptr inbounds i8, i8* %0, i64 %28
%31 = bitcast i8* %30 to <16 x i8>*
%32 = load <16 x i8>, <16 x i8>* %31
%33 = sitofp <16 x i8> %32 to <16 x double>
%34 = call <16 x double> @llvm.fmuladd.v16f64(<16 x double> %33, <16 x double> %17, <16 x double> %19)
%35 = fptosi <16 x double> %34 to <16 x i8>
%36 = bitcast i8* %30 to <16 x i8>*
store <16 x i8> %35, <16 x i8>* %36
%37 = or i64 %28, 16
%38 = getelementptr inbounds i8, i8* %0, i64 %37
%39 = bitcast i8* %38 to <16 x i8>*
%40 = load <16 x i8>, <16 x i8>* %39
%41 = sitofp <16 x i8> %40 to <16 x double>
%42 = call <16 x double> @llvm.fmuladd.v16f64(<16 x double> %41, <16 x double> %17, <16 x double> %19)
%43 = fptosi <16 x double> %42 to <16 x i8>
%44 = bitcast i8* %38 to <16 x i8>*
store <16 x i8> %43, <16 x i8>* %44
%45 = add nuw i64 %28, 32
%46 = add i64 %29, 2
%47 = icmp eq i64 %46, %26
br i1 %47, label %48, label %27
48: ; preds = %27, %14
%49 = phi i64 [ 0, %14 ], [ %45, %27 ]
%50 = icmp eq i64 %23, 0
br i1 %50, label %59, label %51
51: ; preds = %48
%52 = getelementptr inbounds i8, i8* %0, i64 %49
%53 = bitcast i8* %52 to <16 x i8>*
%54 = load <16 x i8>, <16 x i8>* %53
%55 = sitofp <16 x i8> %54 to <16 x double>
%56 = call <16 x double> @llvm.fmuladd.v16f64(<16 x double> %55, <16 x double> %17, <16 x double> %19)
%57 = fptosi <16 x double> %56 to <16 x i8>
%58 = bitcast i8* %52 to <16 x i8>*
store <16 x i8> %57, <16 x i8>* %58
br label %59
59: ; preds = %48, %51
%60 = icmp eq i64 %15, %10
br i1 %60, label %518, label %61
61: ; preds = %59
%62 = and i64 %10, 8
%63 = icmp eq i64 %62, 0
br i1 %63, label %84, label %64
64: ; preds = %12, %61
%65 = phi i64 [ %15, %61 ], [ 0, %12 ]
%66 = and i64 %10, 4294967288
%67 = insertelement <8 x double> poison, double %3, i64 0
%68 = shufflevector <8 x double> %67, <8 x double> poison, <8 x i32> zeroinitializer
%69 = insertelement <8 x double> poison, double %4, i64 0
%70 = shufflevector <8 x double> %69, <8 x double> poison, <8 x i32> zeroinitializer
br label %71
71: ; preds = %71, %64
%72 = phi i64 [ %65, %64 ], [ %80, %71 ]
%73 = getelementptr inbounds i8, i8* %0, i64 %72
%74 = bitcast i8* %73 to <8 x i8>*
%75 = load <8 x i8>, <8 x i8>* %74
%76 = sitofp <8 x i8> %75 to <8 x double>
%77 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %76, <8 x double> %68, <8 x double> %70)
%78 = fptosi <8 x double> %77 to <8 x i8>
%79 = bitcast i8* %73 to <8 x i8>*
store <8 x i8> %78, <8 x i8>* %79
%80 = add nuw i64 %72, 8
%81 = icmp eq i64 %80, %66
br i1 %81, label %82, label %71
82: ; preds = %71
%83 = icmp eq i64 %66, %10
br i1 %83, label %518, label %84
84: ; preds = %9, %61, %82
%85 = phi i64 [ 0, %9 ], [ %15, %61 ], [ %66, %82 ]
br label %86
86: ; preds = %84, %86
%87 = phi i64 [ %93, %86 ], [ %85, %84 ]
%88 = getelementptr inbounds i8, i8* %0, i64 %87
%89 = load i8, i8* %88
%90 = sitofp i8 %89 to double
%91 = tail call double @llvm.fmuladd.f64(double %90, double %3, double %4)
%92 = fptosi double %91 to i8
store i8 %92, i8* %88
%93 = add nuw nsw i64 %87, 1
%94 = icmp eq i64 %93, %10
br i1 %94, label %518, label %86
95: ; preds = %5
%96 = bitcast i8* %0 to i16*
%97 = icmp sgt i32 %2, 0
br i1 %97, label %98, label %518
98: ; preds = %95
%99 = zext i32 %2 to i64
%100 = icmp ult i32 %2, 8
br i1 %100, label %148, label %101
101: ; preds = %98
%102 = and i64 %99, 4294967288
%103 = insertelement <8 x double> poison, double %3, i64 0
%104 = shufflevector <8 x double> %103, <8 x double> poison, <8 x i32> zeroinitializer
%105 = insertelement <8 x double> poison, double %4, i64 0
%106 = shufflevector <8 x double> %105, <8 x double> poison, <8 x i32> zeroinitializer
%107 = add nsw i64 %102, -8
%108 = lshr exact i64 %107, 3
%109 = add nuw nsw i64 %108, 1
%110 = and i64 %109, 1
%111 = icmp eq i64 %107, 0
br i1 %111, label %135, label %112
112: ; preds = %101
%113 = and i64 %109, 4611686018427387902
br label %114
114: ; preds = %114, %112
%115 = phi i64 [ 0, %112 ], [ %132, %114 ]
%116 = phi i64 [ 0, %112 ], [ %133, %114 ]
%117 = getelementptr inbounds i16, i16* %96, i64 %115
%118 = bitcast i16* %117 to <8 x i16>*
%119 = load <8 x i16>, <8 x i16>* %118
%120 = sitofp <8 x i16> %119 to <8 x double>
%121 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %120, <8 x double> %104, <8 x double> %106)
%122 = fptosi <8 x double> %121 to <8 x i16>
%123 = bitcast i16* %117 to <8 x i16>*
store <8 x i16> %122, <8 x i16>* %123
%124 = or i64 %115, 8
%125 = getelementptr inbounds i16, i16* %96, i64 %124
%126 = bitcast i16* %125 to <8 x i16>*
%127 = load <8 x i16>, <8 x i16>* %126
%128 = sitofp <8 x i16> %127 to <8 x double>
%129 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %128, <8 x double> %104, <8 x double> %106)
%130 = fptosi <8 x double> %129 to <8 x i16>
%131 = bitcast i16* %125 to <8 x i16>*
store <8 x i16> %130, <8 x i16>* %131
%132 = add nuw i64 %115, 16
%133 = add i64 %116, 2
%134 = icmp eq i64 %133, %113
br i1 %134, label %135, label %114
135: ; preds = %114, %101
%136 = phi i64 [ 0, %101 ], [ %132, %114 ]
%137 = icmp eq i64 %110, 0
br i1 %137, label %146, label %138
138: ; preds = %135
%139 = getelementptr inbounds i16, i16* %96, i64 %136
%140 = bitcast i16* %139 to <8 x i16>*
%141 = load <8 x i16>, <8 x i16>* %140
%142 = sitofp <8 x i16> %141 to <8 x double>
%143 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %142, <8 x double> %104, <8 x double> %106)
%144 = fptosi <8 x double> %143 to <8 x i16>
%145 = bitcast i16* %139 to <8 x i16>*
store <8 x i16> %144, <8 x i16>* %145
br label %146
146: ; preds = %135, %138
%147 = icmp eq i64 %102, %99
br i1 %147, label %518, label %148
148: ; preds = %98, %146
%149 = phi i64 [ 0, %98 ], [ %102, %146 ]
br label %150
150: ; preds = %148, %150
%151 = phi i64 [ %157, %150 ], [ %149, %148 ]
%152 = getelementptr inbounds i16, i16* %96, i64 %151
%153 = load i16, i16* %152
%154 = sitofp i16 %153 to double
%155 = tail call double @llvm.fmuladd.f64(double %154, double %3, double %4)
%156 = fptosi double %155 to i16
store i16 %156, i16* %152
%157 = add nuw nsw i64 %151, 1
%158 = icmp eq i64 %157, %99
br i1 %158, label %518, label %150
159: ; preds = %5
%160 = bitcast i8* %0 to i16*
%161 = icmp sgt i32 %2, 0
br i1 %161, label %162, label %518
162: ; preds = %159
%163 = zext i32 %2 to i64
%164 = icmp ult i32 %2, 8
br i1 %164, label %212, label %165
165: ; preds = %162
%166 = and i64 %163, 4294967288
%167 = insertelement <8 x double> poison, double %3, i64 0
%168 = shufflevector <8 x double> %167, <8 x double> poison, <8 x i32> zeroinitializer
%169 = insertelement <8 x double> poison, double %4, i64 0
%170 = shufflevector <8 x double> %169, <8 x double> poison, <8 x i32> zeroinitializer
%171 = add nsw i64 %166, -8
%172 = lshr exact i64 %171, 3
%173 = add nuw nsw i64 %172, 1
%174 = and i64 %173, 1
%175 = icmp eq i64 %171, 0
br i1 %175, label %199, label %176
176: ; preds = %165
%177 = and i64 %173, 4611686018427387902
br label %178
178: ; preds = %178, %176
%179 = phi i64 [ 0, %176 ], [ %196, %178 ]
%180 = phi i64 [ 0, %176 ], [ %197, %178 ]
%181 = getelementptr inbounds i16, i16* %160, i64 %179
%182 = bitcast i16* %181 to <8 x i16>*
%183 = load <8 x i16>, <8 x i16>* %182
%184 = uitofp <8 x i16> %183 to <8 x double>
%185 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %184, <8 x double> %168, <8 x double> %170)
%186 = fptoui <8 x double> %185 to <8 x i16>
%187 = bitcast i16* %181 to <8 x i16>*
store <8 x i16> %186, <8 x i16>* %187
%188 = or i64 %179, 8
%189 = getelementptr inbounds i16, i16* %160, i64 %188
%190 = bitcast i16* %189 to <8 x i16>*
%191 = load <8 x i16>, <8 x i16>* %190
%192 = uitofp <8 x i16> %191 to <8 x double>
%193 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %192, <8 x double> %168, <8 x double> %170)
%194 = fptoui <8 x double> %193 to <8 x i16>
%195 = bitcast i16* %189 to <8 x i16>*
store <8 x i16> %194, <8 x i16>* %195
%196 = add nuw i64 %179, 16
%197 = add i64 %180, 2
%198 = icmp eq i64 %197, %177
br i1 %198, label %199, label %178
199: ; preds = %178, %165
%200 = phi i64 [ 0, %165 ], [ %196, %178 ]
%201 = icmp eq i64 %174, 0
br i1 %201, label %210, label %202
202: ; preds = %199
%203 = getelementptr inbounds i16, i16* %160, i64 %200
%204 = bitcast i16* %203 to <8 x i16>*
%205 = load <8 x i16>, <8 x i16>* %204
%206 = uitofp <8 x i16> %205 to <8 x double>
%207 = call <8 x double> @llvm.fmuladd.v8f64(<8 x double> %206, <8 x double> %168, <8 x double> %170)
%208 = fptoui <8 x double> %207 to <8 x i16>
%209 = bitcast i16* %203 to <8 x i16>*
store <8 x i16> %208, <8 x i16>* %209
br label %210
210: ; preds = %199, %202
%211 = icmp eq i64 %166, %163
br i1 %211, label %518, label %212
212: ; preds = %162, %210
%213 = phi i64 [ 0, %162 ], [ %166, %210 ]
br label %214
214: ; preds = %212, %214
%215 = phi i64 [ %221, %214 ], [ %213, %212 ]
%216 = getelementptr inbounds i16, i16* %160, i64 %215
%217 = load i16, i16* %216
%218 = uitofp i16 %217 to double
%219 = tail call double @llvm.fmuladd.f64(double %218, double %3, double %4)
%220 = fptoui double %219 to i16
store i16 %220, i16* %216
%221 = add nuw nsw i64 %215, 1
%222 = icmp eq i64 %221, %163
br i1 %222, label %518, label %214
223: ; preds = %5, %5
%224 = bitcast i8* %0 to i32*
%225 = icmp sgt i32 %2, 0
br i1 %225, label %226, label %518
226: ; preds = %223
%227 = zext i32 %2 to i64
%228 = icmp ult i32 %2, 4
br i1 %228, label %276, label %229
229: ; preds = %226
%230 = and i64 %227, 4294967292
%231 = insertelement <4 x double> poison, double %3, i64 0
%232 = shufflevector <4 x double> %231, <4 x double> poison, <4 x i32> zeroinitializer
%233 = insertelement <4 x double> poison, double %4, i64 0
%234 = shufflevector <4 x double> %233, <4 x double> poison, <4 x i32> zeroinitializer
%235 = add nsw i64 %230, -4
%236 = lshr exact i64 %235, 2
%237 = add nuw nsw i64 %236, 1
%238 = and i64 %237, 1
%239 = icmp eq i64 %235, 0
br i1 %239, label %263, label %240
240: ; preds = %229
%241 = and i64 %237, 9223372036854775806
br label %242
242: ; preds = %242, %240
%243 = phi i64 [ 0, %240 ], [ %260, %242 ]
%244 = phi i64 [ 0, %240 ], [ %261, %242 ]
%245 = getelementptr inbounds i32, i32* %224, i64 %243
%246 = bitcast i32* %245 to <4 x i32>*
%247 = load <4 x i32>, <4 x i32>* %246
%248 = sitofp <4 x i32> %247 to <4 x double>
%249 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %248, <4 x double> %232, <4 x double> %234)
%250 = fptosi <4 x double> %249 to <4 x i32>
%251 = bitcast i32* %245 to <4 x i32>*
store <4 x i32> %250, <4 x i32>* %251
%252 = or i64 %243, 4
%253 = getelementptr inbounds i32, i32* %224, i64 %252
%254 = bitcast i32* %253 to <4 x i32>*
%255 = load <4 x i32>, <4 x i32>* %254
%256 = sitofp <4 x i32> %255 to <4 x double>
%257 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %256, <4 x double> %232, <4 x double> %234)
%258 = fptosi <4 x double> %257 to <4 x i32>
%259 = bitcast i32* %253 to <4 x i32>*
store <4 x i32> %258, <4 x i32>* %259
%260 = add nuw i64 %243, 8
%261 = add i64 %244, 2
%262 = icmp eq i64 %261, %241
br i1 %262, label %263, label %242
263: ; preds = %242, %229
%264 = phi i64 [ 0, %229 ], [ %260, %242 ]
%265 = icmp eq i64 %238, 0
br i1 %265, label %274, label %266
266: ; preds = %263
%267 = getelementptr inbounds i32, i32* %224, i64 %264
%268 = bitcast i32* %267 to <4 x i32>*
%269 = load <4 x i32>, <4 x i32>* %268
%270 = sitofp <4 x i32> %269 to <4 x double>
%271 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %270, <4 x double> %232, <4 x double> %234)
%272 = fptosi <4 x double> %271 to <4 x i32>
%273 = bitcast i32* %267 to <4 x i32>*
store <4 x i32> %272, <4 x i32>* %273
br label %274
274: ; preds = %263, %266
%275 = icmp eq i64 %230, %227
br i1 %275, label %518, label %276
276: ; preds = %226, %274
%277 = phi i64 [ 0, %226 ], [ %230, %274 ]
br label %278
278: ; preds = %276, %278
%279 = phi i64 [ %285, %278 ], [ %277, %276 ]
%280 = getelementptr inbounds i32, i32* %224, i64 %279
%281 = load i32, i32* %280
%282 = sitofp i32 %281 to double
%283 = tail call double @llvm.fmuladd.f64(double %282, double %3, double %4)
%284 = fptosi double %283 to i32
store i32 %284, i32* %280
%285 = add nuw nsw i64 %279, 1
%286 = icmp eq i64 %285, %227
br i1 %286, label %518, label %278
287: ; preds = %5
%288 = bitcast i8* %0 to i32*
%289 = icmp sgt i32 %2, 0
br i1 %289, label %290, label %518
290: ; preds = %287
%291 = zext i32 %2 to i64
%292 = icmp ult i32 %2, 4
br i1 %292, label %340, label %293
293: ; preds = %290
%294 = and i64 %291, 4294967292
%295 = insertelement <4 x double> poison, double %3, i64 0
%296 = shufflevector <4 x double> %295, <4 x double> poison, <4 x i32> zeroinitializer
%297 = insertelement <4 x double> poison, double %4, i64 0
%298 = shufflevector <4 x double> %297, <4 x double> poison, <4 x i32> zeroinitializer
%299 = add nsw i64 %294, -4
%300 = lshr exact i64 %299, 2
%301 = add nuw nsw i64 %300, 1
%302 = and i64 %301, 1
%303 = icmp eq i64 %299, 0
br i1 %303, label %327, label %304
304: ; preds = %293
%305 = and i64 %301, 9223372036854775806
br label %306
306: ; preds = %306, %304
%307 = phi i64 [ 0, %304 ], [ %324, %306 ]
%308 = phi i64 [ 0, %304 ], [ %325, %306 ]
%309 = getelementptr inbounds i32, i32* %288, i64 %307
%310 = bitcast i32* %309 to <4 x i32>*
%311 = load <4 x i32>, <4 x i32>* %310
%312 = uitofp <4 x i32> %311 to <4 x double>
%313 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %312, <4 x double> %296, <4 x double> %298)
%314 = fptoui <4 x double> %313 to <4 x i32>
%315 = bitcast i32* %309 to <4 x i32>*
store <4 x i32> %314, <4 x i32>* %315
%316 = or i64 %307, 4
%317 = getelementptr inbounds i32, i32* %288, i64 %316
%318 = bitcast i32* %317 to <4 x i32>*
%319 = load <4 x i32>, <4 x i32>* %318
%320 = uitofp <4 x i32> %319 to <4 x double>
%321 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %320, <4 x double> %296, <4 x double> %298)
%322 = fptoui <4 x double> %321 to <4 x i32>
%323 = bitcast i32* %317 to <4 x i32>*
store <4 x i32> %322, <4 x i32>* %323
%324 = add nuw i64 %307, 8
%325 = add i64 %308, 2
%326 = icmp eq i64 %325, %305
br i1 %326, label %327, label %306
327: ; preds = %306, %293
%328 = phi i64 [ 0, %293 ], [ %324, %306 ]
%329 = icmp eq i64 %302, 0
br i1 %329, label %338, label %330
330: ; preds = %327
%331 = getelementptr inbounds i32, i32* %288, i64 %328
%332 = bitcast i32* %331 to <4 x i32>*
%333 = load <4 x i32>, <4 x i32>* %332
%334 = uitofp <4 x i32> %333 to <4 x double>
%335 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %334, <4 x double> %296, <4 x double> %298)
%336 = fptoui <4 x double> %335 to <4 x i32>
%337 = bitcast i32* %331 to <4 x i32>*
store <4 x i32> %336, <4 x i32>* %337
br label %338
338: ; preds = %327, %330
%339 = icmp eq i64 %294, %291
br i1 %339, label %518, label %340
340: ; preds = %290, %338
%341 = phi i64 [ 0, %290 ], [ %294, %338 ]
br label %342
342: ; preds = %340, %342
%343 = phi i64 [ %349, %342 ], [ %341, %340 ]
%344 = getelementptr inbounds i32, i32* %288, i64 %343
%345 = load i32, i32* %344
%346 = uitofp i32 %345 to double
%347 = tail call double @llvm.fmuladd.f64(double %346, double %3, double %4)
%348 = fptoui double %347 to i32
store i32 %348, i32* %344
%349 = add nuw nsw i64 %343, 1
%350 = icmp eq i64 %349, %291
br i1 %350, label %518, label %342
351: ; preds = %5
%352 = bitcast i8* %0 to float*
%353 = icmp sgt i32 %2, 0
br i1 %353, label %354, label %518
354: ; preds = %351
%355 = zext i32 %2 to i64
%356 = icmp ult i32 %2, 8
br i1 %356, label %429, label %357
357: ; preds = %354
%358 = and i64 %355, 4294967288
%359 = insertelement <4 x double> poison, double %3, i64 0
%360 = shufflevector <4 x double> %359, <4 x double> poison, <4 x i32> zeroinitializer
%361 = insertelement <4 x double> poison, double %4, i64 0
%362 = shufflevector <4 x double> %361, <4 x double> poison, <4 x i32> zeroinitializer
%363 = insertelement <4 x double> poison, double %3, i64 0
%364 = shufflevector <4 x double> %363, <4 x double> poison, <4 x i32> zeroinitializer
%365 = insertelement <4 x double> poison, double %4, i64 0
%366 = shufflevector <4 x double> %365, <4 x double> poison, <4 x i32> zeroinitializer
%367 = add nsw i64 %358, -8
%368 = lshr exact i64 %367, 3
%369 = add nuw nsw i64 %368, 1
%370 = and i64 %369, 1
%371 = icmp eq i64 %367, 0
br i1 %371, label %409, label %372
372: ; preds = %357
%373 = and i64 %369, 4611686018427387902
br label %374
374: ; preds = %374, %372
%375 = phi i64 [ 0, %372 ], [ %406, %374 ]
%376 = phi i64 [ 0, %372 ], [ %407, %374 ]
%377 = getelementptr inbounds float, float* %352, i64 %375
%378 = bitcast float* %377 to <4 x float>*
%379 = load <4 x float>, <4 x float>* %378
%380 = getelementptr inbounds float, float* %377, i64 4
%381 = bitcast float* %380 to <4 x float>*
%382 = load <4 x float>, <4 x float>* %381
%383 = fpext <4 x float> %379 to <4 x double>
%384 = fpext <4 x float> %382 to <4 x double>
%385 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %383, <4 x double> %360, <4 x double> %362)
%386 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %384, <4 x double> %364, <4 x double> %366)
%387 = fptrunc <4 x double> %385 to <4 x float>
%388 = fptrunc <4 x double> %386 to <4 x float>
%389 = bitcast float* %377 to <4 x float>*
store <4 x float> %387, <4 x float>* %389
%390 = bitcast float* %380 to <4 x float>*
store <4 x float> %388, <4 x float>* %390
%391 = or i64 %375, 8
%392 = getelementptr inbounds float, float* %352, i64 %391
%393 = bitcast float* %392 to <4 x float>*
%394 = load <4 x float>, <4 x float>* %393
%395 = getelementptr inbounds float, float* %392, i64 4
%396 = bitcast float* %395 to <4 x float>*
%397 = load <4 x float>, <4 x float>* %396
%398 = fpext <4 x float> %394 to <4 x double>
%399 = fpext <4 x float> %397 to <4 x double>
%400 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %398, <4 x double> %360, <4 x double> %362)
%401 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %399, <4 x double> %364, <4 x double> %366)
%402 = fptrunc <4 x double> %400 to <4 x float>
%403 = fptrunc <4 x double> %401 to <4 x float>
%404 = bitcast float* %392 to <4 x float>*
store <4 x float> %402, <4 x float>* %404
%405 = bitcast float* %395 to <4 x float>*
store <4 x float> %403, <4 x float>* %405
%406 = add nuw i64 %375, 16
%407 = add i64 %376, 2
%408 = icmp eq i64 %407, %373
br i1 %408, label %409, label %374
409: ; preds = %374, %357
%410 = phi i64 [ 0, %357 ], [ %406, %374 ]
%411 = icmp eq i64 %370, 0
br i1 %411, label %427, label %412
412: ; preds = %409
%413 = getelementptr inbounds float, float* %352, i64 %410
%414 = bitcast float* %413 to <4 x float>*
%415 = load <4 x float>, <4 x float>* %414
%416 = getelementptr inbounds float, float* %413, i64 4
%417 = bitcast float* %416 to <4 x float>*
%418 = load <4 x float>, <4 x float>* %417
%419 = fpext <4 x float> %415 to <4 x double>
%420 = fpext <4 x float> %418 to <4 x double>
%421 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %419, <4 x double> %360, <4 x double> %362)
%422 = call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %420, <4 x double> %364, <4 x double> %366)
%423 = fptrunc <4 x double> %421 to <4 x float>
%424 = fptrunc <4 x double> %422 to <4 x float>
%425 = bitcast float* %413 to <4 x float>*
store <4 x float> %423, <4 x float>* %425
%426 = bitcast float* %416 to <4 x float>*
store <4 x float> %424, <4 x float>* %426
br label %427
427: ; preds = %409, %412
%428 = icmp eq i64 %358, %355
br i1 %428, label %518, label %429
429: ; preds = %354, %427
%430 = phi i64 [ 0, %354 ], [ %358, %427 ]
br label %431
431: ; preds = %429, %431
%432 = phi i64 [ %438, %431 ], [ %430, %429 ]
%433 = getelementptr inbounds float, float* %352, i64 %432
%434 = load float, float* %433
%435 = fpext float %434 to double
%436 = tail call double @llvm.fmuladd.f64(double %435, double %3, double %4)
%437 = fptrunc double %436 to float
store float %437, float* %433
%438 = add nuw nsw i64 %432, 1
%439 = icmp eq i64 %438, %355
br i1 %439, label %518, label %431
440: ; preds = %5
%441 = bitcast i8* %0 to double*
%442 = icmp sgt i32 %2, 0
br i1 %442, label %443, label %518
443: ; preds = %440
%444 = zext i32 %2 to i64
%445 = icmp ult i32 %2, 4
br i1 %445, label %506, label %446
446: ; preds = %443
%447 = and i64 %444, 4294967292
%448 = insertelement <2 x double> poison, double %3, i64 0
%449 = shufflevector <2 x double> %448, <2 x double> poison, <2 x i32> zeroinitializer
%450 = insertelement <2 x double> poison, double %4, i64 0
%451 = shufflevector <2 x double> %450, <2 x double> poison, <2 x i32> zeroinitializer
%452 = insertelement <2 x double> poison, double %3, i64 0
%453 = shufflevector <2 x double> %452, <2 x double> poison, <2 x i32> zeroinitializer
%454 = insertelement <2 x double> poison, double %4, i64 0
%455 = shufflevector <2 x double> %454, <2 x double> poison, <2 x i32> zeroinitializer
%456 = add nsw i64 %447, -4
%457 = lshr exact i64 %456, 2
%458 = add nuw nsw i64 %457, 1
%459 = and i64 %458, 1
%460 = icmp eq i64 %456, 0
br i1 %460, label %490, label %461
461: ; preds = %446
%462 = and i64 %458, 9223372036854775806
br label %463
463: ; preds = %463, %461
%464 = phi i64 [ 0, %461 ], [ %487, %463 ]
%465 = phi i64 [ 0, %461 ], [ %488, %463 ]
%466 = getelementptr inbounds double, double* %441, i64 %464
%467 = bitcast double* %466 to <2 x double>*
%468 = load <2 x double>, <2 x double>* %467
%469 = getelementptr inbounds double, double* %466, i64 2
%470 = bitcast double* %469 to <2 x double>*
%471 = load <2 x double>, <2 x double>* %470
%472 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %468, <2 x double> %449, <2 x double> %451)
%473 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %471, <2 x double> %453, <2 x double> %455)
%474 = bitcast double* %466 to <2 x double>*
store <2 x double> %472, <2 x double>* %474
%475 = bitcast double* %469 to <2 x double>*
store <2 x double> %473, <2 x double>* %475
%476 = or i64 %464, 4
%477 = getelementptr inbounds double, double* %441, i64 %476
%478 = bitcast double* %477 to <2 x double>*
%479 = load <2 x double>, <2 x double>* %478
%480 = getelementptr inbounds double, double* %477, i64 2
%481 = bitcast double* %480 to <2 x double>*
%482 = load <2 x double>, <2 x double>* %481
%483 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %479, <2 x double> %449, <2 x double> %451)
%484 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %482, <2 x double> %453, <2 x double> %455)
%485 = bitcast double* %477 to <2 x double>*
store <2 x double> %483, <2 x double>* %485
%486 = bitcast double* %480 to <2 x double>*
store <2 x double> %484, <2 x double>* %486
%487 = add nuw i64 %464, 8
%488 = add i64 %465, 2
%489 = icmp eq i64 %488, %462
br i1 %489, label %490, label %463
490: ; preds = %463, %446
%491 = phi i64 [ 0, %446 ], [ %487, %463 ]
%492 = icmp eq i64 %459, 0
br i1 %492, label %504, label %493
493: ; preds = %490
%494 = getelementptr inbounds double, double* %441, i64 %491
%495 = bitcast double* %494 to <2 x double>*
%496 = load <2 x double>, <2 x double>* %495
%497 = getelementptr inbounds double, double* %494, i64 2
%498 = bitcast double* %497 to <2 x double>*
%499 = load <2 x double>, <2 x double>* %498
%500 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %496, <2 x double> %449, <2 x double> %451)
%501 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %499, <2 x double> %453, <2 x double> %455)
%502 = bitcast double* %494 to <2 x double>*
store <2 x double> %500, <2 x double>* %502
%503 = bitcast double* %497 to <2 x double>*
store <2 x double> %501, <2 x double>* %503
br label %504
504: ; preds = %490, %493
%505 = icmp eq i64 %447, %444
br i1 %505, label %518, label %506
506: ; preds = %443, %504
%507 = phi i64 [ 0, %443 ], [ %447, %504 ]
br label %508
508: ; preds = %506, %508
%509 = phi i64 [ %513, %508 ], [ %507, %506 ]
%510 = getelementptr inbounds double, double* %441, i64 %509
%511 = load double, double* %510
%512 = tail call double @llvm.fmuladd.f64(double %511, double %3, double %4)
store double %512, double* %510
%513 = add nuw nsw i64 %509, 1
%514 = icmp eq i64 %513, %444
br i1 %514, label %518, label %508
515: ; preds = %5
%516 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%517 = tail call i32 (...) @abort()
unreachable
518: ; preds = %508, %431, %342, %278, %214, %150, %86, %504, %427, %338, %274, %210, %146, %59, %82, %440, %351, %287, %223, %159, %95, %7, %5
ret void
}