#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__ u2;
typedef scalar_t__ u1;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, int, unsigned long long, unsigned long long,
                          long long, long long, unsigned long long);
int _test_MIN_hugeullong_hugerullong(unsigned long long u1,
                                     unsigned long long u2) {
  if ((unsigned long long)(((sizeof(u1) > sizeof(long)) &&
                            (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) <
                               ((u1) - (u1)))))
                               ? (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? ((((unsigned long long)(u1)) <
                                          ((unsigned long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2)))
                                      : (((u2) < 0)
                                             ? ((long long)(u2))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2)))))
                               : (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? (((u1) < 0)
                                             ? ((long long)(u1))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2))))
                                      : ((((long long)(u1)) < ((long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2))))) >= u2) {
    printf(
        "failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL >= u2 == "
        "%lluULL\n",
        783, u1, u2,
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        u2);
  }
  if ((unsigned long long)(((sizeof(u1) > sizeof(long)) &&
                            (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) <
                               ((u1) - (u1)))))
                               ? (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? ((((unsigned long long)(u1)) <
                                          ((unsigned long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2)))
                                      : (((u2) < 0)
                                             ? ((long long)(u2))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2)))))
                               : (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? (((u1) < 0)
                                             ? ((long long)(u1))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2))))
                                      : ((((long long)(u1)) < ((long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2))))) > u1) {
    printf(
        "failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL > u1 == "
        "%lluULL\n",
        786, u1, u2,
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        u1);
  }
  if ((unsigned long long)(((sizeof(u1) > sizeof(long)) &&
                            (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) <
                               ((u1) - (u1)))))
                               ? (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? ((((unsigned long long)(u1)) <
                                          ((unsigned long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2)))
                                      : (((u2) < 0)
                                             ? ((long long)(u2))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2)))))
                               : (((sizeof(u2) > sizeof(long)) &&
                                   (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) <
                                      ((u2) - (u2)))))
                                      ? (((u1) < 0)
                                             ? ((long long)(u1))
                                             : ((((unsigned long long)(u1)) <
                                                 ((unsigned long long)(u2)))
                                                    ? ((long long)(u1))
                                                    : ((long long)(u2))))
                                      : ((((long long)(u1)) < ((long long)(u2)))
                                             ? ((long long)(u1))
                                             : ((long long)(u2))))) != u1) {
    printf(
        "failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL != u1 == "
        "%lluULL\n",
        789, u1, u2,
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        (((sizeof(u1) > sizeof(long)) &&
          (!((((u1) - (u1)) - (((u1) - (u1)) + 1)) < ((u1) - (u1)))))
             ? (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? ((((unsigned long long)(u1)) < ((unsigned long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2)))
                    : (((u2) < 0) ? ((long long)(u2))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2)))))
             : (((sizeof(u2) > sizeof(long)) &&
                 (!((((u2) - (u2)) - (((u2) - (u2)) + 1)) < ((u2) - (u2)))))
                    ? (((u1) < 0) ? ((long long)(u1))
                                  : ((((unsigned long long)(u1)) <
                                      ((unsigned long long)(u2)))
                                         ? ((long long)(u1))
                                         : ((long long)(u2))))
                    : ((((long long)(u1)) < ((long long)(u2)))
                           ? ((long long)(u1))
                           : ((long long)(u2))))),
        u1);
  }
  return 0;
}


