#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 *);
A1_EvalXPathMatchParam() {
  truclient_step("1", "Navigate to 'http://stormhelp.saas.h...html/links.html'",
                 "snapshot=A1_EvalXPathMatchParam_1.inf");
  truclient_step("2", "For ( var i = 1 ; i < 9 ; i++ )",
                 "snapshot=A1_EvalXPathMatchParam_2.inf");
  {
    truclient_step("2.1", "Click on Link 1 this is an examp... link",
                   "snapshot=A1_EvalXPathMatchParam_2.1.inf");
    truclient_step("2.2",
                   "Evaluate JavaScript code LR.advanceParam('LinkText');",
                   "snapshot=A1_EvalXPathMatchParam_2.2.inf");
    truclient_step("2.3", "Click on Back to Links page link",
                   "snapshot=A1_EvalXPathMatchParam_2.3.inf");
  }
  truclient_step("3", "Click on Link 1 this is an examp... link",
                 "snapshot=A1_EvalXPathMatchParam_3.inf");
  truclient_step("4", "Click on Back to Links page link",
                 "snapshot=A1_EvalXPathMatchParam_4.inf");
  return 0;
}


x86 assembly (clang, -O0):
<A1_EvalXPathMatchParam>:
push   %rbp
mov    %rsp,%rbp
lea    0xf8b(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc6(%rip),%rdi
lea    0xf22(%rip),%rsi
lea    0xf3b(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf55(%rip),%rdi
lea    0xf52(%rip),%rsi
lea    0xf74(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf90(%rip),%rdi
lea    0xf8d(%rip),%rsi
lea    0xfbc(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd8(%rip),%rdi
lea    0xfd5(%rip),%rsi
lea    0xfef(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc0(%rip),%rdi
lea    0xf04(%rip),%rsi
lea    0xffd(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x1017(%rip),%rdi
lea    0xfa1(%rip),%rsi
lea    0x100b(%rip),%rdx
call   1030 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<A1_EvalXPathMatchParam>:
push   %r14
push   %rbx
push   %rax
lea    0xf8b(%rip),%rdi
lea    0xede(%rip),%rsi
lea    0xf0f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfc6(%rip),%rdi
lea    0xf22(%rip),%rsi
lea    0xf3b(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf55(%rip),%rdi
lea    0xf52(%rip),%r14
lea    0xf74(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0xf8d(%rip),%rdi
lea    0xf8a(%rip),%rsi
lea    0xfb9(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd5(%rip),%rdi
lea    0xfd2(%rip),%rbx
lea    0xfec(%rip),%rdx
mov    %rbx,%rsi
call   1030 <truclient_step@plt>
lea    0xfba(%rip),%rdi
lea    0xffe(%rip),%rdx
mov    %r14,%rsi
call   1030 <truclient_step@plt>
lea    0x1015(%rip),%rdi
lea    0x1010(%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 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_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 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_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 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.1.inf\00"
@.str.9 = [4 x i8] c"2.2\00"
@.str.10 = [54 x i8] c"Evaluate JavaScript code LR.advanceParam('LinkText');\00"
@.str.11 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.2.inf\00"
@.str.12 = [4 x i8] c"2.3\00"
@.str.13 = [33 x i8] c"Click on Back to Links page link\00"
@.str.14 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.3.inf\00"
@.str.15 = [2 x i8] c"3\00"
@.str.16 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_3.inf\00"
@.str.17 = [2 x i8] c"4\00"
@.str.18 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_4.inf\00"
define i32 @A1_EvalXPathMatchParam() {
%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 ([38 x i8], [38 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 ([38 x i8], [38 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 ([40 x i8], [40 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 ([54 x i8], [54 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0))
%5 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.14, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0))
%7 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.18, 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 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_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 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_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 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.1.inf\00"
@.str.9 = [4 x i8] c"2.2\00"
@.str.10 = [54 x i8] c"Evaluate JavaScript code LR.advanceParam('LinkText');\00"
@.str.11 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.2.inf\00"
@.str.12 = [4 x i8] c"2.3\00"
@.str.13 = [33 x i8] c"Click on Back to Links page link\00"
@.str.14 = [40 x i8] c"snapshot=A1_EvalXPathMatchParam_2.3.inf\00"
@.str.15 = [2 x i8] c"3\00"
@.str.16 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_3.inf\00"
@.str.17 = [2 x i8] c"4\00"
@.str.18 = [38 x i8] c"snapshot=A1_EvalXPathMatchParam_4.inf\00"
define i32 @A1_EvalXPathMatchParam() {
%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 ([38 x i8], [38 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 ([38 x i8], [38 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 ([40 x i8], [40 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 ([54 x i8], [54 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0))
%5 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.14, i64 0, i64 0))
%6 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0))
%7 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.18, i64 0, i64 0))
ret i32 0
}