#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, int, unsigned int, long long, long long,
                          unsigned int);
int _test_MIN_biggerint_smalleruint(int i, unsigned 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))))) >= i) {
    printf(
        "failed test %d MIN(%d, %uU): %lldLL == %lluULL >= i == %d\n", 578, 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 ((((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(%d, %d): %lldLL == %lluULL > u == %uU\n", 581, 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 ((((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(%d, %d): %lldLL == %lluULL != u == %uU\n", 584, 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_biggerint_smalleruint>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    113e <_test_MIN_biggerint_smalleruint+0x2e>
movslq -0x4(%rbp),%rax
mov    %rax,-0x10(%rbp)
jmp    1145 <_test_MIN_biggerint_smalleruint+0x35>
mov    -0x8(%rbp),%eax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x4(%rbp),%rcx
cmp    %rcx,%rax
jl     11d7 <_test_MIN_biggerint_smalleruint+0xc7>
mov    -0x4(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    117f <_test_MIN_biggerint_smalleruint+0x6f>
movslq -0x4(%rbp),%rax
mov    %rax,-0x20(%rbp)
jmp    1186 <_test_MIN_biggerint_smalleruint+0x76>
mov    -0x8(%rbp),%eax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    11ab <_test_MIN_biggerint_smalleruint+0x9b>
movslq -0x4(%rbp),%rax
mov    %rax,-0x30(%rbp)
jmp    11b2 <_test_MIN_biggerint_smalleruint+0xa2>
mov    -0x8(%rbp),%eax
mov    %rax,-0x30(%rbp)
mov    -0x28(%rbp),%r8
mov    -0x14(%rbp),%ecx
mov    -0x18(%rbp),%edx
mov    -0x30(%rbp),%r9
mov    -0x4(%rbp),%eax
lea    0xe36(%rip),%rdi
mov    $0x242,%esi
mov    %eax,(%rsp)
call   1030 <printf@plt>
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    11f4 <_test_MIN_biggerint_smalleruint+0xe4>
movslq -0x4(%rbp),%rax
mov    %rax,-0x38(%rbp)
jmp    11fb <_test_MIN_biggerint_smalleruint+0xeb>
mov    -0x8(%rbp),%eax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jle    128c <_test_MIN_biggerint_smalleruint+0x17c>
mov    -0x4(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x3c(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    1234 <_test_MIN_biggerint_smalleruint+0x124>
movslq -0x4(%rbp),%rax
mov    %rax,-0x48(%rbp)
jmp    123b <_test_MIN_biggerint_smalleruint+0x12b>
mov    -0x8(%rbp),%eax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x50(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    1260 <_test_MIN_biggerint_smalleruint+0x150>
movslq -0x4(%rbp),%rax
mov    %rax,-0x58(%rbp)
jmp    1267 <_test_MIN_biggerint_smalleruint+0x157>
mov    -0x8(%rbp),%eax
mov    %rax,-0x58(%rbp)
mov    -0x50(%rbp),%r8
mov    -0x3c(%rbp),%ecx
mov    -0x40(%rbp),%edx
mov    -0x58(%rbp),%r9
mov    -0x8(%rbp),%eax
lea    0xdbc(%rip),%rdi
mov    $0x245,%esi
mov    %eax,(%rsp)
call   1030 <printf@plt>
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    12a9 <_test_MIN_biggerint_smalleruint+0x199>
movslq -0x4(%rbp),%rax
mov    %rax,-0x60(%rbp)
jmp    12b0 <_test_MIN_biggerint_smalleruint+0x1a0>
mov    -0x8(%rbp),%eax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
je     1341 <_test_MIN_biggerint_smalleruint+0x231>
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x64(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    12e9 <_test_MIN_biggerint_smalleruint+0x1d9>
movslq -0x4(%rbp),%rax
mov    %rax,-0x70(%rbp)
jmp    12f0 <_test_MIN_biggerint_smalleruint+0x1e0>
mov    -0x8(%rbp),%eax
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,-0x78(%rbp)
movslq -0x4(%rbp),%rax
mov    -0x8(%rbp),%ecx
cmp    %rcx,%rax
jge    1315 <_test_MIN_biggerint_smalleruint+0x205>
movslq -0x4(%rbp),%rax
mov    %rax,-0x80(%rbp)
jmp    131c <_test_MIN_biggerint_smalleruint+0x20c>
mov    -0x8(%rbp),%eax
mov    %rax,-0x80(%rbp)
mov    -0x78(%rbp),%r8
mov    -0x64(%rbp),%ecx
mov    -0x68(%rbp),%edx
mov    -0x80(%rbp),%r9
mov    -0x8(%rbp),%eax
lea    0xd41(%rip),%rdi
mov    $0x248,%esi
mov    %eax,(%rsp)
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_test_MIN_biggerint_smalleruint>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %esi,%r14d
movslq %edi,%rbx
mov    %esi,%ebp
cmp    %rbp,%rbx
jg     1148 <_test_MIN_biggerint_smalleruint+0x38>
mov    %rbp,%r8
cmovl  %rbx,%r8
mov    %ebx,(%rsp)
lea    0xeca(%rip),%rdi
mov    $0x242,%esi
mov    %ebx,%edx
mov    %r14d,%ecx
mov    %r8,%r9
call   1030 <printf@plt>
cmp    %rbp,%rbx
jge    116d <_test_MIN_biggerint_smalleruint+0x5d>
mov    %r14d,(%rsp)
lea    0xee3(%rip),%rdi
mov    $0x248,%esi
mov    %ebx,%edx
mov    %r14d,%ecx
mov    %rbx,%r8
mov    %rbx,%r9
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [59 x i8] c"failed test %d MIN(%d, %uU): %lldLL == %lluULL >= i == %d\0A\00"
@.str.2 = [59 x i8] c"failed test %d MIN(%d, %d): %lldLL == %lluULL != u == %uU\0A\00"
define i32 @_test_MIN_biggerint_smalleruint(i32 %0, i32 %1) {
%3 = sext i32 %0 to i64
%4 = zext i32 %1 to i64
%5 = icmp slt i64 %3, %4
%6 = icmp sgt i64 %3, %4
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = select i1 %5, i64 %3, i64 %4
%9 = tail call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i32 578, i32 %0, i32 %1, i64 %8, i64 %8, i32 %0)
br label %10
10: ; preds = %2, %7
br i1 %5, label %11, label %13
11: ; preds = %10
%12 = tail call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0), i32 584, i32 %0, i32 %1, i64 %3, i64 %3, i32 %1)
br label %13
13: ; preds = %11, %10
ret i32 0
}