#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 flash_read(int);
int /*<<< orphan*/ flash_write(int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
void display_device_info() {
  int j;
  int r;
  printf("Flash device information:\n");
  flash_write(0, 0x90);
  printf("                  manufacturer code: 0x%04x\n", flash_read(0x00));
  printf("                     device id code: 0x%04x\n", flash_read(0x01));
  printf("                block lock config 0: 0x%04x\n", flash_read(0x02));
  printf("                block lock config 1: 0x%04x\n", flash_read(0x03));
  printf("                block lock config 2: 0x%04x\n", flash_read(0x04));
  printf("             configuration register: 0x%04x\n", flash_read(0x05));
  printf("                    lock register 0: 0x%04x\n", flash_read(0x80));
  printf("                    lock register 1: 0x%04x\n", flash_read(0x89));
  printf("  64-bit factory program protection: 0x%04x 0x%04x 0x%04x 0x%04x\n",
         flash_read(0x84), flash_read(0x83), flash_read(0x82),
         flash_read(0x81));
  printf("     64-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\n",
         flash_read(0x88), flash_read(0x87), flash_read(0x86),
         flash_read(0x85));
  printf("    128-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\n",
         flash_read(0x88), flash_read(0x87), flash_read(0x86),
         flash_read(0x85));
  for (j = 0x84; j <= 0x109; j += 8) {
    printf("128-bit user program prot. reg[0x%04x]:", (j - 0x84) / 8);
    for (r = 7; r > 0; r--)
      printf(" 0x%04x", flash_read((j + r)));
    putchar('\n');
  }
}


x86 assembly (clang, -O0):
<display_device_info>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
lea    0xeb1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
mov    $0x90,%esi
call   1060 <flash_write@plt>
xor    %edi,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xea9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x1,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xebc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x2,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x3,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x4,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xef5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x5,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x80,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xf1b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x89,%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xf2e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x84,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x83,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x28(%rbp)
mov    $0x82,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x24(%rbp)
mov    $0x81,%edi
call   1050 <flash_read@plt>
mov    -0x2c(%rbp),%esi
mov    -0x28(%rbp),%edx
mov    -0x24(%rbp),%ecx
mov    %eax,%r8d
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x88,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x20(%rbp)
mov    $0x87,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x86,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x18(%rbp)
mov    $0x85,%edi
call   1050 <flash_read@plt>
mov    -0x20(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    %eax,%r8d
lea    0xf07(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x88,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x14(%rbp)
mov    $0x87,%edi
call   1050 <flash_read@plt>
mov    %eax,-0x10(%rbp)
mov    $0x86,%edi
call   1050 <flash_read@plt>
mov    %eax,-0xc(%rbp)
mov    $0x85,%edi
call   1050 <flash_read@plt>
mov    -0x14(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0xc(%rbp),%ecx
mov    %eax,%r8d
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x84,-0x4(%rbp)
cmpl   $0x109,-0x4(%rbp)
jg     1396 <display_device_info+0x256>
mov    -0x4(%rbp),%eax
sub    $0x84,%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xf0c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x7,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jle    137e <display_device_info+0x23e>
mov    -0x4(%rbp),%edi
add    -0x8(%rbp),%edi
call   1050 <flash_read@plt>
mov    %eax,%esi
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    134b <display_device_info+0x20b>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x4(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x4(%rbp)
jmp    1317 <display_device_info+0x1d7>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_device_info>:
push   %rbp
push   %r14
push   %rbx
lea    0x1103(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
mov    $0x90,%esi
call   1070 <flash_write@plt>
xor    %edi,%edi
call   1060 <flash_read@plt>
lea    0xe86(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x1,%edi
call   1060 <flash_read@plt>
lea    0xe99(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x2,%edi
call   1060 <flash_read@plt>
lea    0xeac(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x3,%edi
call   1060 <flash_read@plt>
lea    0xebf(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x4,%edi
call   1060 <flash_read@plt>
lea    0xed2(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x5,%edi
call   1060 <flash_read@plt>
lea    0xee5(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x80,%edi
call   1060 <flash_read@plt>
lea    0xef8(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x89,%edi
call   1060 <flash_read@plt>
lea    0xf0b(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x84,%edi
call   1060 <flash_read@plt>
mov    %eax,%r14d
mov    $0x83,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebp
mov    $0x82,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebx
mov    $0x81,%edi
call   1060 <flash_read@plt>
lea    0xef9(%rip),%rdi
mov    %r14d,%esi
mov    %ebp,%edx
mov    %ebx,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x88,%edi
call   1060 <flash_read@plt>
mov    %eax,%r14d
mov    $0x87,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebp
mov    $0x86,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebx
mov    $0x85,%edi
call   1060 <flash_read@plt>
lea    0xef4(%rip),%rdi
mov    %r14d,%esi
mov    %ebp,%edx
mov    %ebx,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x88,%edi
call   1060 <flash_read@plt>
mov    %eax,%r14d
mov    $0x87,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebp
mov    $0x86,%edi
call   1060 <flash_read@plt>
mov    %eax,%ebx
mov    $0x85,%edi
call   1060 <flash_read@plt>
lea    0xeef(%rip),%rdi
mov    %r14d,%esi
mov    %ebp,%edx
mov    %ebx,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x7c,%ebp
lea    0xf14(%rip),%r14
lea    0xf35(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    -0x7c(%rbp),%eax
lea    -0x75(%rbp),%ecx
test   %ax,%ax
cmovns %eax,%ecx
movswl %cx,%esi
sar    $0x3,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xb(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x9(%rbp),%edi
call   1060 <flash_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x8,%ebp
cmp    $0x102,%ebp
jb     1330 <display_device_info+0x1e0>
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [27 x i8] c"Flash device information:\0A\00"
@.str.1 = [45 x i8] c" manufacturer code: 0x%04x\0A\00"
@.str.2 = [45 x i8] c" device id code: 0x%04x\0A\00"
@.str.3 = [45 x i8] c" block lock config 0: 0x%04x\0A\00"
@.str.4 = [45 x i8] c" block lock config 1: 0x%04x\0A\00"
@.str.5 = [45 x i8] c" block lock config 2: 0x%04x\0A\00"
@.str.6 = [45 x i8] c" configuration register: 0x%04x\0A\00"
@.str.7 = [45 x i8] c" lock register 0: 0x%04x\0A\00"
@.str.8 = [45 x i8] c" lock register 1: 0x%04x\0A\00"
@.str.9 = [66 x i8] c" 64-bit factory program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.10 = [66 x i8] c" 64-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.11 = [66 x i8] c" 128-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.12 = [40 x i8] c"128-bit user program prot. reg[0x%04x]:\00"
@.str.13 = [8 x i8] c" 0x%04x\00"
define void @display_device_info() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @flash_write(i32 0, i32 144)
%5 = call i32 @flash_read(i32 0)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = call i32 @flash_read(i32 1)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = call i32 @flash_read(i32 2)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = call i32 @flash_read(i32 3)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %11)
%13 = call i32 @flash_read(i32 4)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %13)
%15 = call i32 @flash_read(i32 5)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0), i32 %15)
%17 = call i32 @flash_read(i32 128)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), i32 %17)
%19 = call i32 @flash_read(i32 137)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i32 %19)
%21 = call i32 @flash_read(i32 132)
%22 = call i32 @flash_read(i32 131)
%23 = call i32 @flash_read(i32 130)
%24 = call i32 @flash_read(i32 129)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0), i32 %21, i32 %22, i32 %23, i32 %24)
%26 = call i32 @flash_read(i32 136)
%27 = call i32 @flash_read(i32 135)
%28 = call i32 @flash_read(i32 134)
%29 = call i32 @flash_read(i32 133)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.10, i64 0, i64 0), i32 %26, i32 %27, i32 %28, i32 %29)
%31 = call i32 @flash_read(i32 136)
%32 = call i32 @flash_read(i32 135)
%33 = call i32 @flash_read(i32 134)
%34 = call i32 @flash_read(i32 133)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.11, i64 0, i64 0), i32 %31, i32 %32, i32 %33, i32 %34)
store i32 132, i32* %1
br label %36
36: ; preds = %58, %0
%37 = load i32, i32* %1
%38 = icmp sle i32 %37, 265
br i1 %38, label %39, label %61
39: ; preds = %36
%40 = load i32, i32* %1
%41 = sub nsw i32 %40, 132
%42 = sdiv i32 %41, 8
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0), i32 %42)
store i32 7, i32* %2
br label %44
44: ; preds = %53, %39
%45 = load i32, i32* %2
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %44
%48 = load i32, i32* %1
%49 = load i32, i32* %2
%50 = add nsw i32 %48, %49
%51 = call i32 @flash_read(i32 %50)
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %51)
br label %53
53: ; preds = %47
%54 = load i32, i32* %2
%55 = add nsw i32 %54, -1
store i32 %55, i32* %2
br label %44
56: ; preds = %44
%57 = call i32 @putchar(i8 signext 10)
br label %58
58: ; preds = %56
%59 = load i32, i32* %1
%60 = add nsw i32 %59, 8
store i32 %60, i32* %1
br label %36
61: ; preds = %36
ret void
}

