#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() {
  truclient_step("2", "If ( true )", "snapshot=Action_2.inf");
  {
    lr_start_transaction("T01_Landing");
    truclient_step("2.1",
                   "Navigate to 'http://' + TC.getParam...c/example1.html'",
                   "snapshot=Action_2.1.inf");
    lr_end_transaction("T01_Landing", 0);
    truclient_step("2.2",
                   "Evaluate JavaScript [Code] on 0 : pg 1 : row 0 : col...",
                   "snapshot=Action_2.2.inf");
    truclient_step("2.3", "[object not set]", "snapshot=Action_2.3.inf");
  }
  return 0;
}


x86 assembly (clang, -O0):
<Action>:
push   %rbp
mov    %rsp,%rbp
lea    0xf48(%rip),%rdi
lea    0xebe(%rip),%rsi
lea    0xec3(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xecd(%rip),%rdi
call   1050 <lr_start_transaction@plt>
lea    0xecd(%rip),%rdi
lea    0xeca(%rip),%rsi
lea    0xefa(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xea7(%rip),%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xef8(%rip),%rdi
lea    0xef5(%rip),%rsi
lea    0xf26(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf32(%rip),%rdi
lea    0xf2f(%rip),%rsi
lea    0xf39(%rip),%rdx
call   1040 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Action>:
push   %rbx
lea    0xf4b(%rip),%rdi
lea    0xec1(%rip),%rsi
lea    0xec6(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xed0(%rip),%rbx
mov    %rbx,%rdi
call   1050 <lr_start_transaction@plt>
lea    0xecd(%rip),%rdi
lea    0xeca(%rip),%rsi
lea    0xefa(%rip),%rdx
call   1040 <truclient_step@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xefc(%rip),%rdi
lea    0xef9(%rip),%rsi
lea    0xf2a(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf36(%rip),%rdi
lea    0xf33(%rip),%rsi
lea    0xf3d(%rip),%rdx
call   1040 <truclient_step@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"2\00"
@.str.1 = [12 x i8] c"If ( true )\00"
@.str.2 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.3 = [12 x i8] c"T01_Landing\00"
@.str.4 = [4 x i8] c"2.1\00"
@.str.5 = [55 x i8] c"Navigate to 'http://' + TC.getParam...c/example1.html'\00"
@.str.6 = [24 x i8] c"snapshot=Action_2.1.inf\00"
@.str.7 = [4 x i8] c"2.2\00"
@.str.8 = [56 x i8] c"Evaluate JavaScript [Code] on 0 : pg 1 : row 0 : col...\00"
@.str.9 = [24 x i8] c"snapshot=Action_2.2.inf\00"
@.str.10 = [4 x i8] c"2.3\00"
@.str.11 = [17 x i8] c"[object not set]\00"
@.str.12 = [24 x i8] c"snapshot=Action_2.3.inf\00"
define i32 @Action() {
%1 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 @lr_start_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%4 = call i32 @lr_end_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 0)
%5 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"2\00"
@.str.1 = [12 x i8] c"If ( true )\00"
@.str.2 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.3 = [12 x i8] c"T01_Landing\00"
@.str.4 = [4 x i8] c"2.1\00"
@.str.5 = [55 x i8] c"Navigate to 'http://' + TC.getParam...c/example1.html'\00"
@.str.6 = [24 x i8] c"snapshot=Action_2.1.inf\00"
@.str.7 = [4 x i8] c"2.2\00"
@.str.8 = [56 x i8] c"Evaluate JavaScript [Code] on 0 : pg 1 : row 0 : col...\00"
@.str.9 = [24 x i8] c"snapshot=Action_2.2.inf\00"
@.str.10 = [4 x i8] c"2.3\00"
@.str.11 = [17 x i8] c"[object not set]\00"
@.str.12 = [24 x i8] c"snapshot=Action_2.3.inf\00"
define i32 @Action() {
%1 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 @lr_start_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%4 = tail call i32 @lr_end_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 0)
%5 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%6 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}