#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 */
char *dumpKeyTableToFile(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ initXpathTableDB();
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ removeKeyTableFile(char *);
int setXpathTableKeyValue(char *, char *, char *);
int main(int argc, char *argv[]) {
  int rtn = 0;
  char *TempFileName;
  initXpathTableDB();
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-A", "VALUE-A");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-B", "VALUE-B");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-C", "VALUE-C");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-D", "VALUE-D");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-E", "VALUE-E");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-F", "VALUE-F");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-G", "VALUE-G");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-H", "VALUE-H");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-I", "VALUE-I");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-J", "VALUE-J");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-K", "VALUE-K");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-L", "VALUE-L");
  if (rtn)
    exit(rtn);
  rtn = setXpathTableKeyValue("MYTABLE", "KEY-M", "VALUE-M");
  if (rtn)
    exit(rtn);
  TempFileName = dumpKeyTableToFile("MYTABLE");
  printf("Temp XML File = %s\n", TempFileName);
  removeKeyTableFile(TempFileName);
  exit(rtn);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    $0x0,%al
call   1070 <initXpathTableDB@plt>
lea    0xe75(%rip),%rdi
lea    0xe76(%rip),%rsi
lea    0xe75(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     11b3 <main+0x53>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xe46(%rip),%rdi
lea    0xe55(%rip),%rsi
lea    0xe54(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     11e2 <main+0x82>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xe17(%rip),%rdi
lea    0xe34(%rip),%rsi
lea    0xe33(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     1211 <main+0xb1>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xde8(%rip),%rdi
lea    0xe13(%rip),%rsi
lea    0xe12(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     1240 <main+0xe0>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xdb9(%rip),%rdi
lea    0xdf2(%rip),%rsi
lea    0xdf1(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     126f <main+0x10f>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xd8a(%rip),%rdi
lea    0xdd1(%rip),%rsi
lea    0xdd0(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     129e <main+0x13e>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xd5b(%rip),%rdi
lea    0xdb0(%rip),%rsi
lea    0xdaf(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     12cd <main+0x16d>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xd2c(%rip),%rdi
lea    0xd8f(%rip),%rsi
lea    0xd8e(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     12fc <main+0x19c>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xcfd(%rip),%rdi
lea    0xd6e(%rip),%rsi
lea    0xd6d(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     132b <main+0x1cb>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xcce(%rip),%rdi
lea    0xd4d(%rip),%rsi
lea    0xd4c(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     135a <main+0x1fa>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xc9f(%rip),%rdi
lea    0xd2c(%rip),%rsi
lea    0xd2b(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     1389 <main+0x229>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xc70(%rip),%rdi
lea    0xd0b(%rip),%rsi
lea    0xd0a(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     13b8 <main+0x258>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xc41(%rip),%rdi
lea    0xcea(%rip),%rsi
lea    0xce9(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     13e7 <main+0x287>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>
lea    0xc12(%rip),%rdi
call   1060 <dumpKeyTableToFile@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rsi
lea    0xcbc(%rip),%rdi
call   1040 <printf@plt>
mov    -0x20(%rbp),%rdi
call   1030 <removeKeyTableFile@plt>
mov    -0x14(%rbp),%edi
call   1080 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %eax,%eax
call   1070 <initXpathTableDB@plt>
lea    0xe91(%rip),%rdi
lea    0xe92(%rip),%rsi
lea    0xe91(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xe6f(%rip),%rdi
lea    0xe7e(%rip),%rsi
lea    0xe7d(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xe4d(%rip),%rdi
lea    0xe6a(%rip),%rsi
lea    0xe69(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xe2b(%rip),%rdi
lea    0xe56(%rip),%rsi
lea    0xe55(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xe09(%rip),%rdi
lea    0xe42(%rip),%rsi
lea    0xe41(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xde7(%rip),%rdi
lea    0xe2e(%rip),%rsi
lea    0xe2d(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xdc5(%rip),%rdi
lea    0xe1a(%rip),%rsi
lea    0xe19(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xda3(%rip),%rdi
lea    0xe06(%rip),%rsi
lea    0xe05(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xd81(%rip),%rdi
lea    0xdf2(%rip),%rsi
lea    0xdf1(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xd5f(%rip),%rdi
lea    0xdde(%rip),%rsi
lea    0xddd(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xd3d(%rip),%rdi
lea    0xdca(%rip),%rsi
lea    0xdc9(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xd1f(%rip),%rdi
lea    0xdba(%rip),%rsi
lea    0xdb9(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xd01(%rip),%rdi
lea    0xdaa(%rip),%rsi
lea    0xda9(%rip),%rdx
call   1050 <setXpathTableKeyValue@plt>
test   %eax,%eax
jne    1343 <main+0x1e3>
lea    0xce3(%rip),%rdi
call   1060 <dumpKeyTableToFile@plt>
mov    %rax,%rbx
lea    0xd92(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <removeKeyTableFile@plt>
xor    %edi,%edi
call   1080 <exit@plt>
mov    %eax,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"MYTABLE\00"
@.str.1 = [6 x i8] c"KEY-A\00"
@.str.2 = [8 x i8] c"VALUE-A\00"
@.str.3 = [6 x i8] c"KEY-B\00"
@.str.4 = [8 x i8] c"VALUE-B\00"
@.str.5 = [6 x i8] c"KEY-C\00"
@.str.6 = [8 x i8] c"VALUE-C\00"
@.str.7 = [6 x i8] c"KEY-D\00"
@.str.8 = [8 x i8] c"VALUE-D\00"
@.str.9 = [6 x i8] c"KEY-E\00"
@.str.10 = [8 x i8] c"VALUE-E\00"
@.str.11 = [6 x i8] c"KEY-F\00"
@.str.12 = [8 x i8] c"VALUE-F\00"
@.str.13 = [6 x i8] c"KEY-G\00"
@.str.14 = [8 x i8] c"VALUE-G\00"
@.str.15 = [6 x i8] c"KEY-H\00"
@.str.16 = [8 x i8] c"VALUE-H\00"
@.str.17 = [6 x i8] c"KEY-I\00"
@.str.18 = [8 x i8] c"VALUE-I\00"
@.str.19 = [6 x i8] c"KEY-J\00"
@.str.20 = [8 x i8] c"VALUE-J\00"
@.str.21 = [6 x i8] c"KEY-K\00"
@.str.22 = [8 x i8] c"VALUE-K\00"
@.str.23 = [6 x i8] c"KEY-L\00"
@.str.24 = [8 x i8] c"VALUE-L\00"
@.str.25 = [6 x i8] c"KEY-M\00"
@.str.26 = [8 x i8] c"VALUE-M\00"
@.str.27 = [20 x i8] c"Temp XML File = %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%8 = call i32 (...) @initXpathTableDB()
%9 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
store i32 %9, i32* %6
%10 = load i32, i32* %6
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, i32* %6
%14 = call i32 @exit(i32 %13)
unreachable
15: ; preds = %2
%16 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
store i32 %16, i32* %6
%17 = load i32, i32* %6
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, i32* %6
%21 = call i32 @exit(i32 %20)
unreachable
22: ; preds = %15
%23 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
store i32 %23, i32* %6
%24 = load i32, i32* %6
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, i32* %6
%28 = call i32 @exit(i32 %27)
unreachable
29: ; preds = %22
%30 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
store i32 %30, i32* %6
%31 = load i32, i32* %6
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, i32* %6
%35 = call i32 @exit(i32 %34)
unreachable
36: ; preds = %29
%37 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
store i32 %37, i32* %6
%38 = load i32, i32* %6
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, i32* %6
%42 = call i32 @exit(i32 %41)
unreachable
43: ; preds = %36
%44 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0))
store i32 %44, i32* %6
%45 = load i32, i32* %6
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i32, i32* %6
%49 = call i32 @exit(i32 %48)
unreachable
50: ; preds = %43
%51 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
store i32 %51, i32* %6
%52 = load i32, i32* %6
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, i32* %6
%56 = call i32 @exit(i32 %55)
unreachable
57: ; preds = %50
%58 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
store i32 %58, i32* %6
%59 = load i32, i32* %6
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = load i32, i32* %6
%63 = call i32 @exit(i32 %62)
unreachable
64: ; preds = %57
%65 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
store i32 %65, i32* %6
%66 = load i32, i32* %6
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, i32* %6
%70 = call i32 @exit(i32 %69)
unreachable
71: ; preds = %64
%72 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
store i32 %72, i32* %6
%73 = load i32, i32* %6
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = load i32, i32* %6
%77 = call i32 @exit(i32 %76)
unreachable
78: ; preds = %71
%79 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0))
store i32 %79, i32* %6
%80 = load i32, i32* %6
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, i32* %6
%84 = call i32 @exit(i32 %83)
unreachable
85: ; preds = %78
%86 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0))
store i32 %86, i32* %6
%87 = load i32, i32* %6
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, i32* %6
%91 = call i32 @exit(i32 %90)
unreachable
92: ; preds = %85
%93 = call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0))
store i32 %93, i32* %6
%94 = load i32, i32* %6
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load i32, i32* %6
%98 = call i32 @exit(i32 %97)
unreachable
99: ; preds = %92
%100 = call i8* @dumpKeyTableToFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
store i8* %100, i8** %7
%101 = load i8*, i8** %7
%102 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8* %101)
%103 = load i8*, i8** %7
%104 = call i32 @removeKeyTableFile(i8* %103)
%105 = load i32, i32* %6
%106 = call i32 @exit(i32 %105)
unreachable
}

LLVM IR (-O2):
@.str = [8 x i8] c"MYTABLE\00"
@.str.1 = [6 x i8] c"KEY-A\00"
@.str.2 = [8 x i8] c"VALUE-A\00"
@.str.3 = [6 x i8] c"KEY-B\00"
@.str.4 = [8 x i8] c"VALUE-B\00"
@.str.5 = [6 x i8] c"KEY-C\00"
@.str.6 = [8 x i8] c"VALUE-C\00"
@.str.7 = [6 x i8] c"KEY-D\00"
@.str.8 = [8 x i8] c"VALUE-D\00"
@.str.9 = [6 x i8] c"KEY-E\00"
@.str.10 = [8 x i8] c"VALUE-E\00"
@.str.11 = [6 x i8] c"KEY-F\00"
@.str.12 = [8 x i8] c"VALUE-F\00"
@.str.13 = [6 x i8] c"KEY-G\00"
@.str.14 = [8 x i8] c"VALUE-G\00"
@.str.15 = [6 x i8] c"KEY-H\00"
@.str.16 = [8 x i8] c"VALUE-H\00"
@.str.17 = [6 x i8] c"KEY-I\00"
@.str.18 = [8 x i8] c"VALUE-I\00"
@.str.19 = [6 x i8] c"KEY-J\00"
@.str.20 = [8 x i8] c"VALUE-J\00"
@.str.21 = [6 x i8] c"KEY-K\00"
@.str.22 = [8 x i8] c"VALUE-K\00"
@.str.23 = [6 x i8] c"KEY-L\00"
@.str.24 = [8 x i8] c"VALUE-L\00"
@.str.25 = [6 x i8] c"KEY-M\00"
@.str.26 = [8 x i8] c"VALUE-M\00"
@.str.27 = [20 x i8] c"Temp XML File = %s\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @initXpathTableDB()
%4 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @exit(i32 %4)
unreachable
8: ; preds = %2
%9 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @exit(i32 %9)
unreachable
13: ; preds = %8
%14 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = tail call i32 @exit(i32 %14)
unreachable
18: ; preds = %13
%19 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = tail call i32 @exit(i32 %19)
unreachable
23: ; preds = %18
%24 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = tail call i32 @exit(i32 %24)
unreachable
28: ; preds = %23
%29 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0))
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = tail call i32 @exit(i32 %29)
unreachable
33: ; preds = %28
%34 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = tail call i32 @exit(i32 %34)
unreachable
38: ; preds = %33
%39 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %38
%42 = tail call i32 @exit(i32 %39)
unreachable
43: ; preds = %38
%44 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%45 = icmp eq i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %43
%47 = tail call i32 @exit(i32 %44)
unreachable
48: ; preds = %43
%49 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = tail call i32 @exit(i32 %49)
unreachable
53: ; preds = %48
%54 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0))
%55 = icmp eq i32 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %53
%57 = tail call i32 @exit(i32 %54)
unreachable
58: ; preds = %53
%59 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0))
%60 = icmp eq i32 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = tail call i32 @exit(i32 %59)
unreachable
63: ; preds = %58
%64 = tail call i32 @setXpathTableKeyValue(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0))
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 @exit(i32 %64)
unreachable
68: ; preds = %63
%69 = tail call i8* @dumpKeyTableToFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%70 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8* %69)
%71 = tail call i32 @removeKeyTableFile(i8* %69)
%72 = tail call i32 @exit(i32 0)
unreachable
}