#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 scalar_t__ u;
typedef scalar_t__ i;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, int, long, unsigned long long, long long,
                          long long, unsigned long long, ...);
int _test_MIN_biggerlong_smallerullong(long i, unsigned long long u) {
  if ((((sizeof(i) > sizeof(long)) &&
        (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
           ? (((sizeof(u) > sizeof(long)) &&
               (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                  ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                         ? ((long long)(i))
                         : ((long long)(u)))
                  : (((u) < 0) ? ((long long)(u))
                               : ((((unsigned long long)(i)) <
                                   ((unsigned long long)(u)))
                                      ? ((long long)(i))
                                      : ((long long)(u)))))
           : (((sizeof(u) > sizeof(long)) &&
               (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                  ? (((i) < 0) ? ((long long)(i))
                               : ((((unsigned long long)(i)) <
                                   ((unsigned long long)(u)))
                                      ? ((long long)(i))
                                      : ((long long)(u))))
                  : ((((long long)(i)) < ((long long)(u)))
                         ? ((long long)(i))
                         : ((long long)(u))))) <= -1) {
    printf(
        "failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL <= -1 == %d == "
        "%u\n",
        676, i, u,
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        -1, -1);
  }
  if ((((sizeof(i) > sizeof(long)) &&
        (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
           ? (((sizeof(u) > sizeof(long)) &&
               (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                  ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                         ? ((long long)(i))
                         : ((long long)(u)))
                  : (((u) < 0) ? ((long long)(u))
                               : ((((unsigned long long)(i)) <
                                   ((unsigned long long)(u)))
                                      ? ((long long)(i))
                                      : ((long long)(u)))))
           : (((sizeof(u) > sizeof(long)) &&
               (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                  ? (((i) < 0) ? ((long long)(i))
                               : ((((unsigned long long)(i)) <
                                   ((unsigned long long)(u)))
                                      ? ((long long)(i))
                                      : ((long long)(u))))
                  : ((((long long)(i)) < ((long long)(u)))
                         ? ((long long)(i))
                         : ((long long)(u))))) >= i) {
    printf(
        "failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL >= i == %ld\n",
        679, i, u,
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        i);
  }
  if ((unsigned long long)(((sizeof(i) > sizeof(long)) &&
                            (!((((i) - (i)) - (((i) - (i)) + 1)) <
                               ((i) - (i)))))
                               ? (((sizeof(u) > sizeof(long)) &&
                                   (!((((u) - (u)) - (((u) - (u)) + 1)) <
                                      ((u) - (u)))))
                                      ? ((((unsigned long long)(i)) <
                                          ((unsigned long long)(u)))
                                             ? ((long long)(i))
                                             : ((long long)(u)))
                                      : (((u) < 0)
                                             ? ((long long)(u))
                                             : ((((unsigned long long)(i)) <
                                                 ((unsigned long long)(u)))
                                                    ? ((long long)(i))
                                                    : ((long long)(u)))))
                               : (((sizeof(u) > sizeof(long)) &&
                                   (!((((u) - (u)) - (((u) - (u)) + 1)) <
                                      ((u) - (u)))))
                                      ? (((i) < 0)
                                             ? ((long long)(i))
                                             : ((((unsigned long long)(i)) <
                                                 ((unsigned long long)(u)))
                                                    ? ((long long)(i))
                                                    : ((long long)(u))))
                                      : ((((long long)(i)) < ((long long)(u)))
                                             ? ((long long)(i))
                                             : ((long long)(u))))) > u) {
    printf(
        "failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL > u == %lluLLU\n",
        682, i, u,
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        u);
  }
  if ((unsigned long long)(((sizeof(i) > sizeof(long)) &&
                            (!((((i) - (i)) - (((i) - (i)) + 1)) <
                               ((i) - (i)))))
                               ? (((sizeof(u) > sizeof(long)) &&
                                   (!((((u) - (u)) - (((u) - (u)) + 1)) <
                                      ((u) - (u)))))
                                      ? ((((unsigned long long)(i)) <
                                          ((unsigned long long)(u)))
                                             ? ((long long)(i))
                                             : ((long long)(u)))
                                      : (((u) < 0)
                                             ? ((long long)(u))
                                             : ((((unsigned long long)(i)) <
                                                 ((unsigned long long)(u)))
                                                    ? ((long long)(i))
                                                    : ((long long)(u)))))
                               : (((sizeof(u) > sizeof(long)) &&
                                   (!((((u) - (u)) - (((u) - (u)) + 1)) <
                                      ((u) - (u)))))
                                      ? (((i) < 0)
                                             ? ((long long)(i))
                                             : ((((unsigned long long)(i)) <
                                                 ((unsigned long long)(u)))
                                                    ? ((long long)(i))
                                                    : ((long long)(u))))
                                      : ((((long long)(i)) < ((long long)(u)))
                                             ? ((long long)(i))
                                             : ((long long)(u))))) != u) {
    printf(
        "failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL != u == %lluLLU\n",
        685, i, u,
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        (((sizeof(i) > sizeof(long)) &&
          (!((((i) - (i)) - (((i) - (i)) + 1)) < ((i) - (i)))))
             ? (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? ((((unsigned long long)(i)) < ((unsigned long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u)))
                    : (((u) < 0) ? ((long long)(u))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u)))))
             : (((sizeof(u) > sizeof(long)) &&
                 (!((((u) - (u)) - (((u) - (u)) + 1)) < ((u) - (u)))))
                    ? (((i) < 0) ? ((long long)(i))
                                 : ((((unsigned long long)(i)) <
                                     ((unsigned long long)(u)))
                                        ? ((long long)(i))
                                        : ((long long)(u))))
                    : ((((long long)(i)) < ((long long)(u)))
                           ? ((long long)(i))
                           : ((long long)(u))))),
        u);
  }
  return 0;
}


x86 assembly (clang, -O0):
<_test_MIN_biggerlong_smallerullong>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    113e <_test_MIN_biggerlong_smallerullong+0x2e>
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
jmp    1146 <_test_MIN_biggerlong_smallerullong+0x36>
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
cmp    $0xffffffffffffffff,%rax
jg     11e5 <_test_MIN_biggerlong_smallerullong+0xd5>
mov    -0x8(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    117f <_test_MIN_biggerlong_smallerullong+0x6f>
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    1187 <_test_MIN_biggerlong_smallerullong+0x77>
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    11aa <_test_MIN_biggerlong_smallerullong+0x9a>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
jmp    11b2 <_test_MIN_biggerlong_smallerullong+0xa2>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x38(%rbp),%r8
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%rdx
mov    -0x40(%rbp),%r9
lea    0xe37(%rip),%rdi
mov    $0x2a4,%esi
movq   $0xffffffffffffffff,(%rsp)
ff
movl   $0xffffffff,0x8(%rsp)
ff
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1200 <_test_MIN_biggerlong_smallerullong+0xf0>
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
jmp    1208 <_test_MIN_biggerlong_smallerullong+0xf8>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
cmp    -0x8(%rbp),%rax
jl     129f <_test_MIN_biggerlong_smallerullong+0x18f>
mov    -0x8(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1241 <_test_MIN_biggerlong_smallerullong+0x131>
mov    -0x8(%rbp),%rax
mov    %rax,-0x60(%rbp)
jmp    1249 <_test_MIN_biggerlong_smallerullong+0x139>
mov    -0x10(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    126c <_test_MIN_biggerlong_smallerullong+0x15c>
mov    -0x8(%rbp),%rax
mov    %rax,-0x70(%rbp)
jmp    1274 <_test_MIN_biggerlong_smallerullong+0x164>
mov    -0x10(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x68(%rbp),%r8
mov    -0x50(%rbp),%rcx
mov    -0x58(%rbp),%rdx
mov    -0x70(%rbp),%r9
mov    -0x8(%rbp),%rax
lea    0xdb8(%rip),%rdi
mov    $0x2a7,%esi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    12ba <_test_MIN_biggerlong_smallerullong+0x1aa>
mov    -0x8(%rbp),%rax
mov    %rax,-0x78(%rbp)
jmp    12c2 <_test_MIN_biggerlong_smallerullong+0x1b2>
mov    -0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x78(%rbp),%rax
cmp    -0x10(%rbp),%rax
jbe    1377 <_test_MIN_biggerlong_smallerullong+0x267>
mov    -0x8(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1301 <_test_MIN_biggerlong_smallerullong+0x1f1>
mov    -0x8(%rbp),%rax
mov    %rax,-0x90(%rbp)
jmp    130c <_test_MIN_biggerlong_smallerullong+0x1fc>
mov    -0x10(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x90(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1338 <_test_MIN_biggerlong_smallerullong+0x228>
mov    -0x8(%rbp),%rax
mov    %rax,-0xa0(%rbp)
jmp    1343 <_test_MIN_biggerlong_smallerullong+0x233>
mov    -0x10(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x98(%rbp),%r8
mov    -0x80(%rbp),%rcx
mov    -0x88(%rbp),%rdx
mov    -0xa0(%rbp),%r9
mov    -0x10(%rbp),%rax
lea    0xd21(%rip),%rdi
mov    $0x2aa,%esi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1395 <_test_MIN_biggerlong_smallerullong+0x285>
mov    -0x8(%rbp),%rax
mov    %rax,-0xa8(%rbp)
jmp    13a0 <_test_MIN_biggerlong_smallerullong+0x290>
mov    -0x10(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0xa8(%rbp),%rax
cmp    -0x10(%rbp),%rax
je     145e <_test_MIN_biggerlong_smallerullong+0x34e>
mov    -0x8(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    13e5 <_test_MIN_biggerlong_smallerullong+0x2d5>
mov    -0x8(%rbp),%rax
mov    %rax,-0xc0(%rbp)
jmp    13f0 <_test_MIN_biggerlong_smallerullong+0x2e0>
mov    -0x10(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    -0xc0(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    141c <_test_MIN_biggerlong_smallerullong+0x30c>
mov    -0x8(%rbp),%rax
mov    %rax,-0xd0(%rbp)
jmp    1427 <_test_MIN_biggerlong_smallerullong+0x317>
mov    -0x10(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    -0xc8(%rbp),%r8
mov    -0xb0(%rbp),%rcx
mov    -0xb8(%rbp),%rdx
mov    -0xd0(%rbp),%r9
mov    -0x10(%rbp),%rax
lea    0xc7e(%rip),%rdi
mov    $0x2ad,%esi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_test_MIN_biggerlong_smallerullong>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%r15
mov    %rdi,%r14
cmp    %rsi,%rdi
mov    %rsi,%rbx
cmovl  %rdi,%rbx
test   %rbx,%rbx
js     1170 <_test_MIN_biggerlong_smallerullong+0x60>
cmp    %r15,%r14
jle    11a4 <_test_MIN_biggerlong_smallerullong+0x94>
cmp    %r15,%rbx
ja     11d0 <_test_MIN_biggerlong_smallerullong+0xc0>
cmp    %r15,%r14
jge    1164 <_test_MIN_biggerlong_smallerullong+0x54>
mov    %r15,(%rsp)
lea    0xf80(%rip),%rdi
mov    $0x2ad,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    %r14,%r8
mov    %r14,%r9
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
movl   $0xffffffff,0x8(%rsp)
ff
movq   $0xffffffffffffffff,(%rsp)
ff
lea    0xe79(%rip),%rdi
mov    $0x2a4,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
cmp    %r15,%r14
jg     1133 <_test_MIN_biggerlong_smallerullong+0x23>
mov    %r14,(%rsp)
lea    0xe98(%rip),%rdi
mov    $0x2a7,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
cmp    %r15,%rbx
jbe    113c <_test_MIN_biggerlong_smallerullong+0x2c>
mov    %r15,(%rsp)
lea    0xead(%rip),%rdi
mov    $0x2aa,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
call   1030 <printf@plt>
cmp    %r15,%r14
jl     1141 <_test_MIN_biggerlong_smallerullong+0x31>
jmp    1164 <_test_MIN_biggerlong_smallerullong+0x54>

LLVM IR (-O0):
@.str = [71 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL <= -1 == %d == %u\0A\00"
@.str.1 = [65 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL >= i == %ld\0A\00"
@.str.2 = [68 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL > u == %lluLLU\0A\00"
@.str.3 = [69 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL != u == %lluLLU\0A\00"
define i32 @_test_MIN_biggerlong_smallerullong(i64 %0, i64 %1) {
%3 = alloca i64
%4 = alloca i64
store i64 %0, i64* %3
store i64 %1, i64* %4
%5 = load i64, i64* %3
%6 = load i64, i64* %4
%7 = icmp slt i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i64, i64* %3
br label %12
10: ; preds = %2
%11 = load i64, i64* %4
br label %12
12: ; preds = %10, %8
%13 = phi i64 [ %9, %8 ], [ %11, %10 ]
%14 = icmp sle i64 %13, -1
br i1 %14, label %15, label %37
15: ; preds = %12
%16 = load i64, i64* %3
%17 = load i64, i64* %4
%18 = load i64, i64* %3
%19 = load i64, i64* %4
%20 = icmp slt i64 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = load i64, i64* %3
br label %25
23: ; preds = %15
%24 = load i64, i64* %4
br label %25
25: ; preds = %23, %21
%26 = phi i64 [ %22, %21 ], [ %24, %23 ]
%27 = load i64, i64* %3
%28 = load i64, i64* %4
%29 = icmp slt i64 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = load i64, i64* %3
br label %34
32: ; preds = %25
%33 = load i64, i64* %4
br label %34
34: ; preds = %32, %30
%35 = phi i64 [ %31, %30 ], [ %33, %32 ]
%36 = call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0), i32 676, i64 %16, i64 %17, i64 %26, i64 %35, i64 -1, i32 -1)
br label %37
37: ; preds = %34, %12
%38 = load i64, i64* %3
%39 = load i64, i64* %4
%40 = icmp slt i64 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = load i64, i64* %3
br label %45
43: ; preds = %37
%44 = load i64, i64* %4
br label %45
45: ; preds = %43, %41
%46 = phi i64 [ %42, %41 ], [ %44, %43 ]
%47 = load i64, i64* %3
%48 = icmp sge i64 %46, %47
br i1 %48, label %49, label %72
49: ; preds = %45
%50 = load i64, i64* %3
%51 = load i64, i64* %4
%52 = load i64, i64* %3
%53 = load i64, i64* %4
%54 = icmp slt i64 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %49
%56 = load i64, i64* %3
br label %59
57: ; preds = %49
%58 = load i64, i64* %4
br label %59
59: ; preds = %57, %55
%60 = phi i64 [ %56, %55 ], [ %58, %57 ]
%61 = load i64, i64* %3
%62 = load i64, i64* %4
%63 = icmp slt i64 %61, %62
br i1 %63, label %64, label %66
64: ; preds = %59
%65 = load i64, i64* %3
br label %68
66: ; preds = %59
%67 = load i64, i64* %4
br label %68
68: ; preds = %66, %64
%69 = phi i64 [ %65, %64 ], [ %67, %66 ]
%70 = load i64, i64* %3
%71 = call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0), i32 679, i64 %50, i64 %51, i64 %60, i64 %69, i64 %70)
br label %72
72: ; preds = %68, %45
%73 = load i64, i64* %3
%74 = load i64, i64* %4
%75 = icmp slt i64 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %72
%77 = load i64, i64* %3
br label %80
78: ; preds = %72
%79 = load i64, i64* %4
br label %80
80: ; preds = %78, %76
%81 = phi i64 [ %77, %76 ], [ %79, %78 ]
%82 = load i64, i64* %4
%83 = icmp ugt i64 %81, %82
br i1 %83, label %84, label %107
84: ; preds = %80
%85 = load i64, i64* %3
%86 = load i64, i64* %4
%87 = load i64, i64* %3
%88 = load i64, i64* %4
%89 = icmp slt i64 %87, %88
br i1 %89, label %90, label %92
90: ; preds = %84
%91 = load i64, i64* %3
br label %94
92: ; preds = %84
%93 = load i64, i64* %4
br label %94
94: ; preds = %92, %90
%95 = phi i64 [ %91, %90 ], [ %93, %92 ]
%96 = load i64, i64* %3
%97 = load i64, i64* %4
%98 = icmp slt i64 %96, %97
br i1 %98, label %99, label %101
99: ; preds = %94
%100 = load i64, i64* %3
br label %103
101: ; preds = %94
%102 = load i64, i64* %4
br label %103
103: ; preds = %101, %99
%104 = phi i64 [ %100, %99 ], [ %102, %101 ]
%105 = load i64, i64* %4
%106 = call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.2, i64 0, i64 0), i32 682, i64 %85, i64 %86, i64 %95, i64 %104, i64 %105)
br label %107
107: ; preds = %103, %80
%108 = load i64, i64* %3
%109 = load i64, i64* %4
%110 = icmp slt i64 %108, %109
br i1 %110, label %111, label %113
111: ; preds = %107
%112 = load i64, i64* %3
br label %115
113: ; preds = %107
%114 = load i64, i64* %4
br label %115
115: ; preds = %113, %111
%116 = phi i64 [ %112, %111 ], [ %114, %113 ]
%117 = load i64, i64* %4
%118 = icmp ne i64 %116, %117
br i1 %118, label %119, label %142
119: ; preds = %115
%120 = load i64, i64* %3
%121 = load i64, i64* %4
%122 = load i64, i64* %3
%123 = load i64, i64* %4
%124 = icmp slt i64 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %119
%126 = load i64, i64* %3
br label %129
127: ; preds = %119
%128 = load i64, i64* %4
br label %129
129: ; preds = %127, %125
%130 = phi i64 [ %126, %125 ], [ %128, %127 ]
%131 = load i64, i64* %3
%132 = load i64, i64* %4
%133 = icmp slt i64 %131, %132
br i1 %133, label %134, label %136
134: ; preds = %129
%135 = load i64, i64* %3
br label %138
136: ; preds = %129
%137 = load i64, i64* %4
br label %138
138: ; preds = %136, %134
%139 = phi i64 [ %135, %134 ], [ %137, %136 ]
%140 = load i64, i64* %4
%141 = call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0), i32 685, i64 %120, i64 %121, i64 %130, i64 %139, i64 %140)
br label %142
142: ; preds = %138, %115
ret i32 0
}

LLVM IR (-O2):
@.str = [71 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL <= -1 == %d == %u\0A\00"
@.str.1 = [65 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL >= i == %ld\0A\00"
@.str.2 = [68 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL > u == %lluLLU\0A\00"
@.str.3 = [69 x i8] c"failed test %d MIN(%ld, %lluLLU): %lldLL == %lluULL != u == %lluLLU\0A\00"
define i32 @_test_MIN_biggerlong_smallerullong(i64 %0, i64 %1) {
%3 = icmp slt i64 %0, %1
%4 = select i1 %3, i64 %0, i64 %1
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0), i32 676, i64 %0, i64 %1, i64 %4, i64 %4, i64 -1, i32 -1)
br label %8
8: ; preds = %6, %2
%9 = icmp sgt i64 %0, %1
br i1 %9, label %12, label %10
10: ; preds = %8
%11 = tail call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0), i32 679, i64 %0, i64 %1, i64 %4, i64 %4, i64 %0)
br label %12
12: ; preds = %10, %8
%13 = icmp ugt i64 %4, %1
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.2, i64 0, i64 0), i32 682, i64 %0, i64 %1, i64 %4, i64 %4, i64 %1)
br label %16
16: ; preds = %14, %12
br i1 %3, label %17, label %19
17: ; preds = %16
%18 = tail call i32 (i8*, i32, i64, i64, i64, i64, i64, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0), i32 685, i64 %0, i64 %1, i64 %0, i64 %0, i64 %1)
br label %19
19: ; preds = %17, %16
ret i32 0
}