#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*/ sleep(int);
int /*<<< orphan*/ system(char *);
void *scheduler7(void *variables7) {
  int vars;
  int *p_vars = (int *)variables7;
  vars = *p_vars;
  while (1) {
    system("for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat "
           "/etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS="
           ";} {print $1}' | sort'; do /bin/rose $k $i icmp; done ; ");
    system("for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat "
           "/etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS="
           ";} {print $1}' | sort'; do /bin/rose $k $i tcp; done ; ");
    system("for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat "
           "/etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS="
           ";} {print $1}' | sort'; do /bin/rose $k $i udp; done ; ");
    system("for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat "
           "/etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS="
           ";} {print $1}' | sort'; do /bin/rose $k $i igmp; done ; ");
    sleep(vars);
  }
}


x86 assembly (clang, -O0):
<scheduler7>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0xc(%rbp)
lea    0xebc(%rip),%rdi
call   1030 <system@plt>
lea    0xf58(%rip),%rdi
call   1030 <system@plt>
lea    0xff3(%rip),%rdi
call   1030 <system@plt>
lea    0x108e(%rip),%rdi
call   1030 <system@plt>
mov    -0xc(%rbp),%edi
call   1040 <sleep@plt>
jmp    113d <scheduler7+0x1d>

x86 assembly (clang, -O2):
<scheduler7>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    (%rdi),%ebx
lea    0xece(%rip),%r14
lea    0xf6f(%rip),%r15
lea    0x100f(%rip),%r12
lea    0x10af(%rip),%r13
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
call   1030 <system@plt>
mov    %r15,%rdi
call   1030 <system@plt>
mov    %r12,%rdi
call   1030 <system@plt>
mov    %r13,%rdi
call   1030 <system@plt>
mov    %ebx,%edi
call   1040 <sleep@plt>
jmp    1150 <scheduler7+0x30>

LLVM IR (-O0):
@.str = [168 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i icmp; done ; \00"
@.str.1 = [167 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i tcp; done ; \00"
@.str.2 = [167 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i udp; done ; \00"
@.str.3 = [168 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i igmp; done ; \00"
define i8* @scheduler7(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32*
store i8* %0, i8** %2
%5 = load i8*, i8** %2
%6 = bitcast i8* %5 to i32*
store i32* %6, i32** %4
%7 = load i32*, i32** %4
%8 = load i32, i32* %7
store i32 %8, i32* %3
br label %9
9: ; preds = %1, %9
%10 = call i32 @system(i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @system(i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @system(i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @system(i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.3, i64 0, i64 0))
%14 = load i32, i32* %3
%15 = call i32 @sleep(i32 %14)
br label %9
}

LLVM IR (-O2):
@.str = [168 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i icmp; done ; \00"
@.str.1 = [167 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i tcp; done ; \00"
@.str.2 = [167 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i udp; done ; \00"
@.str.3 = [168 x i8] c"for k in 'cat /etc/vpn-helper-forbidden.conf'; do for i in 'cat /etc/vpn-helper-forbidden.conf | awk 'BEGIN{RS=;} {print $1}' | sort'; do /bin/rose $k $i igmp; done ; \00"
define noalias i8* @scheduler7(i8* nocapture %0) {
%2 = bitcast i8* %0 to i32*
%3 = load i32, i32* %2
br label %4
4: ; preds = %4, %1
%5 = tail call i32 @system(i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 @system(i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i32 @system(i8* getelementptr inbounds ([167 x i8], [167 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @system(i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @sleep(i32 %3)
br label %4
}