#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*/ mpz_t;
typedef int /*<<< orphan*/ mpf_t;

/* Variables and functions */
int /*<<< orphan*/ mpf_add(int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
int /*<<< orphan*/ mpf_div(int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
int /*<<< orphan*/ mpf_init2(int /*<<< orphan*/, unsigned long);
int /*<<< orphan*/ mpf_mul(int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
int /*<<< orphan*/ mpf_mul_ui(int /*<<< orphan*/, int /*<<< orphan*/,
                              unsigned int);
int /*<<< orphan*/ mpf_set(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpf_set_ui(int /*<<< orphan*/, unsigned int);
int /*<<< orphan*/ mpf_set_z(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpf_sqrt(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpf_ui_div(int /*<<< orphan*/, unsigned int,
                              int /*<<< orphan*/);
int /*<<< orphan*/ mpz_add(int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
int /*<<< orphan*/ mpz_add_ui(int /*<<< orphan*/, int /*<<< orphan*/,
                              unsigned int);
int /*<<< orphan*/ mpz_fact(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpz_init(int /*<<< orphan*/);
int /*<<< orphan*/ mpz_init_set_str(int /*<<< orphan*/, char *, int);
int /*<<< orphan*/ mpz_init_set_ui(int /*<<< orphan*/, unsigned int);
int /*<<< orphan*/ mpz_mul(int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
int /*<<< orphan*/ mpz_mul_ui(int /*<<< orphan*/, int /*<<< orphan*/,
                              unsigned int);
int /*<<< orphan*/ mpz_neg(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mpz_pow_ui(int /*<<< orphan*/, int /*<<< orphan*/,
                              unsigned long);
void chudnovsky(mpf_t rop, unsigned long precision, unsigned long iterStart,
                unsigned long iterFinish) {
  unsigned long k1;
  mpz_t k2;
  mpf_t sum, fraction;
  mpz_t numerator, denominator_part1;
  mpf_t numerator_f, denominator_part1_f;
  mpz_t tokenNeg1_powK, token1359, token5451, token6403_pow3, token6403;
  mpf_t token6403_NegSqrt;
  k1 = iterStart;
  mpz_init_set_ui(k2, iterStart);
  mpf_init2(sum, precision);
  mpf_init2(fraction, precision);
  mpz_init(numerator);
  mpf_init2(numerator_f, precision);
  mpz_init(denominator_part1);
  mpf_init2(denominator_part1_f, precision);
  mpz_init_set_ui(tokenNeg1_powK, 1u);
  mpz_init_set_ui(token1359, 13591409u);
  mpz_init_set_ui(token5451, 545140134u);
  mpz_init_set_str(token6403_pow3, "262537412640768000", 10);
  mpz_init_set_ui(token6403, 640320u);
  mpf_init2(token6403_NegSqrt, precision);
  mpf_set_ui(token6403_NegSqrt, 640320u);
  mpf_sqrt(token6403_NegSqrt, token6403_NegSqrt);
  mpf_ui_div(token6403_NegSqrt, 1u, token6403_NegSqrt);
  mpz_t k_mul6_fact, k_mul3_fact, k_fact_cube;
  mpz_init(k_mul6_fact);
  mpz_init(k_mul3_fact);
  mpz_init(k_fact_cube);
  while (k1 < iterFinish) {
    mpz_mul_ui(k_mul6_fact, k2, 6u);
    mpz_fact(k_mul6_fact, k_mul6_fact);
    mpz_mul_ui(k_mul3_fact, k2, 3u);
    mpz_fact(k_mul3_fact, k_mul3_fact);
    mpz_fact(k_fact_cube, k2);
    mpz_pow_ui(k_fact_cube, k_fact_cube, 3u);
    mpz_mul(numerator, token5451, k2);
    mpz_add(numerator, numerator, token1359);
    mpz_mul(numerator, numerator, k_mul6_fact);
    mpz_mul(numerator, numerator, tokenNeg1_powK);
    mpz_pow_ui(denominator_part1, token6403_pow3, k1);
    mpz_mul(denominator_part1, denominator_part1, token6403);
    mpz_mul(denominator_part1, denominator_part1, k_fact_cube);
    mpz_mul(denominator_part1, denominator_part1, k_mul3_fact);
    mpf_set_z(numerator_f, numerator);
    mpf_set_z(denominator_part1_f, denominator_part1);
    mpf_div(fraction, numerator_f, denominator_part1_f);
    mpf_mul(fraction, fraction, token6403_NegSqrt);
    mpf_add(sum, sum, fraction);
    k1++;
    mpz_add_ui(k2, k2, 1u);
    mpz_neg(tokenNeg1_powK, tokenNeg1_powK);
  }
  mpf_mul_ui(sum, sum, 12u);
  mpf_set(rop, sum);
}


x86 assembly (clang, -O0):
<chudnovsky>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    %eax,%esi
call   1110 <mpz_init_set_ui@plt>
mov    -0x30(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1160 <mpf_init2@plt>
mov    -0x34(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1160 <mpf_init2@plt>
mov    -0x38(%rbp),%edi
call   10a0 <mpz_init@plt>
mov    -0x40(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1160 <mpf_init2@plt>
mov    -0x3c(%rbp),%edi
call   10a0 <mpz_init@plt>
mov    -0x44(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1160 <mpf_init2@plt>
mov    -0x48(%rbp),%edi
mov    $0x1,%esi
call   1110 <mpz_init_set_ui@plt>
mov    -0x4c(%rbp),%edi
mov    $0xcf6371,%esi
call   1110 <mpz_init_set_ui@plt>
mov    -0x50(%rbp),%edi
mov    $0x207e2da6,%esi
call   1110 <mpz_init_set_ui@plt>
mov    -0x54(%rbp),%edi
lea    0xd22(%rip),%rsi
mov    $0xa,%edx
call   1090 <mpz_init_set_str@plt>
mov    -0x58(%rbp),%edi
mov    $0x9c540,%esi
call   1110 <mpz_init_set_ui@plt>
mov    -0x5c(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1160 <mpf_init2@plt>
mov    -0x5c(%rbp),%edi
mov    $0x9c540,%esi
call   10e0 <mpf_set_ui@plt>
mov    -0x5c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1030 <mpf_sqrt@plt>
mov    -0x5c(%rbp),%edi
mov    -0x5c(%rbp),%edx
mov    $0x1,%esi
call   1050 <mpf_ui_div@plt>
mov    -0x60(%rbp),%edi
call   10a0 <mpz_init@plt>
mov    -0x64(%rbp),%edi
call   10a0 <mpz_init@plt>
mov    -0x68(%rbp),%edi
call   10a0 <mpz_init@plt>
mov    -0x28(%rbp),%rax
cmp    -0x20(%rbp),%rax
jae    147d <chudnovsky+0x23d>
mov    -0x60(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    $0x6,%edx
call   1150 <mpz_mul_ui@plt>
mov    -0x60(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1040 <mpz_fact@plt>
mov    -0x64(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    $0x3,%edx
call   1150 <mpz_mul_ui@plt>
mov    -0x64(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1040 <mpz_fact@plt>
mov    -0x68(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1040 <mpz_fact@plt>
mov    -0x68(%rbp),%edi
mov    -0x68(%rbp),%esi
mov    $0x3,%edx
call   1120 <mpz_pow_ui@plt>
mov    -0x38(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    -0x2c(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x38(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    -0x4c(%rbp),%edx
call   10b0 <mpz_add@plt>
mov    -0x38(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    -0x60(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x38(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    -0x48(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x3c(%rbp),%edi
mov    -0x54(%rbp),%esi
mov    -0x28(%rbp),%rdx
call   1120 <mpz_pow_ui@plt>
mov    -0x3c(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    -0x58(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x3c(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    -0x68(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x3c(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    -0x64(%rbp),%edx
call   10d0 <mpz_mul@plt>
mov    -0x40(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1100 <mpf_set_z@plt>
mov    -0x44(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1100 <mpf_set_z@plt>
mov    -0x34(%rbp),%edi
mov    -0x40(%rbp),%esi
mov    -0x44(%rbp),%edx
call   1140 <mpf_div@plt>
mov    -0x34(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    -0x5c(%rbp),%edx
call   1130 <mpf_mul@plt>
mov    -0x30(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
call   1080 <mpf_add@plt>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    $0x1,%edx
call   1060 <mpz_add_ui@plt>
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1070 <mpz_neg@plt>
jmp    1341 <chudnovsky+0x101>
mov    -0x30(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    $0xc,%edx
call   10f0 <mpf_mul_ui@plt>
mov    -0x4(%rbp),%edi
mov    -0x30(%rbp),%esi
call   10c0 <mpf_set@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<chudnovsky>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rcx,%rbx
mov    %rdx,%rbp
mov    %rsi,%r15
mov    %edi,%r14d
mov    %ebp,%esi
call   1110 <mpz_init_set_ui@plt>
mov    %r15,%rsi
call   1160 <mpf_init2@plt>
mov    %r15,%rsi
call   1160 <mpf_init2@plt>
call   10a0 <mpz_init@plt>
mov    %r15,%rsi
call   1160 <mpf_init2@plt>
call   10a0 <mpz_init@plt>
mov    %r15,%rsi
call   1160 <mpf_init2@plt>
mov    $0x1,%esi
call   1110 <mpz_init_set_ui@plt>
mov    $0xcf6371,%esi
call   1110 <mpz_init_set_ui@plt>
mov    $0x207e2da6,%esi
call   1110 <mpz_init_set_ui@plt>
lea    0xd57(%rip),%rsi
mov    $0xa,%edx
call   1090 <mpz_init_set_str@plt>
mov    $0x9c540,%esi
call   1110 <mpz_init_set_ui@plt>
mov    %r15,%rsi
call   1160 <mpf_init2@plt>
mov    $0x9c540,%esi
call   10e0 <mpf_set_ui@plt>
call   1030 <mpf_sqrt@plt>
mov    $0x1,%esi
call   1050 <mpf_ui_div@plt>
call   10a0 <mpz_init@plt>
call   10a0 <mpz_init@plt>
call   10a0 <mpz_init@plt>
cmp    %rbx,%rbp
jae    138d <chudnovsky+0x14d>
cs nopw 0x0(%rax,%rax,1)
mov    $0x6,%edx
call   1150 <mpz_mul_ui@plt>
call   1040 <mpz_fact@plt>
mov    $0x3,%edx
call   1150 <mpz_mul_ui@plt>
call   1040 <mpz_fact@plt>
call   1040 <mpz_fact@plt>
mov    $0x3,%edx
call   1120 <mpz_pow_ui@plt>
call   10d0 <mpz_mul@plt>
call   10b0 <mpz_add@plt>
call   10d0 <mpz_mul@plt>
call   10d0 <mpz_mul@plt>
mov    %rbp,%rdx
call   1120 <mpz_pow_ui@plt>
call   10d0 <mpz_mul@plt>
call   10d0 <mpz_mul@plt>
call   10d0 <mpz_mul@plt>
call   1100 <mpf_set_z@plt>
call   1100 <mpf_set_z@plt>
call   1140 <mpf_div@plt>
call   1130 <mpf_mul@plt>
call   1080 <mpf_add@plt>
add    $0x1,%rbp
mov    $0x1,%edx
call   1060 <mpz_add_ui@plt>
call   1070 <mpz_neg@plt>
cmp    %rbp,%rbx
jne    1300 <chudnovsky+0xc0>
mov    $0xc,%edx
call   10f0 <mpf_mul_ui@plt>
mov    %r14d,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    10c0 <mpf_set@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"262537412640768000\00"
define void @chudnovsky(i32 %0, i64 %1, i64 %2, i64 %3) {
%5 = alloca i32
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
store i32 %0, i32* %5
store i64 %1, i64* %6
store i64 %2, i64* %7
store i64 %3, i64* %8
%26 = load i64, i64* %7
store i64 %26, i64* %9
%27 = load i32, i32* %10
%28 = load i64, i64* %7
%29 = trunc i64 %28 to i32
%30 = call i32 @mpz_init_set_ui(i32 %27, i32 %29)
%31 = load i32, i32* %11
%32 = load i64, i64* %6
%33 = call i32 @mpf_init2(i32 %31, i64 %32)
%34 = load i32, i32* %12
%35 = load i64, i64* %6
%36 = call i32 @mpf_init2(i32 %34, i64 %35)
%37 = load i32, i32* %13
%38 = call i32 @mpz_init(i32 %37)
%39 = load i32, i32* %15
%40 = load i64, i64* %6
%41 = call i32 @mpf_init2(i32 %39, i64 %40)
%42 = load i32, i32* %14
%43 = call i32 @mpz_init(i32 %42)
%44 = load i32, i32* %16
%45 = load i64, i64* %6
%46 = call i32 @mpf_init2(i32 %44, i64 %45)
%47 = load i32, i32* %17
%48 = call i32 @mpz_init_set_ui(i32 %47, i32 1)
%49 = load i32, i32* %18
%50 = call i32 @mpz_init_set_ui(i32 %49, i32 13591409)
%51 = load i32, i32* %19
%52 = call i32 @mpz_init_set_ui(i32 %51, i32 545140134)
%53 = load i32, i32* %20
%54 = call i32 @mpz_init_set_str(i32 %53, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 10)
%55 = load i32, i32* %21
%56 = call i32 @mpz_init_set_ui(i32 %55, i32 640320)
%57 = load i32, i32* %22
%58 = load i64, i64* %6
%59 = call i32 @mpf_init2(i32 %57, i64 %58)
%60 = load i32, i32* %22
%61 = call i32 @mpf_set_ui(i32 %60, i32 640320)
%62 = load i32, i32* %22
%63 = load i32, i32* %22
%64 = call i32 @mpf_sqrt(i32 %62, i32 %63)
%65 = load i32, i32* %22
%66 = load i32, i32* %22
%67 = call i32 @mpf_ui_div(i32 %65, i32 1, i32 %66)
%68 = load i32, i32* %23
%69 = call i32 @mpz_init(i32 %68)
%70 = load i32, i32* %24
%71 = call i32 @mpz_init(i32 %70)
%72 = load i32, i32* %25
%73 = call i32 @mpz_init(i32 %72)
br label %74
74: ; preds = %78, %4
%75 = load i64, i64* %9
%76 = load i64, i64* %8
%77 = icmp ult i64 %75, %76
br i1 %77, label %78, label %155
78: ; preds = %74
%79 = load i32, i32* %23
%80 = load i32, i32* %10
%81 = call i32 @mpz_mul_ui(i32 %79, i32 %80, i32 6)
%82 = load i32, i32* %23
%83 = load i32, i32* %23
%84 = call i32 @mpz_fact(i32 %82, i32 %83)
%85 = load i32, i32* %24
%86 = load i32, i32* %10
%87 = call i32 @mpz_mul_ui(i32 %85, i32 %86, i32 3)
%88 = load i32, i32* %24
%89 = load i32, i32* %24
%90 = call i32 @mpz_fact(i32 %88, i32 %89)
%91 = load i32, i32* %25
%92 = load i32, i32* %10
%93 = call i32 @mpz_fact(i32 %91, i32 %92)
%94 = load i32, i32* %25
%95 = load i32, i32* %25
%96 = call i32 @mpz_pow_ui(i32 %94, i32 %95, i64 3)
%97 = load i32, i32* %13
%98 = load i32, i32* %19
%99 = load i32, i32* %10
%100 = call i32 @mpz_mul(i32 %97, i32 %98, i32 %99)
%101 = load i32, i32* %13
%102 = load i32, i32* %13
%103 = load i32, i32* %18
%104 = call i32 @mpz_add(i32 %101, i32 %102, i32 %103)
%105 = load i32, i32* %13
%106 = load i32, i32* %13
%107 = load i32, i32* %23
%108 = call i32 @mpz_mul(i32 %105, i32 %106, i32 %107)
%109 = load i32, i32* %13
%110 = load i32, i32* %13
%111 = load i32, i32* %17
%112 = call i32 @mpz_mul(i32 %109, i32 %110, i32 %111)
%113 = load i32, i32* %14
%114 = load i32, i32* %20
%115 = load i64, i64* %9
%116 = call i32 @mpz_pow_ui(i32 %113, i32 %114, i64 %115)
%117 = load i32, i32* %14
%118 = load i32, i32* %14
%119 = load i32, i32* %21
%120 = call i32 @mpz_mul(i32 %117, i32 %118, i32 %119)
%121 = load i32, i32* %14
%122 = load i32, i32* %14
%123 = load i32, i32* %25
%124 = call i32 @mpz_mul(i32 %121, i32 %122, i32 %123)
%125 = load i32, i32* %14
%126 = load i32, i32* %14
%127 = load i32, i32* %24
%128 = call i32 @mpz_mul(i32 %125, i32 %126, i32 %127)
%129 = load i32, i32* %15
%130 = load i32, i32* %13
%131 = call i32 @mpf_set_z(i32 %129, i32 %130)
%132 = load i32, i32* %16
%133 = load i32, i32* %14
%134 = call i32 @mpf_set_z(i32 %132, i32 %133)
%135 = load i32, i32* %12
%136 = load i32, i32* %15
%137 = load i32, i32* %16
%138 = call i32 @mpf_div(i32 %135, i32 %136, i32 %137)
%139 = load i32, i32* %12
%140 = load i32, i32* %12
%141 = load i32, i32* %22
%142 = call i32 @mpf_mul(i32 %139, i32 %140, i32 %141)
%143 = load i32, i32* %11
%144 = load i32, i32* %11
%145 = load i32, i32* %12
%146 = call i32 @mpf_add(i32 %143, i32 %144, i32 %145)
%147 = load i64, i64* %9
%148 = add i64 %147, 1
store i64 %148, i64* %9
%149 = load i32, i32* %10
%150 = load i32, i32* %10
%151 = call i32 @mpz_add_ui(i32 %149, i32 %150, i32 1)
%152 = load i32, i32* %17
%153 = load i32, i32* %17
%154 = call i32 @mpz_neg(i32 %152, i32 %153)
br label %74
155: ; preds = %74
%156 = load i32, i32* %11
%157 = load i32, i32* %11
%158 = call i32 @mpf_mul_ui(i32 %156, i32 %157, i32 12)
%159 = load i32, i32* %5
%160 = load i32, i32* %11
%161 = call i32 @mpf_set(i32 %159, i32 %160)
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"262537412640768000\00"
define void @chudnovsky(i32 %0, i64 %1, i64 %2, i64 %3) {
%5 = trunc i64 %2 to i32
%6 = tail call i32 @mpz_init_set_ui(i32 undef, i32 %5)
%7 = tail call i32 @mpf_init2(i32 undef, i64 %1)
%8 = tail call i32 @mpf_init2(i32 undef, i64 %1)
%9 = tail call i32 @mpz_init(i32 undef)
%10 = tail call i32 @mpf_init2(i32 undef, i64 %1)
%11 = tail call i32 @mpz_init(i32 undef)
%12 = tail call i32 @mpf_init2(i32 undef, i64 %1)
%13 = tail call i32 @mpz_init_set_ui(i32 undef, i32 1)
%14 = tail call i32 @mpz_init_set_ui(i32 undef, i32 13591409)
%15 = tail call i32 @mpz_init_set_ui(i32 undef, i32 545140134)
%16 = tail call i32 @mpz_init_set_str(i32 undef, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 10)
%17 = tail call i32 @mpz_init_set_ui(i32 undef, i32 640320)
%18 = tail call i32 @mpf_init2(i32 undef, i64 %1)
%19 = tail call i32 @mpf_set_ui(i32 undef, i32 640320)
%20 = tail call i32 @mpf_sqrt(i32 undef, i32 undef)
%21 = tail call i32 @mpf_ui_div(i32 undef, i32 1, i32 undef)
%22 = tail call i32 @mpz_init(i32 undef)
%23 = tail call i32 @mpz_init(i32 undef)
%24 = tail call i32 @mpz_init(i32 undef)
%25 = icmp ult i64 %2, %3
br i1 %25, label %26, label %51
26: ; preds = %4, %26
%27 = phi i64 [ %47, %26 ], [ %2, %4 ]
%28 = tail call i32 @mpz_mul_ui(i32 undef, i32 undef, i32 6)
%29 = tail call i32 @mpz_fact(i32 undef, i32 undef)
%30 = tail call i32 @mpz_mul_ui(i32 undef, i32 undef, i32 3)
%31 = tail call i32 @mpz_fact(i32 undef, i32 undef)
%32 = tail call i32 @mpz_fact(i32 undef, i32 undef)
%33 = tail call i32 @mpz_pow_ui(i32 undef, i32 undef, i64 3)
%34 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%35 = tail call i32 @mpz_add(i32 undef, i32 undef, i32 undef)
%36 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%37 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%38 = tail call i32 @mpz_pow_ui(i32 undef, i32 undef, i64 %27)
%39 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%40 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%41 = tail call i32 @mpz_mul(i32 undef, i32 undef, i32 undef)
%42 = tail call i32 @mpf_set_z(i32 undef, i32 undef)
%43 = tail call i32 @mpf_set_z(i32 undef, i32 undef)
%44 = tail call i32 @mpf_div(i32 undef, i32 undef, i32 undef)
%45 = tail call i32 @mpf_mul(i32 undef, i32 undef, i32 undef)
%46 = tail call i32 @mpf_add(i32 undef, i32 undef, i32 undef)
%47 = add i64 %27, 1
%48 = tail call i32 @mpz_add_ui(i32 undef, i32 undef, i32 1)
%49 = tail call i32 @mpz_neg(i32 undef, i32 undef)
%50 = icmp eq i64 %47, %3
br i1 %50, label %51, label %26
51: ; preds = %26, %4
%52 = tail call i32 @mpf_mul_ui(i32 undef, i32 undef, i32 12)
%53 = tail call i32 @mpf_set(i32 %0, i32 undef)
ret void
}