#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_ptr;
typedef int mpfr_prec_t;

/* Variables and functions */
int /*<<< orphan*/ GMP_RNDD;
int /*<<< orphan*/ GMP_RNDN;
int /*<<< orphan*/ GMP_RNDU;
int atoi(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ mpfr_add(int /*<<< orphan*/, int /*<<< orphan*/,
                            int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_clears(int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_div_2ui(int /*<<< orphan*/, int /*<<< orphan*/, int,
                                int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_inits2(int, int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_printf(char *, int, int /*<<< orphan*/);
scalar_t__ mpfr_set_str(int /*<<< orphan*/, char *, int /*<<< orphan*/,
                        int /*<<< orphan*/);
int /*<<< orphan*/ mpfr_sub(int /*<<< orphan*/, int /*<<< orphan*/,
                            int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  mpfr_t x, y, d, u, e, z;
  mpfr_prec_t prec;
  int pprec;
  if (argc != 4) {
    fprintf(stderr, "Usage: rndo-add <prec> <x> <y>\n");
    exit(1);
  }
  prec = atoi(argv[1]);
  if (prec < 2) {
    fprintf(stderr, "rndo-add: bad precision\n");
    exit(1);
  }
  pprec = prec - 1;
  mpfr_inits2(prec, x, y, d, u, e, z, (mpfr_ptr)0);
  if (mpfr_set_str(x, argv[2], 0, GMP_RNDN)) {
    fprintf(stderr, "rndo-add: bad x value\n");
    exit(1);
  }
  mpfr_printf("x = %.*Rb\n", pprec, x);
  if (mpfr_set_str(y, argv[3], 0, GMP_RNDN)) {
    fprintf(stderr, "rndo-add: bad y value\n");
    exit(1);
  }
  mpfr_printf("y = %.*Rb\n", pprec, y);
  mpfr_add(d, x, y, GMP_RNDD);
  mpfr_printf("d = %.*Rb\n", pprec, d);
  mpfr_add(u, x, y, GMP_RNDU);
  mpfr_printf("u = %.*Rb\n", pprec, u);
  mpfr_add(e, d, u, GMP_RNDN);
  mpfr_div_2ui(e, e, 1, GMP_RNDN);
  mpfr_printf("e = %.*Rb\n", pprec, e);
  mpfr_sub(z, u, e, GMP_RNDN);
  mpfr_add(z, z, d, GMP_RNDN);
  mpfr_printf("z = %.*Rb\n", pprec, z);
  mpfr_clears(x, y, d, u, e, z, (mpfr_ptr)0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
je     11df <main+0x3f>
mov    0x2e11(%rip),%rax
mov    (%rax),%edi
lea    0xe30(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x2,-0x2c(%rbp)
jge    1218 <main+0x78>
mov    0x2dd8(%rip),%rax
mov    (%rax),%edi
lea    0xe17(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x2c(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
mov    -0x20(%rbp),%r8d
mov    -0x24(%rbp),%r9d
mov    -0x28(%rbp),%eax
xor    %r10d,%r10d
mov    %eax,(%rsp)
movl   $0x0,0x8(%rsp)
call   10c0 <mpfr_inits2@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
mov    0x2d73(%rip),%rax
mov    (%rax),%ecx
xor    %edx,%edx
call   1080 <mpfr_set_str@plt>
cmp    $0x0,%rax
je     128f <main+0xef>
mov    0x2d61(%rip),%rax
mov    (%rax),%edi
lea    0xdb9(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x30(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0xdb4(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x18(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rsi
mov    0x2d1d(%rip),%rax
mov    (%rax),%ecx
xor    %edx,%edx
call   1080 <mpfr_set_str@plt>
cmp    $0x0,%rax
je     12e5 <main+0x145>
mov    0x2d0b(%rip),%rax
mov    (%rax),%edi
lea    0xd85(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x30(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xd80(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x1c(%rbp),%edi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    0x2cc1(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
mov    -0x30(%rbp),%esi
mov    -0x1c(%rbp),%edx
lea    0xd62(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x20(%rbp),%edi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    0x2cb8(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
mov    -0x30(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xd44(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x24(%rbp),%edi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
mov    0x2c77(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
mov    -0x24(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    0x2c63(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%edx
call   1090 <mpfr_div_2ui@plt>
mov    -0x30(%rbp),%esi
mov    -0x24(%rbp),%edx
lea    0xd0d(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x28(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    0x2c35(%rip),%rax
mov    (%rax),%ecx
call   1030 <mpfr_sub@plt>
mov    -0x28(%rbp),%edi
mov    -0x28(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    0x2c1e(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
mov    -0x30(%rbp),%esi
mov    -0x28(%rbp),%edx
lea    0xcd8(%rip),%rdi
call   1040 <mpfr_printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x24(%rbp),%r8d
mov    -0x28(%rbp),%r9d
xor    %eax,%eax
movl   $0x0,(%rsp)
call   1060 <mpfr_clears@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
cmp    $0x4,%edi
jne    12bd <main+0x11d>
mov    %rsi,%r14
mov    0x8(%rsi),%rdi
call   10a0 <atoi@plt>
cmp    $0x1,%eax
jle    12cf <main+0x12f>
mov    %eax,%ebx
movl   $0x0,0x8(%rsp)
mov    %eax,%edi
call   10c0 <mpfr_inits2@plt>
mov    0x10(%r14),%rsi
mov    0x2ded(%rip),%r15
mov    (%r15),%ecx
xor    %edx,%edx
call   1080 <mpfr_set_str@plt>
test   %rax,%rax
jne    12e1 <main+0x141>
add    $0xffffffff,%ebx
lea    0xe50(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
mov    0x18(%r14),%rsi
mov    (%r15),%ecx
xor    %edx,%edx
call   1080 <mpfr_set_str@plt>
test   %rax,%rax
jne    12f3 <main+0x153>
lea    0xe4d(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
mov    0x2d95(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
lea    0xe3c(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
mov    0x2d99(%rip),%rax
mov    (%rax),%ecx
call   1050 <mpfr_add@plt>
lea    0xe2b(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
mov    (%r15),%ecx
call   1050 <mpfr_add@plt>
mov    (%r15),%ecx
mov    $0x1,%edx
call   1090 <mpfr_div_2ui@plt>
lea    0xe13(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
mov    (%r15),%ecx
call   1030 <mpfr_sub@plt>
mov    (%r15),%ecx
call   1050 <mpfr_add@plt>
lea    0xe00(%rip),%rdi
mov    %ebx,%esi
call   1040 <mpfr_printf@plt>
movl   $0x0,(%rsp)
call   1060 <mpfr_clears@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
mov    0x2d14(%rip),%rax
mov    (%rax),%edi
lea    0xd33(%rip),%rsi
jmp    1303 <main+0x163>
mov    0x2d02(%rip),%rax
mov    (%rax),%edi
lea    0xd41(%rip),%rsi
jmp    1303 <main+0x163>
mov    0x2cf0(%rip),%rax
mov    (%rax),%edi
lea    0xd48(%rip),%rsi
jmp    1303 <main+0x163>
mov    0x2cde(%rip),%rax
mov    (%rax),%edi
lea    0xd58(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [32 x i8] c"Usage: rndo-add <prec> <x> <y>\0A\00"
@.str.1 = [25 x i8] c"rndo-add: bad precision\0A\00"
@GMP_RNDN = global i32 0
@.str.2 = [23 x i8] c"rndo-add: bad x value\0A\00"
@.str.3 = [11 x i8] c"x = %.*Rb\0A\00"
@.str.4 = [23 x i8] c"rndo-add: bad y value\0A\00"
@.str.5 = [11 x i8] c"y = %.*Rb\0A\00"
@GMP_RNDD = global i32 0
@.str.6 = [11 x i8] c"d = %.*Rb\0A\00"
@GMP_RNDU = global i32 0
@.str.7 = [11 x i8] c"u = %.*Rb\0A\00"
@.str.8 = [11 x i8] c"e = %.*Rb\0A\00"
@.str.9 = [11 x i8] c"z = %.*Rb\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = load i32, i32* %4
%15 = icmp ne i32 %14, 4
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%19 = call i32 @exit(i32 1)
unreachable
20: ; preds = %2
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 1
%23 = load i8*, i8** %22
%24 = call i32 @atoi(i8* %23)
store i32 %24, i32* %12
%25 = load i32, i32* %12
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = load i32, i32* @stderr
%29 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%30 = call i32 @exit(i32 1)
unreachable
31: ; preds = %20
%32 = load i32, i32* %12
%33 = sub nsw i32 %32, 1
store i32 %33, i32* %13
%34 = load i32, i32* %12
%35 = load i32, i32* %6
%36 = load i32, i32* %7
%37 = load i32, i32* %8
%38 = load i32, i32* %9
%39 = load i32, i32* %10
%40 = load i32, i32* %11
%41 = call i32 @mpfr_inits2(i32 %34, i32 %35, i32 %36, i32 %37, i32 %38, i32 %39, i32 %40, i32 0)
%42 = load i32, i32* %6
%43 = load i8**, i8*** %5
%44 = getelementptr inbounds i8*, i8** %43, i64 2
%45 = load i8*, i8** %44
%46 = load i32, i32* @GMP_RNDN
%47 = call i64 @mpfr_set_str(i32 %42, i8* %45, i32 0, i32 %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %31
%50 = load i32, i32* @stderr
%51 = call i32 @fprintf(i32 %50, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%52 = call i32 @exit(i32 1)
unreachable
53: ; preds = %31
%54 = load i32, i32* %13
%55 = load i32, i32* %6
%56 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %54, i32 %55)
%57 = load i32, i32* %7
%58 = load i8**, i8*** %5
%59 = getelementptr inbounds i8*, i8** %58, i64 3
%60 = load i8*, i8** %59
%61 = load i32, i32* @GMP_RNDN
%62 = call i64 @mpfr_set_str(i32 %57, i8* %60, i32 0, i32 %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %53
%65 = load i32, i32* @stderr
%66 = call i32 @fprintf(i32 %65, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
%67 = call i32 @exit(i32 1)
unreachable
68: ; preds = %53
%69 = load i32, i32* %13
%70 = load i32, i32* %7
%71 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %69, i32 %70)
%72 = load i32, i32* %8
%73 = load i32, i32* %6
%74 = load i32, i32* %7
%75 = load i32, i32* @GMP_RNDD
%76 = call i32 @mpfr_add(i32 %72, i32 %73, i32 %74, i32 %75)
%77 = load i32, i32* %13
%78 = load i32, i32* %8
%79 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %77, i32 %78)
%80 = load i32, i32* %9
%81 = load i32, i32* %6
%82 = load i32, i32* %7
%83 = load i32, i32* @GMP_RNDU
%84 = call i32 @mpfr_add(i32 %80, i32 %81, i32 %82, i32 %83)
%85 = load i32, i32* %13
%86 = load i32, i32* %9
%87 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %85, i32 %86)
%88 = load i32, i32* %10
%89 = load i32, i32* %8
%90 = load i32, i32* %9
%91 = load i32, i32* @GMP_RNDN
%92 = call i32 @mpfr_add(i32 %88, i32 %89, i32 %90, i32 %91)
%93 = load i32, i32* %10
%94 = load i32, i32* %10
%95 = load i32, i32* @GMP_RNDN
%96 = call i32 @mpfr_div_2ui(i32 %93, i32 %94, i32 1, i32 %95)
%97 = load i32, i32* %13
%98 = load i32, i32* %10
%99 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %97, i32 %98)
%100 = load i32, i32* %11
%101 = load i32, i32* %9
%102 = load i32, i32* %10
%103 = load i32, i32* @GMP_RNDN
%104 = call i32 @mpfr_sub(i32 %100, i32 %101, i32 %102, i32 %103)
%105 = load i32, i32* %11
%106 = load i32, i32* %11
%107 = load i32, i32* %8
%108 = load i32, i32* @GMP_RNDN
%109 = call i32 @mpfr_add(i32 %105, i32 %106, i32 %107, i32 %108)
%110 = load i32, i32* %13
%111 = load i32, i32* %11
%112 = call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %110, i32 %111)
%113 = load i32, i32* %6
%114 = load i32, i32* %7
%115 = load i32, i32* %8
%116 = load i32, i32* %9
%117 = load i32, i32* %10
%118 = load i32, i32* %11
%119 = call i32 @mpfr_clears(i32 %113, i32 %114, i32 %115, i32 %116, i32 %117, i32 %118, i32 0)
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [32 x i8] c"Usage: rndo-add <prec> <x> <y>\0A\00"
@.str.1 = [25 x i8] c"rndo-add: bad precision\0A\00"
@GMP_RNDN = global i32 0
@.str.2 = [23 x i8] c"rndo-add: bad x value\0A\00"
@.str.3 = [11 x i8] c"x = %.*Rb\0A\00"
@.str.4 = [23 x i8] c"rndo-add: bad y value\0A\00"
@.str.5 = [11 x i8] c"y = %.*Rb\0A\00"
@GMP_RNDD = global i32 0
@.str.6 = [11 x i8] c"d = %.*Rb\0A\00"
@GMP_RNDU = global i32 0
@.str.7 = [11 x i8] c"u = %.*Rb\0A\00"
@.str.8 = [11 x i8] c"e = %.*Rb\0A\00"
@.str.9 = [11 x i8] c"z = %.*Rb\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 4
br i1 %3, label %8, label %4
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @exit(i32 1)
unreachable
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32 @atoi(i8* %10)
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = load i32, i32* @stderr
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%16 = tail call i32 @exit(i32 1)
unreachable
17: ; preds = %8
%18 = add nsw i32 %11, -1
%19 = tail call i32 @mpfr_inits2(i32 %11, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 0)
%20 = getelementptr inbounds i8*, i8** %1, i64 2
%21 = load i8*, i8** %20
%22 = load i32, i32* @GMP_RNDN
%23 = tail call i64 @mpfr_set_str(i32 undef, i8* %21, i32 0, i32 %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %17
%26 = load i32, i32* @stderr
%27 = tail call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%28 = tail call i32 @exit(i32 1)
unreachable
29: ; preds = %17
%30 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %18, i32 undef)
%31 = getelementptr inbounds i8*, i8** %1, i64 3
%32 = load i8*, i8** %31
%33 = load i32, i32* @GMP_RNDN
%34 = tail call i64 @mpfr_set_str(i32 undef, i8* %32, i32 0, i32 %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %29
%37 = load i32, i32* @stderr
%38 = tail call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
%39 = tail call i32 @exit(i32 1)
unreachable
40: ; preds = %29
%41 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %18, i32 undef)
%42 = load i32, i32* @GMP_RNDD
%43 = tail call i32 @mpfr_add(i32 undef, i32 undef, i32 undef, i32 %42)
%44 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %18, i32 undef)
%45 = load i32, i32* @GMP_RNDU
%46 = tail call i32 @mpfr_add(i32 undef, i32 undef, i32 undef, i32 %45)
%47 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %18, i32 undef)
%48 = load i32, i32* @GMP_RNDN
%49 = tail call i32 @mpfr_add(i32 undef, i32 undef, i32 undef, i32 %48)
%50 = load i32, i32* @GMP_RNDN
%51 = tail call i32 @mpfr_div_2ui(i32 undef, i32 undef, i32 1, i32 %50)
%52 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %18, i32 undef)
%53 = load i32, i32* @GMP_RNDN
%54 = tail call i32 @mpfr_sub(i32 undef, i32 undef, i32 undef, i32 %53)
%55 = load i32, i32* @GMP_RNDN
%56 = tail call i32 @mpfr_add(i32 undef, i32 undef, i32 undef, i32 %55)
%57 = tail call i32 @mpfr_printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %18, i32 undef)
%58 = tail call i32 @mpfr_clears(i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 0)
ret i32 0
}