LLVM IR (-O2):
@.str.1 = [45 x i8] c" manufacturer code: 0x%04x\0A\00"
@.str.2 = [45 x i8] c" device id code: 0x%04x\0A\00"
@.str.3 = [45 x i8] c" block lock config 0: 0x%04x\0A\00"
@.str.4 = [45 x i8] c" block lock config 1: 0x%04x\0A\00"
@.str.5 = [45 x i8] c" block lock config 2: 0x%04x\0A\00"
@.str.6 = [45 x i8] c" configuration register: 0x%04x\0A\00"
@.str.7 = [45 x i8] c" lock register 0: 0x%04x\0A\00"
@.str.8 = [45 x i8] c" lock register 1: 0x%04x\0A\00"
@.str.9 = [66 x i8] c" 64-bit factory program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.10 = [66 x i8] c" 64-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.11 = [66 x i8] c" 128-bit user program protection: 0x%04x 0x%04x 0x%04x 0x%04x\0A\00"
@.str.12 = [40 x i8] c"128-bit user program prot. reg[0x%04x]:\00"
@.str.13 = [8 x i8] c" 0x%04x\00"
@str = [26 x i8] c"Flash device information:\00"
define void @display_device_info() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @flash_write(i32 0, i32 144)
%3 = tail call i32 @flash_read(i32 0)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = tail call i32 @flash_read(i32 1)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = tail call i32 @flash_read(i32 2)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = tail call i32 @flash_read(i32 3)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = tail call i32 @flash_read(i32 4)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = tail call i32 @flash_read(i32 5)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = tail call i32 @flash_read(i32 128)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = tail call i32 @flash_read(i32 137)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = tail call i32 @flash_read(i32 132)
%20 = tail call i32 @flash_read(i32 131)
%21 = tail call i32 @flash_read(i32 130)
%22 = tail call i32 @flash_read(i32 129)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0), i32 %19, i32 %20, i32 %21, i32 %22)
%24 = tail call i32 @flash_read(i32 136)
%25 = tail call i32 @flash_read(i32 135)
%26 = tail call i32 @flash_read(i32 134)
%27 = tail call i32 @flash_read(i32 133)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.10, i64 0, i64 0), i32 %24, i32 %25, i32 %26, i32 %27)
%29 = tail call i32 @flash_read(i32 136)
%30 = tail call i32 @flash_read(i32 135)
%31 = tail call i32 @flash_read(i32 134)
%32 = tail call i32 @flash_read(i32 133)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.11, i64 0, i64 0), i32 %29, i32 %30, i32 %31, i32 %32)
br label %34
34: ; preds = %0, %34
%35 = phi i32 [ 132, %0 ], [ %63, %34 ]
%36 = trunc i32 %35 to i16
%37 = add nsw i16 %36, -132
%38 = sdiv i16 %37, 8
%39 = sext i16 %38 to i32
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0), i32 %39)
%41 = add nuw nsw i32 %35, 7
%42 = tail call i32 @flash_read(i32 %41)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %42)
%44 = add nuw nsw i32 %35, 6
%45 = tail call i32 @flash_read(i32 %44)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %45)
%47 = add nuw nsw i32 %35, 5
%48 = tail call i32 @flash_read(i32 %47)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %48)
%50 = add nuw nsw i32 %35, 4
%51 = tail call i32 @flash_read(i32 %50)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %51)
%53 = or i32 %35, 3
%54 = tail call i32 @flash_read(i32 %53)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %54)
%56 = or i32 %35, 2
%57 = tail call i32 @flash_read(i32 %56)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %57)
%59 = or i32 %35, 1
%60 = tail call i32 @flash_read(i32 %59)
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 %60)
%62 = tail call i32 @putchar(i8 signext 10)
%63 = add nuw nsw i32 %35, 8
%64 = icmp ult i32 %35, 258
br i1 %64, label %34, label %65
65: ; preds = %34
ret void
}