#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*/ kill_time(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ self_reception_request();
void self_reception_test() {
  unsigned char r_val;
  printf("Switch on Reset Mode\n");
  *((unsigned char *)(0xfffc0000)) = 0x01;
  printf("control 0x%X \n\n", *((unsigned char *)(0xfffc0000)));
  *((unsigned char *)(0xfffc001F)) = 0x80;
  printf("clock_divider 0x%X \n\n", *((unsigned char *)(0xfffc001F)));
  *((unsigned char *)(0xfffc0006)) = 0x80;
  *((unsigned char *)(0xfffc0007)) = 0x34;
  *((unsigned char *)(0xfffc0010)) = 0xA6;
  printf("acceptance 0 0x%X \n", *((unsigned char *)(0xfffc0010)));
  *((unsigned char *)(0xfffc0011)) = 0xB0;
  printf("acceptance 1 0x%X \n", *((unsigned char *)(0xfffc0011)));
  *((unsigned char *)(0xfffc0012)) = 0x12;
  printf("acceptance 2 0x%X \n", *((unsigned char *)(0xfffc0012)));
  *((unsigned char *)(0xfffc0013)) = 0x30;
  printf("acceptance 3 0x%X \n\n", *((unsigned char *)(0xfffc0013)));
  *((unsigned char *)(0xfffc0014)) = 0x00;
  printf("acceptance mask 0x%X \n", *((unsigned char *)(0xfffc0014)));
  *((unsigned char *)(0xfffc0015)) = 0x00;
  printf("acceptance mask 0x%X \n", *((unsigned char *)(0xfffc0015)));
  *((unsigned char *)(0xfffc0016)) = 0x00;
  printf("acceptance mask 0x%X \n", *((unsigned char *)(0xfffc0016)));
  *((unsigned char *)(0xfffc0017)) = 0x00;
  printf("acceptance mask 0x%X \n\n", *((unsigned char *)(0xfffc0017)));
  *((unsigned char *)(0xfffc0000)) = 0x05;
  printf("control 0x%X \n\n", *((unsigned char *)(0xfffc0000)));
  kill_time(50);
  *((unsigned char *)(0xfffc0000)) = 0X04;
  printf("control_register 0x%X \n\n", *((unsigned char *)(0xfffc0000)));
  kill_time(150);
  *((unsigned char *)(0xfffc0010)) = 0x88;
  printf("Set identifier - 0xA6 0xB0 0x12 0x30\n");
  *((unsigned char *)(0xfffc0011)) = 0xA6;
  *((unsigned char *)(0xfffc0012)) = 0xB0;
  *((unsigned char *)(0xfffc0013)) = 0x12;
  *((unsigned char *)(0xfffc0014)) = 0x30;
  printf("Set data - 0x12 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0\n");
  *((unsigned char *)(0xfffc0015)) = 0x12;
  *((unsigned char *)(0xfffc0016)) = 0x34;
  *((unsigned char *)(0xfffc0017)) = 0x56;
  *((unsigned char *)(0xfffc0018)) = 0x78;
  *((unsigned char *)(0xfffc0019)) = 0x9A;
  *((unsigned char *)(0xfffc001A)) = 0xBC;
  *((unsigned char *)(0xfffc001B)) = 0xDE;
  *((unsigned char *)(0xfffc001C)) = 0xF0;
  *((unsigned char *)(0xfffc0004)) = 0xFF;
  kill_time(50);
  self_reception_request();
  printf("Finnished \n");
  printf("control_register 0x%X \n\n", *((unsigned char *)(0xfffc0000)));
  printf("interrupt_register 0x%X \n\n", *((unsigned char *)(0xfffc0003)));
  printf("control_register 0x%X \n\n", *((unsigned char *)(0xfffc0000)));
}