x86 assembly (clang, -O0):
<_test_MIN_hugeullong_hugerullong>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    113e <_test_MIN_hugeullong_hugerullong+0x2e>
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
jmp    1146 <_test_MIN_hugeullong_hugerullong+0x36>
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
cmp    -0x10(%rbp),%rax
jb     11db <_test_MIN_hugeullong_hugerullong+0xcb>
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_hugeullong_hugerullong+0x6f>
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    1187 <_test_MIN_hugeullong_hugerullong+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_hugeullong_hugerullong+0x9a>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
jmp    11b2 <_test_MIN_hugeullong_hugerullong+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
mov    -0x10(%rbp),%rax
lea    0xe33(%rip),%rdi
mov    $0x30f,%esi
mov    %rax,(%rsp)
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    11f6 <_test_MIN_hugeullong_hugerullong+0xe6>
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
jmp    11fe <_test_MIN_hugeullong_hugerullong+0xee>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
cmp    -0x8(%rbp),%rax
jbe    1293 <_test_MIN_hugeullong_hugerullong+0x183>
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    1237 <_test_MIN_hugeullong_hugerullong+0x127>
mov    -0x8(%rbp),%rax
mov    %rax,-0x60(%rbp)
jmp    123f <_test_MIN_hugeullong_hugerullong+0x12f>
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    1262 <_test_MIN_hugeullong_hugerullong+0x152>
mov    -0x8(%rbp),%rax
mov    %rax,-0x70(%rbp)
jmp    126a <_test_MIN_hugeullong_hugerullong+0x15a>
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    0xdc5(%rip),%rdi
mov    $0x312,%esi
mov    %rax,(%rsp)
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    12ae <_test_MIN_hugeullong_hugerullong+0x19e>
mov    -0x8(%rbp),%rax
mov    %rax,-0x78(%rbp)
jmp    12b6 <_test_MIN_hugeullong_hugerullong+0x1a6>
mov    -0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x78(%rbp),%rax
cmp    -0x8(%rbp),%rax
je     1369 <_test_MIN_hugeullong_hugerullong+0x259>
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    12f5 <_test_MIN_hugeullong_hugerullong+0x1e5>
mov    -0x8(%rbp),%rax
mov    %rax,-0x90(%rbp)
jmp    1300 <_test_MIN_hugeullong_hugerullong+0x1f0>
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    132c <_test_MIN_hugeullong_hugerullong+0x21c>
mov    -0x8(%rbp),%rax
mov    %rax,-0xa0(%rbp)
jmp    1337 <_test_MIN_hugeullong_hugerullong+0x227>
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    -0x8(%rbp),%rax
lea    0xd38(%rip),%rdi
mov    $0x315,%esi
mov    %rax,(%rsp)
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_test_MIN_hugeullong_hugerullong>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
cmp    %rsi,%rdi
mov    %rsi,%rbx
cmovl  %rdi,%rbx
cmp    %rsi,%rbx
jae    1165 <_test_MIN_hugeullong_hugerullong+0x55>
cmp    %r15,%rbx
ja     118b <_test_MIN_hugeullong_hugerullong+0x7b>
cmp    %r14,%r15
jle    1159 <_test_MIN_hugeullong_hugerullong+0x49>
mov    %r15,(%rsp)
lea    0xf50(%rip),%rdi
mov    $0x315,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
mov    %r14,(%rsp)
lea    0xe90(%rip),%rdi
mov    $0x30f,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
call   1030 <printf@plt>
cmp    %r15,%rbx
jbe    1133 <_test_MIN_hugeullong_hugerullong+0x23>
mov    %r15,(%rsp)
lea    0xeb4(%rip),%rdi
mov    $0x312,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
call   1030 <printf@plt>
cmp    %r14,%r15
jg     1138 <_test_MIN_hugeullong_hugerullong+0x28>
jmp    1159 <_test_MIN_hugeullong_hugerullong+0x49>

