#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 */
typedef int /*<<< orphan*/ WINDOW;

/* Variables and functions */
int /*<<< orphan*/ mvwaddstr(int /*<<< orphan*/ *, int, int, char *);
void legs2(WINDOW *win) {
  mvwaddstr(win, 6, 7, "(( )____( /");
  mvwaddstr(win, 7, 7, "( /      |");
  mvwaddstr(win, 8, 8, "\\/      |");
  mvwaddstr(win, 9, 9, "|>     |>");
}


x86 assembly (clang, -O0):
<legs2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x6,%esi
mov    $0x7,%edx
lea    0xecf(%rip),%rcx
call   1030 <mvwaddstr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7,%edx
lea    0xec6(%rip),%rcx
mov    %edx,%esi
call   1030 <mvwaddstr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x8,%edx
lea    0xeba(%rip),%rcx
mov    %edx,%esi
call   1030 <mvwaddstr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x9,%edx
lea    0xead(%rip),%rcx
mov    %edx,%esi
call   1030 <mvwaddstr@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<legs2>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rcx
mov    $0x6,%esi
mov    $0x7,%edx
call   1030 <mvwaddstr@plt>
lea    0xedb(%rip),%rcx
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x7,%edx
call   1030 <mvwaddstr@plt>
lea    0xecd(%rip),%rcx
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x8,%edx
call   1030 <mvwaddstr@plt>
lea    0xebe(%rip),%rcx
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x9,%edx
pop    %rbx
jmp    1030 <mvwaddstr@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"(( )____( /\00"
@.str.1 = [11 x i8] c"( / |\00"
@.str.2 = [10 x i8] c"\\/ |\00"
@.str.3 = [10 x i8] c"|> |>\00"
define void @legs2(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @mvwaddstr(i32* %3, i32 6, i32 7, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%5 = load i32*, i32** %2
%6 = call i32 @mvwaddstr(i32* %5, i32 7, i32 7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32*, i32** %2
%8 = call i32 @mvwaddstr(i32* %7, i32 8, i32 8, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32*, i32** %2
%10 = call i32 @mvwaddstr(i32* %9, i32 9, i32 9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"(( )____( /\00"
@.str.1 = [11 x i8] c"( / |\00"
@.str.2 = [10 x i8] c"\\/ |\00"
@.str.3 = [10 x i8] c"|> |>\00"
define void @legs2(i32* %0) {
%2 = tail call i32 @mvwaddstr(i32* %0, i32 6, i32 7, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @mvwaddstr(i32* %0, i32 7, i32 7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @mvwaddstr(i32* %0, i32 8, i32 8, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @mvwaddstr(i32* %0, i32 9, i32 9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
ret void
}