#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*/ lr_end_transaction(char *, int /*<<< orphan*/);
int /*<<< orphan*/ lr_start_transaction(char *);
int /*<<< orphan*/ truclient_step(char *, char *, char *);
Action() {
  lr_start_transaction("T01_Landing_URL");
  truclient_step("1", "Navigate to 'http://stormhelp.saas.h...tml/table1.html'",
                 "snapshot=Action_1.inf");
  lr_end_transaction("T01_Landing_URL", 0);
  truclient_step("2", "For ( var i = 1 ; i < 4 ; i++ )",
                 "snapshot=Action_2.inf");
  {
    lr_start_transaction("T02_ClickOn_Refresh_Button");
    truclient_step("2.1", "Click on Refresh button", "snapshot=Action_2.1.inf");
    lr_end_transaction("T02_ClickOn_Refresh_Button", 0);
  }
  truclient_step("3",
                 "Evaluate JavaScript object.checked = !object.checked;  on "
                 "onTable Cell gridcell",
                 "snapshot=Action_3.inf");
  return 0;
}


x86 assembly (clang, -O0):
<Action>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
call   1050 <lr_start_transaction@plt>
lea    0xf6c(%rip),%rdi
lea    0xec2(%rip),%rsi
lea    0xef3(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xe9f(%rip),%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xeef(%rip),%rdi
lea    0xeea(%rip),%rsi
lea    0xf03(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf0d(%rip),%rdi
call   1050 <lr_start_transaction@plt>
lea    0xf1c(%rip),%rdi
lea    0xf19(%rip),%rsi
lea    0xf2a(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xee7(%rip),%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xf28(%rip),%rdi
lea    0xf23(%rip),%rsi
lea    0xf6c(%rip),%rdx
call   1040 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Action>:
push   %rbx
lea    0xec8(%rip),%rbx
mov    %rbx,%rdi
call   1050 <lr_start_transaction@plt>
lea    0xf6c(%rip),%rdi
lea    0xec2(%rip),%rsi
lea    0xef3(%rip),%rdx
call   1040 <truclient_step@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xef3(%rip),%rdi
lea    0xeee(%rip),%rsi
lea    0xf07(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf11(%rip),%rbx
mov    %rbx,%rdi
call   1050 <lr_start_transaction@plt>
lea    0xf1d(%rip),%rdi
lea    0xf1a(%rip),%rsi
lea    0xf2b(%rip),%rdx
call   1040 <truclient_step@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xf2d(%rip),%rdi
lea    0xf28(%rip),%rsi
lea    0xf71(%rip),%rdx
call   1040 <truclient_step@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [16 x i8] c"T01_Landing_URL\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...tml/table1.html'\00"
@.str.3 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [32 x i8] c"For ( var i = 1 ; i < 4 ; i++ )\00"
@.str.6 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.7 = [27 x i8] c"T02_ClickOn_Refresh_Button\00"
@.str.8 = [4 x i8] c"2.1\00"
@.str.9 = [24 x i8] c"Click on Refresh button\00"
@.str.10 = [24 x i8] c"snapshot=Action_2.1.inf\00"
@.str.11 = [2 x i8] c"3\00"
@.str.12 = [80 x i8] c"Evaluate JavaScript object.checked = !object.checked; on onTable Cell gridcell\00"
@.str.13 = [22 x i8] c"snapshot=Action_3.inf\00"
define i32 @Action() {
%1 = call i32 @lr_start_transaction(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @lr_end_transaction(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 0)
%4 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%5 = call i32 @lr_start_transaction(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%7 = call i32 @lr_end_transaction(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i32 0)
%8 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"T01_Landing_URL\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...tml/table1.html'\00"
@.str.3 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [32 x i8] c"For ( var i = 1 ; i < 4 ; i++ )\00"
@.str.6 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.7 = [27 x i8] c"T02_ClickOn_Refresh_Button\00"
@.str.8 = [4 x i8] c"2.1\00"
@.str.9 = [24 x i8] c"Click on Refresh button\00"
@.str.10 = [24 x i8] c"snapshot=Action_2.1.inf\00"
@.str.11 = [2 x i8] c"3\00"
@.str.12 = [80 x i8] c"Evaluate JavaScript object.checked = !object.checked; on onTable Cell gridcell\00"
@.str.13 = [22 x i8] c"snapshot=Action_3.inf\00"
define i32 @Action() {
%1 = tail call i32 @lr_start_transaction(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @lr_end_transaction(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 0)
%4 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%5 = tail call i32 @lr_start_transaction(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%6 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%7 = tail call i32 @lr_end_transaction(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i32 0)
%8 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}