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


x86 assembly (clang, -O0):
<A2_EvalXPathArgsContext>:
push   %rbp
mov    %rsp,%rbp
lea    0xf8d(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc9(%rip),%rdi
lea    0xf23(%rip),%rsi
lea    0xf3c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf57(%rip),%rdi
lea    0xf54(%rip),%rsi
lea    0xf76(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf93(%rip),%rdi
lea    0xf90(%rip),%rsi
lea    0xfaa(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc7(%rip),%rdi
lea    0xf20(%rip),%rsi
lea    0xfbb(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd6(%rip),%rdi
lea    0xf5c(%rip),%rsi
lea    0xfca(%rip),%rdx
call   1030 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<A2_EvalXPathArgsContext>:
push   %r14
push   %rbx
push   %rax
lea    0xf8d(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc9(%rip),%rdi
lea    0xf23(%rip),%rsi
lea    0xf3c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf57(%rip),%rdi
lea    0xf54(%rip),%r14
lea    0xf76(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0xf90(%rip),%rdi
lea    0xf8d(%rip),%rbx
lea    0xfa7(%rip),%rdx
mov    %rbx,%rsi
call   1030 <truclient_step@plt>
lea    0xfc1(%rip),%rdi
lea    0xfbc(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0xfd4(%rip),%rdi
lea    0xfcf(%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 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [41 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [41 x i8] c"snapshot=A2_EvalXPathArgsContext_2.2.inf\00"
@.str.12 = [2 x i8] c"3\00"
@.str.13 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_3.inf\00"
@.str.14 = [2 x i8] c"4\00"
@.str.15 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_4.inf\00"
define i32 @A2_EvalXPathArgsContext() {
%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 ([39 x i8], [39 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 ([39 x i8], [39 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 ([41 x i8], [41 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 ([41 x i8], [41 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 ([39 x i8], [39 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 ([39 x i8], [39 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 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [41 x i8] c"snapshot=A2_EvalXPathArgsContext_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 = [41 x i8] c"snapshot=A2_EvalXPathArgsContext_2.2.inf\00"
@.str.12 = [2 x i8] c"3\00"
@.str.13 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_3.inf\00"
@.str.14 = [2 x i8] c"4\00"
@.str.15 = [39 x i8] c"snapshot=A2_EvalXPathArgsContext_4.inf\00"
define i32 @A2_EvalXPathArgsContext() {
%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 ([39 x i8], [39 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 ([39 x i8], [39 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 ([41 x i8], [41 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 ([41 x i8], [41 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 ([39 x i8], [39 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 ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0))
ret i32 0
}