#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*/ ft_putnbr(int);
int /*<<< orphan*/ ft_putstr(char *);
void print_bonus(char *message, int l, int c) {
  ft_putstr(" || [");
  ft_putstr(message);
  ft_putstr("] [");
  ft_putnbr(l);
  ft_putstr("] [");
  ft_putnbr(c);
  ft_putstr("]");
}


x86 assembly (clang, -O0):
<print_bonus>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
lea    0xec7(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0x8(%rbp),%rdi
call   1040 <ft_putstr@plt>
lea    0xeb8(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0xc(%rbp),%edi
call   1030 <ft_putnbr@plt>
lea    0xea4(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0x10(%rbp),%edi
call   1030 <ft_putnbr@plt>
lea    0xe94(%rip),%rdi
call   1040 <ft_putstr@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_bonus>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%r14d
mov    %esi,%ebp
mov    %rdi,%rbx
lea    0xecd(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    %rbx,%rdi
call   1040 <ft_putstr@plt>
lea    0xebf(%rip),%rbx
mov    %rbx,%rdi
call   1040 <ft_putstr@plt>
mov    %ebp,%edi
call   1030 <ft_putnbr@plt>
mov    %rbx,%rdi
call   1040 <ft_putstr@plt>
mov    %r14d,%edi
call   1030 <ft_putnbr@plt>
lea    0xe9d(%rip),%rdi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1040 <ft_putstr@plt>

LLVM IR (-O0):
@.str = [6 x i8] c" || [\00"
@.str.1 = [4 x i8] c"] [\00"
@.str.2 = [2 x i8] c"]\00"
define void @print_bonus(i8* %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
store i8* %0, i8** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%7 = call i32 @ft_putstr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%8 = load i8*, i8** %4
%9 = call i32 @ft_putstr(i8* %8)
%10 = call i32 @ft_putstr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%11 = load i32, i32* %5
%12 = call i32 @ft_putnbr(i32 %11)
%13 = call i32 @ft_putstr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* %6
%15 = call i32 @ft_putnbr(i32 %14)
%16 = call i32 @ft_putstr(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret void
}

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