#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*/ delay_ms(int);
int /*<<< orphan*/ fill(int /*<<< orphan*/);
int /*<<< orphan*/ rolldisplay(int);
int /*<<< orphan*/ trailler(int);
int /*<<< orphan*/ type(int, int);
void flash_1() {
  fill(0);
  type(1, 0);
  delay_ms(300);
  type(2, 0);
  delay_ms(300);
  type(3, 0);
  delay_ms(300);
  type(4, 0);
  delay_ms(300);
  delay_ms(300);
  fill(0);
  rolldisplay(150);
  type(0, 7);
  delay_ms(300);
  trailler(30);
  delay_ms(300);
}


x86 assembly (clang, -O0):
<flash_1>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
call   1050 <fill@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x3,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x4,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
xor    %edi,%edi
call   1050 <fill@plt>
mov    $0x96,%edi
call   1030 <rolldisplay@plt>
xor    %edi,%edi
mov    $0x7,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x1e,%edi
call   1070 <trailler@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<flash_1>:
push   %rax
xor    %edi,%edi
call   1050 <fill@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x3,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x4,%edi
xor    %esi,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
xor    %edi,%edi
call   1050 <fill@plt>
mov    $0x96,%edi
call   1030 <rolldisplay@plt>
xor    %edi,%edi
mov    $0x7,%esi
call   1040 <type@plt>
mov    $0x12c,%edi
call   1060 <delay_ms@plt>
mov    $0x1e,%edi
call   1070 <trailler@plt>
mov    $0x12c,%edi
pop    %rax
jmp    1060 <delay_ms@plt>

LLVM IR (-O0):
define void @flash_1() {
%1 = call i32 @fill(i32 0)
%2 = call i32 @type(i32 1, i32 0)
%3 = call i32 @delay_ms(i32 300)
%4 = call i32 @type(i32 2, i32 0)
%5 = call i32 @delay_ms(i32 300)
%6 = call i32 @type(i32 3, i32 0)
%7 = call i32 @delay_ms(i32 300)
%8 = call i32 @type(i32 4, i32 0)
%9 = call i32 @delay_ms(i32 300)
%10 = call i32 @delay_ms(i32 300)
%11 = call i32 @fill(i32 0)
%12 = call i32 @rolldisplay(i32 150)
%13 = call i32 @type(i32 0, i32 7)
%14 = call i32 @delay_ms(i32 300)
%15 = call i32 @trailler(i32 30)
%16 = call i32 @delay_ms(i32 300)
ret void
}

LLVM IR (-O2):
define void @flash_1() {
%1 = tail call i32 @fill(i32 0)
%2 = tail call i32 @type(i32 1, i32 0)
%3 = tail call i32 @delay_ms(i32 300)
%4 = tail call i32 @type(i32 2, i32 0)
%5 = tail call i32 @delay_ms(i32 300)
%6 = tail call i32 @type(i32 3, i32 0)
%7 = tail call i32 @delay_ms(i32 300)
%8 = tail call i32 @type(i32 4, i32 0)
%9 = tail call i32 @delay_ms(i32 300)
%10 = tail call i32 @delay_ms(i32 300)
%11 = tail call i32 @fill(i32 0)
%12 = tail call i32 @rolldisplay(i32 150)
%13 = tail call i32 @type(i32 0, i32 7)
%14 = tail call i32 @delay_ms(i32 300)
%15 = tail call i32 @trailler(i32 30)
%16 = tail call i32 @delay_ms(i32 300)
ret void
}