#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 ejtag_read(int);
int /*<<< orphan*/ printf(char *, ...);
void readmem_5352(void) {
  int temp = 0;
  printf("Printing SDRAM\n");
  temp = ejtag_read(0x18004f98);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004f98);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004f98);
  ;
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004004);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x1800401c);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004034);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004038);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x1800403c);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004008);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004010);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
  temp = ejtag_read(0x18004000);
  printf("SDRAM = 0x%08x\n", temp);
}


x86 assembly (clang, -O0):
<readmem_5352>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004f98,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xebc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004f98,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe9e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004f98,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004004,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1800401c,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004034,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004038,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1800403c,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xdea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xdcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xcdc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004008,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xca0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004010,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xc82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xc64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x18004000,%edi
call   1040 <ejtag_read@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xc46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<readmem_5352>:
push   %rbx
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
mov    $0x18004f98,%edi
call   1050 <ejtag_read@plt>
lea    0xeb2(%rip),%rbx
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004f98,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004f98,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004004,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1800401c,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004034,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004038,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1800403c,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004008,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004010,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x18004000,%edi
call   1050 <ejtag_read@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"Printing SDRAM\0A\00"
@.str.1 = [16 x i8] c"SDRAM = 0x%08x\0A\00"
define void @readmem_5352() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @ejtag_read(i32 402673560)
store i32 %3, i32* %1
%4 = load i32, i32* %1
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %4)
%6 = call i32 @ejtag_read(i32 402673560)
store i32 %6, i32* %1
%7 = load i32, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %7)
%9 = call i32 @ejtag_read(i32 402673560)
store i32 %9, i32* %1
%10 = load i32, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %10)
%12 = call i32 @ejtag_read(i32 402669572)
store i32 %12, i32* %1
%13 = load i32, i32* %1
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %13)
%15 = call i32 @ejtag_read(i32 402669596)
store i32 %15, i32* %1
%16 = load i32, i32* %1
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%18 = call i32 @ejtag_read(i32 402669620)
store i32 %18, i32* %1
%19 = load i32, i32* %1
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = call i32 @ejtag_read(i32 402669624)
store i32 %21, i32* %1
%22 = load i32, i32* %1
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %22)
%24 = call i32 @ejtag_read(i32 402669628)
store i32 %24, i32* %1
%25 = load i32, i32* %1
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = call i32 @ejtag_read(i32 402669568)
store i32 %27, i32* %1
%28 = load i32, i32* %1
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %28)
%30 = call i32 @ejtag_read(i32 402669568)
store i32 %30, i32* %1
%31 = load i32, i32* %1
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %31)
%33 = call i32 @ejtag_read(i32 402669568)
store i32 %33, i32* %1
%34 = load i32, i32* %1
%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 @ejtag_read(i32 402669568)
store i32 %36, i32* %1
%37 = load i32, i32* %1
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %37)
%39 = call i32 @ejtag_read(i32 402669568)
store i32 %39, i32* %1
%40 = load i32, i32* %1
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %40)
%42 = call i32 @ejtag_read(i32 402669568)
store i32 %42, i32* %1
%43 = load i32, i32* %1
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %43)
%45 = call i32 @ejtag_read(i32 402669568)
store i32 %45, i32* %1
%46 = load i32, i32* %1
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %46)
%48 = call i32 @ejtag_read(i32 402669568)
store i32 %48, i32* %1
%49 = load i32, i32* %1
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %49)
%51 = call i32 @ejtag_read(i32 402669568)
store i32 %51, i32* %1
%52 = load i32, i32* %1
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %52)
%54 = call i32 @ejtag_read(i32 402669568)
store i32 %54, i32* %1
%55 = load i32, i32* %1
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %55)
%57 = call i32 @ejtag_read(i32 402669576)
store i32 %57, i32* %1
%58 = load i32, i32* %1
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %58)
%60 = call i32 @ejtag_read(i32 402669584)
store i32 %60, i32* %1
%61 = load i32, i32* %1
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %61)
%63 = call i32 @ejtag_read(i32 402669568)
store i32 %63, i32* %1
%64 = load i32, i32* %1
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %64)
%66 = call i32 @ejtag_read(i32 402669568)
store i32 %66, i32* %1
%67 = load i32, i32* %1
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %67)
ret void
}

LLVM IR (-O2):
@.str.1 = [16 x i8] c"SDRAM = 0x%08x\0A\00"
@str = [15 x i8] c"Printing SDRAM\00"
define void @readmem_5352() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @ejtag_read(i32 402673560)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %2)
%4 = tail call i32 @ejtag_read(i32 402673560)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %4)
%6 = tail call i32 @ejtag_read(i32 402673560)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %6)
%8 = tail call i32 @ejtag_read(i32 402669572)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %8)
%10 = tail call i32 @ejtag_read(i32 402669596)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %10)
%12 = tail call i32 @ejtag_read(i32 402669620)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %12)
%14 = tail call i32 @ejtag_read(i32 402669624)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %14)
%16 = tail call i32 @ejtag_read(i32 402669628)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%18 = tail call i32 @ejtag_read(i32 402669568)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %18)
%20 = tail call i32 @ejtag_read(i32 402669568)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %20)
%22 = tail call i32 @ejtag_read(i32 402669568)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %22)
%24 = tail call i32 @ejtag_read(i32 402669568)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %24)
%26 = tail call i32 @ejtag_read(i32 402669568)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %26)
%28 = tail call i32 @ejtag_read(i32 402669568)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %28)
%30 = tail call i32 @ejtag_read(i32 402669568)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %30)
%32 = tail call i32 @ejtag_read(i32 402669568)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %32)
%34 = tail call i32 @ejtag_read(i32 402669568)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %34)
%36 = tail call i32 @ejtag_read(i32 402669568)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%38 = tail call i32 @ejtag_read(i32 402669576)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %38)
%40 = tail call i32 @ejtag_read(i32 402669584)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %40)
%42 = tail call i32 @ejtag_read(i32 402669568)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %42)
%44 = tail call i32 @ejtag_read(i32 402669568)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 %44)
ret void
}