#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 /*<<< orphan*/ mpfr_t;
typedef int /*<<< orphan*/ mpfr_exp_t;

/* Variables and functions */
int MPFR_FLAGS_ALL;
int MPFR_FLAGS_DIVBY0;
int MPFR_FLAGS_ERANGE;
int MPFR_FLAGS_NAN;
int MPFR_FLAGS_OVERFLOW;
int /*<<< orphan*/ MPFR_RNDN;
int /*<<< orphan*/ flags();
int /*<<< orphan*/ mpfr_check_range(int /*<<< orphan*/, int,
                                    int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_clear(int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_clear_divby0();
int /*<<< orphan*/ mpfr_clear_erangeflag();
int /*<<< orphan*/ mpfr_clear_inexflag();
int /*<<< orphan*/ mpfr_clear_nanflag();
int /*<<< orphan*/ mpfr_clear_overflow();
int /*<<< orphan*/ mpfr_clear_underflow();
int /*<<< orphan*/ mpfr_flags_clear(int);
int /*<<< orphan*/ mpfr_flags_restore(int, int);
int mpfr_flags_save();
int /*<<< orphan*/ mpfr_flags_set(int);
int mpfr_flags_test(int);
int mpfr_get_emax();
int /*<<< orphan*/ mpfr_get_emax_max();
int /*<<< orphan*/ mpfr_get_emax_min();
int mpfr_get_emin();
int /*<<< orphan*/ mpfr_get_emin_max();
int /*<<< orphan*/ mpfr_get_emin_min();
int /*<<< orphan*/ mpfr_get_prec(int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_init2(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_printf(char *, int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_set(int /*<<< orphan*/, int /*<<< orphan*/,
                            int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_set_divby0();
int /*<<< orphan*/ mpfr_set_emax(int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_set_emin(int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_set_erangeflag();
int /*<<< orphan*/ mpfr_set_inexflag();
int /*<<< orphan*/ mpfr_set_nanflag();
int /*<<< orphan*/ mpfr_set_overflow();
int /*<<< orphan*/ mpfr_set_underflow();
int /*<<< orphan*/ mpfr_subnormalize(int /*<<< orphan*/, int,
                                     int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, int, int, ...);
void all(mpfr_t op, int t, mpfr_exp_t em1, mpfr_exp_t em2) {
  mpfr_t rop;
  mpfr_init2(rop, mpfr_get_prec(op));
  printf("%ld %ld\n", mpfr_get_emin(), mpfr_get_emax());
  mpfr_set_emin(em1);
  mpfr_set_emax(em2);
  printf("%ld %ld\n", mpfr_get_emin(), mpfr_get_emax());
  printf("%ld %ld %ld %ld\n", mpfr_get_emin_min(), mpfr_get_emin_max(),
         mpfr_get_emax_min(), mpfr_get_emax_max());
  mpfr_set(rop, op, MPFR_RNDN);
  mpfr_check_range(rop, t, MPFR_RNDN);
  mpfr_printf("%.Re\n", rop);
  mpfr_set(rop, op, MPFR_RNDN);
  mpfr_subnormalize(rop, t, MPFR_RNDN);
  mpfr_printf("%.Re\n", rop);
  flags();
  mpfr_set_underflow();
  mpfr_set_overflow();
  mpfr_set_divby0();
  mpfr_set_nanflag();
  mpfr_set_inexflag();
  mpfr_set_erangeflag();
  flags();
  mpfr_clear_underflow();
  mpfr_clear_overflow();
  mpfr_clear_divby0();
  mpfr_clear_nanflag();
  mpfr_clear_inexflag();
  mpfr_clear_erangeflag();
  flags();
  mpfr_flags_set(MPFR_FLAGS_NAN | MPFR_FLAGS_ERANGE | MPFR_FLAGS_DIVBY0);
  flags();
  int saved_flags = mpfr_flags_save();
  int test_all_flags = mpfr_flags_test(MPFR_FLAGS_ALL);
  int test_one_flag = mpfr_flags_test(MPFR_FLAGS_ERANGE);
  printf("%d %d\n", test_all_flags, test_one_flag);
  mpfr_flags_clear(MPFR_FLAGS_ALL);
  flags();
  mpfr_flags_restore(saved_flags, MPFR_FLAGS_ERANGE | MPFR_FLAGS_DIVBY0 |
                                      MPFR_FLAGS_OVERFLOW);
  flags();
  mpfr_clear(rop);
}


x86 assembly (clang, -O0):
<all>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x4(%rbp),%edi
call   11b0 <mpfr_get_prec@plt>
mov    -0x38(%rbp),%edi
mov    %eax,%esi
call   11e0 <mpfr_init2@plt>
mov    $0x0,%al
call   1150 <mpfr_get_emin@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1180 <mpfr_get_emax@plt>
mov    -0x34(%rbp),%esi
mov    %eax,%edx
lea    0xc9f(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0xc(%rbp),%edi
call   1060 <mpfr_set_emin@plt>
mov    -0x10(%rbp),%edi
call   1130 <mpfr_set_emax@plt>
mov    $0x0,%al
call   1150 <mpfr_get_emin@plt>
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1180 <mpfr_get_emax@plt>
mov    -0x30(%rbp),%esi
mov    %eax,%edx
lea    0xc6b(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    $0x0,%al
call   1240 <mpfr_get_emin_min@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1230 <mpfr_get_emin_max@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1170 <mpfr_get_emax_min@plt>
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1190 <mpfr_get_emax_max@plt>
mov    -0x2c(%rbp),%esi
mov    -0x28(%rbp),%edx
mov    -0x24(%rbp),%ecx
mov    %eax,%r8d
lea    0xc24(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x4(%rbp),%esi
mov    0x2bf8(%rip),%rax
mov    (%rax),%edx
call   10d0 <mpfr_set@plt>
mov    -0x14(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    0x2be4(%rip),%rax
mov    (%rax),%edx
call   11f0 <mpfr_check_range@plt>
mov    -0x14(%rbp),%esi
lea    0xbfc(%rip),%rdi
call   10b0 <mpfr_printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x4(%rbp),%esi
mov    0x2bc1(%rip),%rax
mov    (%rax),%edx
call   10d0 <mpfr_set@plt>
mov    -0x14(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    0x2bad(%rip),%rax
mov    (%rax),%edx
call   10e0 <mpfr_subnormalize@plt>
mov    -0x14(%rbp),%esi
lea    0xbc5(%rip),%rdi
call   10b0 <mpfr_printf@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    $0x0,%al
call   1030 <mpfr_set_underflow@plt>
mov    $0x0,%al
call   1200 <mpfr_set_overflow@plt>
mov    $0x0,%al
call   1110 <mpfr_set_divby0@plt>
mov    $0x0,%al
call   11a0 <mpfr_set_nanflag@plt>
mov    $0x0,%al
call   1100 <mpfr_set_inexflag@plt>
mov    $0x0,%al
call   1050 <mpfr_set_erangeflag@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    $0x0,%al
call   10c0 <mpfr_clear_underflow@plt>
mov    $0x0,%al
call   1040 <mpfr_clear_overflow@plt>
mov    $0x0,%al
call   1210 <mpfr_clear_divby0@plt>
mov    $0x0,%al
call   1120 <mpfr_clear_nanflag@plt>
mov    $0x0,%al
call   1140 <mpfr_clear_inexflag@plt>
mov    $0x0,%al
call   1160 <mpfr_clear_erangeflag@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    0x2aff(%rip),%rax
mov    (%rax),%edi
mov    0x2b06(%rip),%rax
or     (%rax),%edi
mov    0x2b0d(%rip),%rax
or     (%rax),%edi
call   11d0 <mpfr_flags_set@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    $0x0,%al
call   1220 <mpfr_flags_save@plt>
mov    %eax,-0x18(%rbp)
mov    0x2ac6(%rip),%rax
mov    (%rax),%edi
call   10a0 <mpfr_flags_test@plt>
mov    %eax,-0x1c(%rbp)
mov    0x2acd(%rip),%rax
mov    (%rax),%edi
call   10a0 <mpfr_flags_test@plt>
mov    %eax,-0x20(%rbp)
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xafd(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    0x2a90(%rip),%rax
mov    (%rax),%edi
call   1080 <mpfr_flags_clear@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    -0x18(%rbp),%edi
mov    0x2a90(%rip),%rax
mov    (%rax),%esi
mov    0x2a97(%rip),%rax
or     (%rax),%esi
mov    0x2a86(%rip),%rax
or     (%rax),%esi
call   10f0 <mpfr_flags_restore@plt>
mov    $0x0,%al
call   11c0 <flags@plt>
mov    -0x14(%rbp),%edi
call   1090 <mpfr_clear@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<all>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %ecx,%r12d
mov    %edx,%ebp
mov    %esi,%r14d
mov    %edi,%r15d
call   11b0 <mpfr_get_prec@plt>
mov    %eax,%esi
call   11e0 <mpfr_init2@plt>
xor    %eax,%eax
call   1150 <mpfr_get_emin@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1180 <mpfr_get_emax@plt>
lea    0xcaf(%rip),%r13
mov    %r13,%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %ebp,%edi
call   1060 <mpfr_set_emin@plt>
mov    %r12d,%edi
call   1130 <mpfr_set_emax@plt>
xor    %eax,%eax
call   1150 <mpfr_get_emin@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1180 <mpfr_get_emax@plt>
mov    %r13,%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
xor    %eax,%eax
call   1240 <mpfr_get_emin_min@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1230 <mpfr_get_emin_max@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1170 <mpfr_get_emax_min@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1190 <mpfr_get_emax_max@plt>
lea    0xc42(%rip),%rdi
mov    %r12d,%esi
mov    %ebp,%edx
mov    %ebx,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2c12(%rip),%rbp
mov    0x0(%rbp),%edx
mov    %r15d,%esi
call   10d0 <mpfr_set@plt>
mov    0x0(%rbp),%edx
mov    %r14d,%esi
call   11f0 <mpfr_check_range@plt>
lea    0xc1e(%rip),%rbx
mov    %rbx,%rdi
call   10b0 <mpfr_printf@plt>
mov    0x0(%rbp),%edx
mov    %r15d,%esi
call   10d0 <mpfr_set@plt>
mov    0x0(%rbp),%edx
mov    %r14d,%esi
call   10e0 <mpfr_subnormalize@plt>
mov    %rbx,%rdi
call   10b0 <mpfr_printf@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
xor    %eax,%eax
call   1030 <mpfr_set_underflow@plt>
xor    %eax,%eax
call   1200 <mpfr_set_overflow@plt>
xor    %eax,%eax
call   1110 <mpfr_set_divby0@plt>
xor    %eax,%eax
call   11a0 <mpfr_set_nanflag@plt>
xor    %eax,%eax
call   1100 <mpfr_set_inexflag@plt>
xor    %eax,%eax
call   1050 <mpfr_set_erangeflag@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
xor    %eax,%eax
call   10c0 <mpfr_clear_underflow@plt>
xor    %eax,%eax
call   1040 <mpfr_clear_overflow@plt>
xor    %eax,%eax
call   1210 <mpfr_clear_divby0@plt>
xor    %eax,%eax
call   1120 <mpfr_clear_nanflag@plt>
xor    %eax,%eax
call   1140 <mpfr_clear_inexflag@plt>
xor    %eax,%eax
call   1160 <mpfr_clear_erangeflag@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
mov    0x2b37(%rip),%rax
mov    0x2b40(%rip),%r14
mov    (%r14),%edi
or     (%rax),%edi
mov    0x2b44(%rip),%r15
or     (%r15),%edi
call   11d0 <mpfr_flags_set@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
xor    %eax,%eax
call   1220 <mpfr_flags_save@plt>
mov    %eax,%r12d
mov    0x2afc(%rip),%rbx
mov    (%rbx),%edi
call   10a0 <mpfr_flags_test@plt>
mov    %eax,%ebp
mov    (%r14),%edi
call   10a0 <mpfr_flags_test@plt>
lea    0xb43(%rip),%rdi
mov    %ebp,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    (%rbx),%edi
call   1080 <mpfr_flags_clear@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
mov    (%r15),%esi
or     (%r14),%esi
mov    0x2ade(%rip),%rax
or     (%rax),%esi
mov    %r12d,%edi
call   10f0 <mpfr_flags_restore@plt>
xor    %eax,%eax
call   11c0 <flags@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1090 <mpfr_clear@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"%ld %ld\0A\00"
@.str.1 = [17 x i8] c"%ld %ld %ld %ld\0A\00"
@MPFR_RNDN = global i32 0
@.str.2 = [6 x i8] c"%.Re\0A\00"
@MPFR_FLAGS_NAN = global i32 0
@MPFR_FLAGS_ERANGE = global i32 0
@MPFR_FLAGS_DIVBY0 = global i32 0
@MPFR_FLAGS_ALL = global i32 0
@.str.3 = [7 x i8] c"%d %d\0A\00"
@MPFR_FLAGS_OVERFLOW = global i32 0
define void @all(i32 %0, i32 %1, i32 %2, i32 %3) {
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 %0, i32* %5
store i32 %1, i32* %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%13 = load i32, i32* %9
%14 = load i32, i32* %5
%15 = call i32 @mpfr_get_prec(i32 %14)
%16 = call i32 @mpfr_init2(i32 %13, i32 %15)
%17 = call i32 (...) @mpfr_get_emin()
%18 = call i32 (...) @mpfr_get_emax()
%19 = call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %17, i32 %18)
%20 = load i32, i32* %7
%21 = call i32 @mpfr_set_emin(i32 %20)
%22 = load i32, i32* %8
%23 = call i32 @mpfr_set_emax(i32 %22)
%24 = call i32 (...) @mpfr_get_emin()
%25 = call i32 (...) @mpfr_get_emax()
%26 = call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %24, i32 %25)
%27 = call i32 (...) @mpfr_get_emin_min()
%28 = call i32 (...) @mpfr_get_emin_max()
%29 = call i32 (...) @mpfr_get_emax_min()
%30 = call i32 (...) @mpfr_get_emax_max()
%31 = call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %27, i32 %28, i32 %29, i32 %30)
%32 = load i32, i32* %9
%33 = load i32, i32* %5
%34 = load i32, i32* @MPFR_RNDN
%35 = call i32 @mpfr_set(i32 %32, i32 %33, i32 %34)
%36 = load i32, i32* %9
%37 = load i32, i32* %6
%38 = load i32, i32* @MPFR_RNDN
%39 = call i32 @mpfr_check_range(i32 %36, i32 %37, i32 %38)
%40 = load i32, i32* %9
%41 = call i32 @mpfr_printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %40)
%42 = load i32, i32* %9
%43 = load i32, i32* %5
%44 = load i32, i32* @MPFR_RNDN
%45 = call i32 @mpfr_set(i32 %42, i32 %43, i32 %44)
%46 = load i32, i32* %9
%47 = load i32, i32* %6
%48 = load i32, i32* @MPFR_RNDN
%49 = call i32 @mpfr_subnormalize(i32 %46, i32 %47, i32 %48)
%50 = load i32, i32* %9
%51 = call i32 @mpfr_printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %50)
%52 = call i32 (...) @flags()
%53 = call i32 (...) @mpfr_set_underflow()
%54 = call i32 (...) @mpfr_set_overflow()
%55 = call i32 (...) @mpfr_set_divby0()
%56 = call i32 (...) @mpfr_set_nanflag()
%57 = call i32 (...) @mpfr_set_inexflag()
%58 = call i32 (...) @mpfr_set_erangeflag()
%59 = call i32 (...) @flags()
%60 = call i32 (...) @mpfr_clear_underflow()
%61 = call i32 (...) @mpfr_clear_overflow()
%62 = call i32 (...) @mpfr_clear_divby0()
%63 = call i32 (...) @mpfr_clear_nanflag()
%64 = call i32 (...) @mpfr_clear_inexflag()
%65 = call i32 (...) @mpfr_clear_erangeflag()
%66 = call i32 (...) @flags()
%67 = load i32, i32* @MPFR_FLAGS_NAN
%68 = load i32, i32* @MPFR_FLAGS_ERANGE
%69 = or i32 %67, %68
%70 = load i32, i32* @MPFR_FLAGS_DIVBY0
%71 = or i32 %69, %70
%72 = call i32 @mpfr_flags_set(i32 %71)
%73 = call i32 (...) @flags()
%74 = call i32 (...) @mpfr_flags_save()
store i32 %74, i32* %10
%75 = load i32, i32* @MPFR_FLAGS_ALL
%76 = call i32 @mpfr_flags_test(i32 %75)
store i32 %76, i32* %11
%77 = load i32, i32* @MPFR_FLAGS_ERANGE
%78 = call i32 @mpfr_flags_test(i32 %77)
store i32 %78, i32* %12
%79 = load i32, i32* %11
%80 = load i32, i32* %12
%81 = call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %79, i32 %80)
%82 = load i32, i32* @MPFR_FLAGS_ALL
%83 = call i32 @mpfr_flags_clear(i32 %82)
%84 = call i32 (...) @flags()
%85 = load i32, i32* %10
%86 = load i32, i32* @MPFR_FLAGS_ERANGE
%87 = load i32, i32* @MPFR_FLAGS_DIVBY0
%88 = or i32 %86, %87
%89 = load i32, i32* @MPFR_FLAGS_OVERFLOW
%90 = or i32 %88, %89
%91 = call i32 @mpfr_flags_restore(i32 %85, i32 %90)
%92 = call i32 (...) @flags()
%93 = load i32, i32* %9
%94 = call i32 @mpfr_clear(i32 %93)
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"%ld %ld\0A\00"
@.str.1 = [17 x i8] c"%ld %ld %ld %ld\0A\00"
@MPFR_RNDN = global i32 0
@.str.2 = [6 x i8] c"%.Re\0A\00"
@MPFR_FLAGS_NAN = global i32 0
@MPFR_FLAGS_ERANGE = global i32 0
@MPFR_FLAGS_DIVBY0 = global i32 0
@MPFR_FLAGS_ALL = global i32 0
@.str.3 = [7 x i8] c"%d %d\0A\00"
@MPFR_FLAGS_OVERFLOW = global i32 0
define void @all(i32 %0, i32 %1, i32 %2, i32 %3) {
%5 = tail call i32 @mpfr_get_prec(i32 %0)
%6 = tail call i32 @mpfr_init2(i32 undef, i32 %5)
%7 = tail call i32 (...) @mpfr_get_emin()
%8 = tail call i32 (...) @mpfr_get_emax()
%9 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %7, i32 %8)
%10 = tail call i32 @mpfr_set_emin(i32 %2)
%11 = tail call i32 @mpfr_set_emax(i32 %3)
%12 = tail call i32 (...) @mpfr_get_emin()
%13 = tail call i32 (...) @mpfr_get_emax()
%14 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %12, i32 %13)
%15 = tail call i32 (...) @mpfr_get_emin_min()
%16 = tail call i32 (...) @mpfr_get_emin_max()
%17 = tail call i32 (...) @mpfr_get_emax_min()
%18 = tail call i32 (...) @mpfr_get_emax_max()
%19 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %15, i32 %16, i32 %17, i32 %18)
%20 = load i32, i32* @MPFR_RNDN
%21 = tail call i32 @mpfr_set(i32 undef, i32 %0, i32 %20)
%22 = load i32, i32* @MPFR_RNDN
%23 = tail call i32 @mpfr_check_range(i32 undef, i32 %1, i32 %22)
%24 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 undef)
%25 = load i32, i32* @MPFR_RNDN
%26 = tail call i32 @mpfr_set(i32 undef, i32 %0, i32 %25)
%27 = load i32, i32* @MPFR_RNDN
%28 = tail call i32 @mpfr_subnormalize(i32 undef, i32 %1, i32 %27)
%29 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 undef)
%30 = tail call i32 (...) @flags()
%31 = tail call i32 (...) @mpfr_set_underflow()
%32 = tail call i32 (...) @mpfr_set_overflow()
%33 = tail call i32 (...) @mpfr_set_divby0()
%34 = tail call i32 (...) @mpfr_set_nanflag()
%35 = tail call i32 (...) @mpfr_set_inexflag()
%36 = tail call i32 (...) @mpfr_set_erangeflag()
%37 = tail call i32 (...) @flags()
%38 = tail call i32 (...) @mpfr_clear_underflow()
%39 = tail call i32 (...) @mpfr_clear_overflow()
%40 = tail call i32 (...) @mpfr_clear_divby0()
%41 = tail call i32 (...) @mpfr_clear_nanflag()
%42 = tail call i32 (...) @mpfr_clear_inexflag()
%43 = tail call i32 (...) @mpfr_clear_erangeflag()
%44 = tail call i32 (...) @flags()
%45 = load i32, i32* @MPFR_FLAGS_NAN
%46 = load i32, i32* @MPFR_FLAGS_ERANGE
%47 = or i32 %46, %45
%48 = load i32, i32* @MPFR_FLAGS_DIVBY0
%49 = or i32 %47, %48
%50 = tail call i32 @mpfr_flags_set(i32 %49)
%51 = tail call i32 (...) @flags()
%52 = tail call i32 (...) @mpfr_flags_save()
%53 = load i32, i32* @MPFR_FLAGS_ALL
%54 = tail call i32 @mpfr_flags_test(i32 %53)
%55 = load i32, i32* @MPFR_FLAGS_ERANGE
%56 = tail call i32 @mpfr_flags_test(i32 %55)
%57 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 %54, i32 %56)
%58 = load i32, i32* @MPFR_FLAGS_ALL
%59 = tail call i32 @mpfr_flags_clear(i32 %58)
%60 = tail call i32 (...) @flags()
%61 = load i32, i32* @MPFR_FLAGS_ERANGE
%62 = load i32, i32* @MPFR_FLAGS_DIVBY0
%63 = or i32 %62, %61
%64 = load i32, i32* @MPFR_FLAGS_OVERFLOW
%65 = or i32 %63, %64
%66 = tail call i32 @mpfr_flags_restore(i32 %52, i32 %65)
%67 = tail call i32 (...) @flags()
%68 = tail call i32 @mpfr_clear(i32 undef)
ret void
}