x86 assembly (clang, -O0):
<self_reception_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0000,%eax
movb   $0x1,(%rax)
mov    $0xfffc0000,%eax
movzbl (%rax),%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc001f,%eax
movb   $0x80,(%rax)
mov    $0xfffc001f,%eax
movzbl (%rax),%esi
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0006,%eax
movb   $0x80,(%rax)
mov    $0xfffc0007,%eax
movb   $0x34,(%rax)
mov    $0xfffc0010,%eax
movb   $0xa6,(%rax)
mov    $0xfffc0010,%eax
movzbl (%rax),%esi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0011,%eax
movb   $0xb0,(%rax)
mov    $0xfffc0011,%eax
movzbl (%rax),%esi
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0012,%eax
movb   $0x12,(%rax)
mov    $0xfffc0012,%eax
movzbl (%rax),%esi
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0013,%eax
movb   $0x30,(%rax)
mov    $0xfffc0013,%eax
movzbl (%rax),%esi
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0014,%eax
movb   $0x0,(%rax)
mov    $0xfffc0014,%eax
movzbl (%rax),%esi
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0015,%eax
movb   $0x0,(%rax)
mov    $0xfffc0015,%eax
movzbl (%rax),%esi
lea    0xe4e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0016,%eax
movb   $0x0,(%rax)
mov    $0xfffc0016,%eax
movzbl (%rax),%esi
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0017,%eax
movb   $0x0,(%rax)
mov    $0xfffc0017,%eax
movzbl (%rax),%esi
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0000,%eax
movb   $0x5,(%rax)
mov    $0xfffc0000,%eax
movzbl (%rax),%esi
lea    0xd7d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x32,%edi
call   1030 <kill_time@plt>
mov    $0xfffc0000,%eax
movb   $0x4,(%rax)
mov    $0xfffc0000,%eax
movzbl (%rax),%esi
lea    0xdfb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x96,%edi
call   1030 <kill_time@plt>
mov    $0xfffc0010,%eax
movb   $0x88,(%rax)
lea    0xdf4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0011,%eax
movb   $0xa6,(%rax)
mov    $0xfffc0012,%eax
movb   $0xb0,(%rax)
mov    $0xfffc0013,%eax
movb   $0x12,(%rax)
mov    $0xfffc0014,%eax
movb   $0x30,(%rax)
lea    0xdec(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0015,%eax
movb   $0x12,(%rax)
mov    $0xfffc0016,%eax
movb   $0x34,(%rax)
mov    $0xfffc0017,%eax
movb   $0x56,(%rax)
mov    $0xfffc0018,%eax
movb   $0x78,(%rax)
mov    $0xfffc0019,%eax
movb   $0x9a,(%rax)
mov    $0xfffc001a,%eax
movb   $0xbc,(%rax)
mov    $0xfffc001b,%eax
movb   $0xde,(%rax)
mov    $0xfffc001c,%eax
movb   $0xf0,(%rax)
mov    $0xfffc0004,%eax
movb   $0xff,(%rax)
mov    $0x32,%edi
call   1030 <kill_time@plt>
mov    $0x0,%al
call   1050 <self_reception_request@plt>
lea    0xdb9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0000,%eax
movzbl (%rax),%esi
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0003,%eax
movzbl (%rax),%esi
lea    0xd99(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfffc0000,%eax
movzbl (%rax),%esi
lea    0xd04(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<self_reception_test>:
push   %r15
push   %r14
push   %rbx
lea    0xf8e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xfffc0000,%ebx
movb   $0x1,(%rbx)
lea    0xea0(%rip),%r14
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x80,0x1f(%rbx)
lea    0xe96(%rip),%rdi
mov    $0x80,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movw   $0x3480,0x6(%rbx)
movb   $0xa6,0x10(%rbx)
lea    0xe8f(%rip),%rdi
mov    $0xa6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0xb0,0x11(%rbx)
lea    0xe8c(%rip),%rdi
mov    $0xb0,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x12,0x12(%rbx)
lea    0xe89(%rip),%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x30,0x13(%rbx)
lea    0xe86(%rip),%rdi
mov    $0x30,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x14(%rbx)
lea    0xe84(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x15(%rbx)
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x16(%rbx)
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x17(%rbx)
lea    0xe64(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x5,(%rbx)
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x32,%edi
call   1030 <kill_time@plt>
movb   $0x4,(%rbx)
lea    0xe4d(%rip),%r14
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x96,%edi
call   1030 <kill_time@plt>
movb   $0x88,0x10(%rbx)
lea    0xe72(%rip),%rdi
call   1040 <puts@plt>
movl   $0x3012b0a6,0x11(%rbx)
lea    0xe84(%rip),%rdi
call   1040 <puts@plt>
movabs $0xf0debc9a78563412,%rax
bc de f0
mov    %rax,0x15(%rbx)
movb   $0xff,0x4(%rbx)
mov    $0x32,%edi
call   1030 <kill_time@plt>
xor    %eax,%eax
call   1060 <self_reception_request@plt>
lea    0xe88(%rip),%rdi
call   1040 <puts@plt>
movzbl (%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x3(%rbx),%esi
lea    0xde3(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl (%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [22 x i8] c"Switch on Reset Mode\0A\00"
@.str.1 = [16 x i8] c"control 0x%X \0A\0A\00"
@.str.2 = [22 x i8] c"clock_divider 0x%X \0A\0A\00"
@.str.3 = [20 x i8] c"acceptance 0 0x%X \0A\00"
@.str.4 = [20 x i8] c"acceptance 1 0x%X \0A\00"
@.str.5 = [20 x i8] c"acceptance 2 0x%X \0A\00"
@.str.6 = [21 x i8] c"acceptance 3 0x%X \0A\0A\00"
@.str.7 = [23 x i8] c"acceptance mask 0x%X \0A\00"
@.str.8 = [24 x i8] c"acceptance mask 0x%X \0A\0A\00"
@.str.9 = [25 x i8] c"control_register 0x%X \0A\0A\00"
@.str.10 = [38 x i8] c"Set identifier - 0xA6 0xB0 0x12 0x30\0A\00"
@.str.11 = [52 x i8] c"Set data - 0x12 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0\0A\00"
@.str.12 = [12 x i8] c"Finnished \0A\00"
@.str.13 = [27 x i8] c"interrupt_register 0x%X \0A\0A\00"
define void @self_reception_test() {
%1 = alloca i8
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
store i8 1, i8* inttoptr (i64 4294705152 to i8*)
%3 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%4 = zext i8 %3 to i32
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %4)
store i8 -128, i8* inttoptr (i64 4294705183 to i8*)
%6 = load i8, i8* inttoptr (i64 4294705183 to i8*)
%7 = zext i8 %6 to i32
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %7)
store i8 -128, i8* inttoptr (i64 4294705158 to i8*)
store i8 52, i8* inttoptr (i64 4294705159 to i8*)
store i8 -90, i8* inttoptr (i64 4294705168 to i8*)
%9 = load i8, i8* inttoptr (i64 4294705168 to i8*)
%10 = zext i8 %9 to i32
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %10)
store i8 -80, i8* inttoptr (i64 4294705169 to i8*)
%12 = load i8, i8* inttoptr (i64 4294705169 to i8*)
%13 = zext i8 %12 to i32
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %13)
store i8 18, i8* inttoptr (i64 4294705170 to i8*)
%15 = load i8, i8* inttoptr (i64 4294705170 to i8*)
%16 = zext i8 %15 to i32
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %16)
store i8 48, i8* inttoptr (i64 4294705171 to i8*)
%18 = load i8, i8* inttoptr (i64 4294705171 to i8*)
%19 = zext i8 %18 to i32
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 %19)
store i8 0, i8* inttoptr (i64 4294705172 to i8*)
%21 = load i8, i8* inttoptr (i64 4294705172 to i8*)
%22 = zext i8 %21 to i32
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %22)
store i8 0, i8* inttoptr (i64 4294705173 to i8*)
%24 = load i8, i8* inttoptr (i64 4294705173 to i8*)
%25 = zext i8 %24 to i32
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %25)
store i8 0, i8* inttoptr (i64 4294705174 to i8*)
%27 = load i8, i8* inttoptr (i64 4294705174 to i8*)
%28 = zext i8 %27 to i32
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %28)
store i8 0, i8* inttoptr (i64 4294705175 to i8*)
%30 = load i8, i8* inttoptr (i64 4294705175 to i8*)
%31 = zext i8 %30 to i32
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0), i32 %31)
store i8 5, i8* inttoptr (i64 4294705152 to i8*)
%33 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%34 = zext i8 %33 to i32
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %34)
%36 = call i32 @kill_time(i32 50)
store i8 4, i8* inttoptr (i64 4294705152 to i8*)
%37 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%38 = zext i8 %37 to i32
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %38)
%40 = call i32 @kill_time(i32 150)
store i8 -120, i8* inttoptr (i64 4294705168 to i8*)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
store i8 -90, i8* inttoptr (i64 4294705169 to i8*)
store i8 -80, i8* inttoptr (i64 4294705170 to i8*)
store i8 18, i8* inttoptr (i64 4294705171 to i8*)
store i8 48, i8* inttoptr (i64 4294705172 to i8*)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
store i8 18, i8* inttoptr (i64 4294705173 to i8*)
store i8 52, i8* inttoptr (i64 4294705174 to i8*)
store i8 86, i8* inttoptr (i64 4294705175 to i8*)
store i8 120, i8* inttoptr (i64 4294705176 to i8*)
store i8 -102, i8* inttoptr (i64 4294705177 to i8*)
store i8 -68, i8* inttoptr (i64 4294705178 to i8*)
store i8 -34, i8* inttoptr (i64 4294705179 to i8*)
store i8 -16, i8* inttoptr (i64 4294705180 to i8*)
store i8 -1, i8* inttoptr (i64 4294705156 to i8*)
%43 = call i32 @kill_time(i32 50)
%44 = call i32 (...) @self_reception_request()
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0))
%46 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%47 = zext i8 %46 to i32
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %47)
%49 = load i8, i8* inttoptr (i64 4294705155 to i8*)
%50 = zext i8 %49 to i32
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), i32 %50)
%52 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%53 = zext i8 %52 to i32
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %53)
ret void
}

