void self_reception_test() {
  volatile unsigned char r_val;
  printf("Switch on Reset Mode\n");
  *((volatile unsigned char *)(0xfff20000 + 0x0000)) = 0x01;
  printf("control 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0000)));
  *((volatile unsigned char *)(0xfff20000 + 0x001F)) = 0x80;
  printf("clock_divider 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x001F)));
  *((volatile unsigned char *)(0xfff20000 + 0x0006)) = 0x80;
  *((volatile unsigned char *)(0xfff20000 + 0x0007)) = 0x34;
  *((volatile unsigned char *)(0xfff20000 + 0x0010)) = 0xA6;
  printf("acceptance 0 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0010)));
  *((volatile unsigned char *)(0xfff20000 + 0x0011)) = 0xB0;
  printf("acceptance 1 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0011)));
  *((volatile unsigned char *)(0xfff20000 + 0x0012)) = 0x12;
  printf("acceptance 2 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0012)));
  *((volatile unsigned char *)(0xfff20000 + 0x0013)) = 0x30;
  printf("acceptance 3 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0013)));
  *((volatile unsigned char *)(0xfff20000 + 0x0014)) = 0x00;
  printf("acceptance mask 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0014)));
  *((volatile unsigned char *)(0xfff20000 + 0x0015)) = 0x00;
  printf("acceptance mask 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0015)));
  *((volatile unsigned char *)(0xfff20000 + 0x0016)) = 0x00;
  printf("acceptance mask 0x%X \n",
         *((volatile unsigned char *)(0xfff20000 + 0x0016)));
  *((volatile unsigned char *)(0xfff20000 + 0x0017)) = 0x00;
  printf("acceptance mask 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0017)));
  *((volatile unsigned char *)(0xfff20000 + 0x0000)) = 0x05;
  printf("control 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0000)));
  kill_time(50);
  *((volatile unsigned char *)(0xfff20000 + 0x0000)) = 0X04;
  printf("control_register 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0000)));
  kill_time(150);
  *((volatile unsigned char *)(0xfff20000 + 0x0010)) = 0x88;
  printf("Set identifier - 0xA6 0xB0 0x12 0x30\n");
  *((volatile unsigned char *)(0xfff20000 + 0x0011)) = 0xA6;
  *((volatile unsigned char *)(0xfff20000 + 0x0012)) = 0xB0;
  *((volatile unsigned char *)(0xfff20000 + 0x0013)) = 0x12;
  *((volatile unsigned char *)(0xfff20000 + 0x0014)) = 0x30;
  printf("Set data - 0x12 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0\n");
  *((volatile unsigned char *)(0xfff20000 + 0x0015)) = 0x12;
  *((volatile unsigned char *)(0xfff20000 + 0x0016)) = 0x34;
  *((volatile unsigned char *)(0xfff20000 + 0x0017)) = 0x56;
  *((volatile unsigned char *)(0xfff20000 + 0x0018)) = 0x78;
  *((volatile unsigned char *)(0xfff20000 + 0x0019)) = 0x9A;
  *((volatile unsigned char *)(0xfff20000 + 0x001A)) = 0xBC;
  *((volatile unsigned char *)(0xfff20000 + 0x001B)) = 0xDE;
  *((volatile unsigned char *)(0xfff20000 + 0x001C)) = 0xF0;
  *((volatile unsigned char *)(0xfff20000 + 0x0004)) = 0xFF;
  kill_time(50);
  self_reception_request();
  printf("Finnished \n");
  printf("control_register 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0000)));
  printf("interrupt_register 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0003)));
  printf("control_register 0x%X \n\n",
         *((volatile unsigned char *)(0xfff20000 + 0x0000)));
}


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    $0xfff20000,%eax
movb   $0x1,(%rax)
mov    $0xfff20000,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xeb7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff2001f,%eax
movb   $0x80,(%rax)
mov    $0xfff2001f,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20006,%eax
movb   $0x80,(%rax)
mov    $0xfff20007,%eax
movb   $0x34,(%rax)
mov    $0xfff20010,%eax
movb   $0xa6,(%rax)
mov    $0xfff20010,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe8d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20011,%eax
movb   $0xb0,(%rax)
mov    $0xfff20011,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20012,%eax
movb   $0x12,(%rax)
mov    $0xfff20012,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe75(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20013,%eax
movb   $0x30,(%rax)
mov    $0xfff20013,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20014,%eax
movb   $0x0,(%rax)
mov    $0xfff20014,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20015,%eax
movb   $0x0,(%rax)
mov    $0xfff20015,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20016,%eax
movb   $0x0,(%rax)
mov    $0xfff20016,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20017,%eax
movb   $0x0,(%rax)
mov    $0xfff20017,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20000,%eax
movb   $0x5,(%rax)
mov    $0xfff20000,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xd67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x32,%edi
mov    $0x0,%al
call   1030 <kill_time@plt>
mov    $0xfff20000,%eax
movb   $0x4,(%rax)
mov    $0xfff20000,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x96,%edi
mov    $0x0,%al
call   1030 <kill_time@plt>
mov    $0xfff20010,%eax
movb   $0x88,(%rax)
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20011,%eax
movb   $0xa6,(%rax)
mov    $0xfff20012,%eax
movb   $0xb0,(%rax)
mov    $0xfff20013,%eax
movb   $0x12,(%rax)
mov    $0xfff20014,%eax
movb   $0x30,(%rax)
lea    0xdd0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20015,%eax
movb   $0x12,(%rax)
mov    $0xfff20016,%eax
movb   $0x34,(%rax)
mov    $0xfff20017,%eax
movb   $0x56,(%rax)
mov    $0xfff20018,%eax
movb   $0x78,(%rax)
mov    $0xfff20019,%eax
movb   $0x9a,(%rax)
mov    $0xfff2001a,%eax
movb   $0xbc,(%rax)
mov    $0xfff2001b,%eax
movb   $0xde,(%rax)
mov    $0xfff2001c,%eax
movb   $0xf0,(%rax)
mov    $0xfff20004,%eax
movb   $0xff,(%rax)
mov    $0x32,%edi
mov    $0x0,%al
call   1030 <kill_time@plt>
mov    $0x0,%al
call   1050 <self_reception_request@plt>
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20000,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20003,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xfff20000,%eax
mov    (%rax),%al
movzbl %al,%esi
lea    0xce0(%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    $0xfff20000,%ebx
movb   $0x1,(%rbx)
movzbl (%rbx),%esi
lea    0xe9d(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x80,0x1f(%rbx)
movzbl 0x1f(%rbx),%esi
lea    0xe94(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x80,0x6(%rbx)
movb   $0x34,0x7(%rbx)
movb   $0xa6,0x10(%rbx)
movzbl 0x10(%rbx),%esi
lea    0xe8c(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0xb0,0x11(%rbx)
movzbl 0x11(%rbx),%esi
lea    0xe8a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x12,0x12(%rbx)
movzbl 0x12(%rbx),%esi
lea    0xe88(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x30,0x13(%rbx)
movzbl 0x13(%rbx),%esi
lea    0xe86(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x14(%rbx)
movzbl 0x14(%rbx),%esi
lea    0xe85(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x15(%rbx)
movzbl 0x15(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x16(%rbx)
movzbl 0x16(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x0,0x17(%rbx)
movzbl 0x17(%rbx),%esi
lea    0xe5f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movb   $0x5,(%rbx)
movzbl (%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x32,%edi
xor    %eax,%eax
call   1030 <kill_time@plt>
movb   $0x4,(%rbx)
movzbl (%rbx),%esi
lea    0xe47(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x96,%edi
xor    %eax,%eax
call   1030 <kill_time@plt>
movb   $0x88,0x10(%rbx)
lea    0xe6f(%rip),%rdi
call   1040 <puts@plt>
movb   $0xa6,0x11(%rbx)
movb   $0xb0,0x12(%rbx)
movb   $0x12,0x13(%rbx)
movb   $0x30,0x14(%rbx)
lea    0xe78(%rip),%rdi
call   1040 <puts@plt>
movb   $0x12,0x15(%rbx)
movb   $0x34,0x16(%rbx)
movb   $0x56,0x17(%rbx)
movb   $0x78,0x18(%rbx)
movb   $0x9a,0x19(%rbx)
movb   $0xbc,0x1a(%rbx)
movb   $0xde,0x1b(%rbx)
movb   $0xf0,0x1c(%rbx)
movb   $0xff,0x4(%rbx)
mov    $0x32,%edi
xor    %eax,%eax
call   1030 <kill_time@plt>
xor    %eax,%eax
call   1060 <self_reception_request@plt>
lea    0xe68(%rip),%rdi
call   1040 <puts@plt>
movzbl (%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x3(%rbx),%esi
lea    0xdc3(%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 volatile i8 1, i8* inttoptr (i64 4294049792 to i8*)
%3 = load volatile i8, i8* inttoptr (i64 4294049792 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 volatile i8 -128, i8* inttoptr (i64 4294049823 to i8*)
%6 = load volatile i8, i8* inttoptr (i64 4294049823 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 volatile i8 -128, i8* inttoptr (i64 4294049798 to i8*)
store volatile i8 52, i8* inttoptr (i64 4294049799 to i8*)
store volatile i8 -90, i8* inttoptr (i64 4294049808 to i8*)
%9 = load volatile i8, i8* inttoptr (i64 4294049808 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 volatile i8 -80, i8* inttoptr (i64 4294049809 to i8*)
%12 = load volatile i8, i8* inttoptr (i64 4294049809 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 volatile i8 18, i8* inttoptr (i64 4294049810 to i8*)
%15 = load volatile i8, i8* inttoptr (i64 4294049810 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 volatile i8 48, i8* inttoptr (i64 4294049811 to i8*)
%18 = load volatile i8, i8* inttoptr (i64 4294049811 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 volatile i8 0, i8* inttoptr (i64 4294049812 to i8*)
%21 = load volatile i8, i8* inttoptr (i64 4294049812 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 volatile i8 0, i8* inttoptr (i64 4294049813 to i8*)
%24 = load volatile i8, i8* inttoptr (i64 4294049813 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 volatile i8 0, i8* inttoptr (i64 4294049814 to i8*)
%27 = load volatile i8, i8* inttoptr (i64 4294049814 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 volatile i8 0, i8* inttoptr (i64 4294049815 to i8*)
%30 = load volatile i8, i8* inttoptr (i64 4294049815 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 volatile i8 5, i8* inttoptr (i64 4294049792 to i8*)
%33 = load volatile i8, i8* inttoptr (i64 4294049792 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 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(i32 50)
store volatile i8 4, i8* inttoptr (i64 4294049792 to i8*)
%37 = load volatile i8, i8* inttoptr (i64 4294049792 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 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(i32 150)
store volatile i8 -120, i8* inttoptr (i64 4294049808 to i8*)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
store volatile i8 -90, i8* inttoptr (i64 4294049809 to i8*)
store volatile i8 -80, i8* inttoptr (i64 4294049810 to i8*)
store volatile i8 18, i8* inttoptr (i64 4294049811 to i8*)
store volatile i8 48, i8* inttoptr (i64 4294049812 to i8*)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
store volatile i8 18, i8* inttoptr (i64 4294049813 to i8*)
store volatile i8 52, i8* inttoptr (i64 4294049814 to i8*)
store volatile i8 86, i8* inttoptr (i64 4294049815 to i8*)
store volatile i8 120, i8* inttoptr (i64 4294049816 to i8*)
store volatile i8 -102, i8* inttoptr (i64 4294049817 to i8*)
store volatile i8 -68, i8* inttoptr (i64 4294049818 to i8*)
store volatile i8 -34, i8* inttoptr (i64 4294049819 to i8*)
store volatile i8 -16, i8* inttoptr (i64 4294049820 to i8*)
store volatile i8 -1, i8* inttoptr (i64 4294049796 to i8*)
%43 = call i32 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(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 volatile i8, i8* inttoptr (i64 4294049792 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 volatile i8, i8* inttoptr (i64 4294049795 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 volatile i8, i8* inttoptr (i64 4294049792 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 volatile i8 1, i8* inttoptr (i64 4294049792 to i8*)
%2 = load volatile i8, i8* inttoptr (i64 4294049792 to i8*)
%3 = zext i8 %2 to i32
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %3)
store volatile i8 -128, i8* inttoptr (i64 4294049823 to i8*)
%5 = load volatile i8, i8* inttoptr (i64 4294049823 to i8*)
%6 = zext i8 %5 to i32
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %6)
store volatile i8 -128, i8* inttoptr (i64 4294049798 to i8*)
store volatile i8 52, i8* inttoptr (i64 4294049799 to i8*)
store volatile i8 -90, i8* inttoptr (i64 4294049808 to i8*)
%8 = load volatile i8, i8* inttoptr (i64 4294049808 to i8*)
%9 = zext i8 %8 to i32
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %9)
store volatile i8 -80, i8* inttoptr (i64 4294049809 to i8*)
%11 = load volatile i8, i8* inttoptr (i64 4294049809 to i8*)
%12 = zext i8 %11 to i32
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %12)
store volatile i8 18, i8* inttoptr (i64 4294049810 to i8*)
%14 = load volatile i8, i8* inttoptr (i64 4294049810 to i8*)
%15 = zext i8 %14 to i32
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %15)
store volatile i8 48, i8* inttoptr (i64 4294049811 to i8*)
%17 = load volatile i8, i8* inttoptr (i64 4294049811 to i8*)
%18 = zext i8 %17 to i32
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 %18)
store volatile i8 0, i8* inttoptr (i64 4294049812 to i8*)
%20 = load volatile i8, i8* inttoptr (i64 4294049812 to i8*)
%21 = zext i8 %20 to i32
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %21)
store volatile i8 0, i8* inttoptr (i64 4294049813 to i8*)
%23 = load volatile i8, i8* inttoptr (i64 4294049813 to i8*)
%24 = zext i8 %23 to i32
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %24)
store volatile i8 0, i8* inttoptr (i64 4294049814 to i8*)
%26 = load volatile i8, i8* inttoptr (i64 4294049814 to i8*)
%27 = zext i8 %26 to i32
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i32 %27)
store volatile i8 0, i8* inttoptr (i64 4294049815 to i8*)
%29 = load volatile i8, i8* inttoptr (i64 4294049815 to i8*)
%30 = zext i8 %29 to i32
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0), i32 %30)
store volatile i8 5, i8* inttoptr (i64 4294049792 to i8*)
%32 = load volatile i8, i8* inttoptr (i64 4294049792 to i8*)
%33 = zext i8 %32 to i32
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %33)
%35 = tail call i32 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(i32 50)
store volatile i8 4, i8* inttoptr (i64 4294049792 to i8*)
%36 = load volatile i8, i8* inttoptr (i64 4294049792 to i8*)
%37 = zext i8 %36 to i32
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %37)
%39 = tail call i32 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(i32 150)
store volatile i8 -120, i8* inttoptr (i64 4294049808 to i8*)
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.14, i64 0, i64 0))
store volatile i8 -90, i8* inttoptr (i64 4294049809 to i8*)
store volatile i8 -80, i8* inttoptr (i64 4294049810 to i8*)
store volatile i8 18, i8* inttoptr (i64 4294049811 to i8*)
store volatile i8 48, i8* inttoptr (i64 4294049812 to i8*)
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.15, i64 0, i64 0))
store volatile i8 18, i8* inttoptr (i64 4294049813 to i8*)
store volatile i8 52, i8* inttoptr (i64 4294049814 to i8*)
store volatile i8 86, i8* inttoptr (i64 4294049815 to i8*)
store volatile i8 120, i8* inttoptr (i64 4294049816 to i8*)
store volatile i8 -102, i8* inttoptr (i64 4294049817 to i8*)
store volatile i8 -68, i8* inttoptr (i64 4294049818 to i8*)
store volatile i8 -34, i8* inttoptr (i64 4294049819 to i8*)
store volatile i8 -16, i8* inttoptr (i64 4294049820 to i8*)
store volatile i8 -1, i8* inttoptr (i64 4294049796 to i8*)
%42 = tail call i32 (i32, ...) bitcast (i32 (...)* @kill_time to i32 (i32, ...)*)(i32 50)
%43 = tail call i32 (...) @self_reception_request()
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.16, i64 0, i64 0))
%45 = load volatile i8, i8* inttoptr (i64 4294049792 to i8*)
%46 = zext i8 %45 to i32
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %46)
%48 = load volatile i8, i8* inttoptr (i64 4294049795 to i8*)
%49 = zext i8 %48 to i32
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), i32 %49)
%51 = load volatile i8, i8* inttoptr (i64 4294049792 to i8*)
%52 = zext i8 %51 to i32
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 %52)
ret void
}