#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*/ clear();
int /*<<< orphan*/ print_string(char *);
int /*<<< orphan*/ usleep(int);
void random_stuff(void) {
  clear();
  print_string("#45 11456 11009 11893 11972 11315\nPRT CON. 3.4.5. SECTRAN "
               "9.4.3. PORT STAT: SD-345\n\n(311) 699-7305\n");
  clear();
  print_string("\n\n\n\n\n\n\n");
  print_string(
      "(311) 767-8739\n(311) 936-2364\n- PRT. STAT. CRT. "
      "DEF.\n||||||||||||||=================================================="
      "\nFSKDJLSD: SDSDKJ: SBFJSL: DKSJL: SKFJJ: SDKFJLJ:\nSYSPROC FUNCT READY "
      "ALT NET READY\nCPU AUTH RY-345-AX3 SYSCOMP STATUS ALL PORTS "
      "ACTIVE\n22/34534.90/3209 11CVB-3904-3490\n(311) 935-2364\n");
  usleep(100000);
  clear();
}


x86 assembly (clang, -O0):
<random_stuff>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <clear@plt>
lea    0xebe(%rip),%rdi
call   1030 <print_string@plt>
mov    $0x0,%al
call   1040 <clear@plt>
lea    0xf0f(%rip),%rdi
call   1030 <print_string@plt>
lea    0xf0b(%rip),%rdi
call   1030 <print_string@plt>
mov    $0x186a0,%edi
call   1050 <usleep@plt>
mov    $0x0,%al
call   1040 <clear@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<random_stuff>:
push   %rax
xor    %eax,%eax
call   1040 <clear@plt>
lea    0xec1(%rip),%rdi
call   1030 <print_string@plt>
xor    %eax,%eax
call   1040 <clear@plt>
lea    0xf12(%rip),%rdi
call   1030 <print_string@plt>
lea    0xf0e(%rip),%rdi
call   1030 <print_string@plt>
mov    $0x186a0,%edi
call   1050 <usleep@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <clear@plt>

LLVM IR (-O0):
@.str = [100 x i8] c" 11456 11009 11893 11972 11315\0APRT CON. 3.4.5. SECTRAN 9.4.3. PORT STAT: SD-345\0A\0A(311) 699-7305\0A\00"
@.str.1 = [8 x i8] c"\0A\0A\0A\0A\0A\0A\0A\00"
@.str.2 = [302 x i8] c"(311) 767-8739\0A(311) 936-2364\0A- PRT. STAT. CRT. DEF.\0A||||||||||||||==================================================\0AFSKDJLSD: SDSDKJ: SBFJSL: DKSJL: SKFJJ: SDKFJLJ:\0ASYSPROC FUNCT READY ALT NET READY\0ACPU AUTH RY-345-AX3 SYSCOMP STATUS ALL PORTS ACTIVE\0A22/34534.90/3209 11CVB-3904-3490\0A(311) 935-2364\0A\00"
define void @random_stuff() {
%1 = call i32 (...) @clear()
%2 = call i32 @print_string(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @clear()
%4 = call i32 @print_string(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @print_string(i8* getelementptr inbounds ([302 x i8], [302 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @usleep(i32 100000)
%7 = call i32 (...) @clear()
ret void
}

LLVM IR (-O2):
@.str = [100 x i8] c" 11456 11009 11893 11972 11315\0APRT CON. 3.4.5. SECTRAN 9.4.3. PORT STAT: SD-345\0A\0A(311) 699-7305\0A\00"
@.str.1 = [8 x i8] c"\0A\0A\0A\0A\0A\0A\0A\00"
@.str.2 = [302 x i8] c"(311) 767-8739\0A(311) 936-2364\0A- PRT. STAT. CRT. DEF.\0A||||||||||||||==================================================\0AFSKDJLSD: SDSDKJ: SBFJSL: DKSJL: SKFJJ: SDKFJLJ:\0ASYSPROC FUNCT READY ALT NET READY\0ACPU AUTH RY-345-AX3 SYSCOMP STATUS ALL PORTS ACTIVE\0A22/34534.90/3209 11CVB-3904-3490\0A(311) 935-2364\0A\00"
define void @random_stuff() {
%1 = tail call i32 (...) @clear()
%2 = tail call i32 @print_string(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 (...) @clear()
%4 = tail call i32 @print_string(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @print_string(i8* getelementptr inbounds ([302 x i8], [302 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @usleep(i32 100000)
%7 = tail call i32 (...) @clear()
ret void
}