#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 *);
Script_View_Action() {
  truclient_step(
      "2",
      "Evaluate JavaScript code jActionIterations = jActionIterations + 1;",
      "snapshot=Action_2.inf");
  truclient_step("3", "Navigate to 'http://54.188.18.140/de...olioDemo_Basic/'",
                 "snapshot=Action_3.inf");
  truclient_step("5", "Select 'item4' from listbox (1) listbox",
                 "snapshot=Action_5.inf");
  truclient_step("6", "Type '100' in textbox (1) textbox",
                 "snapshot=Action_6.inf");
  truclient_step(
      "7",
      "Evaluate JavaScript code var jTransInstance=jActi...jTransInstance);",
      "snapshot=Action_7.inf");
  truclient_step("8", "Click on Sell button", "snapshot=Action_8.inf");
  truclient_step(
      "9",
      "Evaluate JavaScript code var jTransInstance='buy_...e client script.",
      "snapshot=Action_9.inf");
  truclient_step("10", "Click on Buy button", "snapshot=Action_10.inf");
}


x86 assembly (clang, -O0):
<Script_View_Action>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
lea    0xedc(%rip),%rsi
lea    0xf19(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf23(%rip),%rdi
lea    0xf1e(%rip),%rsi
lea    0xf4f(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf59(%rip),%rdi
lea    0xf54(%rip),%rsi
lea    0xf75(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf7f(%rip),%rdi
lea    0xf7a(%rip),%rsi
lea    0xf95(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf9f(%rip),%rdi
lea    0xf9a(%rip),%rsi
lea    0xfd8(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfe2(%rip),%rdi
lea    0xfdd(%rip),%rsi
lea    0xfeb(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xff5(%rip),%rdi
lea    0xff0(%rip),%rsi
lea    0x102e(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x1038(%rip),%rdi
lea    0x1034(%rip),%rsi
lea    0x1041(%rip),%rdx
call   1030 <truclient_step@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Script_View_Action>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xee3(%rip),%rsi
lea    0xf20(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf2a(%rip),%rdi
lea    0xf25(%rip),%rsi
lea    0xf56(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf60(%rip),%rdi
lea    0xf5b(%rip),%rsi
lea    0xf7c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf86(%rip),%rdi
lea    0xf81(%rip),%rsi
lea    0xf9c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfa6(%rip),%rdi
lea    0xfa1(%rip),%rsi
lea    0xfdf(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfe9(%rip),%rdi
lea    0xfe4(%rip),%rsi
lea    0xff2(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xffc(%rip),%rdi
lea    0xff7(%rip),%rsi
lea    0x1035(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x103f(%rip),%rdi
lea    0x103b(%rip),%rsi
lea    0x1048(%rip),%rdx
pop    %rax
jmp    1030 <truclient_step@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"2\00"
@.str.1 = [68 x i8] c"Evaluate JavaScript code jActionIterations = jActionIterations + 1;\00"
@.str.2 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [56 x i8] c"Navigate to 'http://54.188.18.140/de...olioDemo_Basic/'\00"
@.str.5 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.6 = [2 x i8] c"5\00"
@.str.7 = [40 x i8] c"Select 'item4' from listbox (1) listbox\00"
@.str.8 = [22 x i8] c"snapshot=Action_5.inf\00"
@.str.9 = [2 x i8] c"6\00"
@.str.10 = [34 x i8] c"Type '100' in textbox (1) textbox\00"
@.str.11 = [22 x i8] c"snapshot=Action_6.inf\00"
@.str.12 = [2 x i8] c"7\00"
@.str.13 = [69 x i8] c"Evaluate JavaScript code var jTransInstance=jActi...jTransInstance);\00"
@.str.14 = [22 x i8] c"snapshot=Action_7.inf\00"
@.str.15 = [2 x i8] c"8\00"
@.str.16 = [21 x i8] c"Click on Sell button\00"
@.str.17 = [22 x i8] c"snapshot=Action_8.inf\00"
@.str.18 = [2 x i8] c"9\00"
@.str.19 = [69 x i8] c"Evaluate JavaScript code var jTransInstance='buy_...e client script.\00"
@.str.20 = [22 x i8] c"snapshot=Action_9.inf\00"
@.str.21 = [3 x i8] c"10\00"
@.str.22 = [20 x i8] c"Click on Buy button\00"
@.str.23 = [23 x i8] c"snapshot=Action_10.inf\00"
define i32 @Script_View_Action() {
%1 = alloca i32
%2 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%5 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%6 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0))
%7 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
%8 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0))
%9 = call i32 @truclient_step(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0))
%10 = load i32, i32* %1
ret i32 %10
}

LLVM IR (-O2):
@.str = [2 x i8] c"2\00"
@.str.1 = [68 x i8] c"Evaluate JavaScript code jActionIterations = jActionIterations + 1;\00"
@.str.2 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [56 x i8] c"Navigate to 'http://54.188.18.140/de...olioDemo_Basic/'\00"
@.str.5 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.6 = [2 x i8] c"5\00"
@.str.7 = [40 x i8] c"Select 'item4' from listbox (1) listbox\00"
@.str.8 = [22 x i8] c"snapshot=Action_5.inf\00"
@.str.9 = [2 x i8] c"6\00"
@.str.10 = [34 x i8] c"Type '100' in textbox (1) textbox\00"
@.str.11 = [22 x i8] c"snapshot=Action_6.inf\00"
@.str.12 = [2 x i8] c"7\00"
@.str.13 = [69 x i8] c"Evaluate JavaScript code var jTransInstance=jActi...jTransInstance);\00"
@.str.14 = [22 x i8] c"snapshot=Action_7.inf\00"
@.str.15 = [2 x i8] c"8\00"
@.str.16 = [21 x i8] c"Click on Sell button\00"
@.str.17 = [22 x i8] c"snapshot=Action_8.inf\00"
@.str.18 = [2 x i8] c"9\00"
@.str.19 = [69 x i8] c"Evaluate JavaScript code var jTransInstance='buy_...e client script.\00"
@.str.20 = [22 x i8] c"snapshot=Action_9.inf\00"
@.str.21 = [3 x i8] c"10\00"
@.str.22 = [20 x i8] c"Click on Buy button\00"
@.str.23 = [23 x i8] c"snapshot=Action_10.inf\00"
define i32 @Script_View_Action() {
%1 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([68 x i8], [68 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 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%4 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 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 ([69 x i8], [69 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 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 ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
%7 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0))
%8 = tail call i32 @truclient_step(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0))
ret i32 undef
}