#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*/ map2str(int const, char *);
int /*<<< orphan*/ printLine7(char const *, char *, char *, char *, char *,
                              char const *, char const *);
void printLine7i(const char *begin, const int content0, const int content1,
                 const int content2, const int content3, const char *border,
                 const char *end) {
  char bufferPerBlock0[7] = "";
  map2str(content0, bufferPerBlock0);
  char bufferPerBlock1[7] = "";
  map2str(content1, bufferPerBlock1);
  char bufferPerBlock2[7] = "";
  map2str(content2, bufferPerBlock2);
  char bufferPerBlock3[7] = "";
  map2str(content3, bufferPerBlock3);
  printLine7(begin, bufferPerBlock0, bufferPerBlock1, bufferPerBlock2,
             bufferPerBlock3, border, end);
}


x86 assembly (clang, -O0):
<printLine7i>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9,-0x20(%rbp)
lea    -0x27(%rbp),%rdi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <memset@plt>
mov    -0xc(%rbp),%edi
lea    -0x27(%rbp),%rsi
call   1030 <map2str@plt>
lea    -0x2e(%rbp),%rdi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <memset@plt>
mov    -0x10(%rbp),%edi
lea    -0x2e(%rbp),%rsi
call   1030 <map2str@plt>
lea    -0x35(%rbp),%rdi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <memset@plt>
mov    -0x14(%rbp),%edi
lea    -0x35(%rbp),%rsi
call   1030 <map2str@plt>
lea    -0x3c(%rbp),%rdi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <memset@plt>
mov    -0x18(%rbp),%edi
lea    -0x3c(%rbp),%rsi
call   1030 <map2str@plt>
mov    -0x8(%rbp),%rdi
lea    -0x27(%rbp),%rsi
lea    -0x2e(%rbp),%rdx
lea    -0x35(%rbp),%rcx
lea    -0x3c(%rbp),%r8
mov    -0x20(%rbp),%r9
mov    0x10(%rbp),%rax
mov    %rax,(%rsp)
call   1050 <printLine7@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printLine7i>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r9,%r14
mov    %r8d,%r13d
mov    %ecx,%ebx
mov    %edx,%ebp
mov    %esi,%eax
mov    %rdi,%r12
movl   $0x0,0xb(%rsp)
movl   $0x0,0x8(%rsp)
lea    0x8(%rsp),%rsi
mov    %eax,%edi
call   1030 <map2str@plt>
movl   $0x0,0x23(%rsp)
movl   $0x0,0x20(%rsp)
lea    0x20(%rsp),%r15
mov    %ebp,%edi
mov    %r15,%rsi
call   1030 <map2str@plt>
movl   $0x0,0x1b(%rsp)
movl   $0x0,0x18(%rsp)
lea    0x18(%rsp),%rbp
mov    %ebx,%edi
mov    %rbp,%rsi
call   1030 <map2str@plt>
movl   $0x0,0x13(%rsp)
movl   $0x0,0x10(%rsp)
lea    0x10(%rsp),%rbx
mov    %r13d,%edi
mov    %rbx,%rsi
call   1030 <map2str@plt>
mov    0x60(%rsp),%rax
mov    %rax,(%rsp)
mov    %r12,%rdi
lea    0x8(%rsp),%rsi
mov    %r15,%rdx
mov    %rbp,%rcx
mov    %rbx,%r8
mov    %r14,%r9
call   1040 <printLine7@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @printLine7i(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i8* %5, i8* %6) {
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca [7 x i8]
%16 = alloca [7 x i8]
%17 = alloca [7 x i8]
%18 = alloca [7 x i8]
store i8* %0, i8** %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store i32 %3, i32* %11
store i32 %4, i32* %12
store i8* %5, i8** %13
store i8* %6, i8** %14
%19 = bitcast [7 x i8]* %15 to i8*
%20 = load i32, i32* %9
%21 = getelementptr inbounds [7 x i8], [7 x i8]* %15, i64 0, i64 0
%22 = call i32 @map2str(i32 %20, i8* %21)
%23 = bitcast [7 x i8]* %16 to i8*
%24 = load i32, i32* %10
%25 = getelementptr inbounds [7 x i8], [7 x i8]* %16, i64 0, i64 0
%26 = call i32 @map2str(i32 %24, i8* %25)
%27 = bitcast [7 x i8]* %17 to i8*
%28 = load i32, i32* %11
%29 = getelementptr inbounds [7 x i8], [7 x i8]* %17, i64 0, i64 0
%30 = call i32 @map2str(i32 %28, i8* %29)
%31 = bitcast [7 x i8]* %18 to i8*
%32 = load i32, i32* %12
%33 = getelementptr inbounds [7 x i8], [7 x i8]* %18, i64 0, i64 0
%34 = call i32 @map2str(i32 %32, i8* %33)
%35 = load i8*, i8** %8
%36 = getelementptr inbounds [7 x i8], [7 x i8]* %15, i64 0, i64 0
%37 = getelementptr inbounds [7 x i8], [7 x i8]* %16, i64 0, i64 0
%38 = getelementptr inbounds [7 x i8], [7 x i8]* %17, i64 0, i64 0
%39 = getelementptr inbounds [7 x i8], [7 x i8]* %18, i64 0, i64 0
%40 = load i8*, i8** %13
%41 = load i8*, i8** %14
%42 = call i32 @printLine7(i8* %35, i8* %36, i8* %37, i8* %38, i8* %39, i8* %40, i8* %41)
ret void
}

LLVM IR (-O2):
define void @printLine7i(i8* %0, i32 %1, i32 %2, i32 %3, i32 %4, i8* %5, i8* %6) {
%8 = alloca [7 x i8]
%9 = alloca [7 x i8]
%10 = alloca [7 x i8]
%11 = alloca [7 x i8]
%12 = getelementptr inbounds [7 x i8], [7 x i8]* %8, i64 0, i64 0
%13 = call i32 @map2str(i32 %1, i8* %12)
%14 = getelementptr inbounds [7 x i8], [7 x i8]* %9, i64 0, i64 0
%15 = call i32 @map2str(i32 %2, i8* %14)
%16 = getelementptr inbounds [7 x i8], [7 x i8]* %10, i64 0, i64 0
%17 = call i32 @map2str(i32 %3, i8* %16)
%18 = getelementptr inbounds [7 x i8], [7 x i8]* %11, i64 0, i64 0
%19 = call i32 @map2str(i32 %4, i8* %18)
%20 = call i32 @printLine7(i8* %0, i8* %12, i8* %14, i8* %16, i8* %18, i8* %5, i8* %6)
ret void
}