LLVM IR (-O2):
@.str.1 = [16 x i8] c"control 0x%X \0A\0A\00"
@.str.2 = [22 x i8] c"clock_divider 0x%X \0A\0A\00"
@.str.3 = [20 x i8] c"acceptance 0 0x%X \0A\00"
@.str.4 = [20 x i8] c"acceptance 1 0x%X \0A\00"
@.str.5 = [20 x i8] c"acceptance 2 0x%X \0A\00"
@.str.6 = [21 x i8] c"acceptance 3 0x%X \0A\0A\00"
@.str.7 = [23 x i8] c"acceptance mask 0x%X \0A\00"
@.str.8 = [24 x i8] c"acceptance mask 0x%X \0A\0A\00"
@.str.9 = [25 x i8] c"control_register 0x%X \0A\0A\00"
@.str.13 = [27 x i8] c"interrupt_register 0x%X \0A\0A\00"
@str = [21 x i8] c"Switch on Reset Mode\00"
@str.14 = [37 x i8] c"Set identifier - 0xA6 0xB0 0x12 0x30\00"
@str.15 = [51 x i8] c"Set data - 0x12 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0\00"
@str.16 = [11 x i8] c"Finnished \00"
define void @self_reception_test() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0))
store i8 1, i8* inttoptr (i64 4294705152 to i8*)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 1)
store i8 -128, i8* inttoptr (i64 4294705183 to i8*)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 128)
store i8 -128, i8* inttoptr (i64 4294705158 to i8*)
store i8 52, i8* inttoptr (i64 4294705159 to i8*)
store i8 -90, i8* inttoptr (i64 4294705168 to i8*)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 166)
store i8 -80, i8* inttoptr (i64 4294705169 to i8*)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 176)
store i8 18, i8* inttoptr (i64 4294705170 to i8*)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 18)
store i8 48, i8* inttoptr (i64 4294705171 to i8*)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 48)
store i8 0, i8* inttoptr (i64 4294705172 to i8*)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 0)
store i8 0, i8* inttoptr (i64 4294705173 to i8*)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 0)
store i8 0, i8* inttoptr (i64 4294705174 to i8*)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 0)
store i8 0, i8* inttoptr (i64 4294705175 to i8*)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0), i32 0)
store i8 5, i8* inttoptr (i64 4294705152 to i8*)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 5)
%13 = tail call i32 @kill_time(i32 50)
store i8 4, i8* inttoptr (i64 4294705152 to i8*)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 4)
%15 = tail call i32 @kill_time(i32 150)
store i8 -120, i8* inttoptr (i64 4294705168 to i8*)
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.14, i64 0, i64 0))
store i8 -90, i8* inttoptr (i64 4294705169 to i8*)
store i8 -80, i8* inttoptr (i64 4294705170 to i8*)
store i8 18, i8* inttoptr (i64 4294705171 to i8*)
store i8 48, i8* inttoptr (i64 4294705172 to i8*)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.15, i64 0, i64 0))
store i8 18, i8* inttoptr (i64 4294705173 to i8*)
store i8 52, i8* inttoptr (i64 4294705174 to i8*)
store i8 86, i8* inttoptr (i64 4294705175 to i8*)
store i8 120, i8* inttoptr (i64 4294705176 to i8*)
store i8 -102, i8* inttoptr (i64 4294705177 to i8*)
store i8 -68, i8* inttoptr (i64 4294705178 to i8*)
store i8 -34, i8* inttoptr (i64 4294705179 to i8*)
store i8 -16, i8* inttoptr (i64 4294705180 to i8*)
store i8 -1, i8* inttoptr (i64 4294705156 to i8*)
%18 = tail call i32 @kill_time(i32 50)
%19 = tail call i32 (...) @self_reception_request()
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.16, i64 0, i64 0))
%21 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%22 = zext i8 %21 to i32
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %22)
%24 = load i8, i8* inttoptr (i64 4294705155 to i8*)
%25 = zext i8 %24 to i32
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), i32 %25)
%27 = load i8, i8* inttoptr (i64 4294705152 to i8*)
%28 = zext i8 %27 to i32
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %28)
ret void
}