#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 *);
Script_View_Action() {
  lr_start_transaction("T01_Landing");
  truclient_step("1", "Navigate to 'http://' + TC.getParam...os/DropDownDemo'",
                 "snapshot=Action_1.inf");
  lr_end_transaction("T01_Landing", 0);
  truclient_step(
      "2",
      "Evaluate JavaScript var optionNamesSet = {};...NamesAndCount(); on DROP "
      "DOWN DEMO item1item...5item16item17... listbox",
      "snapshot=Action_2.inf");
  truclient_step("3", "For ( var i = 0 ; true ; i++ )",
                 "snapshot=Action_3.inf");
  { truclient_step("3.1", "Wait 1 seconds", "snapshot=Action_3.1.inf"); }
}


x86 assembly (clang, -O0):
<Script_View_Action>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xec1(%rip),%rdi
call   1050 <lr_start_transaction@plt>
lea    0xfd6(%rip),%rdi
lea    0xeba(%rip),%rsi
lea    0xeea(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xe9b(%rip),%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xee6(%rip),%rdi
lea    0xee1(%rip),%rsi
lea    0xf51(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf5b(%rip),%rdi
lea    0xf56(%rip),%rsi
lea    0xf6e(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf78(%rip),%rdi
lea    0xf75(%rip),%rsi
lea    0xf7d(%rip),%rdx
call   1040 <truclient_step@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Script_View_Action>:
push   %rbx
lea    0xec8(%rip),%rbx
mov    %rbx,%rdi
call   1050 <lr_start_transaction@plt>
lea    0xfda(%rip),%rdi
lea    0xebe(%rip),%rsi
lea    0xeee(%rip),%rdx
call   1040 <truclient_step@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <lr_end_transaction@plt>
lea    0xeee(%rip),%rdi
lea    0xee9(%rip),%rsi
lea    0xf59(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf63(%rip),%rdi
lea    0xf5e(%rip),%rsi
lea    0xf76(%rip),%rdx
call   1040 <truclient_step@plt>
lea    0xf80(%rip),%rdi
lea    0xf7d(%rip),%rsi
lea    0xf85(%rip),%rdx
pop    %rbx
jmp    1040 <truclient_step@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"T01_Landing\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [55 x i8] c"Navigate to 'http://' + TC.getParam...os/DropDownDemo'\00"
@.str.3 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [119 x i8] c"Evaluate JavaScript var optionNamesSet = {};...NamesAndCount(); on DROP DOWN DEMO item1item...5item16item17... listbox\00"
@.str.6 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.7 = [2 x i8] c"3\00"
@.str.8 = [31 x i8] c"For ( var i = 0 ; true ; i++ )\00"
@.str.9 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.10 = [4 x i8] c"3.1\00"
@.str.11 = [15 x i8] c"Wait 1 seconds\00"
@.str.12 = [24 x i8] c"snapshot=Action_3.1.inf\00"
define i32 @Script_View_Action() {
%1 = alloca i32
%2 = call i32 @lr_start_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @lr_end_transaction(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 0)
%5 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0))
%8 = load i32, i32* %1
ret i32 %8
}

LLVM IR (-O2):
@.str = [12 x i8] c"T01_Landing\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [55 x i8] c"Navigate to 'http://' + TC.getParam...os/DropDownDemo'\00"
@.str.3 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.4 = [2 x i8] c"2\00"
@.str.5 = [119 x i8] c"Evaluate JavaScript var optionNamesSet = {};...NamesAndCount(); on DROP DOWN DEMO item1item...5item16item17... listbox\00"
@.str.6 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.7 = [2 x i8] c"3\00"
@.str.8 = [31 x i8] c"For ( var i = 0 ; true ; i++ )\00"
@.str.9 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.10 = [4 x i8] c"3.1\00"
@.str.11 = [15 x i8] c"Wait 1 seconds\00"
@.str.12 = [24 x i8] c"snapshot=Action_3.1.inf\00"
define i32 @Script_View_Action() {
%1 = tail call i32 @lr_start_transaction(i8* getelementptr inbounds ([12 x i8], [12 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 ([55 x i8], [55 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 ([12 x i8], [12 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 ([119 x i8], [119 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 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 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 ([15 x i8], [15 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 undef
}