#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*/ get_real_user_name(char *, char *, char *);
int /*<<< orphan*/ get_user_message(int, char **, char *, char *);
int /*<<< orphan*/ printf(char *, char *);
int main(int argc, char *argv[]) {
  char user_src[(512)];
  char user_real[(512) + (16 + 1)];
  char radius[(16 + 1)];
  get_user_message(argc, argv, user_src, radius);
  get_real_user_name(user_src, radius, user_real);
  printf("%s\n", user_real);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x450,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0x210(%rbp),%rdx
lea    -0x450(%rbp),%rcx
call   1030 <get_user_message@plt>
lea    -0x210(%rbp),%rdi
lea    -0x450(%rbp),%rsi
lea    -0x430(%rbp),%rdx
call   1050 <get_real_user_name@plt>
lea    -0x430(%rbp),%rsi
lea    0xe75(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x450,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x440,%rsp
lea    0x20(%rsp),%r15
mov    %rsp,%r14
mov    %r15,%rdx
mov    %r14,%rcx
call   1030 <get_user_message@plt>
lea    0x220(%rsp),%rbx
mov    %r15,%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
call   1050 <get_real_user_name@plt>
lea    0xe94(%rip),%rdi
mov    %rbx,%rsi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x440,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [512 x i8]
%7 = alloca [529 x i8]
%8 = alloca [17 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = load i32, i32* %4
%10 = load i8**, i8*** %5
%11 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%12 = getelementptr inbounds [17 x i8], [17 x i8]* %8, i64 0, i64 0
%13 = call i32 @get_user_message(i32 %9, i8** %10, i8* %11, i8* %12)
%14 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%15 = getelementptr inbounds [17 x i8], [17 x i8]* %8, i64 0, i64 0
%16 = getelementptr inbounds [529 x i8], [529 x i8]* %7, i64 0, i64 0
%17 = call i32 @get_real_user_name(i8* %14, i8* %15, i8* %16)
%18 = getelementptr inbounds [529 x i8], [529 x i8]* %7, i64 0, i64 0
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %18)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [512 x i8]
%4 = alloca [529 x i8]
%5 = alloca [17 x i8]
%6 = getelementptr inbounds [512 x i8], [512 x i8]* %3, i64 0, i64 0
%7 = getelementptr inbounds [529 x i8], [529 x i8]* %4, i64 0, i64 0
%8 = getelementptr inbounds [17 x i8], [17 x i8]* %5, i64 0, i64 0
%9 = call i32 @get_user_message(i32 %0, i8** %1, i8* %6, i8* %8)
%10 = call i32 @get_real_user_name(i8* %6, i8* %8, i8* %7)
%11 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %7)
ret i32 0
}