#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 u_int;
typedef int /*<<< orphan*/ XDR;

/* Variables and functions */
int /*<<< orphan*/ XDR_DECODE;
int /*<<< orphan*/ XDR_ENCODE;
int /*<<< orphan*/ dtrdi_(double *, int *, int *, double *, int *, int *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ xdr_array(int /*<<< orphan*/ *, double **, int *, int, int,
                             int /*<<< orphan*/);
int /*<<< orphan*/ xdr_double;
int /*<<< orphan*/ xdr_int(int /*<<< orphan*/ *, int *);
int /*<<< orphan*/ xdrstdio_create(int /*<<< orphan*/ *, int /*<<< orphan*/,
                                   int /*<<< orphan*/);
main() {
  XDR xdrs;
  int invoked = 0;
  xdrstdio_create(&xdrs, stdin, XDR_DECODE);
  {
    double *t = 0;
    u_int t_length = 0;
    int ldt;
    int n;
    double *det = 0;
    u_int det_length = 0;
    int job;
    int info;
    xdrstdio_create(&xdrs, stdin, XDR_DECODE);
  DO_ARGS:
    if (!xdr_array(&xdrs, &t, &t_length, (t_length ? t_length : 20000),
                   sizeof(double), xdr_double)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_int(&xdrs, &ldt)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_int(&xdrs, &n)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_array(&xdrs, &det, &det_length, (det_length ? det_length : 20000),
                   sizeof(double), xdr_double)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (det_length != 2)
      fprintf(stderr, "Wrong length for det ");
    if (!xdr_int(&xdrs, &job)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_int(&xdrs, &info)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    dtrdi_(t, &ldt, &n, det, &job, &info);
    xdrstdio_create(&xdrs, stdout, XDR_ENCODE);
    if (!xdr_array(&xdrs, &t, &t_length, (t_length ? t_length : 20000),
                   sizeof(double), xdr_double)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_array(&xdrs, &det, &det_length, (det_length ? det_length : 20000),
                   sizeof(double), xdr_double)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    if (!xdr_int(&xdrs, &info)) {
      fprintf(stderr, "xdr failed");
      exit(1);
    };
    exit(0);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
mov    0x2e5b(%rip),%rax
mov    (%rax),%esi
mov    0x2e62(%rip),%rax
mov    (%rax),%edx
lea    -0x8(%rbp),%rdi
call   1030 <xdrstdio_create@plt>
movq   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movq   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    0x2e22(%rip),%rax
mov    (%rax),%esi
mov    0x2e29(%rip),%rax
mov    (%rax),%edx
lea    -0x8(%rbp),%rdi
call   1030 <xdrstdio_create@plt>
cmpl   $0x0,-0x1c(%rbp)
je     11df <main+0x7f>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x40(%rbp)
jmp    11ec <main+0x8c>
mov    $0x4e20,%eax
mov    %eax,-0x40(%rbp)
jmp    11ec <main+0x8c>
mov    -0x40(%rbp),%ecx
mov    0x2dfa(%rip),%rax
mov    (%rax),%r9d
lea    -0x8(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
cmp    $0x0,%eax
jne    1238 <main+0xd8>
mov    0x2da0(%rip),%rax
mov    (%rax),%edi
lea    0xdd7(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
lea    -0x8(%rbp),%rdi
lea    -0x20(%rbp),%rsi
call   1070 <xdr_int@plt>
cmp    $0x0,%eax
jne    126d <main+0x10d>
mov    0x2d6b(%rip),%rax
mov    (%rax),%edi
lea    0xda2(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
lea    -0x8(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1070 <xdr_int@plt>
cmp    $0x0,%eax
jne    12a2 <main+0x142>
mov    0x2d36(%rip),%rax
mov    (%rax),%edi
lea    0xd6d(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
cmpl   $0x0,-0x34(%rbp)
je     12b7 <main+0x157>
mov    -0x34(%rbp),%eax
mov    %eax,-0x44(%rbp)
jmp    12c4 <main+0x164>
mov    $0x4e20,%eax
mov    %eax,-0x44(%rbp)
jmp    12c4 <main+0x164>
mov    -0x44(%rbp),%ecx
mov    0x2d22(%rip),%rax
mov    (%rax),%r9d
lea    -0x8(%rbp),%rdi
lea    -0x30(%rbp),%rsi
lea    -0x34(%rbp),%rdx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
cmp    $0x0,%eax
jne    1310 <main+0x1b0>
mov    0x2cc8(%rip),%rax
mov    (%rax),%edi
lea    0xcff(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
cmpl   $0x2,-0x34(%rbp)
je     132f <main+0x1cf>
mov    0x2c9f(%rip),%rax
mov    (%rax),%edi
lea    0xce1(%rip),%rsi
call   1060 <fprintf@plt>
lea    -0x8(%rbp),%rdi
lea    -0x38(%rbp),%rsi
call   1070 <xdr_int@plt>
cmp    $0x0,%eax
jne    1364 <main+0x204>
mov    0x2c74(%rip),%rax
mov    (%rax),%edi
lea    0xcab(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
lea    -0x8(%rbp),%rdi
lea    -0x3c(%rbp),%rsi
call   1070 <xdr_int@plt>
cmp    $0x0,%eax
jne    1399 <main+0x239>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
lea    0xc76(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    -0x18(%rbp),%rdi
mov    -0x30(%rbp),%rcx
lea    -0x20(%rbp),%rsi
lea    -0x24(%rbp),%rdx
lea    -0x38(%rbp),%r8
lea    -0x3c(%rbp),%r9
call   1040 <dtrdi_@plt>
mov    0x2bfb(%rip),%rax
mov    (%rax),%esi
mov    0x2c0a(%rip),%rax
mov    (%rax),%edx
lea    -0x8(%rbp),%rdi
call   1030 <xdrstdio_create@plt>
cmpl   $0x0,-0x1c(%rbp)
je     13e6 <main+0x286>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x48(%rbp)
jmp    13f3 <main+0x293>
mov    $0x4e20,%eax
mov    %eax,-0x48(%rbp)
jmp    13f3 <main+0x293>
mov    -0x48(%rbp),%ecx
mov    0x2bf3(%rip),%rax
mov    (%rax),%r9d
lea    -0x8(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
cmp    $0x0,%eax
jne    143f <main+0x2df>
mov    0x2b99(%rip),%rax
mov    (%rax),%edi
lea    0xbd0(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
cmpl   $0x0,-0x34(%rbp)
je     1454 <main+0x2f4>
mov    -0x34(%rbp),%eax
mov    %eax,-0x4c(%rbp)
jmp    1461 <main+0x301>
mov    $0x4e20,%eax
mov    %eax,-0x4c(%rbp)
jmp    1461 <main+0x301>
mov    -0x4c(%rbp),%ecx
mov    0x2b85(%rip),%rax
mov    (%rax),%r9d
lea    -0x8(%rbp),%rdi
lea    -0x30(%rbp),%rsi
lea    -0x34(%rbp),%rdx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
cmp    $0x0,%eax
jne    14ad <main+0x34d>
mov    0x2b2b(%rip),%rax
mov    (%rax),%edi
lea    0xb62(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
lea    -0x8(%rbp),%rdi
lea    -0x3c(%rbp),%rsi
call   1070 <xdr_int@plt>
cmp    $0x0,%eax
jne    14e2 <main+0x382>
mov    0x2af6(%rip),%rax
mov    (%rax),%edi
lea    0xb2d(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
xor    %edi,%edi
call   1080 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x30,%rsp
mov    0x2e68(%rip),%r14
mov    (%r14),%esi
mov    0x2e6e(%rip),%r15
mov    (%r15),%edx
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <xdrstdio_create@plt>
movq   $0x0,0x18(%rsp)
movl   $0x0,0x8(%rsp)
movq   $0x0,0x10(%rsp)
movl   $0x0,0x4(%rsp)
mov    (%r14),%esi
mov    (%r15),%edx
mov    %rbx,%rdi
call   1030 <xdrstdio_create@plt>
mov    0x2e31(%rip),%r15
mov    (%r15),%r9d
lea    0x18(%rsp),%rsi
lea    0x8(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x4e20,%ecx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    %rsp,%rdi
lea    0x2c(%rsp),%rsi
call   1070 <xdr_int@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    %rsp,%rdi
lea    0x28(%rsp),%rsi
call   1070 <xdr_int@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    (%r15),%r9d
mov    %rsp,%rdi
lea    0x10(%rsp),%rsi
lea    0x4(%rsp),%rdx
mov    $0x4e20,%ecx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
cmpl   $0x2,0x4(%rsp)
je     1255 <main+0xf5>
mov    0x2d79(%rip),%rax
mov    (%rax),%edi
lea    0xdbb(%rip),%rsi
call   1060 <fprintf@plt>
mov    %rsp,%rdi
lea    0x24(%rsp),%rsi
call   1070 <xdr_int@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    %rsp,%rdi
lea    0xc(%rsp),%rsi
call   1070 <xdr_int@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    0x18(%rsp),%rdi
mov    0x10(%rsp),%rcx
lea    0x2c(%rsp),%rsi
lea    0x28(%rsp),%rdx
lea    0x24(%rsp),%r8
lea    0xc(%rsp),%r9
call   1040 <dtrdi_@plt>
mov    0x2d0f(%rip),%rax
mov    (%rax),%esi
mov    0x2d1e(%rip),%rax
mov    (%rax),%edx
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <xdrstdio_create@plt>
mov    0x8(%rsp),%ecx
test   %ecx,%ecx
mov    $0x4e20,%ebx
cmove  %ebx,%ecx
mov    (%r15),%r9d
lea    0x18(%rsp),%rsi
lea    0x8(%rsp),%rdx
mov    %r14,%rdi
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    0x4(%rsp),%eax
test   %eax,%eax
cmovne %eax,%ebx
mov    (%r15),%r9d
mov    %rsp,%rdi
lea    0x10(%rsp),%rsi
lea    0x4(%rsp),%rdx
mov    %ebx,%ecx
mov    $0x8,%r8d
call   1050 <xdr_array@plt>
test   %eax,%eax
je     1327 <main+0x1c7>
mov    %rsp,%rdi
lea    0xc(%rsp),%rsi
call   1070 <xdr_int@plt>
test   %eax,%eax
jne    1346 <main+0x1e6>
mov    0x2c92(%rip),%rax
mov    (%rax),%edi
lea    0xcc9(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
xor    %edi,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@stdin = global i32 0
@XDR_DECODE = global i32 0
@xdr_double = global i32 0
@stderr = global i32 0
@.str = [11 x i8] c"xdr failed\00"
@.str.1 = [22 x i8] c"Wrong length for det \00"
@stdout = global i32 0
@XDR_ENCODE = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca double*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
%12 = load i32, i32* @stdin
%13 = load i32, i32* @XDR_DECODE
%14 = call i32 @xdrstdio_create(i32* %2, i32 %12, i32 %13)
store double* null, double** %4
store i32 0, i32* %5
store double* null, double** %8
store i32 0, i32* %9
%15 = load i32, i32* @stdin
%16 = load i32, i32* @XDR_DECODE
%17 = call i32 @xdrstdio_create(i32* %2, i32 %15, i32 %16)
br label %18
18: ; preds = %0
%19 = load i32, i32* %5
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = load i32, i32* %5
br label %24
23: ; preds = %18
br label %24
24: ; preds = %23, %21
%25 = phi i32 [ %22, %21 ], [ 20000, %23 ]
%26 = load i32, i32* @xdr_double
%27 = call i32 @xdr_array(i32* %2, double** %4, i32* %5, i32 %25, i32 8, i32 %26)
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %24
%30 = load i32, i32* @stderr
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%32 = call i32 @exit(i32 1)
unreachable
33: ; preds = %24
%34 = call i32 @xdr_int(i32* %2, i32* %6)
%35 = icmp ne i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %33
%37 = load i32, i32* @stderr
%38 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%39 = call i32 @exit(i32 1)
unreachable
40: ; preds = %33
%41 = call i32 @xdr_int(i32* %2, i32* %7)
%42 = icmp ne i32 %41, 0
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = load i32, i32* @stderr
%45 = call i32 @fprintf(i32 %44, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%46 = call i32 @exit(i32 1)
unreachable
47: ; preds = %40
%48 = load i32, i32* %9
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = load i32, i32* %9
br label %53
52: ; preds = %47
br label %53
53: ; preds = %52, %50
%54 = phi i32 [ %51, %50 ], [ 20000, %52 ]
%55 = load i32, i32* @xdr_double
%56 = call i32 @xdr_array(i32* %2, double** %8, i32* %9, i32 %54, i32 8, i32 %55)
%57 = icmp ne i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %53
%59 = load i32, i32* @stderr
%60 = call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%61 = call i32 @exit(i32 1)
unreachable
62: ; preds = %53
%63 = load i32, i32* %9
%64 = icmp ne i32 %63, 2
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load i32, i32* @stderr
%67 = call i32 @fprintf(i32 %66, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
br label %68
68: ; preds = %65, %62
%69 = call i32 @xdr_int(i32* %2, i32* %10)
%70 = icmp ne i32 %69, 0
br i1 %70, label %75, label %71
71: ; preds = %68
%72 = load i32, i32* @stderr
%73 = call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%74 = call i32 @exit(i32 1)
unreachable
75: ; preds = %68
%76 = call i32 @xdr_int(i32* %2, i32* %11)
%77 = icmp ne i32 %76, 0
br i1 %77, label %82, label %78
78: ; preds = %75
%79 = load i32, i32* @stderr
%80 = call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%81 = call i32 @exit(i32 1)
unreachable
82: ; preds = %75
%83 = load double*, double** %4
%84 = load double*, double** %8
%85 = call i32 @dtrdi_(double* %83, i32* %6, i32* %7, double* %84, i32* %10, i32* %11)
%86 = load i32, i32* @stdout
%87 = load i32, i32* @XDR_ENCODE
%88 = call i32 @xdrstdio_create(i32* %2, i32 %86, i32 %87)
%89 = load i32, i32* %5
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %82
%92 = load i32, i32* %5
br label %94
93: ; preds = %82
br label %94
94: ; preds = %93, %91
%95 = phi i32 [ %92, %91 ], [ 20000, %93 ]
%96 = load i32, i32* @xdr_double
%97 = call i32 @xdr_array(i32* %2, double** %4, i32* %5, i32 %95, i32 8, i32 %96)
%98 = icmp ne i32 %97, 0
br i1 %98, label %103, label %99
99: ; preds = %94
%100 = load i32, i32* @stderr
%101 = call i32 @fprintf(i32 %100, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%102 = call i32 @exit(i32 1)
unreachable
103: ; preds = %94
%104 = load i32, i32* %9
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = load i32, i32* %9
br label %109
108: ; preds = %103
br label %109
109: ; preds = %108, %106
%110 = phi i32 [ %107, %106 ], [ 20000, %108 ]
%111 = load i32, i32* @xdr_double
%112 = call i32 @xdr_array(i32* %2, double** %8, i32* %9, i32 %110, i32 8, i32 %111)
%113 = icmp ne i32 %112, 0
br i1 %113, label %118, label %114
114: ; preds = %109
%115 = load i32, i32* @stderr
%116 = call i32 @fprintf(i32 %115, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%117 = call i32 @exit(i32 1)
unreachable
118: ; preds = %109
%119 = call i32 @xdr_int(i32* %2, i32* %11)
%120 = icmp ne i32 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %118
%122 = load i32, i32* @stderr
%123 = call i32 @fprintf(i32 %122, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%124 = call i32 @exit(i32 1)
unreachable
125: ; preds = %118
%126 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stdin = global i32 0
@XDR_DECODE = global i32 0
@xdr_double = global i32 0
@stderr = global i32 0
@.str = [11 x i8] c"xdr failed\00"
@.str.1 = [22 x i8] c"Wrong length for det \00"
@stdout = global i32 0
@XDR_ENCODE = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca double*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca double*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = bitcast i32* %1 to i8*
%11 = load i32, i32* @stdin
%12 = load i32, i32* @XDR_DECODE
%13 = call i32 @xdrstdio_create(i32* %1, i32 %11, i32 %12)
%14 = bitcast double** %2 to i8*
store double* null, double** %2
%15 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%16 = bitcast i32* %4 to i8*
%17 = bitcast i32* %5 to i8*
%18 = bitcast double** %6 to i8*
store double* null, double** %6
%19 = bitcast i32* %7 to i8*
store i32 0, i32* %7
%20 = bitcast i32* %8 to i8*
%21 = bitcast i32* %9 to i8*
%22 = load i32, i32* @stdin
%23 = load i32, i32* @XDR_DECODE
%24 = call i32 @xdrstdio_create(i32* %1, i32 %22, i32 %23)
%25 = load i32, i32* @xdr_double
%26 = call i32 @xdr_array(i32* %1, double** %2, i32* %3, i32 20000, i32 8, i32 %25)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %0
%29 = load i32, i32* @stderr
%30 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%31 = call i32 @exit(i32 1)
unreachable
32: ; preds = %0
%33 = call i32 @xdr_int(i32* %1, i32* %4)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %32
%36 = load i32, i32* @stderr
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%38 = call i32 @exit(i32 1)
unreachable
39: ; preds = %32
%40 = call i32 @xdr_int(i32* %1, i32* %5)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = load i32, i32* @stderr
%44 = call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%45 = call i32 @exit(i32 1)
unreachable
46: ; preds = %39
%47 = load i32, i32* @xdr_double
%48 = call i32 @xdr_array(i32* %1, double** %6, i32* %7, i32 20000, i32 8, i32 %47)
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, i32* @stderr
%52 = call i32 @fprintf(i32 %51, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%53 = call i32 @exit(i32 1)
unreachable
54: ; preds = %46
%55 = load i32, i32* %7
%56 = icmp eq i32 %55, 2
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = load i32, i32* @stderr
%59 = call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
br label %60
60: ; preds = %57, %54
%61 = call i32 @xdr_int(i32* %1, i32* %8)
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = load i32, i32* @stderr
%65 = call i32 @fprintf(i32 %64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%66 = call i32 @exit(i32 1)
unreachable
67: ; preds = %60
%68 = call i32 @xdr_int(i32* %1, i32* %9)
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %74
70: ; preds = %67
%71 = load i32, i32* @stderr
%72 = call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%73 = call i32 @exit(i32 1)
unreachable
74: ; preds = %67
%75 = load double*, double** %2
%76 = load double*, double** %6
%77 = call i32 @dtrdi_(double* %75, i32* %4, i32* %5, double* %76, i32* %8, i32* %9)
%78 = load i32, i32* @stdout
%79 = load i32, i32* @XDR_ENCODE
%80 = call i32 @xdrstdio_create(i32* %1, i32 %78, i32 %79)
%81 = load i32, i32* %3
%82 = icmp eq i32 %81, 0
%83 = select i1 %82, i32 20000, i32 %81
%84 = load i32, i32* @xdr_double
%85 = call i32 @xdr_array(i32* %1, double** %2, i32* %3, i32 %83, i32 8, i32 %84)
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %91
87: ; preds = %74
%88 = load i32, i32* @stderr
%89 = call i32 @fprintf(i32 %88, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%90 = call i32 @exit(i32 1)
unreachable
91: ; preds = %74
%92 = load i32, i32* %7
%93 = icmp eq i32 %92, 0
%94 = select i1 %93, i32 20000, i32 %92
%95 = load i32, i32* @xdr_double
%96 = call i32 @xdr_array(i32* %1, double** %6, i32* %7, i32 %94, i32 8, i32 %95)
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %91
%99 = load i32, i32* @stderr
%100 = call i32 @fprintf(i32 %99, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%101 = call i32 @exit(i32 1)
unreachable
102: ; preds = %91
%103 = call i32 @xdr_int(i32* %1, i32* %9)
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %102
%106 = load i32, i32* @stderr
%107 = call i32 @fprintf(i32 %106, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%108 = call i32 @exit(i32 1)
unreachable
109: ; preds = %102
%110 = call i32 @exit(i32 0)
unreachable
}