#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 uint64_t;
typedef int uint32_t;
typedef int int64_t;
typedef int int32_t;
typedef int /*<<< orphan*/ XDR;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ XDR_ENCODE;
int /*<<< orphan*/ *fopen(char *, char *);
char *malloc(int);
int /*<<< orphan*/ memcpy(char *, char *, int);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ xdr_bytes(int /*<<< orphan*/ *, char **, unsigned int *,
                             int);
int /*<<< orphan*/ xdr_destroy(int /*<<< orphan*/ *);
int /*<<< orphan*/ xdr_double(int /*<<< orphan*/ *, double *);
int /*<<< orphan*/ xdr_float(int /*<<< orphan*/ *, float *);
int /*<<< orphan*/ xdr_int32_t(int /*<<< orphan*/ *, int *);
int /*<<< orphan*/ xdr_int64_t(int /*<<< orphan*/ *, int *);
int /*<<< orphan*/ xdr_opaque(int /*<<< orphan*/ *, char *, int);
int /*<<< orphan*/ xdr_string(int /*<<< orphan*/ *, char **, int);
int /*<<< orphan*/ xdr_uint32_t(int /*<<< orphan*/ *, int *);
int /*<<< orphan*/ xdr_uint64_t(int /*<<< orphan*/ *, int *);
int /*<<< orphan*/ xdrstdio_create(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                                   int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  XDR xdr;
  FILE *test = fopen("test/test.ref", "w");
  xdrstdio_create(&xdr, test, XDR_ENCODE);
  int32_t i;
  uint32_t ui;
  int64_t h;
  uint64_t uh;
  float f;
  double d;
  char *buf = malloc(16);
  i = 0;
  xdr_int32_t(&xdr, &i);
  i = 1;
  xdr_int32_t(&xdr, &i);
  i = -1;
  xdr_int32_t(&xdr, &i);
  ui = 0;
  xdr_uint32_t(&xdr, &ui);
  ui = 1;
  xdr_uint32_t(&xdr, &ui);
  h = 0;
  xdr_int64_t(&xdr, &h);
  h = 1;
  xdr_int64_t(&xdr, &h);
  h <<= 32;
  xdr_int64_t(&xdr, &h);
  h = -h;
  xdr_int64_t(&xdr, &h);
  h = -1;
  xdr_int64_t(&xdr, &h);
  uh = 0;
  xdr_uint64_t(&xdr, &uh);
  uh = 1;
  xdr_uint64_t(&xdr, &uh);
  uh <<= 32;
  xdr_uint64_t(&xdr, &uh);
  f = 0;
  xdr_float(&xdr, &f);
  f = 1.0;
  xdr_float(&xdr, &f);
  f = -1.0;
  xdr_float(&xdr, &f);
  f = 0x10000000;
  xdr_float(&xdr, &f);
  d = 0;
  xdr_double(&xdr, &d);
  d = 1.0;
  xdr_double(&xdr, &d);
  d = -1.0;
  xdr_double(&xdr, &d);
  d = 0x10000000;
  xdr_double(&xdr, &d);
  strcpy(buf, "12341234");
  xdr_string(&xdr, &buf, 256);
  strcpy(buf, "123412341");
  xdr_string(&xdr, &buf, 256);
  strcpy(buf, "1234123");
  xdr_string(&xdr, &buf, 256);
  memcpy(buf, "\0\1\2\3\0\1\2\3\0", 9);
  xdr_opaque(&xdr, buf, 8);
  xdr_opaque(&xdr, buf, 9);
  xdr_opaque(&xdr, buf, 7);
  unsigned int size;
  size = 8;
  xdr_bytes(&xdr, &buf, &size, 128);
  size = 9;
  xdr_bytes(&xdr, &buf, &size, 128);
  size = 7;
  xdr_bytes(&xdr, &buf, &size, 128);
  xdr_destroy(&xdr);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe17(%rip),%rdi
lea    0xe1e(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rsi
mov    0x2dc0(%rip),%rax
mov    (%rax),%edx
lea    -0x14(%rbp),%rdi
call   1030 <xdrstdio_create@plt>
mov    $0x10,%edi
call   1090 <malloc@plt>
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x24(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0x1,-0x24(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0xffffffff,-0x24(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0x0,-0x28(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1060 <xdr_uint32_t@plt>
movl   $0x1,-0x28(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1060 <xdr_uint32_t@plt>
movl   $0x0,-0x2c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1070 <xdr_int64_t@plt>
movl   $0x1,-0x2c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1070 <xdr_int64_t@plt>
mov    -0x2c(%rbp),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x2c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1070 <xdr_int64_t@plt>
xor    %eax,%eax
sub    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1070 <xdr_int64_t@plt>
movl   $0xffffffff,-0x2c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1070 <xdr_int64_t@plt>
movl   $0x0,-0x30(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   10d0 <xdr_uint64_t@plt>
movl   $0x1,-0x30(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   10d0 <xdr_uint64_t@plt>
mov    -0x30(%rbp),%eax
mov    $0x20,%ecx
shl    %cl,%eax
mov    %eax,-0x30(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   10d0 <xdr_uint64_t@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x34(%rbp),%rsi
call   1110 <xdr_float@plt>
movss  0xcb1(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x34(%rbp),%rsi
call   1110 <xdr_float@plt>
movss  0xc93(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x34(%rbp),%rsi
call   1110 <xdr_float@plt>
movss  0xc75(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x34(%rbp),%rsi
call   1110 <xdr_float@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1100 <xdr_double@plt>
movsd  0xc3e(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1100 <xdr_double@plt>
movsd  0xc1c(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1100 <xdr_double@plt>
movsd  0xbfa(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1100 <xdr_double@plt>
mov    -0x48(%rbp),%rdi
lea    0xc11(%rip),%rsi
call   1040 <strcpy@plt>
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    -0x48(%rbp),%rdi
lea    0xbf8(%rip),%rsi
call   1040 <strcpy@plt>
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    -0x48(%rbp),%rdi
lea    0xbe0(%rip),%rsi
call   1040 <strcpy@plt>
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    -0x48(%rbp),%rdi
lea    0xbc6(%rip),%rsi
mov    $0x9,%edx
call   1080 <memcpy@plt>
mov    -0x48(%rbp),%rsi
lea    -0x14(%rbp),%rdi
mov    $0x8,%edx
call   10f0 <xdr_opaque@plt>
mov    -0x48(%rbp),%rsi
lea    -0x14(%rbp),%rdi
mov    $0x9,%edx
call   10f0 <xdr_opaque@plt>
mov    -0x48(%rbp),%rsi
lea    -0x14(%rbp),%rdi
mov    $0x7,%edx
call   10f0 <xdr_opaque@plt>
movl   $0x8,-0x4c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
lea    -0x4c(%rbp),%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
movl   $0x9,-0x4c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
lea    -0x4c(%rbp),%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
movl   $0x7,-0x4c(%rbp)
lea    -0x14(%rbp),%rdi
lea    -0x48(%rbp),%rsi
lea    -0x4c(%rbp),%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
lea    -0x14(%rbp),%rdi
call   10a0 <xdr_destroy@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x30,%rsp
lea    0xe00(%rip),%rdi
lea    0xe07(%rip),%rsi
call   10c0 <fopen@plt>
mov    0x2dd5(%rip),%rcx
mov    (%rcx),%edx
lea    0x2c(%rsp),%rbx
mov    %rbx,%rdi
mov    %rax,%rsi
call   1030 <xdrstdio_create@plt>
mov    $0x10,%edi
call   1090 <malloc@plt>
mov    %rax,%r14
mov    %rax,0x8(%rsp)
movl   $0x0,0x14(%rsp)
lea    0x14(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0x1,0x14(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0xffffffff,0x14(%rsp)
ff
mov    %rbx,%rdi
mov    %r15,%rsi
call   10b0 <xdr_int32_t@plt>
movl   $0x0,0x1c(%rsp)
lea    0x1c(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1060 <xdr_uint32_t@plt>
movl   $0x1,0x1c(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1060 <xdr_uint32_t@plt>
movl   $0x0,0x4(%rsp)
lea    0x4(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <xdr_int64_t@plt>
movl   $0x1,0x4(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <xdr_int64_t@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <xdr_int64_t@plt>
negl   0x4(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <xdr_int64_t@plt>
movl   $0xffffffff,0x4(%rsp)
ff
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <xdr_int64_t@plt>
movl   $0x0,0x18(%rsp)
lea    0x18(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   10d0 <xdr_uint64_t@plt>
movl   $0x1,0x18(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   10d0 <xdr_uint64_t@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   10d0 <xdr_uint64_t@plt>
movl   $0x0,(%rsp)
mov    %rsp,%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1110 <xdr_float@plt>
movl   $0x3f800000,(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1110 <xdr_float@plt>
movl   $0xbf800000,(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1110 <xdr_float@plt>
movl   $0x4d800000,(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1110 <xdr_float@plt>
movq   $0x0,0x20(%rsp)
lea    0x20(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1100 <xdr_double@plt>
movabs $0x3ff0000000000000,%rax
mov    %rax,0x20(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1100 <xdr_double@plt>
movabs $0xbff0000000000000,%rax
mov    %rax,0x20(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1100 <xdr_double@plt>
movabs $0x41b0000000000000,%rax
mov    %rax,0x20(%rsp)
mov    %rbx,%rdi
mov    %r15,%rsi
call   1100 <xdr_double@plt>
lea    0xc29(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcpy@plt>
lea    0x8(%rsp),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    0x8(%rsp),%rdi
lea    0xc09(%rip),%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    0x8(%rsp),%rdi
lea    0xbf2(%rip),%rsi
call   1040 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x100,%edx
call   1050 <xdr_string@plt>
mov    0x8(%rsp),%rdi
lea    0xbd9(%rip),%rsi
mov    $0x9,%edx
call   1080 <memcpy@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   10f0 <xdr_opaque@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x9,%edx
call   10f0 <xdr_opaque@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x7,%edx
call   10f0 <xdr_opaque@plt>
movl   $0x8,0x10(%rsp)
lea    0x10(%rsp),%r15
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
movl   $0x9,0x10(%rsp)
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
movl   $0x7,0x10(%rsp)
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x80,%ecx
call   10e0 <xdr_bytes@plt>
mov    %rbx,%rdi
call   10a0 <xdr_destroy@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [14 x i8] c"test/test.ref\00"
@.str.1 = [2 x i8] c"w\00"
@XDR_ENCODE = global i32 0
@.str.2 = [9 x i8] c"12341234\00"
@.str.3 = [10 x i8] c"123412341\00"
@.str.4 = [8 x i8] c"1234123\00"
@.str.5 = [10 x i8] c"\00\01\02\03\00\01\02\03\00\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 float
%13 = alloca double
%14 = alloca i8*
%15 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %16, i32** %7
%17 = load i32*, i32** %7
%18 = load i32, i32* @XDR_ENCODE
%19 = call i32 @xdrstdio_create(i32* %6, i32* %17, i32 %18)
%20 = call i8* @malloc(i32 16)
store i8* %20, i8** %14
store i32 0, i32* %8
%21 = call i32 @xdr_int32_t(i32* %6, i32* %8)
store i32 1, i32* %8
%22 = call i32 @xdr_int32_t(i32* %6, i32* %8)
store i32 -1, i32* %8
%23 = call i32 @xdr_int32_t(i32* %6, i32* %8)
store i32 0, i32* %9
%24 = call i32 @xdr_uint32_t(i32* %6, i32* %9)
store i32 1, i32* %9
%25 = call i32 @xdr_uint32_t(i32* %6, i32* %9)
store i32 0, i32* %10
%26 = call i32 @xdr_int64_t(i32* %6, i32* %10)
store i32 1, i32* %10
%27 = call i32 @xdr_int64_t(i32* %6, i32* %10)
%28 = load i32, i32* %10
%29 = shl i32 %28, 32
store i32 %29, i32* %10
%30 = call i32 @xdr_int64_t(i32* %6, i32* %10)
%31 = load i32, i32* %10
%32 = sub nsw i32 0, %31
store i32 %32, i32* %10
%33 = call i32 @xdr_int64_t(i32* %6, i32* %10)
store i32 -1, i32* %10
%34 = call i32 @xdr_int64_t(i32* %6, i32* %10)
store i32 0, i32* %11
%35 = call i32 @xdr_uint64_t(i32* %6, i32* %11)
store i32 1, i32* %11
%36 = call i32 @xdr_uint64_t(i32* %6, i32* %11)
%37 = load i32, i32* %11
%38 = shl i32 %37, 32
store i32 %38, i32* %11
%39 = call i32 @xdr_uint64_t(i32* %6, i32* %11)
store float 0.000000e+00, float* %12
%40 = call i32 @xdr_float(i32* %6, float* %12)
store float 1.000000e+00, float* %12
%41 = call i32 @xdr_float(i32* %6, float* %12)
store float -1.000000e+00, float* %12
%42 = call i32 @xdr_float(i32* %6, float* %12)
store float 0x41B0000000000000, float* %12
%43 = call i32 @xdr_float(i32* %6, float* %12)
store double 0.000000e+00, double* %13
%44 = call i32 @xdr_double(i32* %6, double* %13)
store double 1.000000e+00, double* %13
%45 = call i32 @xdr_double(i32* %6, double* %13)
store double -1.000000e+00, double* %13
%46 = call i32 @xdr_double(i32* %6, double* %13)
store double 0x41B0000000000000, double* %13
%47 = call i32 @xdr_double(i32* %6, double* %13)
%48 = load i8*, i8** %14
%49 = call i32 @strcpy(i8* %48, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%50 = call i32 @xdr_string(i32* %6, i8** %14, i32 256)
%51 = load i8*, i8** %14
%52 = call i32 @strcpy(i8* %51, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%53 = call i32 @xdr_string(i32* %6, i8** %14, i32 256)
%54 = load i8*, i8** %14
%55 = call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%56 = call i32 @xdr_string(i32* %6, i8** %14, i32 256)
%57 = load i8*, i8** %14
%58 = call i32 @memcpy(i8* %57, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 9)
%59 = load i8*, i8** %14
%60 = call i32 @xdr_opaque(i32* %6, i8* %59, i32 8)
%61 = load i8*, i8** %14
%62 = call i32 @xdr_opaque(i32* %6, i8* %61, i32 9)
%63 = load i8*, i8** %14
%64 = call i32 @xdr_opaque(i32* %6, i8* %63, i32 7)
store i32 8, i32* %15
%65 = call i32 @xdr_bytes(i32* %6, i8** %14, i32* %15, i32 128)
store i32 9, i32* %15
%66 = call i32 @xdr_bytes(i32* %6, i8** %14, i32* %15, i32 128)
store i32 7, i32* %15
%67 = call i32 @xdr_bytes(i32* %6, i8** %14, i32* %15, i32 128)
%68 = call i32 @xdr_destroy(i32* %6)
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"test/test.ref\00"
@.str.1 = [2 x i8] c"w\00"
@XDR_ENCODE = global i32 0
@.str.2 = [9 x i8] c"12341234\00"
@.str.3 = [10 x i8] c"123412341\00"
@.str.4 = [8 x i8] c"1234123\00"
@.str.5 = [10 x i8] c"\00\01\02\03\00\01\02\03\00\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca float
%9 = alloca double
%10 = alloca i8*
%11 = alloca i32
%12 = bitcast i32* %3 to i8*
%13 = tail call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* @XDR_ENCODE
%15 = call i32 @xdrstdio_create(i32* %3, i32* %13, i32 %14)
%16 = bitcast i32* %4 to i8*
%17 = bitcast i32* %5 to i8*
%18 = bitcast i32* %6 to i8*
%19 = bitcast i32* %7 to i8*
%20 = bitcast float* %8 to i8*
%21 = bitcast double* %9 to i8*
%22 = bitcast i8** %10 to i8*
%23 = call dereferenceable_or_null(16) i8* @malloc(i32 16)
store i8* %23, i8** %10
store i32 0, i32* %4
%24 = call i32 @xdr_int32_t(i32* %3, i32* %4)
store i32 1, i32* %4
%25 = call i32 @xdr_int32_t(i32* %3, i32* %4)
store i32 -1, i32* %4
%26 = call i32 @xdr_int32_t(i32* %3, i32* %4)
store i32 0, i32* %5
%27 = call i32 @xdr_uint32_t(i32* %3, i32* %5)
store i32 1, i32* %5
%28 = call i32 @xdr_uint32_t(i32* %3, i32* %5)
store i32 0, i32* %6
%29 = call i32 @xdr_int64_t(i32* %3, i32* %6)
store i32 1, i32* %6
%30 = call i32 @xdr_int64_t(i32* %3, i32* %6)
%31 = call i32 @xdr_int64_t(i32* %3, i32* %6)
%32 = load i32, i32* %6
%33 = sub nsw i32 0, %32
store i32 %33, i32* %6
%34 = call i32 @xdr_int64_t(i32* %3, i32* %6)
store i32 -1, i32* %6
%35 = call i32 @xdr_int64_t(i32* %3, i32* %6)
store i32 0, i32* %7
%36 = call i32 @xdr_uint64_t(i32* %3, i32* %7)
store i32 1, i32* %7
%37 = call i32 @xdr_uint64_t(i32* %3, i32* %7)
%38 = call i32 @xdr_uint64_t(i32* %3, i32* %7)
store float 0.000000e+00, float* %8
%39 = call i32 @xdr_float(i32* %3, float* %8)
store float 1.000000e+00, float* %8
%40 = call i32 @xdr_float(i32* %3, float* %8)
store float -1.000000e+00, float* %8
%41 = call i32 @xdr_float(i32* %3, float* %8)
store float 0x41B0000000000000, float* %8
%42 = call i32 @xdr_float(i32* %3, float* %8)
store double 0.000000e+00, double* %9
%43 = call i32 @xdr_double(i32* %3, double* %9)
store double 1.000000e+00, double* %9
%44 = call i32 @xdr_double(i32* %3, double* %9)
store double -1.000000e+00, double* %9
%45 = call i32 @xdr_double(i32* %3, double* %9)
store double 0x41B0000000000000, double* %9
%46 = call i32 @xdr_double(i32* %3, double* %9)
%47 = call i32 @strcpy(i8* %23, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%48 = call i32 @xdr_string(i32* %3, i8** %10, i32 256)
%49 = load i8*, i8** %10
%50 = call i32 @strcpy(i8* %49, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%51 = call i32 @xdr_string(i32* %3, i8** %10, i32 256)
%52 = load i8*, i8** %10
%53 = call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%54 = call i32 @xdr_string(i32* %3, i8** %10, i32 256)
%55 = load i8*, i8** %10
%56 = call i32 @memcpy(i8* %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 9)
%57 = load i8*, i8** %10
%58 = call i32 @xdr_opaque(i32* %3, i8* %57, i32 8)
%59 = load i8*, i8** %10
%60 = call i32 @xdr_opaque(i32* %3, i8* %59, i32 9)
%61 = load i8*, i8** %10
%62 = call i32 @xdr_opaque(i32* %3, i8* %61, i32 7)
%63 = bitcast i32* %11 to i8*
store i32 8, i32* %11
%64 = call i32 @xdr_bytes(i32* %3, i8** %10, i32* %11, i32 128)
store i32 9, i32* %11
%65 = call i32 @xdr_bytes(i32* %3, i8** %10, i32* %11, i32 128)
store i32 7, i32* %11
%66 = call i32 @xdr_bytes(i32* %3, i8** %10, i32* %11, i32 128)
%67 = call i32 @xdr_destroy(i32* %3)
ret i32 0
}