#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*/ flusha();
int /*<<< orphan*/ ok(char *);
int /*<<< orphan*/ printf(char *);
int do_capa() {
  ok("These are my limits, Sir");
  printf("TOP\r\n");
  printf("USER\r\n");
  printf("LOGIN-DELAY 600\r\n");
  printf("EXPIRE NEVER\r\n");
  printf("IMPLEMENTATION OverLoadPop-1\r\n");
  printf(".\r\n");
  flusha();
}


x86 assembly (clang, -O0):
<do_capa>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xec1(%rip),%rdi
call   1030 <ok@plt>
lea    0xece(%rip),%rdi
call   1050 <printf@plt>
lea    0xec8(%rip),%rdi
call   1050 <printf@plt>
lea    0xec3(%rip),%rdi
call   1050 <printf@plt>
lea    0xec9(%rip),%rdi
call   1050 <printf@plt>
lea    0xecc(%rip),%rdi
call   1050 <printf@plt>
lea    0xedf(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <flusha@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<do_capa>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <ok@plt>
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0xece(%rip),%rdi
call   1030 <puts@plt>
lea    0xec8(%rip),%rdi
call   1030 <puts@plt>
lea    0xecd(%rip),%rdi
call   1030 <puts@plt>
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
lea    0xee1(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <flusha@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"These are my limits, Sir\00"
@.str.1 = [6 x i8] c"TOP\0D\0A\00"
@.str.2 = [7 x i8] c"USER\0D\0A\00"
@.str.3 = [18 x i8] c"LOGIN-DELAY 600\0D\0A\00"
@.str.4 = [15 x i8] c"EXPIRE NEVER\0D\0A\00"
@.str.5 = [31 x i8] c"IMPLEMENTATION OverLoadPop-1\0D\0A\00"
@.str.6 = [4 x i8] c".\0D\0A\00"
define i32 @do_capa() {
%1 = alloca i32
%2 = call i32 @ok(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 (...) @flusha()
%10 = load i32, i32* %1
ret i32 %10
}

LLVM IR (-O2):
@.str = [25 x i8] c"These are my limits, Sir\00"
@str = [5 x i8] c"TOP\0D\00"
@str.7 = [6 x i8] c"USER\0D\00"
@str.8 = [17 x i8] c"LOGIN-DELAY 600\0D\00"
@str.9 = [14 x i8] c"EXPIRE NEVER\0D\00"
@str.10 = [30 x i8] c"IMPLEMENTATION OverLoadPop-1\0D\00"
@str.11 = [3 x i8] c".\0D\00"
define i32 @do_capa() {
%1 = tail call i32 @ok(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.7, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.8, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.9, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.10, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.11, i64 0, i64 0))
%8 = tail call i32 (...) @flusha()
ret i32 undef
}