#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*/ xdrproc_t;
typedef enum clnt_stat { ____Placeholder_clnt_stat } clnt_stat;

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ callrpc(char *, int, int, int, int /*<<< orphan*/, char *,
                           int /*<<< orphan*/, char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char *, char *);
scalar_t__ xdr_double;
scalar_t__ xdr_int;
scalar_t__ xdr_long;
scalar_t__ xdr_wrapstring;
int main(int argn, char *argc[]) {
  int run_mode = 0;
  int test_status = 0;
  int progNum = atoi(argc[2]);
  enum clnt_stat cs;
  int intSnd;
  double dblSnd;
  long lngSnd;
  char *strSnd;
  int intRec;
  double dblRec;
  long lngRec;
  char *strRec;
  intSnd = -65536;
  callrpc(argc[1], progNum, 1, 1000, (xdrproc_t)xdr_int, (char *)&intSnd,
          (xdrproc_t)xdr_int, (char *)&intRec);
  if (intSnd != intRec)
    test_status = 1;
  if (run_mode == 1)
    printf("Send (int) : %d, Received : %d\n", intSnd, intRec);
  intSnd = 16777216;
  callrpc(argc[1], progNum, 1, 1000, (xdrproc_t)xdr_int, (char *)&intSnd,
          (xdrproc_t)xdr_int, (char *)&intRec);
  if (intSnd != intRec)
    test_status = 1;
  if (run_mode == 1)
    printf("Send (int) : %d, Received : %d\n", intSnd, intRec);
  lngSnd = -430000;
  callrpc(argc[1], progNum, 1, 3000, (xdrproc_t)xdr_long, (char *)&lngSnd,
          (xdrproc_t)xdr_long, (char *)&lngRec);
  if (lngSnd != lngRec)
    test_status = 1;
  if (run_mode == 1)
    printf("Send (long) : %ld, Received : %ld\n", lngSnd, lngRec);
  dblSnd = -1735.63000f;
  callrpc(argc[1], progNum, 1, 2000, (xdrproc_t)xdr_double, (char *)&dblSnd,
          (xdrproc_t)xdr_double, (char *)&dblRec);
  if (dblSnd != dblRec)
    test_status = 1;
  if (run_mode == 1)
    printf("Send (double) : %lf, Received : %lf\n", dblSnd, dblRec);
  strSnd = "text to send.";
  strRec = (char *)malloc(64 * sizeof(char));
  callrpc(argc[1], progNum, 1, 4000, (xdrproc_t)xdr_wrapstring, (char *)&strSnd,
          (xdrproc_t)xdr_wrapstring, (char *)&strRec);
  if (strcmp(strSnd, strRec))
    test_status = 1;
  if (run_mode == 1)
    printf("Send (string) : %s, Received : %s\n", strSnd, strRec);
  printf("%d\n", test_status);
  return test_status;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x1c(%rbp)
movl   $0xffff0000,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x1c(%rbp),%esi
mov    0x2e3b(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r8d
lea    -0x24(%rbp),%r9
mov    0x2e2a(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r10d
lea    -0x44(%rbp),%rax
mov    $0x1,%edx
mov    $0x3e8,%ecx
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <callrpc@plt>
mov    -0x24(%rbp),%eax
cmp    -0x44(%rbp),%eax
je     11e3 <main+0x93>
movl   $0x1,-0x18(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    1201 <main+0xb1>
mov    -0x24(%rbp),%esi
mov    -0x44(%rbp),%edx
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1000000,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x1c(%rbp),%esi
mov    0x2dbe(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r8d
lea    -0x24(%rbp),%r9
mov    0x2dad(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r10d
lea    -0x44(%rbp),%rax
mov    $0x1,%edx
mov    $0x3e8,%ecx
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <callrpc@plt>
mov    -0x24(%rbp),%eax
cmp    -0x44(%rbp),%eax
je     1260 <main+0x110>
movl   $0x1,-0x18(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    127e <main+0x12e>
mov    -0x24(%rbp),%esi
mov    -0x44(%rbp),%edx
lea    0xd91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movq   $0xfffffffffff97050,-0x38(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x1c(%rbp),%esi
mov    0x2d48(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r8d
lea    -0x38(%rbp),%r9
mov    0x2d37(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r10d
lea    -0x58(%rbp),%rax
mov    $0x1,%edx
mov    $0xbb8,%ecx
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <callrpc@plt>
mov    -0x38(%rbp),%rax
cmp    -0x58(%rbp),%rax
je     12e0 <main+0x190>
movl   $0x1,-0x18(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    1300 <main+0x1b0>
mov    -0x38(%rbp),%rsi
mov    -0x58(%rbp),%rdx
lea    0xd2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  0xcf8(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x1c(%rbp),%esi
mov    0x2cd1(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r8d
lea    -0x30(%rbp),%r9
mov    0x2cc0(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r10d
lea    -0x50(%rbp),%rax
mov    $0x1,%edx
mov    $0x7d0,%ecx
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <callrpc@plt>
movsd  -0x30(%rbp),%xmm0
ucomisd -0x50(%rbp),%xmm0
jne    136d <main+0x21d>
jp     136d <main+0x21d>
jmp    1374 <main+0x224>
movl   $0x1,-0x18(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    1396 <main+0x246>
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
lea    0xcbc(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xcd3(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    $0x40,%edi
call   1050 <malloc@plt>
mov    %rax,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    -0x1c(%rbp),%esi
mov    0x2c07(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r8d
lea    -0x40(%rbp),%r9
mov    0x2bf6(%rip),%rax
mov    (%rax),%rax
mov    %eax,%r10d
lea    -0x60(%rbp),%rax
mov    $0x1,%edx
mov    $0xfa0,%ecx
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   1070 <callrpc@plt>
mov    -0x40(%rbp),%rdi
mov    -0x60(%rbp),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     1412 <main+0x2c2>
movl   $0x1,-0x18(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    1432 <main+0x2e2>
mov    -0x40(%rbp),%rsi
mov    -0x60(%rbp),%rdx
lea    0xc53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xbe8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rbp
mov    0x10(%rsi),%rdi
call   1060 <atoi@plt>
mov    %eax,%r13d
movl   $0xffff0000,(%rsp)
mov    0x8(%rbp),%rdi
mov    0x2e59(%rip),%rbx
mov    (%rbx),%r8d
lea    0x4(%rsp),%r12
mov    %rsp,%r14
mov    %eax,%esi
mov    $0x1,%edx
mov    $0x3e8,%ecx
mov    %r14,%r9
push   %r12
push   %r8
call   1070 <callrpc@plt>
add    $0x10,%rsp
mov    (%rsp),%eax
cmp    0x4(%rsp),%eax
setne  %r15b
movl   $0x1000000,(%rsp)
mov    0x8(%rbp),%rdi
mov    (%rbx),%r8d
mov    %r13d,%esi
mov    $0x1,%edx
mov    $0x3e8,%ecx
mov    %r14,%r9
push   %r12
push   %r8
call   1070 <callrpc@plt>
add    $0x10,%rsp
mov    (%rsp),%eax
cmp    0x4(%rsp),%eax
setne  %r14b
movq   $0xfffffffffff97050,0x18(%rsp)
f9 ff
mov    0x8(%rbp),%rdi
mov    0x2de5(%rip),%rax
mov    (%rax),%r8d
lea    0x28(%rsp),%rax
lea    0x18(%rsp),%r9
mov    %r13d,%esi
mov    $0x1,%edx
mov    $0xbb8,%ecx
push   %rax
push   %r8
call   1070 <callrpc@plt>
add    $0x10,%rsp
mov    0x18(%rsp),%rax
cmp    0x28(%rsp),%rax
setne  %r12b
movabs $0xc09b1e8520000000,%rax
1e 9b c0
mov    %rax,0x20(%rsp)
mov    0x8(%rbp),%rdi
mov    0x2da7(%rip),%rax
mov    (%rax),%r8d
lea    0x30(%rsp),%rax
lea    0x20(%rsp),%r9
mov    %r13d,%esi
mov    $0x1,%edx
mov    $0x7d0,%ecx
push   %rax
push   %r8
call   1070 <callrpc@plt>
add    $0x10,%rsp
movsd  0x20(%rsp),%xmm0
ucomisd 0x30(%rsp),%xmm0
setp   %al
setne  %bl
or     %al,%bl
lea    0xd76(%rip),%rax
mov    %rax,0x10(%rsp)
mov    $0x40,%edi
call   1050 <malloc@plt>
mov    %rax,0x8(%rsp)
mov    0x8(%rbp),%rdi
mov    0x2d1f(%rip),%rax
mov    (%rax),%r8d
lea    0x8(%rsp),%rax
lea    0x10(%rsp),%r9
mov    %r13d,%esi
mov    $0x1,%edx
mov    $0xfa0,%ecx
push   %rax
push   %r8
call   1070 <callrpc@plt>
add    $0x10,%rsp
mov    0x10(%rsp),%rdi
mov    0x8(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
setne  %al
or     %r12b,%al
or     %r14b,%al
or     %r15b,%al
or     %bl,%al
movzbl %al,%ebx
lea    0xd15(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %ebx,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@xdr_int = global i64 0
@.str = [32 x i8] c"Send (int) : %d, Received : %d\0A\00"
@xdr_long = global i64 0
@.str.1 = [35 x i8] c"Send (long) : %ld, Received : %ld\0A\00"
@xdr_double = global i64 0
@.str.2 = [37 x i8] c"Send (double) : %lf, Received : %lf\0A\00"
@.str.3 = [14 x i8] c"text to send.\00"
@xdr_wrapstring = global i64 0
@.str.4 = [35 x i8] c"Send (string) : %s, Received : %s\0A\00"
@.str.5 = [4 x i8] c"%d\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 double
%12 = alloca i64
%13 = alloca i8*
%14 = alloca i32
%15 = alloca double
%16 = alloca i64
%17 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 0, i32* %7
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 2
%20 = load i8*, i8** %19
%21 = call i32 @atoi(i8* %20)
store i32 %21, i32* %8
store i32 -65536, i32* %10
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = load i32, i32* %8
%26 = load i64, i64* @xdr_int
%27 = trunc i64 %26 to i32
%28 = bitcast i32* %10 to i8*
%29 = load i64, i64* @xdr_int
%30 = trunc i64 %29 to i32
%31 = bitcast i32* %14 to i8*
%32 = call i32 @callrpc(i8* %24, i32 %25, i32 1, i32 1000, i32 %27, i8* %28, i32 %30, i8* %31)
%33 = load i32, i32* %10
%34 = load i32, i32* %14
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %37
36: ; preds = %2
store i32 1, i32* %7
br label %37
37: ; preds = %36, %2
%38 = load i32, i32* %6
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %44
40: ; preds = %37
%41 = load i32, i32* %10
%42 = load i32, i32* %14
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i32 %41, i32 %42)
br label %44
44: ; preds = %40, %37
store i32 16777216, i32* %10
%45 = load i8**, i8*** %5
%46 = getelementptr inbounds i8*, i8** %45, i64 1
%47 = load i8*, i8** %46
%48 = load i32, i32* %8
%49 = load i64, i64* @xdr_int
%50 = trunc i64 %49 to i32
%51 = bitcast i32* %10 to i8*
%52 = load i64, i64* @xdr_int
%53 = trunc i64 %52 to i32
%54 = bitcast i32* %14 to i8*
%55 = call i32 @callrpc(i8* %47, i32 %48, i32 1, i32 1000, i32 %50, i8* %51, i32 %53, i8* %54)
%56 = load i32, i32* %10
%57 = load i32, i32* %14
%58 = icmp ne i32 %56, %57
br i1 %58, label %59, label %60
59: ; preds = %44
store i32 1, i32* %7
br label %60
60: ; preds = %59, %44
%61 = load i32, i32* %6
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = load i32, i32* %10
%65 = load i32, i32* %14
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i32 %64, i32 %65)
br label %67
67: ; preds = %63, %60
store i64 -430000, i64* %12
%68 = load i8**, i8*** %5
%69 = getelementptr inbounds i8*, i8** %68, i64 1
%70 = load i8*, i8** %69
%71 = load i32, i32* %8
%72 = load i64, i64* @xdr_long
%73 = trunc i64 %72 to i32
%74 = bitcast i64* %12 to i8*
%75 = load i64, i64* @xdr_long
%76 = trunc i64 %75 to i32
%77 = bitcast i64* %16 to i8*
%78 = call i32 @callrpc(i8* %70, i32 %71, i32 1, i32 3000, i32 %73, i8* %74, i32 %76, i8* %77)
%79 = load i64, i64* %12
%80 = load i64, i64* %16
%81 = icmp ne i64 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %67
store i32 1, i32* %7
br label %83
83: ; preds = %82, %67
%84 = load i32, i32* %6
%85 = icmp eq i32 %84, 1
br i1 %85, label %86, label %90
86: ; preds = %83
%87 = load i64, i64* %12
%88 = load i64, i64* %16
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i64 %87, i64 %88)
br label %90
90: ; preds = %86, %83
store double 0xC09B1E8520000000, double* %11
%91 = load i8**, i8*** %5
%92 = getelementptr inbounds i8*, i8** %91, i64 1
%93 = load i8*, i8** %92
%94 = load i32, i32* %8
%95 = load i64, i64* @xdr_double
%96 = trunc i64 %95 to i32
%97 = bitcast double* %11 to i8*
%98 = load i64, i64* @xdr_double
%99 = trunc i64 %98 to i32
%100 = bitcast double* %15 to i8*
%101 = call i32 @callrpc(i8* %93, i32 %94, i32 1, i32 2000, i32 %96, i8* %97, i32 %99, i8* %100)
%102 = load double, double* %11
%103 = load double, double* %15
%104 = fcmp une double %102, %103
br i1 %104, label %105, label %106
105: ; preds = %90
store i32 1, i32* %7
br label %106
106: ; preds = %105, %90
%107 = load i32, i32* %6
%108 = icmp eq i32 %107, 1
br i1 %108, label %109, label %113
109: ; preds = %106
%110 = load double, double* %11
%111 = load double, double* %15
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), double %110, double %111)
br label %113
113: ; preds = %109, %106
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8** %13
%114 = call i64 @malloc(i32 64)
%115 = inttoptr i64 %114 to i8*
store i8* %115, i8** %17
%116 = load i8**, i8*** %5
%117 = getelementptr inbounds i8*, i8** %116, i64 1
%118 = load i8*, i8** %117
%119 = load i32, i32* %8
%120 = load i64, i64* @xdr_wrapstring
%121 = trunc i64 %120 to i32
%122 = bitcast i8** %13 to i8*
%123 = load i64, i64* @xdr_wrapstring
%124 = trunc i64 %123 to i32
%125 = bitcast i8** %17 to i8*
%126 = call i32 @callrpc(i8* %118, i32 %119, i32 1, i32 4000, i32 %121, i8* %122, i32 %124, i8* %125)
%127 = load i8*, i8** %13
%128 = load i8*, i8** %17
%129 = call i64 @strcmp(i8* %127, i8* %128)
%130 = icmp ne i64 %129, 0
br i1 %130, label %131, label %132
131: ; preds = %113
store i32 1, i32* %7
br label %132
132: ; preds = %131, %113
%133 = load i32, i32* %6
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %139
135: ; preds = %132
%136 = load i8*, i8** %13
%137 = load i8*, i8** %17
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i8* %136, i8* %137)
br label %139
139: ; preds = %135, %132
%140 = load i32, i32* %7
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %140)
%142 = load i32, i32* %7
ret i32 %142
}

LLVM IR (-O2):
@xdr_int = global i64 0
@xdr_long = global i64 0
@xdr_double = global i64 0
@.str.3 = [14 x i8] c"text to send.\00"
@xdr_wrapstring = global i64 0
@.str.5 = [4 x i8] c"%d\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca double
%5 = alloca i64
%6 = alloca i8*
%7 = alloca i32
%8 = alloca double
%9 = alloca i64
%10 = alloca i8*
%11 = getelementptr inbounds i8*, i8** %1, i64 2
%12 = load i8*, i8** %11
%13 = tail call i32 @atoi(i8* %12)
%14 = bitcast i32* %3 to i8*
%15 = bitcast double* %4 to i8*
%16 = bitcast i64* %5 to i8*
%17 = bitcast i8** %6 to i8*
%18 = bitcast i32* %7 to i8*
%19 = bitcast double* %8 to i8*
%20 = bitcast i64* %9 to i8*
%21 = bitcast i8** %10 to i8*
store i32 -65536, i32* %3
%22 = getelementptr inbounds i8*, i8** %1, i64 1
%23 = load i8*, i8** %22
%24 = load i64, i64* @xdr_int
%25 = trunc i64 %24 to i32
%26 = call i32 @callrpc(i8* %23, i32 %13, i32 1, i32 1000, i32 %25, i8* %14, i32 %25, i8* %18)
%27 = load i32, i32* %3
%28 = load i32, i32* %7
%29 = icmp ne i32 %27, %28
store i32 16777216, i32* %3
%30 = load i8*, i8** %22
%31 = load i64, i64* @xdr_int
%32 = trunc i64 %31 to i32
%33 = call i32 @callrpc(i8* %30, i32 %13, i32 1, i32 1000, i32 %32, i8* %14, i32 %32, i8* %18)
%34 = load i32, i32* %3
%35 = load i32, i32* %7
%36 = icmp ne i32 %34, %35
store i64 -430000, i64* %5
%37 = load i8*, i8** %22
%38 = load i64, i64* @xdr_long
%39 = trunc i64 %38 to i32
%40 = call i32 @callrpc(i8* %37, i32 %13, i32 1, i32 3000, i32 %39, i8* %16, i32 %39, i8* %20)
%41 = load i64, i64* %5
%42 = load i64, i64* %9
%43 = icmp ne i64 %41, %42
store double 0xC09B1E8520000000, double* %4
%44 = load i8*, i8** %22
%45 = load i64, i64* @xdr_double
%46 = trunc i64 %45 to i32
%47 = call i32 @callrpc(i8* %44, i32 %13, i32 1, i32 2000, i32 %46, i8* %15, i32 %46, i8* %19)
%48 = load double, double* %4
%49 = load double, double* %8
%50 = fcmp une double %48, %49
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8** %6
%51 = call i64 @malloc(i32 64)
%52 = inttoptr i64 %51 to i8*
store i8* %52, i8** %10
%53 = load i8*, i8** %22
%54 = load i64, i64* @xdr_wrapstring
%55 = trunc i64 %54 to i32
%56 = call i32 @callrpc(i8* %53, i32 %13, i32 1, i32 4000, i32 %55, i8* %17, i32 %55, i8* %21)
%57 = load i8*, i8** %6
%58 = load i8*, i8** %10
%59 = call i64 @strcmp(i8* %57, i8* %58)
%60 = icmp ne i64 %59, 0
%61 = select i1 %60, i1 true, i1 %50
%62 = select i1 %61, i1 true, i1 %43
%63 = select i1 %62, i1 true, i1 %36
%64 = select i1 %63, i1 true, i1 %29
%65 = zext i1 %64 to i32
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %65)
ret i32 %65
}