#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*/ fprintf(int /*<<< orphan*/, char *, char *, char *);
int /*<<< orphan*/ stdout;
void display_verbose(char *data[], char *data_names[]) {
  int i = 0;
  for (i = 0; i < 17; i++)
    (fprintf(stdout,
             "\x1B[1;31m"
             ":: "
             "\x1B[0m"
             "%s%s\n",
             data_names[i], data[i]));
  return;
}


x86 assembly (clang, -O0):
<display_verbose>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x11,-0x14(%rbp)
jge    1173 <display_verbose+0x63>
mov    0x2ea1(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xea0(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    112e <display_verbose+0x1e>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_verbose>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rsi,%r14
mov    %rdi,%r12
xor    %ebx,%ebx
mov    0x2eb8(%rip),%r13
lea    0xed1(%rip),%r15
nop
mov    0x0(%r13),%edi
mov    (%r14,%rbx,8),%rdx
mov    (%r12,%rbx,8),%rcx
mov    %r15,%rsi
call   1030 <fprintf@plt>
add    $0x1,%rbx
cmp    $0x11,%rbx
jne    1130 <display_verbose+0x20>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@stdout = global i32 0
@.str = [20 x i8] c"\1B[1;31m:: \1B[0m%s%s\0A\00"
define void @display_verbose(i8** %0, i8** %1) {
%3 = alloca i8**
%4 = alloca i8**
%5 = alloca i32
store i8** %0, i8*** %3
store i8** %1, i8*** %4
store i32 0, i32* %5
store i32 0, i32* %5
br label %6
6: ; preds = %22, %2
%7 = load i32, i32* %5
%8 = icmp slt i32 %7, 17
br i1 %8, label %9, label %25
9: ; preds = %6
%10 = load i32, i32* @stdout
%11 = load i8**, i8*** %4
%12 = load i32, i32* %5
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8*, i8** %11, i64 %13
%15 = load i8*, i8** %14
%16 = load i8**, i8*** %3
%17 = load i32, i32* %5
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8*, i8** %16, i64 %18
%20 = load i8*, i8** %19
%21 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %15, i8* %20)
br label %22
22: ; preds = %9
%23 = load i32, i32* %5
%24 = add nsw i32 %23, 1
store i32 %24, i32* %5
br label %6
25: ; preds = %6
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [20 x i8] c"\1B[1;31m:: \1B[0m%s%s\0A\00"
define void @display_verbose(i8** nocapture %0, i8** nocapture %1) {
br label %3
3: ; preds = %2, %3
%4 = phi i64 [ 0, %2 ], [ %11, %3 ]
%5 = load i32, i32* @stdout
%6 = getelementptr inbounds i8*, i8** %1, i64 %4
%7 = load i8*, i8** %6
%8 = getelementptr inbounds i8*, i8** %0, i64 %4
%9 = load i8*, i8** %8
%10 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %7, i8* %9)
%11 = add nuw nsw i64 %4, 1
%12 = icmp eq i64 %11, 17
br i1 %12, label %13, label %3
13: ; preds = %3
ret void
}