#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 */

/* Variables and functions */
int /*<<< orphan*/ machar(int *, int *, int *, int *, int *, int *, int *,
                          int *, int *, float *, float *, float *, float *);
int /*<<< orphan*/ printf(char *, float);
int main(void) {
  int ibeta, iexp, irnd, it, machep, maxexp, minexp, negep, ngrd;
  float eps, epsneg, xmax, xmin;
  machar(&ibeta, &it, &irnd, &ngrd, &machep, &negep, &iexp, &minexp, &maxexp,
         &eps, &epsneg, &xmin, &xmax);
  printf("ibeta = %d\n", ibeta);
  printf("it = %d\n", it);
  printf("irnd = %d\n", irnd);
  printf("ngrd = %d\n", ngrd);
  printf("machep = %d\n", machep);
  printf("negep = %d\n", negep);
  printf("iexp = %d\n", iexp);
  printf("minexp = %d\n", minexp);
  printf("maxexp = %d\n", maxexp);
  printf("eps = %12.6g\n", eps);
  printf("epsneg = %12.6g\n", epsneg);
  printf("xmin = %12.6g\n", xmin);
  printf("xmax = %12.6g\n", xmax);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x70,%rsp
movl   $0x0,-0x24(%rbp)
lea    -0x28(%rbp),%rdi
lea    -0x34(%rbp),%rsi
lea    -0x30(%rbp),%rdx
lea    -0x48(%rbp),%rcx
lea    -0x38(%rbp),%r8
lea    -0x44(%rbp),%r9
lea    -0x2c(%rbp),%r12
lea    -0x40(%rbp),%r15
lea    -0x3c(%rbp),%r14
lea    -0x4c(%rbp),%rbx
lea    -0x50(%rbp),%r11
lea    -0x58(%rbp),%r10
lea    -0x54(%rbp),%rax
mov    %r12,(%rsp)
mov    %r15,0x8(%rsp)
mov    %r14,0x10(%rsp)
mov    %rbx,0x18(%rsp)
mov    %r11,0x20(%rsp)
mov    %r10,0x28(%rsp)
mov    %rax,0x30(%rsp)
call   1030 <machar@plt>
cvtsi2ssl -0x28(%rbp),%xmm0
lea    0xe63(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x34(%rbp),%xmm0
lea    0xe5e(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x30(%rbp),%xmm0
lea    0xe56(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x48(%rbp),%xmm0
lea    0xe50(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x38(%rbp),%xmm0
lea    0xe4a(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x44(%rbp),%xmm0
lea    0xe46(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x2c(%rbp),%xmm0
lea    0xe41(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x40(%rbp),%xmm0
lea    0xe3b(%rip),%rdi
call   1040 <printf@plt>
cvtsi2ssl -0x3c(%rbp),%xmm0
lea    0xe37(%rip),%rdi
call   1040 <printf@plt>
movss  -0x4c(%rbp),%xmm0
lea    0xe33(%rip),%rdi
call   1040 <printf@plt>
movss  -0x50(%rbp),%xmm0
lea    0xe30(%rip),%rdi
call   1040 <printf@plt>
movss  -0x58(%rbp),%xmm0
lea    0xe30(%rip),%rdi
call   1040 <printf@plt>
movss  -0x54(%rbp),%xmm0
lea    0xe2e(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x38,%rsp
sub    $0x8,%rsp
lea    0x10(%rsp),%rax
lea    0xc(%rsp),%r10
lea    0x14(%rsp),%r11
lea    0x18(%rsp),%rbx
lea    0x28(%rsp),%r14
lea    0x24(%rsp),%r15
lea    0x38(%rsp),%r12
lea    0x3c(%rsp),%rdi
lea    0x30(%rsp),%rsi
lea    0x34(%rsp),%rdx
lea    0x1c(%rsp),%rcx
lea    0x2c(%rsp),%r8
lea    0x20(%rsp),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
push   %r15
push   %r12
call   1030 <machar@plt>
add    $0x40,%rsp
cvtsi2ssl 0x34(%rsp),%xmm0
lea    0xe6e(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x28(%rsp),%xmm0
lea    0xe65(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x2c(%rsp),%xmm0
lea    0xe59(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x14(%rsp),%xmm0
lea    0xe4f(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x24(%rsp),%xmm0
lea    0xe45(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x18(%rsp),%xmm0
lea    0xe3d(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x30(%rsp),%xmm0
lea    0xe34(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x1c(%rsp),%xmm0
lea    0xe2a(%rip),%rdi
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x20(%rsp),%xmm0
lea    0xe22(%rip),%rdi
call   1040 <printf@plt>
movss  0x10(%rsp),%xmm0
lea    0xe1d(%rip),%rdi
call   1040 <printf@plt>
movss  0xc(%rsp),%xmm0
lea    0xe19(%rip),%rdi
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
lea    0xe18(%rip),%rdi
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
lea    0xe15(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [12 x i8] c"ibeta = %d\0A\00"
@.str.1 = [9 x i8] c"it = %d\0A\00"
@.str.2 = [11 x i8] c"irnd = %d\0A\00"
@.str.3 = [11 x i8] c"ngrd = %d\0A\00"
@.str.4 = [13 x i8] c"machep = %d\0A\00"
@.str.5 = [12 x i8] c"negep = %d\0A\00"
@.str.6 = [11 x i8] c"iexp = %d\0A\00"
@.str.7 = [13 x i8] c"minexp = %d\0A\00"
@.str.8 = [13 x i8] c"maxexp = %d\0A\00"
@.str.9 = [14 x i8] c"eps = %12.6g\0A\00"
@.str.10 = [17 x i8] c"epsneg = %12.6g\0A\00"
@.str.11 = [15 x i8] c"xmin = %12.6g\0A\00"
@.str.12 = [15 x i8] c"xmax = %12.6g\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
store i32 0, i32* %1
%15 = call i32 @machar(i32* %2, i32* %5, i32* %4, i32* %10, i32* %6, i32* %9, i32* %3, i32* %8, i32* %7, float* %11, float* %12, float* %14, float* %13)
%16 = load i32, i32* %2
%17 = sitofp i32 %16 to float
%18 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), float %17)
%19 = load i32, i32* %5
%20 = sitofp i32 %19 to float
%21 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), float %20)
%22 = load i32, i32* %4
%23 = sitofp i32 %22 to float
%24 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), float %23)
%25 = load i32, i32* %10
%26 = sitofp i32 %25 to float
%27 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), float %26)
%28 = load i32, i32* %6
%29 = sitofp i32 %28 to float
%30 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), float %29)
%31 = load i32, i32* %9
%32 = sitofp i32 %31 to float
%33 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), float %32)
%34 = load i32, i32* %3
%35 = sitofp i32 %34 to float
%36 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), float %35)
%37 = load i32, i32* %8
%38 = sitofp i32 %37 to float
%39 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), float %38)
%40 = load i32, i32* %7
%41 = sitofp i32 %40 to float
%42 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), float %41)
%43 = load float, float* %11
%44 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), float %43)
%45 = load float, float* %12
%46 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), float %45)
%47 = load float, float* %14
%48 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), float %47)
%49 = load float, float* %13
%50 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), float %49)
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"ibeta = %d\0A\00"
@.str.1 = [9 x i8] c"it = %d\0A\00"
@.str.2 = [11 x i8] c"irnd = %d\0A\00"
@.str.3 = [11 x i8] c"ngrd = %d\0A\00"
@.str.4 = [13 x i8] c"machep = %d\0A\00"
@.str.5 = [12 x i8] c"negep = %d\0A\00"
@.str.6 = [11 x i8] c"iexp = %d\0A\00"
@.str.7 = [13 x i8] c"minexp = %d\0A\00"
@.str.8 = [13 x i8] c"maxexp = %d\0A\00"
@.str.9 = [14 x i8] c"eps = %12.6g\0A\00"
@.str.10 = [17 x i8] c"epsneg = %12.6g\0A\00"
@.str.11 = [15 x i8] c"xmin = %12.6g\0A\00"
@.str.12 = [15 x i8] c"xmax = %12.6g\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = bitcast i32* %1 to i8*
%15 = bitcast i32* %2 to i8*
%16 = bitcast i32* %3 to i8*
%17 = bitcast i32* %4 to i8*
%18 = bitcast i32* %5 to i8*
%19 = bitcast i32* %6 to i8*
%20 = bitcast i32* %7 to i8*
%21 = bitcast i32* %8 to i8*
%22 = bitcast i32* %9 to i8*
%23 = bitcast float* %10 to i8*
%24 = bitcast float* %11 to i8*
%25 = bitcast float* %12 to i8*
%26 = bitcast float* %13 to i8*
%27 = call i32 @machar(i32* %1, i32* %4, i32* %3, i32* %9, i32* %5, i32* %8, i32* %2, i32* %7, i32* %6, float* %10, float* %11, float* %13, float* %12)
%28 = load i32, i32* %1
%29 = sitofp i32 %28 to float
%30 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), float %29)
%31 = load i32, i32* %4
%32 = sitofp i32 %31 to float
%33 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), float %32)
%34 = load i32, i32* %3
%35 = sitofp i32 %34 to float
%36 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), float %35)
%37 = load i32, i32* %9
%38 = sitofp i32 %37 to float
%39 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), float %38)
%40 = load i32, i32* %5
%41 = sitofp i32 %40 to float
%42 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), float %41)
%43 = load i32, i32* %8
%44 = sitofp i32 %43 to float
%45 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), float %44)
%46 = load i32, i32* %2
%47 = sitofp i32 %46 to float
%48 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), float %47)
%49 = load i32, i32* %7
%50 = sitofp i32 %49 to float
%51 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), float %50)
%52 = load i32, i32* %6
%53 = sitofp i32 %52 to float
%54 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), float %53)
%55 = load float, float* %10
%56 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), float %55)
%57 = load float, float* %11
%58 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), float %57)
%59 = load float, float* %13
%60 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), float %59)
%61 = load float, float* %12
%62 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), float %61)
ret i32 0
}