#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 uint64_t;
typedef int uint32_t;

/* Variables and functions */
int /*<<< orphan*/ copy_di(int);
int /*<<< orphan*/ copy_fi(int);
int /*<<< orphan*/ cvtdl(int /*<<< orphan*/);
int /*<<< orphan*/ cvtfl(int /*<<< orphan*/);
int /*<<< orphan*/ cvtil(int /*<<< orphan*/);
int /*<<< orphan*/ cvtld(int /*<<< orphan*/);
int /*<<< orphan*/ cvtlf(int /*<<< orphan*/);
int /*<<< orphan*/ cvtlsw(int);
int /*<<< orphan*/ cvtlsx(int);
int /*<<< orphan*/ cvtluw(int);
int /*<<< orphan*/ cvtlux(int);
int /*<<< orphan*/ make(int, int, int, int);
void cvts(void) {
  int i, j;
  {
    uint32_t x = 0xad040c5b;
    cvtlsw(0);
    for (i = 0; i < 31; i++)
      cvtlsw(x >> (31 - i));
    for (i = 0; i < 31; i++)
      cvtlsw(-(x >> (31 - i)));
    cvtlsw(0x80000000);
  }
  {
    uint64_t x = 0xb630a248cad9afd2;
    cvtlsx(0);
    for (i = 0; i < 63; i++)
      cvtlsx(x >> (63 - i));
    for (i = 0; i < 63; i++)
      cvtlsx(-(x >> (63 - i)));
    cvtlsx(0x8000000000000000);
  }
  {
    uint32_t x = 0xad040c5b;
    cvtluw(0);
    for (i = 0; i < 32; i++)
      cvtluw(x >> (31 - i));
  }
  {
    uint64_t x = 0xb630a248cad9afd2;
    cvtlux(0);
    for (i = 0; i < 64; i++)
      cvtlux(x >> (63 - i));
  }
  for (i = 0; i < 2; i++) {
    cvtil(make(i, 32767, 0, 1));
    cvtil(make(i, 32767, (uint64_t)1 << 47, 0));
    cvtil(make(i, 32767, 123, 456));
    cvtil(make(i, 32767, 0, 0));
    cvtil(make(i, 16382, -1, -1));
    cvtil(make(i, 16383, -1, -1));
    cvtil(make(i, 16384, 0x7fffffffffff, -1));
    cvtil(make(i, 16384, 0x800000000000, 0));
    for (j = 0; j < 68; j++)
      cvtil(make(i, 16381 + j, 0xd4822c0a10ec, 0x1fe2f8b2669f5c9d));
  }
  cvtlf(copy_fi(0x00000000));
  cvtlf(copy_fi(0x456789ab));
  cvtlf(copy_fi(0x7f800000));
  cvtlf(copy_fi(0x7f923456));
  cvtlf(copy_fi(0x7fdbcdef));
  cvtlf(copy_fi(0x80000000));
  cvtlf(copy_fi(0xabcdef12));
  cvtlf(copy_fi(0xff800000));
  cvtlf(copy_fi(0xff923456));
  cvtlf(copy_fi(0xffdbcdef));
  cvtld(copy_di(0x0000000000000000));
  cvtld(copy_di(0x456789abcdef0123));
  cvtld(copy_di(0x7ff0000000000000));
  cvtld(copy_di(0x7ff123456789abcd));
  cvtld(copy_di(0x7ffabcdef1234567));
  cvtld(copy_di(0x8000000000000000));
  cvtld(copy_di(0xcdef123456789abc));
  cvtld(copy_di(0xfff0000000000000));
  cvtld(copy_di(0xfff123456789abcd));
  cvtld(copy_di(0xfffabcdef1234567));
  for (i = 0; i < 2; i++) {
    cvtfl(make(i, 0, 0, 0));
    cvtfl(make(i, 16232, -1, -1));
    cvtfl(make(i, 16233, 0, 0));
    cvtfl(make(i, 16233, 0, 1));
    cvtfl(make(i, 16383, 0xab0ffd000000, 0));
    cvtfl(make(i, 16383, 0xab0ffd000001, 0));
    cvtfl(make(i, 16383, 0xab0ffeffffff, 0));
    cvtfl(make(i, 16383, 0xab0fff000000, 0));
    cvtfl(make(i, 16383, 0xab0fff000001, 0));
    cvtfl(make(i, 16510, 0xfffffeffffff, -1));
    cvtfl(make(i, 16510, 0xffffff000000, 0));
    cvtfl(make(i, 16511, 0, 0));
    cvtfl(make(i, 32767, 0, 0));
    cvtfl(make(i, 32767, 0, 1));
    cvtfl(make(i, 32767, 0x4cbe01ac5f40, 0x75cee3c6afbb00b5));
    cvtfl(make(i, 32767, 0x800000000000, 1));
    cvtfl(make(i, 32767, 0xa11caaaf6a52, 0x696033e871eab099));
  }
  for (i = 0; i < 2; i++) {
    cvtdl(make(i, 0, 0, 0));
    cvtdl(make(i, 15307, -1, -1));
    cvtdl(make(i, 15308, 0, 0));
    cvtdl(make(i, 15308, 0, 1));
    cvtdl(make(i, 16383, 0xabc123abc0ff, 0xe800000000000000));
    cvtdl(make(i, 16383, 0xabc123abc0ff, 0xe800000000000001));
    cvtdl(make(i, 16383, 0xabc123abc0ff, 0xf7ffffffffffffff));
    cvtdl(make(i, 16383, 0xabc123abc0ff, 0xf800000000000000));
    cvtdl(make(i, 16383, 0xabc123abc0ff, 0xf800000000000001));
    cvtdl(make(i, 17406, 0xffffffffffff, 0xf7ffffffffffffff));
    cvtdl(make(i, 17406, 0xffffffffffff, 0xf800000000000000));
    cvtdl(make(i, 17407, 0, 0));
    cvtdl(make(i, 32767, 0, 0));
    cvtdl(make(i, 32767, 0, 1));
    cvtdl(make(i, 32767, 0x4cbe01ac5f40, 0x75cee3c6afbb00b5));
    cvtdl(make(i, 32767, 0x800000000000, 1));
    cvtdl(make(i, 32767, 0xa11caaaf6a52, 0x696033e871eab099));
  }
}


