#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*/ system(char *);
int main() {
  system("i2cset -y 1 0x10 0x07 0x20");
  system("i2cset -y 1 0x10 0x08 0x20");
  system("i2cset -y 1 0x11 0x07 0x20");
  system("i2cset -y 1 0x11 0x08 0x20");
  system("i2cset -y 1 0x12 0x07 0x20");
  system("i2cset -y 1 0x12 0x08 0x20");
  system("i2cset -y 1 0x13 0x07 0x20");
  system("i2cset -y 1 0x13 0x08 0x20");
  system("shutdown -h -P now");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <system@plt>
lea    0xef4(%rip),%rdi
call   1030 <system@plt>
lea    0xf03(%rip),%rdi
call   1030 <system@plt>
lea    0xf12(%rip),%rdi
call   1030 <system@plt>
lea    0xf21(%rip),%rdi
call   1030 <system@plt>
lea    0xf30(%rip),%rdi
call   1030 <system@plt>
lea    0xf3f(%rip),%rdi
call   1030 <system@plt>
lea    0xf4e(%rip),%rdi
call   1030 <system@plt>
lea    0xf5d(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <system@plt>
lea    0xef7(%rip),%rdi
call   1030 <system@plt>
lea    0xf06(%rip),%rdi
call   1030 <system@plt>
lea    0xf15(%rip),%rdi
call   1030 <system@plt>
lea    0xf24(%rip),%rdi
call   1030 <system@plt>
lea    0xf33(%rip),%rdi
call   1030 <system@plt>
lea    0xf42(%rip),%rdi
call   1030 <system@plt>
lea    0xf51(%rip),%rdi
call   1030 <system@plt>
lea    0xf60(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"i2cset -y 1 0x10 0x07 0x20\00"
@.str.1 = [27 x i8] c"i2cset -y 1 0x10 0x08 0x20\00"
@.str.2 = [27 x i8] c"i2cset -y 1 0x11 0x07 0x20\00"
@.str.3 = [27 x i8] c"i2cset -y 1 0x11 0x08 0x20\00"
@.str.4 = [27 x i8] c"i2cset -y 1 0x12 0x07 0x20\00"
@.str.5 = [27 x i8] c"i2cset -y 1 0x12 0x08 0x20\00"
@.str.6 = [27 x i8] c"i2cset -y 1 0x13 0x07 0x20\00"
@.str.7 = [27 x i8] c"i2cset -y 1 0x13 0x08 0x20\00"
@.str.8 = [19 x i8] c"shutdown -h -P now\00"
define i32 @main() {
%1 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"i2cset -y 1 0x10 0x07 0x20\00"
@.str.1 = [27 x i8] c"i2cset -y 1 0x10 0x08 0x20\00"
@.str.2 = [27 x i8] c"i2cset -y 1 0x11 0x07 0x20\00"
@.str.3 = [27 x i8] c"i2cset -y 1 0x11 0x08 0x20\00"
@.str.4 = [27 x i8] c"i2cset -y 1 0x12 0x07 0x20\00"
@.str.5 = [27 x i8] c"i2cset -y 1 0x12 0x08 0x20\00"
@.str.6 = [27 x i8] c"i2cset -y 1 0x13 0x07 0x20\00"
@.str.7 = [27 x i8] c"i2cset -y 1 0x13 0x08 0x20\00"
@.str.8 = [19 x i8] c"shutdown -h -P now\00"
define i32 @main() {
%1 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @system(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}