#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 *);
vuser_init() {
  truclient_step(
      "2",
      "Evaluate JavaScript code // Run conditions: var j....net/*', false);",
      "snapshot=Init_2.inf");
  truclient_step("3", "If ( false )", "snapshot=Init_3.inf");
  {
    truclient_step("3.1",
                   "Navigate to 'C:\\WM\\HPSR1_website\\...ite\\links.html'",
                   "snapshot=Init_3.1.inf");
  }
  truclient_step("4", "Navigate to 'http://stormhelp.saas.h...html/links.html'",
                 "snapshot=Init_4.inf");
  return 0;
}


x86 assembly (clang, -O0):
<vuser_init>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee0(%rip),%rsi
lea    0xf1e(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf26(%rip),%rdi
lea    0xf21(%rip),%rsi
lea    0xf27(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf2f(%rip),%rdi
lea    0xf2c(%rip),%rsi
lea    0xf59(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf63(%rip),%rdi
lea    0xf5e(%rip),%rsi
lea    0xf8f(%rip),%rdx
call   1030 <truclient_step@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<vuser_init>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xee3(%rip),%rsi
lea    0xf21(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf29(%rip),%rdi
lea    0xf24(%rip),%rsi
lea    0xf2a(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf32(%rip),%rdi
lea    0xf2f(%rip),%rsi
lea    0xf5c(%rip),%rdx
call   1030 <truclient_step@plt>
lea    0xf66(%rip),%rdi
lea    0xf61(%rip),%rsi
lea    0xf92(%rip),%rdx
call   1030 <truclient_step@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"2\00"
@.str.1 = [69 x i8] c"Evaluate JavaScript code // Run conditions: var j....net/*', false);\00"
@.str.2 = [20 x i8] c"snapshot=Init_2.inf\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [13 x i8] c"If ( false )\00"
@.str.5 = [20 x i8] c"snapshot=Init_3.inf\00"
@.str.6 = [4 x i8] c"3.1\00"
@.str.7 = [52 x i8] c"Navigate to 'C:\\WM\\HPSR1_website\\...ite\\links.html'\00"
@.str.8 = [22 x i8] c"snapshot=Init_3.1.inf\00"
@.str.9 = [2 x i8] c"4\00"
@.str.10 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...html/links.html'\00"
@.str.11 = [20 x i8] c"snapshot=Init_4.inf\00"
define i32 @vuser_init() {
%1 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%3 = call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%4 = call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"2\00"
@.str.1 = [69 x i8] c"Evaluate JavaScript code // Run conditions: var j....net/*', false);\00"
@.str.2 = [20 x i8] c"snapshot=Init_2.inf\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [13 x i8] c"If ( false )\00"
@.str.5 = [20 x i8] c"snapshot=Init_3.inf\00"
@.str.6 = [4 x i8] c"3.1\00"
@.str.7 = [52 x i8] c"Navigate to 'C:\\WM\\HPSR1_website\\...ite\\links.html'\00"
@.str.8 = [22 x i8] c"snapshot=Init_3.1.inf\00"
@.str.9 = [2 x i8] c"4\00"
@.str.10 = [56 x i8] c"Navigate to 'http://stormhelp.saas.h...html/links.html'\00"
@.str.11 = [20 x i8] c"snapshot=Init_4.inf\00"
define i32 @vuser_init() {
%1 = tail call i32 @truclient_step(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 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 ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 @truclient_step(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 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 ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0))
ret i32 0
}