x86 assembly (clang, -O0):
<cvts>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0xad040c5b,-0xc(%rbp)
xor    %edi,%edi
call   1070 <cvtlsw@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x1f,-0x4(%rbp)
jge    1207 <cvts+0x47>
mov    -0xc(%rbp),%edi
mov    $0x1f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%edi
call   1070 <cvtlsw@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11dd <cvts+0x1d>
movl   $0x0,-0x4(%rbp)
cmpl   $0x1f,-0x4(%rbp)
jge    123c <cvts+0x7c>
mov    -0xc(%rbp),%eax
mov    $0x1f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%eax
xor    %edi,%edi
sub    %eax,%edi
call   1070 <cvtlsw@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    120e <cvts+0x4e>
mov    $0x80000000,%edi
call   1070 <cvtlsw@plt>
movl   $0xcad9afd2,-0x10(%rbp)
xor    %edi,%edi
call   1050 <cvtlsx@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x3f,-0x4(%rbp)
jge    1285 <cvts+0xc5>
mov    -0x10(%rbp),%edi
mov    $0x3f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%edi
call   1050 <cvtlsx@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    125b <cvts+0x9b>
movl   $0x0,-0x4(%rbp)
cmpl   $0x3f,-0x4(%rbp)
jge    12ba <cvts+0xfa>
mov    -0x10(%rbp),%eax
mov    $0x3f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%eax
xor    %edi,%edi
sub    %eax,%edi
call   1050 <cvtlsx@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    128c <cvts+0xcc>
xor    %edi,%edi
call   1050 <cvtlsx@plt>
movl   $0xad040c5b,-0x14(%rbp)
xor    %edi,%edi
call   1080 <cvtluw@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x20,-0x4(%rbp)
jge    1300 <cvts+0x140>
mov    -0x14(%rbp),%edi
mov    $0x1f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%edi
call   1080 <cvtluw@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    12d6 <cvts+0x116>
movl   $0xcad9afd2,-0x18(%rbp)
xor    %edi,%edi
call   1030 <cvtlux@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x40,-0x4(%rbp)
jge    133f <cvts+0x17f>
mov    -0x18(%rbp),%edi
mov    $0x3f,%ecx
sub    -0x4(%rbp),%ecx
sar    %cl,%edi
call   1030 <cvtlux@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1315 <cvts+0x155>
movl   $0x0,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
jge    1474 <cvts+0x2b4>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
mov    $0x7b,%edx
mov    $0x1c8,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x3ffe,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x4000,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x4(%rbp),%edi
mov    $0x4000,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x44,-0x8(%rbp)
jge    1461 <cvts+0x2a1>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
add    $0x3ffd,%esi
mov    $0x2c0a10ec,%edx
mov    $0x669f5c9d,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1427 <cvts+0x267>
jmp    1466 <cvts+0x2a6>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1346 <cvts+0x186>
xor    %edi,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x456789ab,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7f800000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7f923456,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7fdbcdef,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x80000000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xabcdef12,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xff800000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xff923456,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xffdbcdef,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xcdef0123,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x6789abcd,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xf1234567,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x56789abc,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x6789abcd,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xf1234567,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
jge    179d <cvts+0x5dd>
mov    -0x4(%rbp),%edi
xor    %ecx,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3f68,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3f69,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3f69,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xfd000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xfd000001,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xfeffffff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xff000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0xff000001,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x407e,%esi
mov    $0xfeffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x407e,%esi
mov    $0xff000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x407f,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
mov    $0x1ac5f40,%edx
mov    $0xafbb00b5,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
mov    $0xaaaf6a52,%edx
mov    $0x71eab099,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    15c0 <cvts+0x400>
movl   $0x0,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
jge    1987 <cvts+0x7c7>
mov    -0x4(%rbp),%edi
xor    %ecx,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3bcb,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3bcc,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3bcc,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x43fe,%esi
mov    $0xffffffff,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x43fe,%esi
mov    $0xffffffff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x43ff,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
mov    $0x1ac5f40,%edx
mov    $0xafbb00b5,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%edi
mov    $0x7fff,%esi
mov    $0xaaaf6a52,%edx
mov    $0x71eab099,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    17a4 <cvts+0x5e4>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cvts>:
push   %rbp
push   %r14
push   %rbx
xor    %edi,%edi
call   1070 <cvtlsw@plt>
mov    $0x1f,%ebx
mov    $0xad040c5b,%edi
mov    %ebx,%ecx
sar    %cl,%edi
call   1070 <cvtlsw@plt>
add    $0xffffffff,%ebx
jne    11d0 <cvts+0x10>
mov    $0x1f,%ebx
nopl   0x0(%rax,%rax,1)
mov    $0xad040c5b,%edi
mov    %ebx,%ecx
sar    %cl,%edi
neg    %edi
call   1070 <cvtlsw@plt>
add    $0xffffffff,%ebx
jne    11f0 <cvts+0x30>
mov    $0x80000000,%edi
call   1070 <cvtlsw@plt>
xor    %edi,%edi
call   1050 <cvtlsx@plt>
mov    $0x3f,%ebx
nopl   0x0(%rax,%rax,1)
mov    $0xcad9afd2,%edi
mov    %ebx,%ecx
sar    %cl,%edi
call   1050 <cvtlsx@plt>
add    $0xffffffff,%ebx
jne    1220 <cvts+0x60>
mov    $0x3f,%ebx
nopl   0x0(%rax,%rax,1)
mov    $0xcad9afd2,%edi
mov    %ebx,%ecx
sar    %cl,%edi
neg    %edi
call   1050 <cvtlsx@plt>
add    $0xffffffff,%ebx
jne    1240 <cvts+0x80>
xor    %edi,%edi
call   1050 <cvtlsx@plt>
xor    %edi,%edi
call   1080 <cvtluw@plt>
mov    $0x1f,%ebx
nopl   0x0(%rax,%rax,1)
mov    $0xad040c5b,%edi
mov    %ebx,%ecx
sar    %cl,%edi
call   1080 <cvtluw@plt>
add    $0xffffffff,%ebx
jb     1270 <cvts+0xb0>
xor    %edi,%edi
call   1030 <cvtlux@plt>
mov    $0x3f,%ebx
nop
mov    $0xcad9afd2,%edi
mov    %ebx,%ecx
sar    %cl,%edi
call   1030 <cvtlux@plt>
add    $0xffffffff,%ebx
jb     1290 <cvts+0xd0>
xor    %edi,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x7fff,%esi
mov    $0x7b,%edx
mov    $0x1c8,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x3ffe,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x3fff,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x4000,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
xor    %edi,%edi
mov    $0x4000,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x3ffd,%ebx
nopl   0x0(%rax)
xor    %edi,%edi
mov    %ebx,%esi
mov    $0x2c0a10ec,%edx
mov    $0x669f5c9d,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
add    $0x1,%ebx
cmp    $0x4041,%ebx
jne    1380 <cvts+0x1c0>
mov    $0x1,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x7fff,%esi
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x7fff,%esi
mov    $0x7b,%edx
mov    $0x1c8,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x3ffe,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x3fff,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x4000,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x1,%edi
mov    $0x4000,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
mov    $0x3ffd,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    $0x1,%edi
mov    %ebx,%esi
mov    $0x2c0a10ec,%edx
mov    $0x669f5c9d,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10e0 <cvtil@plt>
add    $0x1,%ebx
cmp    $0x4041,%ebx
jne    14a0 <cvts+0x2e0>
xor    %ebp,%ebp
xor    %edi,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x456789ab,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7f800000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7f923456,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x7fdbcdef,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0x80000000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xabcdef12,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xff800000,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xff923456,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
mov    $0xffdbcdef,%edi
call   1060 <copy_fi@plt>
mov    %eax,%edi
call   10a0 <cvtlf@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xcdef0123,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x6789abcd,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xf1234567,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x56789abc,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
xor    %edi,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x6789abcd,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0xf1234567,%edi
call   1040 <copy_di@plt>
mov    %eax,%edi
call   10b0 <cvtld@plt>
mov    $0x1,%r14b
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %ebp,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3f68,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3f69,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3f69,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3fff,%esi
mov    $0xfd000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3fff,%esi
mov    $0xfd000001,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3fff,%esi
mov    $0xfeffffff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3fff,%esi
mov    $0xff000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x3fff,%esi
mov    $0xff000001,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x407e,%esi
mov    $0xfeffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x407e,%esi
mov    $0xff000000,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x407f,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x7fff,%esi
mov    $0x1ac5f40,%edx
mov    $0xafbb00b5,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    %ebp,%edi
mov    $0x7fff,%esi
mov    $0xaaaf6a52,%edx
mov    $0x71eab099,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   10c0 <cvtfl@plt>
mov    $0x1,%ebp
test   $0x1,%r14b
mov    $0x0,%r14d
jne    1620 <cvts+0x460>
mov    $0x1,%bpl
nop
mov    %ebx,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3bcb,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3bcc,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3bcc,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x3fff,%esi
mov    $0x23abc0ff,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x43fe,%esi
mov    $0xffffffff,%edx
mov    $0xffffffff,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x43fe,%esi
mov    $0xffffffff,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x43ff,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x7fff,%esi
mov    $0x1ac5f40,%edx
mov    $0xafbb00b5,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x7fff,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    %ebx,%edi
mov    $0x7fff,%esi
mov    $0xaaaf6a52,%edx
mov    $0x71eab099,%ecx
call   10d0 <make@plt>
mov    %eax,%edi
call   1090 <cvtdl@plt>
mov    $0x1,%ebx
test   $0x1,%bpl
mov    $0x0,%ebp
jne    17f0 <cvts+0x630>
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define void @cvts() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 -1392243621, i32* %3
%7 = call i32 @cvtlsw(i32 0)
store i32 0, i32* %1
br label %8
8: ; preds = %17, %0
%9 = load i32, i32* %1
%10 = icmp slt i32 %9, 31
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, i32* %3
%13 = load i32, i32* %1
%14 = sub nsw i32 31, %13
%15 = ashr i32 %12, %14
%16 = call i32 @cvtlsw(i32 %15)
br label %17
17: ; preds = %11
%18 = load i32, i32* %1
%19 = add nsw i32 %18, 1
store i32 %19, i32* %1
br label %8
20: ; preds = %8
store i32 0, i32* %1
br label %21
21: ; preds = %31, %20
%22 = load i32, i32* %1
%23 = icmp slt i32 %22, 31
br i1 %23, label %24, label %34
24: ; preds = %21
%25 = load i32, i32* %3
%26 = load i32, i32* %1
%27 = sub nsw i32 31, %26
%28 = ashr i32 %25, %27
%29 = sub nsw i32 0, %28
%30 = call i32 @cvtlsw(i32 %29)
br label %31
31: ; preds = %24
%32 = load i32, i32* %1
%33 = add nsw i32 %32, 1
store i32 %33, i32* %1
br label %21
34: ; preds = %21
%35 = call i32 @cvtlsw(i32 -2147483648)
store i32 -891703342, i32* %4
%36 = call i32 @cvtlsx(i32 0)
store i32 0, i32* %1
br label %37
37: ; preds = %46, %34
%38 = load i32, i32* %1
%39 = icmp slt i32 %38, 63
br i1 %39, label %40, label %49
40: ; preds = %37
%41 = load i32, i32* %4
%42 = load i32, i32* %1
%43 = sub nsw i32 63, %42
%44 = ashr i32 %41, %43
%45 = call i32 @cvtlsx(i32 %44)
br label %46
46: ; preds = %40
%47 = load i32, i32* %1
%48 = add nsw i32 %47, 1
store i32 %48, i32* %1
br label %37
49: ; preds = %37
store i32 0, i32* %1
br label %50
50: ; preds = %60, %49
%51 = load i32, i32* %1
%52 = icmp slt i32 %51, 63
br i1 %52, label %53, label %63
53: ; preds = %50
%54 = load i32, i32* %4
%55 = load i32, i32* %1
%56 = sub nsw i32 63, %55
%57 = ashr i32 %54, %56
%58 = sub nsw i32 0, %57
%59 = call i32 @cvtlsx(i32 %58)
br label %60
60: ; preds = %53
%61 = load i32, i32* %1
%62 = add nsw i32 %61, 1
store i32 %62, i32* %1
br label %50
63: ; preds = %50
%64 = call i32 @cvtlsx(i32 0)
store i32 -1392243621, i32* %5
%65 = call i32 @cvtluw(i32 0)
store i32 0, i32* %1
br label %66
66: ; preds = %75, %63
%67 = load i32, i32* %1
%68 = icmp slt i32 %67, 32
br i1 %68, label %69, label %78
69: ; preds = %66
%70 = load i32, i32* %5
%71 = load i32, i32* %1
%72 = sub nsw i32 31, %71
%73 = ashr i32 %70, %72
%74 = call i32 @cvtluw(i32 %73)
br label %75
75: ; preds = %69
%76 = load i32, i32* %1
%77 = add nsw i32 %76, 1
store i32 %77, i32* %1
br label %66
78: ; preds = %66
store i32 -891703342, i32* %6
%79 = call i32 @cvtlux(i32 0)
store i32 0, i32* %1
br label %80
80: ; preds = %89, %78
%81 = load i32, i32* %1
%82 = icmp slt i32 %81, 64
br i1 %82, label %83, label %92
83: ; preds = %80
%84 = load i32, i32* %6
%85 = load i32, i32* %1
%86 = sub nsw i32 63, %85
%87 = ashr i32 %84, %86
%88 = call i32 @cvtlux(i32 %87)
br label %89
89: ; preds = %83
%90 = load i32, i32* %1
%91 = add nsw i32 %90, 1
store i32 %91, i32* %1
br label %80
92: ; preds = %80
store i32 0, i32* %1
br label %93
93: ; preds = %134, %92
%94 = load i32, i32* %1
%95 = icmp slt i32 %94, 2
br i1 %95, label %96, label %137
96: ; preds = %93
%97 = load i32, i32* %1
%98 = call i32 @make(i32 %97, i32 32767, i32 0, i32 1)
%99 = call i32 @cvtil(i32 %98)
%100 = load i32, i32* %1
%101 = call i32 @make(i32 %100, i32 32767, i32 poison, i32 0)
%102 = call i32 @cvtil(i32 %101)
%103 = load i32, i32* %1
%104 = call i32 @make(i32 %103, i32 32767, i32 123, i32 456)
%105 = call i32 @cvtil(i32 %104)
%106 = load i32, i32* %1
%107 = call i32 @make(i32 %106, i32 32767, i32 0, i32 0)
%108 = call i32 @cvtil(i32 %107)
%109 = load i32, i32* %1
%110 = call i32 @make(i32 %109, i32 16382, i32 -1, i32 -1)
%111 = call i32 @cvtil(i32 %110)
%112 = load i32, i32* %1
%113 = call i32 @make(i32 %112, i32 16383, i32 -1, i32 -1)
%114 = call i32 @cvtil(i32 %113)
%115 = load i32, i32* %1
%116 = call i32 @make(i32 %115, i32 16384, i32 -1, i32 -1)
%117 = call i32 @cvtil(i32 %116)
%118 = load i32, i32* %1
%119 = call i32 @make(i32 %118, i32 16384, i32 0, i32 0)
%120 = call i32 @cvtil(i32 %119)
store i32 0, i32* %2
br label %121
121: ; preds = %130, %96
%122 = load i32, i32* %2
%123 = icmp slt i32 %122, 68
br i1 %123, label %124, label %133
124: ; preds = %121
%125 = load i32, i32* %1
%126 = load i32, i32* %2
%127 = add nsw i32 16381, %126
%128 = call i32 @make(i32 %125, i32 %127, i32 738857196, i32 1721719965)
%129 = call i32 @cvtil(i32 %128)
br label %130
130: ; preds = %124
%131 = load i32, i32* %2
%132 = add nsw i32 %131, 1
store i32 %132, i32* %2
br label %121
133: ; preds = %121
br label %134
134: ; preds = %133
%135 = load i32, i32* %1
%136 = add nsw i32 %135, 1
store i32 %136, i32* %1
br label %93
137: ; preds = %93
%138 = call i32 @copy_fi(i32 0)
%139 = call i32 @cvtlf(i32 %138)
%140 = call i32 @copy_fi(i32 1164413355)
%141 = call i32 @cvtlf(i32 %140)
%142 = call i32 @copy_fi(i32 2139095040)
%143 = call i32 @cvtlf(i32 %142)
%144 = call i32 @copy_fi(i32 2140288086)
%145 = call i32 @cvtlf(i32 %144)
%146 = call i32 @copy_fi(i32 2145111535)
%147 = call i32 @cvtlf(i32 %146)
%148 = call i32 @copy_fi(i32 -2147483648)
%149 = call i32 @cvtlf(i32 %148)
%150 = call i32 @copy_fi(i32 -1412567278)
%151 = call i32 @cvtlf(i32 %150)
%152 = call i32 @copy_fi(i32 -8388608)
%153 = call i32 @cvtlf(i32 %152)
%154 = call i32 @copy_fi(i32 -7195562)
%155 = call i32 @cvtlf(i32 %154)
%156 = call i32 @copy_fi(i32 -2372113)
%157 = call i32 @cvtlf(i32 %156)
%158 = call i32 @copy_di(i32 0)
%159 = call i32 @cvtld(i32 %158)
%160 = call i32 @copy_di(i32 -839974621)
%161 = call i32 @cvtld(i32 %160)
%162 = call i32 @copy_di(i32 0)
%163 = call i32 @cvtld(i32 %162)
%164 = call i32 @copy_di(i32 1737075661)
%165 = call i32 @cvtld(i32 %164)
%166 = call i32 @copy_di(i32 -249346713)
%167 = call i32 @cvtld(i32 %166)
%168 = call i32 @copy_di(i32 0)
%169 = call i32 @cvtld(i32 %168)
%170 = call i32 @copy_di(i32 1450744508)
%171 = call i32 @cvtld(i32 %170)
%172 = call i32 @copy_di(i32 0)
%173 = call i32 @cvtld(i32 %172)
%174 = call i32 @copy_di(i32 1737075661)
%175 = call i32 @cvtld(i32 %174)
%176 = call i32 @copy_di(i32 -249346713)
%177 = call i32 @cvtld(i32 %176)
store i32 0, i32* %1
br label %178
178: ; preds = %233, %137
%179 = load i32, i32* %1
%180 = icmp slt i32 %179, 2
br i1 %180, label %181, label %236
181: ; preds = %178
%182 = load i32, i32* %1
%183 = call i32 @make(i32 %182, i32 0, i32 0, i32 0)
%184 = call i32 @cvtfl(i32 %183)
%185 = load i32, i32* %1
%186 = call i32 @make(i32 %185, i32 16232, i32 -1, i32 -1)
%187 = call i32 @cvtfl(i32 %186)
%188 = load i32, i32* %1
%189 = call i32 @make(i32 %188, i32 16233, i32 0, i32 0)
%190 = call i32 @cvtfl(i32 %189)
%191 = load i32, i32* %1
%192 = call i32 @make(i32 %191, i32 16233, i32 0, i32 1)
%193 = call i32 @cvtfl(i32 %192)
%194 = load i32, i32* %1
%195 = call i32 @make(i32 %194, i32 16383, i32 -50331648, i32 0)
%196 = call i32 @cvtfl(i32 %195)
%197 = load i32, i32* %1
%198 = call i32 @make(i32 %197, i32 16383, i32 -50331647, i32 0)
%199 = call i32 @cvtfl(i32 %198)
%200 = load i32, i32* %1
%201 = call i32 @make(i32 %200, i32 16383, i32 -16777217, i32 0)
%202 = call i32 @cvtfl(i32 %201)
%203 = load i32, i32* %1
%204 = call i32 @make(i32 %203, i32 16383, i32 -16777216, i32 0)
%205 = call i32 @cvtfl(i32 %204)
%206 = load i32, i32* %1
%207 = call i32 @make(i32 %206, i32 16383, i32 -16777215, i32 0)
%208 = call i32 @cvtfl(i32 %207)
%209 = load i32, i32* %1
%210 = call i32 @make(i32 %209, i32 16510, i32 -16777217, i32 -1)
%211 = call i32 @cvtfl(i32 %210)
%212 = load i32, i32* %1
%213 = call i32 @make(i32 %212, i32 16510, i32 -16777216, i32 0)
%214 = call i32 @cvtfl(i32 %213)
%215 = load i32, i32* %1
%216 = call i32 @make(i32 %215, i32 16511, i32 0, i32 0)
%217 = call i32 @cvtfl(i32 %216)
%218 = load i32, i32* %1
%219 = call i32 @make(i32 %218, i32 32767, i32 0, i32 0)
%220 = call i32 @cvtfl(i32 %219)
%221 = load i32, i32* %1
%222 = call i32 @make(i32 %221, i32 32767, i32 0, i32 1)
%223 = call i32 @cvtfl(i32 %222)
%224 = load i32, i32* %1
%225 = call i32 @make(i32 %224, i32 32767, i32 28073792, i32 -1346699083)
%226 = call i32 @cvtfl(i32 %225)
%227 = load i32, i32* %1
%228 = call i32 @make(i32 %227, i32 32767, i32 0, i32 1)
%229 = call i32 @cvtfl(i32 %228)
%230 = load i32, i32* %1
%231 = call i32 @make(i32 %230, i32 32767, i32 -1431344558, i32 1911206041)
%232 = call i32 @cvtfl(i32 %231)
br label %233
233: ; preds = %181
%234 = load i32, i32* %1
%235 = add nsw i32 %234, 1
store i32 %235, i32* %1
br label %178
236: ; preds = %178
store i32 0, i32* %1
br label %237
237: ; preds = %292, %236
%238 = load i32, i32* %1
%239 = icmp slt i32 %238, 2
br i1 %239, label %240, label %295
240: ; preds = %237
%241 = load i32, i32* %1
%242 = call i32 @make(i32 %241, i32 0, i32 0, i32 0)
%243 = call i32 @cvtdl(i32 %242)
%244 = load i32, i32* %1
%245 = call i32 @make(i32 %244, i32 15307, i32 -1, i32 -1)
%246 = call i32 @cvtdl(i32 %245)
%247 = load i32, i32* %1
%248 = call i32 @make(i32 %247, i32 15308, i32 0, i32 0)
%249 = call i32 @cvtdl(i32 %248)
%250 = load i32, i32* %1
%251 = call i32 @make(i32 %250, i32 15308, i32 0, i32 1)
%252 = call i32 @cvtdl(i32 %251)
%253 = load i32, i32* %1
%254 = call i32 @make(i32 %253, i32 16383, i32 598458623, i32 0)
%255 = call i32 @cvtdl(i32 %254)
%256 = load i32, i32* %1
%257 = call i32 @make(i32 %256, i32 16383, i32 598458623, i32 1)
%258 = call i32 @cvtdl(i32 %257)
%259 = load i32, i32* %1
%260 = call i32 @make(i32 %259, i32 16383, i32 598458623, i32 -1)
%261 = call i32 @cvtdl(i32 %260)
%262 = load i32, i32* %1
%263 = call i32 @make(i32 %262, i32 16383, i32 598458623, i32 0)
%264 = call i32 @cvtdl(i32 %263)
%265 = load i32, i32* %1
%266 = call i32 @make(i32 %265, i32 16383, i32 598458623, i32 1)
%267 = call i32 @cvtdl(i32 %266)
%268 = load i32, i32* %1
%269 = call i32 @make(i32 %268, i32 17406, i32 -1, i32 -1)
%270 = call i32 @cvtdl(i32 %269)
%271 = load i32, i32* %1
%272 = call i32 @make(i32 %271, i32 17406, i32 -1, i32 0)
%273 = call i32 @cvtdl(i32 %272)
%274 = load i32, i32* %1
%275 = call i32 @make(i32 %274, i32 17407, i32 0, i32 0)
%276 = call i32 @cvtdl(i32 %275)
%277 = load i32, i32* %1
%278 = call i32 @make(i32 %277, i32 32767, i32 0, i32 0)
%279 = call i32 @cvtdl(i32 %278)
%280 = load i32, i32* %1
%281 = call i32 @make(i32 %280, i32 32767, i32 0, i32 1)
%282 = call i32 @cvtdl(i32 %281)
%283 = load i32, i32* %1
%284 = call i32 @make(i32 %283, i32 32767, i32 28073792, i32 -1346699083)
%285 = call i32 @cvtdl(i32 %284)
%286 = load i32, i32* %1
%287 = call i32 @make(i32 %286, i32 32767, i32 0, i32 1)
%288 = call i32 @cvtdl(i32 %287)
%289 = load i32, i32* %1
%290 = call i32 @make(i32 %289, i32 32767, i32 -1431344558, i32 1911206041)
%291 = call i32 @cvtdl(i32 %290)
br label %292
292: ; preds = %240
%293 = load i32, i32* %1
%294 = add nsw i32 %293, 1
store i32 %294, i32* %1
br label %237
295: ; preds = %237
ret void
}

