#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*/ truclient_step(char *, char *, char *);
A3_EvalXPath_DOM_ArgsContext() {
  truclient_step("1", "Navigate to 'http://stormhelp.saas.h...html/links.html'",
                 "snapshot=A3_EvalXPath_DOM_ArgsContext_1.inf");
  truclient_step("2", "For ( var i = 1 ; i < 9 ; i++ )",
                 "snapshot=A3_EvalXPath_DOM_ArgsContext_2.inf");
  {
    truclient_step("2.1", "Click on Link 1 this is an examp... link",
                   "snapshot=A3_EvalXPath_DOM_ArgsContext_2.1.inf");
    truclient_step("2.2", "Click on Back to Links page link",
                   "snapshot=A3_EvalXPath_DOM_ArgsContext_2.2.inf");
  }
  truclient_step("3", "Click on Link 1 this is an examp... link",
                 "snapshot=A3_EvalXPath_DOM_ArgsContext_3.inf");
  truclient_step("4", "Click on Back to Links page link",
                 "snapshot=A3_EvalXPath_DOM_ArgsContext_4.inf");
  return 0;
}


x86 assembly (clang, -O0):
<A3_EvalXPath_DOM_ArgsContext>:
push   %rbp
mov    %rsp,%rbp
lea    0xf97(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd8(%rip),%rdi
lea    0xf28(%rip),%rsi
lea    0xf41(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf61(%rip),%rdi
lea    0xf5e(%rip),%rsi
lea    0xf80(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfa2(%rip),%rdi
lea    0xf9f(%rip),%rsi
lea    0xfb9(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfdb(%rip),%rdi
lea    0xf2a(%rip),%rsi
lea    0xfcf(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfef(%rip),%rdi
lea    0xf6b(%rip),%rsi
lea    0xfe3(%rip),%rdx
call   1030 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<A3_EvalXPath_DOM_ArgsContext>:
push   %r14
push   %rbx
push   %rax
lea    0xf97(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd8(%rip),%rdi
lea    0xf28(%rip),%rsi
lea    0xf41(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf61(%rip),%rdi
lea    0xf5e(%rip),%r14
lea    0xf80(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0xf9f(%rip),%rdi
lea    0xf9c(%rip),%rbx
lea    0xfb6(%rip),%rdx
mov    %rbx,%rsi
call   1030 <truclient_step@plt>
lea    0xfd5(%rip),%rdi
lea    0xfd0(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0xfed(%rip),%rdi
lea    0xfe8(%rip),%rdx
mov    %rbx,%rsi
call   1030 <truclient_step@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [2 x i8] c"1\00"
@.str.1 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...html/links.html'\00"
@.str.2 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_1.inf\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [32 x i8] c"For ( var i = 1 ; i < 9 ; i++ )\00"
@.str.5 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.inf\00"
@.str.6 = [4 x i8] c"2.1\00"
@.str.7 = [41 x i8] c"Click on Link 1 this is an examp... link\00"
@.str.8 = [46 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.1.inf\00"
@.str.9 = [4 x i8] c"2.2\00"
@.str.10 = [33 x i8] c"Click on Back to Links page link\00"
@.str.11 = [46 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.2.inf\00"
@.str.12 = [2 x i8] c"3\00"
@.str.13 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_3.inf\00"
@.str.14 = [2 x i8] c"4\00"
@.str.15 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_4.inf\00"
define i32 @A3_EvalXPath_DOM_ArgsContext() {
%1 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%3 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%4 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0))
%5 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"1\00"
@.str.1 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...html/links.html'\00"
@.str.2 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_1.inf\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [32 x i8] c"For ( var i = 1 ; i < 9 ; i++ )\00"
@.str.5 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.inf\00"
@.str.6 = [4 x i8] c"2.1\00"
@.str.7 = [41 x i8] c"Click on Link 1 this is an examp... link\00"
@.str.8 = [46 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.1.inf\00"
@.str.9 = [4 x i8] c"2.2\00"
@.str.10 = [33 x i8] c"Click on Back to Links page link\00"
@.str.11 = [46 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_2.2.inf\00"
@.str.12 = [2 x i8] c"3\00"
@.str.13 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_3.inf\00"
@.str.14 = [2 x i8] c"4\00"
@.str.15 = [44 x i8] c"snapshot=A3_EvalXPath_DOM_ArgsContext_4.inf\00"
define i32 @A3_EvalXPath_DOM_ArgsContext() {
%1 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0))
%4 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0))
%5 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0))
%6 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
ret i32 0
}