#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*/ output_0();
int /*<<< orphan*/ output_1();
void energenie_set2() {
  output_1();
  output_0();
  output_1();
  output_1();
  output_1();
  output_1();
  output_1();
  output_1();
  output_0();
  output_0();
  output_0();
  output_1();
  output_0();
  output_0();
  output_0();
  output_0();
  output_0();
  output_0();
  output_0();
  output_0();
}


x86 assembly (clang, -O0):
<energenie_set2>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1030 <output_1@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
mov    $0x0,%al
call   1040 <output_0@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<energenie_set2>:
push   %rax
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1030 <output_1@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
call   1040 <output_0@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <output_0@plt>

LLVM IR (-O0):
define void @energenie_set2() {
%1 = call i32 (...) @output_1()
%2 = call i32 (...) @output_0()
%3 = call i32 (...) @output_1()
%4 = call i32 (...) @output_1()
%5 = call i32 (...) @output_1()
%6 = call i32 (...) @output_1()
%7 = call i32 (...) @output_1()
%8 = call i32 (...) @output_1()
%9 = call i32 (...) @output_0()
%10 = call i32 (...) @output_0()
%11 = call i32 (...) @output_0()
%12 = call i32 (...) @output_1()
%13 = call i32 (...) @output_0()
%14 = call i32 (...) @output_0()
%15 = call i32 (...) @output_0()
%16 = call i32 (...) @output_0()
%17 = call i32 (...) @output_0()
%18 = call i32 (...) @output_0()
%19 = call i32 (...) @output_0()
%20 = call i32 (...) @output_0()
ret void
}

LLVM IR (-O2):
define void @energenie_set2() {
%1 = tail call i32 (...) @output_1()
%2 = tail call i32 (...) @output_0()
%3 = tail call i32 (...) @output_1()
%4 = tail call i32 (...) @output_1()
%5 = tail call i32 (...) @output_1()
%6 = tail call i32 (...) @output_1()
%7 = tail call i32 (...) @output_1()
%8 = tail call i32 (...) @output_1()
%9 = tail call i32 (...) @output_0()
%10 = tail call i32 (...) @output_0()
%11 = tail call i32 (...) @output_0()
%12 = tail call i32 (...) @output_1()
%13 = tail call i32 (...) @output_0()
%14 = tail call i32 (...) @output_0()
%15 = tail call i32 (...) @output_0()
%16 = tail call i32 (...) @output_0()
%17 = tail call i32 (...) @output_0()
%18 = tail call i32 (...) @output_0()
%19 = tail call i32 (...) @output_0()
%20 = tail call i32 (...) @output_0()
ret void
}