LLVM IR (-O2):
define void @cvts() {
%1 = tail call i32 @cvtlsw(i32 0)
br label %2
2: ; preds = %0, %2
%3 = phi i32 [ 0, %0 ], [ %7, %2 ]
%4 = sub nuw nsw i32 31, %3
%5 = ashr i32 -1392243621, %4
%6 = tail call i32 @cvtlsw(i32 %5)
%7 = add nuw nsw i32 %3, 1
%8 = icmp eq i32 %7, 31
br i1 %8, label %9, label %2
9: ; preds = %2, %9
%10 = phi i32 [ %15, %9 ], [ 0, %2 ]
%11 = sub nuw nsw i32 31, %10
%12 = ashr i32 -1392243621, %11
%13 = sub nsw i32 0, %12
%14 = tail call i32 @cvtlsw(i32 %13)
%15 = add nuw nsw i32 %10, 1
%16 = icmp eq i32 %15, 31
br i1 %16, label %17, label %9
17: ; preds = %9
%18 = tail call i32 @cvtlsw(i32 -2147483648)
%19 = tail call i32 @cvtlsx(i32 0)
br label %20
20: ; preds = %17, %20
%21 = phi i32 [ 0, %17 ], [ %25, %20 ]
%22 = sub nuw nsw i32 63, %21
%23 = ashr i32 -891703342, %22
%24 = tail call i32 @cvtlsx(i32 %23)
%25 = add nuw nsw i32 %21, 1
%26 = icmp eq i32 %25, 63
br i1 %26, label %27, label %20
27: ; preds = %20, %27
%28 = phi i32 [ %33, %27 ], [ 0, %20 ]
%29 = sub nuw nsw i32 63, %28
%30 = ashr i32 -891703342, %29
%31 = sub nsw i32 0, %30
%32 = tail call i32 @cvtlsx(i32 %31)
%33 = add nuw nsw i32 %28, 1
%34 = icmp eq i32 %33, 63
br i1 %34, label %35, label %27
35: ; preds = %27
%36 = tail call i32 @cvtlsx(i32 0)
%37 = tail call i32 @cvtluw(i32 0)
br label %38
38: ; preds = %35, %38
%39 = phi i32 [ 0, %35 ], [ %43, %38 ]
%40 = sub nuw nsw i32 31, %39
%41 = ashr i32 -1392243621, %40
%42 = tail call i32 @cvtluw(i32 %41)
%43 = add nuw nsw i32 %39, 1
%44 = icmp eq i32 %43, 32
br i1 %44, label %45, label %38
45: ; preds = %38
%46 = tail call i32 @cvtlux(i32 0)
br label %47
47: ; preds = %45, %47
%48 = phi i32 [ 0, %45 ], [ %52, %47 ]
%49 = sub nuw nsw i32 63, %48
%50 = ashr i32 -891703342, %49
%51 = tail call i32 @cvtlux(i32 %50)
%52 = add nuw nsw i32 %48, 1
%53 = icmp eq i32 %52, 64
br i1 %53, label %54, label %47
54: ; preds = %47
%55 = tail call i32 @make(i32 0, i32 32767, i32 0, i32 1)
%56 = tail call i32 @cvtil(i32 %55)
%57 = tail call i32 @make(i32 0, i32 32767, i32 poison, i32 0)
%58 = tail call i32 @cvtil(i32 %57)
%59 = tail call i32 @make(i32 0, i32 32767, i32 123, i32 456)
%60 = tail call i32 @cvtil(i32 %59)
%61 = tail call i32 @make(i32 0, i32 32767, i32 0, i32 0)
%62 = tail call i32 @cvtil(i32 %61)
%63 = tail call i32 @make(i32 0, i32 16382, i32 -1, i32 -1)
%64 = tail call i32 @cvtil(i32 %63)
%65 = tail call i32 @make(i32 0, i32 16383, i32 -1, i32 -1)
%66 = tail call i32 @cvtil(i32 %65)
%67 = tail call i32 @make(i32 0, i32 16384, i32 -1, i32 -1)
%68 = tail call i32 @cvtil(i32 %67)
%69 = tail call i32 @make(i32 0, i32 16384, i32 0, i32 0)
%70 = tail call i32 @cvtil(i32 %69)
br label %71
71: ; preds = %54, %71
%72 = phi i32 [ 0, %54 ], [ %76, %71 ]
%73 = add nuw nsw i32 %72, 16381
%74 = tail call i32 @make(i32 0, i32 %73, i32 738857196, i32 1721719965)
%75 = tail call i32 @cvtil(i32 %74)
%76 = add nuw nsw i32 %72, 1
%77 = icmp eq i32 %76, 68
br i1 %77, label %78, label %71
78: ; preds = %71
%79 = tail call i32 @make(i32 1, i32 32767, i32 0, i32 1)
%80 = tail call i32 @cvtil(i32 %79)
%81 = tail call i32 @make(i32 1, i32 32767, i32 poison, i32 0)
%82 = tail call i32 @cvtil(i32 %81)
%83 = tail call i32 @make(i32 1, i32 32767, i32 123, i32 456)
%84 = tail call i32 @cvtil(i32 %83)
%85 = tail call i32 @make(i32 1, i32 32767, i32 0, i32 0)
%86 = tail call i32 @cvtil(i32 %85)
%87 = tail call i32 @make(i32 1, i32 16382, i32 -1, i32 -1)
%88 = tail call i32 @cvtil(i32 %87)
%89 = tail call i32 @make(i32 1, i32 16383, i32 -1, i32 -1)
%90 = tail call i32 @cvtil(i32 %89)
%91 = tail call i32 @make(i32 1, i32 16384, i32 -1, i32 -1)
%92 = tail call i32 @cvtil(i32 %91)
%93 = tail call i32 @make(i32 1, i32 16384, i32 0, i32 0)
%94 = tail call i32 @cvtil(i32 %93)
br label %95
95: ; preds = %95, %78
%96 = phi i32 [ 0, %78 ], [ %100, %95 ]
%97 = add nuw nsw i32 %96, 16381
%98 = tail call i32 @make(i32 1, i32 %97, i32 738857196, i32 1721719965)
%99 = tail call i32 @cvtil(i32 %98)
%100 = add nuw nsw i32 %96, 1
%101 = icmp eq i32 %100, 68
br i1 %101, label %102, label %95
102: ; preds = %95
%103 = tail call i32 @copy_fi(i32 0)
%104 = tail call i32 @cvtlf(i32 %103)
%105 = tail call i32 @copy_fi(i32 1164413355)
%106 = tail call i32 @cvtlf(i32 %105)
%107 = tail call i32 @copy_fi(i32 2139095040)
%108 = tail call i32 @cvtlf(i32 %107)
%109 = tail call i32 @copy_fi(i32 2140288086)
%110 = tail call i32 @cvtlf(i32 %109)
%111 = tail call i32 @copy_fi(i32 2145111535)
%112 = tail call i32 @cvtlf(i32 %111)
%113 = tail call i32 @copy_fi(i32 -2147483648)
%114 = tail call i32 @cvtlf(i32 %113)
%115 = tail call i32 @copy_fi(i32 -1412567278)
%116 = tail call i32 @cvtlf(i32 %115)
%117 = tail call i32 @copy_fi(i32 -8388608)
%118 = tail call i32 @cvtlf(i32 %117)
%119 = tail call i32 @copy_fi(i32 -7195562)
%120 = tail call i32 @cvtlf(i32 %119)
%121 = tail call i32 @copy_fi(i32 -2372113)
%122 = tail call i32 @cvtlf(i32 %121)
%123 = tail call i32 @copy_di(i32 0)
%124 = tail call i32 @cvtld(i32 %123)
%125 = tail call i32 @copy_di(i32 -839974621)
%126 = tail call i32 @cvtld(i32 %125)
%127 = tail call i32 @copy_di(i32 0)
%128 = tail call i32 @cvtld(i32 %127)
%129 = tail call i32 @copy_di(i32 1737075661)
%130 = tail call i32 @cvtld(i32 %129)
%131 = tail call i32 @copy_di(i32 -249346713)
%132 = tail call i32 @cvtld(i32 %131)
%133 = tail call i32 @copy_di(i32 0)
%134 = tail call i32 @cvtld(i32 %133)
%135 = tail call i32 @copy_di(i32 1450744508)
%136 = tail call i32 @cvtld(i32 %135)
%137 = tail call i32 @copy_di(i32 0)
%138 = tail call i32 @cvtld(i32 %137)
%139 = tail call i32 @copy_di(i32 1737075661)
%140 = tail call i32 @cvtld(i32 %139)
%141 = tail call i32 @copy_di(i32 -249346713)
%142 = tail call i32 @cvtld(i32 %141)
br label %143
143: ; preds = %102, %143
%144 = phi i1 [ true, %102 ], [ false, %143 ]
%145 = phi i32 [ 0, %102 ], [ 1, %143 ]
%146 = tail call i32 @make(i32 %145, i32 0, i32 0, i32 0)
%147 = tail call i32 @cvtfl(i32 %146)
%148 = tail call i32 @make(i32 %145, i32 16232, i32 -1, i32 -1)
%149 = tail call i32 @cvtfl(i32 %148)
%150 = tail call i32 @make(i32 %145, i32 16233, i32 0, i32 0)
%151 = tail call i32 @cvtfl(i32 %150)
%152 = tail call i32 @make(i32 %145, i32 16233, i32 0, i32 1)
%153 = tail call i32 @cvtfl(i32 %152)
%154 = tail call i32 @make(i32 %145, i32 16383, i32 -50331648, i32 0)
%155 = tail call i32 @cvtfl(i32 %154)
%156 = tail call i32 @make(i32 %145, i32 16383, i32 -50331647, i32 0)
%157 = tail call i32 @cvtfl(i32 %156)
%158 = tail call i32 @make(i32 %145, i32 16383, i32 -16777217, i32 0)
%159 = tail call i32 @cvtfl(i32 %158)
%160 = tail call i32 @make(i32 %145, i32 16383, i32 -16777216, i32 0)
%161 = tail call i32 @cvtfl(i32 %160)
%162 = tail call i32 @make(i32 %145, i32 16383, i32 -16777215, i32 0)
%163 = tail call i32 @cvtfl(i32 %162)
%164 = tail call i32 @make(i32 %145, i32 16510, i32 -16777217, i32 -1)
%165 = tail call i32 @cvtfl(i32 %164)
%166 = tail call i32 @make(i32 %145, i32 16510, i32 -16777216, i32 0)
%167 = tail call i32 @cvtfl(i32 %166)
%168 = tail call i32 @make(i32 %145, i32 16511, i32 0, i32 0)
%169 = tail call i32 @cvtfl(i32 %168)
%170 = tail call i32 @make(i32 %145, i32 32767, i32 0, i32 0)
%171 = tail call i32 @cvtfl(i32 %170)
%172 = tail call i32 @make(i32 %145, i32 32767, i32 0, i32 1)
%173 = tail call i32 @cvtfl(i32 %172)
%174 = tail call i32 @make(i32 %145, i32 32767, i32 28073792, i32 -1346699083)
%175 = tail call i32 @cvtfl(i32 %174)
%176 = tail call i32 @make(i32 %145, i32 32767, i32 0, i32 1)
%177 = tail call i32 @cvtfl(i32 %176)
%178 = tail call i32 @make(i32 %145, i32 32767, i32 -1431344558, i32 1911206041)
%179 = tail call i32 @cvtfl(i32 %178)
br i1 %144, label %143, label %180
180: ; preds = %143, %180
%181 = phi i1 [ false, %180 ], [ true, %143 ]
%182 = phi i32 [ 1, %180 ], [ 0, %143 ]
%183 = tail call i32 @make(i32 %182, i32 0, i32 0, i32 0)
%184 = tail call i32 @cvtdl(i32 %183)
%185 = tail call i32 @make(i32 %182, i32 15307, i32 -1, i32 -1)
%186 = tail call i32 @cvtdl(i32 %185)
%187 = tail call i32 @make(i32 %182, i32 15308, i32 0, i32 0)
%188 = tail call i32 @cvtdl(i32 %187)
%189 = tail call i32 @make(i32 %182, i32 15308, i32 0, i32 1)
%190 = tail call i32 @cvtdl(i32 %189)
%191 = tail call i32 @make(i32 %182, i32 16383, i32 598458623, i32 0)
%192 = tail call i32 @cvtdl(i32 %191)
%193 = tail call i32 @make(i32 %182, i32 16383, i32 598458623, i32 1)
%194 = tail call i32 @cvtdl(i32 %193)
%195 = tail call i32 @make(i32 %182, i32 16383, i32 598458623, i32 -1)
%196 = tail call i32 @cvtdl(i32 %195)
%197 = tail call i32 @make(i32 %182, i32 16383, i32 598458623, i32 0)
%198 = tail call i32 @cvtdl(i32 %197)
%199 = tail call i32 @make(i32 %182, i32 16383, i32 598458623, i32 1)
%200 = tail call i32 @cvtdl(i32 %199)
%201 = tail call i32 @make(i32 %182, i32 17406, i32 -1, i32 -1)
%202 = tail call i32 @cvtdl(i32 %201)
%203 = tail call i32 @make(i32 %182, i32 17406, i32 -1, i32 0)
%204 = tail call i32 @cvtdl(i32 %203)
%205 = tail call i32 @make(i32 %182, i32 17407, i32 0, i32 0)
%206 = tail call i32 @cvtdl(i32 %205)
%207 = tail call i32 @make(i32 %182, i32 32767, i32 0, i32 0)
%208 = tail call i32 @cvtdl(i32 %207)
%209 = tail call i32 @make(i32 %182, i32 32767, i32 0, i32 1)
%210 = tail call i32 @cvtdl(i32 %209)
%211 = tail call i32 @make(i32 %182, i32 32767, i32 28073792, i32 -1346699083)
%212 = tail call i32 @cvtdl(i32 %211)
%213 = tail call i32 @make(i32 %182, i32 32767, i32 0, i32 1)
%214 = tail call i32 @cvtdl(i32 %213)
%215 = tail call i32 @make(i32 %182, i32 32767, i32 -1431344558, i32 1911206041)
%216 = tail call i32 @cvtdl(i32 %215)
br i1 %181, label %180, label %217
217: ; preds = %180
ret void
}