#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("1", "Navigate to 'http://www.doogal.co.uk...omAddresses.php'",
                 "snapshot=Action_1.inf");
  truclient_step("2", "Double click on 100 textbox", "snapshot=Action_2.inf");
  truclient_step("3", "Type '1' in 100 textbox", "snapshot=Action_3.inf");
  truclient_step(
      "4",
      "Select 'Address components' from Sometimes it's useful... radiogroup",
      "snapshot=Action_4.inf");
  truclient_step("5", "For ( var i = 0 ; i < 10000 ; i++ )",
                 "snapshot=Action_5.inf");
  {
    truclient_step("5.1", "Click on Create random addresses button",
                   "snapshot=Action_5.1.inf");
    truclient_step("5.2", "Get 'All Text' from AddressBox textbox",
                   "snapshot=Action_5.2.inf");
    truclient_step("5.3", "Wait 1 seconds", "snapshot=Action_5.3.inf");
  }
}


x86 assembly (clang, -O0):
<Script_View_Action>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0x102a(%rip),%rdi
lea    0xeda(%rip),%rsi
lea    0xf0b(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x1054(%rip),%rdi
lea    0xf0e(%rip),%rsi
lea    0xf23(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x107d(%rip),%rdi
lea    0xf26(%rip),%rsi
lea    0xf37(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf41(%rip),%rdi
lea    0xf3c(%rip),%rsi
lea    0xf7a(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf84(%rip),%rdi
lea    0xf7f(%rip),%rsi
lea    0xf9c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfa6(%rip),%rdi
lea    0xfa3(%rip),%rsi
lea    0xfc4(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd0(%rip),%rdi
lea    0xfcd(%rip),%rsi
lea    0xfed(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xff9(%rip),%rdi
lea    0xff6(%rip),%rsi
lea    0xffe(%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    0x1031(%rip),%rdi
lea    0xee1(%rip),%rsi
lea    0xf12(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x105b(%rip),%rdi
lea    0xf15(%rip),%rsi
lea    0xf2a(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x1084(%rip),%rdi
lea    0xf2d(%rip),%rsi
lea    0xf3e(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf48(%rip),%rdi
lea    0xf43(%rip),%rsi
lea    0xf81(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf8b(%rip),%rdi
lea    0xf86(%rip),%rsi
lea    0xfa3(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfad(%rip),%rdi
lea    0xfaa(%rip),%rsi
lea    0xfcb(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xfd7(%rip),%rdi
lea    0xfd4(%rip),%rsi
lea    0xff4(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0x1000(%rip),%rdi
lea    0xffd(%rip),%rsi
lea    0x1005(%rip),%rdx
pop    %rax
jmp    1030 <truclient_step@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"1\00"
@.str.1 = [56 x i8] c"Navigate to 'http://www.doogal.co.uk...omAddresses.php'\00"
@.str.2 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [28 x i8] c"Double click on 100 textbox\00"
@.str.5 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.6 = [2 x i8] c"3\00"
@.str.7 = [24 x i8] c"Type '1' in 100 textbox\00"
@.str.8 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.9 = [2 x i8] c"4\00"
@.str.10 = [69 x i8] c"Select 'Address components' from Sometimes it's useful... radiogroup\00"
@.str.11 = [22 x i8] c"snapshot=Action_4.inf\00"
@.str.12 = [2 x i8] c"5\00"
@.str.13 = [36 x i8] c"For ( var i = 0 ; i < 10000 ; i++ )\00"
@.str.14 = [22 x i8] c"snapshot=Action_5.inf\00"
@.str.15 = [4 x i8] c"5.1\00"
@.str.16 = [40 x i8] c"Click on Create random addresses button\00"
@.str.17 = [24 x i8] c"snapshot=Action_5.1.inf\00"
@.str.18 = [4 x i8] c"5.2\00"
@.str.19 = [39 x i8] c"Get 'All Text' from AddressBox textbox\00"
@.str.20 = [24 x i8] c"snapshot=Action_5.2.inf\00"
@.str.21 = [4 x i8] c"5.3\00"
@.str.22 = [15 x i8] c"Wait 1 seconds\00"
@.str.23 = [24 x i8] c"snapshot=Action_5.3.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 ([56 x i8], [56 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 ([28 x i8], [28 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 ([24 x i8], [24 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 ([69 x i8], [69 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 ([36 x i8], [36 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 ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0))
%8 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.20, i64 0, i64 0))
%9 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.23, i64 0, i64 0))
%10 = load i32, i32* %1
ret i32 %10
}

LLVM IR (-O2):
@.str = [2 x i8] c"1\00"
@.str.1 = [56 x i8] c"Navigate to 'http://www.doogal.co.uk...omAddresses.php'\00"
@.str.2 = [22 x i8] c"snapshot=Action_1.inf\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [28 x i8] c"Double click on 100 textbox\00"
@.str.5 = [22 x i8] c"snapshot=Action_2.inf\00"
@.str.6 = [2 x i8] c"3\00"
@.str.7 = [24 x i8] c"Type '1' in 100 textbox\00"
@.str.8 = [22 x i8] c"snapshot=Action_3.inf\00"
@.str.9 = [2 x i8] c"4\00"
@.str.10 = [69 x i8] c"Select 'Address components' from Sometimes it's useful... radiogroup\00"
@.str.11 = [22 x i8] c"snapshot=Action_4.inf\00"
@.str.12 = [2 x i8] c"5\00"
@.str.13 = [36 x i8] c"For ( var i = 0 ; i < 10000 ; i++ )\00"
@.str.14 = [22 x i8] c"snapshot=Action_5.inf\00"
@.str.15 = [4 x i8] c"5.1\00"
@.str.16 = [40 x i8] c"Click on Create random addresses button\00"
@.str.17 = [24 x i8] c"snapshot=Action_5.1.inf\00"
@.str.18 = [4 x i8] c"5.2\00"
@.str.19 = [39 x i8] c"Get 'All Text' from AddressBox textbox\00"
@.str.20 = [24 x i8] c"snapshot=Action_5.2.inf\00"
@.str.21 = [4 x i8] c"5.3\00"
@.str.22 = [15 x i8] c"Wait 1 seconds\00"
@.str.23 = [24 x i8] c"snapshot=Action_5.3.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 ([56 x i8], [56 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 ([28 x i8], [28 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 ([24 x i8], [24 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 ([69 x i8], [69 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 ([36 x i8], [36 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 ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0))
%7 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.20, i64 0, i64 0))
%8 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.23, i64 0, i64 0))
ret i32 undef
}