#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*/ twosome_drop_work(char *, int, int, int);
void twosome_drop(void) {
  twosome_drop_work("twosome_drop1", 0, 0, 0);
  twosome_drop_work("twosome_drop2", 0, 0, 1);
  twosome_drop_work("twosome_drop3", 0, 1, 0);
  twosome_drop_work("twosome_drop4", 0, 1, 1);
  twosome_drop_work("twosome_drop5", 1, 0, 0);
  twosome_drop_work("twosome_drop6", 1, 0, 1);
  twosome_drop_work("twosome_drop7", 1, 1, 0);
  twosome_drop_work("twosome_drop8", 1, 1, 1);
}


x86 assembly (clang, -O0):
<twosome_drop>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
xor    %ecx,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   1030 <twosome_drop_work@plt>
lea    0xee1(%rip),%rdi
xor    %edx,%edx
mov    $0x1,%ecx
mov    %edx,%esi
call   1030 <twosome_drop_work@plt>
lea    0xeda(%rip),%rdi
xor    %ecx,%ecx
mov    $0x1,%edx
mov    %ecx,%esi
call   1030 <twosome_drop_work@plt>
lea    0xed3(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%ecx
mov    %ecx,%edx
call   1030 <twosome_drop_work@plt>
lea    0xecc(%rip),%rdi
mov    $0x1,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   1030 <twosome_drop_work@plt>
lea    0xec5(%rip),%rdi
mov    $0x1,%ecx
xor    %edx,%edx
mov    %ecx,%esi
call   1030 <twosome_drop_work@plt>
lea    0xebe(%rip),%rdi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    %edx,%esi
call   1030 <twosome_drop_work@plt>
lea    0xeb7(%rip),%rdi
mov    $0x1,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   1030 <twosome_drop_work@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<twosome_drop>:
push   %rax
lea    0xee8(%rip),%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xee4(%rip),%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xedd(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xed6(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xecc(%rip),%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xec5(%rip),%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x1,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xebb(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
call   1030 <twosome_drop_work@plt>
lea    0xeb1(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
pop    %rax
jmp    1030 <twosome_drop_work@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"twosome_drop1\00"
@.str.1 = [14 x i8] c"twosome_drop2\00"
@.str.2 = [14 x i8] c"twosome_drop3\00"
@.str.3 = [14 x i8] c"twosome_drop4\00"
@.str.4 = [14 x i8] c"twosome_drop5\00"
@.str.5 = [14 x i8] c"twosome_drop6\00"
@.str.6 = [14 x i8] c"twosome_drop7\00"
@.str.7 = [14 x i8] c"twosome_drop8\00"
define void @twosome_drop() {
%1 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 0)
%2 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 0, i32 1)
%3 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 1, i32 0)
%4 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 0, i32 1, i32 1)
%5 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 1, i32 0, i32 0)
%6 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 0, i32 1)
%7 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 1, i32 0)
%8 = call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), i32 1, i32 1, i32 1)
ret void
}

LLVM IR (-O2):
@.str = [14 x i8] c"twosome_drop1\00"
@.str.1 = [14 x i8] c"twosome_drop2\00"
@.str.2 = [14 x i8] c"twosome_drop3\00"
@.str.3 = [14 x i8] c"twosome_drop4\00"
@.str.4 = [14 x i8] c"twosome_drop5\00"
@.str.5 = [14 x i8] c"twosome_drop6\00"
@.str.6 = [14 x i8] c"twosome_drop7\00"
@.str.7 = [14 x i8] c"twosome_drop8\00"
define void @twosome_drop() {
%1 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 0)
%2 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 0, i32 1)
%3 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 1, i32 0)
%4 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 0, i32 1, i32 1)
%5 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 1, i32 0, i32 0)
%6 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 0, i32 1)
%7 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 1, i32 0)
%8 = tail call i32 @twosome_drop_work(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), i32 1, i32 1, i32 1)
ret void
}