LLVM IR (-O0):
@.str = [74 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL >= u2 == %lluULL\0A\00"
@.str.1 = [73 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL > u1 == %lluULL\0A\00"
@.str.2 = [74 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL != u1 == %lluULL\0A\00"
define i32 @_test_MIN_hugeullong_hugerullong(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 = load i64, i64* %4
%15 = icmp uge i64 %13, %14
br i1 %15, label %16, label %39
16: ; preds = %12
%17 = load i64, i64* %3
%18 = load i64, i64* %4
%19 = load i64, i64* %3
%20 = load i64, i64* %4
%21 = icmp slt i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i64, i64* %3
br label %26
24: ; preds = %16
%25 = load i64, i64* %4
br label %26
26: ; preds = %24, %22
%27 = phi i64 [ %23, %22 ], [ %25, %24 ]
%28 = load i64, i64* %3
%29 = load i64, i64* %4
%30 = icmp slt i64 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = load i64, i64* %3
br label %35
33: ; preds = %26
%34 = load i64, i64* %4
br label %35
35: ; preds = %33, %31
%36 = phi i64 [ %32, %31 ], [ %34, %33 ]
%37 = load i64, i64* %4
%38 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0), i32 783, i64 %17, i64 %18, i64 %27, i64 %36, i64 %37)
br label %39
39: ; preds = %35, %12
%40 = load i64, i64* %3
%41 = load i64, i64* %4
%42 = icmp slt i64 %40, %41
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = load i64, i64* %3
br label %47
45: ; preds = %39
%46 = load i64, i64* %4
br label %47
47: ; preds = %45, %43
%48 = phi i64 [ %44, %43 ], [ %46, %45 ]
%49 = load i64, i64* %3
%50 = icmp ugt i64 %48, %49
br i1 %50, label %51, label %74
51: ; preds = %47
%52 = load i64, i64* %3
%53 = load i64, i64* %4
%54 = load i64, i64* %3
%55 = load i64, i64* %4
%56 = icmp slt i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %51
%58 = load i64, i64* %3
br label %61
59: ; preds = %51
%60 = load i64, i64* %4
br label %61
61: ; preds = %59, %57
%62 = phi i64 [ %58, %57 ], [ %60, %59 ]
%63 = load i64, i64* %3
%64 = load i64, i64* %4
%65 = icmp slt i64 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %61
%67 = load i64, i64* %3
br label %70
68: ; preds = %61
%69 = load i64, i64* %4
br label %70
70: ; preds = %68, %66
%71 = phi i64 [ %67, %66 ], [ %69, %68 ]
%72 = load i64, i64* %3
%73 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.1, i64 0, i64 0), i32 786, i64 %52, i64 %53, i64 %62, i64 %71, i64 %72)
br label %74
74: ; preds = %70, %47
%75 = load i64, i64* %3
%76 = load i64, i64* %4
%77 = icmp slt i64 %75, %76
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = load i64, i64* %3
br label %82
80: ; preds = %74
%81 = load i64, i64* %4
br label %82
82: ; preds = %80, %78
%83 = phi i64 [ %79, %78 ], [ %81, %80 ]
%84 = load i64, i64* %3
%85 = icmp ne i64 %83, %84
br i1 %85, label %86, label %109
86: ; preds = %82
%87 = load i64, i64* %3
%88 = load i64, i64* %4
%89 = load i64, i64* %3
%90 = load i64, i64* %4
%91 = icmp slt i64 %89, %90
br i1 %91, label %92, label %94
92: ; preds = %86
%93 = load i64, i64* %3
br label %96
94: ; preds = %86
%95 = load i64, i64* %4
br label %96
96: ; preds = %94, %92
%97 = phi i64 [ %93, %92 ], [ %95, %94 ]
%98 = load i64, i64* %3
%99 = load i64, i64* %4
%100 = icmp slt i64 %98, %99
br i1 %100, label %101, label %103
101: ; preds = %96
%102 = load i64, i64* %3
br label %105
103: ; preds = %96
%104 = load i64, i64* %4
br label %105
105: ; preds = %103, %101
%106 = phi i64 [ %102, %101 ], [ %104, %103 ]
%107 = load i64, i64* %3
%108 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0), i32 789, i64 %87, i64 %88, i64 %97, i64 %106, i64 %107)
br label %109
109: ; preds = %105, %82
ret i32 0
}

LLVM IR (-O2):
@.str = [74 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL >= u2 == %lluULL\0A\00"
@.str.1 = [73 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL > u1 == %lluULL\0A\00"
@.str.2 = [74 x i8] c"failed test %d MIN(%lluULL, %lluULL): %lldLL == %lluULL != u1 == %lluULL\0A\00"
define i32 @_test_MIN_hugeullong_hugerullong(i64 %0, i64 %1) {
%3 = icmp slt i64 %0, %1
%4 = select i1 %3, i64 %0, i64 %1
%5 = icmp ult i64 %4, %1
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0), i32 783, i64 %0, i64 %1, i64 %4, i64 %4, i64 %1)
br label %8
8: ; preds = %6, %2
%9 = icmp ugt i64 %4, %0
br i1 %9, label %10, label %12
10: ; preds = %8
%11 = tail call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.1, i64 0, i64 0), i32 786, i64 %0, i64 %1, i64 %4, i64 %4, i64 %0)
br label %12
12: ; preds = %10, %8
%13 = icmp sgt i64 %0, %1
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0), i32 789, i64 %0, i64 %1, i64 %4, i64 %4, i64 %0)
br label %16
16: ; preds = %14, %12
ret i32 0
}