#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_results(int rush, int l, int c) {
  ft_putstr("[rush-0");
  ft_putnbr(rush);
  ft_putstr("] [");
  ft_putnbr(l);
  ft_putstr("] [");
  ft_putnbr(c);
  ft_putstr("]");
}


x86 assembly (clang, -O0):
<print_results>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
lea    0xec8(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0x4(%rbp),%edi
call   1030 <ft_putnbr@plt>
lea    0xebc(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0x8(%rbp),%edi
call   1030 <ft_putnbr@plt>
lea    0xea8(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    -0xc(%rbp),%edi
call   1030 <ft_putnbr@plt>
lea    0xe98(%rip),%rdi
call   1040 <ft_putstr@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_results>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%r14d
mov    %esi,%ebp
mov    %edi,%ebx
lea    0xece(%rip),%rdi
call   1040 <ft_putstr@plt>
mov    %ebx,%edi
call   1030 <ft_putnbr@plt>
lea    0xec3(%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    0xea1(%rip),%rdi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1040 <ft_putstr@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"[rush-0\00"
@.str.1 = [4 x i8] c"] [\00"
@.str.2 = [2 x i8] c"]\00"
define void @print_results(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%7 = call i32 @ft_putstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %4
%9 = call i32 @ft_putnbr(i32 %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 = [8 x i8] c"[rush-0\00"
@.str.1 = [4 x i8] c"] [\00"
@.str.2 = [2 x i8] c"]\00"
define void @print_results(i32 %0, i32 %1, i32 %2) {
%4 = tail call i32 @ft_putstr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @ft_putnbr(i32 %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
}