#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 */
struct i2c_eeprom_t {
  int dummy;
};
typedef int /*<<< orphan*/ ebuf;

/* Variables and functions */
struct i2c_eeprom_t *eeprom_init(int);
int /*<<< orphan*/ eeprom_release(struct i2c_eeprom_t *);
int i2cee_close(struct i2c_eeprom_t *);
int i2cee_open(struct i2c_eeprom_t *, int, int, int);
int i2cee_read(struct i2c_eeprom_t *, int, int, int, unsigned char *, int);
int i2cee_write(struct i2c_eeprom_t *, int, int, int, unsigned char *, int,
                int);
int /*<<< orphan*/ memset(unsigned char *, char, int);
int /*<<< orphan*/ printf(char *, ...);
main() {
  struct i2c_eeprom_t *new_eeprom = NULL;
  int rc = 0;
  int page;
  int offset;
  int retries;
  int eeprom_addr;
  int force;
  int bus;
  int verify;
  int i;
  unsigned char ebuf[256];
  if ((new_eeprom = eeprom_init(23)) != NULL) {
    eeprom_addr = 0x50;
    force = 0;
    bus = 1;
    rc = i2cee_open(new_eeprom, bus, eeprom_addr, force);
    if (rc == 0) {
      page = 1;
      offset = 0;
      retries = 2;
      verify = 0;
      for (i = 0; i < sizeof(ebuf); i++) {
        ebuf[i] = i;
      }
      rc = i2cee_write(new_eeprom, sizeof(ebuf), page, offset, ebuf, retries,
                       verify);
      if (rc == 0) {
        memset(ebuf, '\0', sizeof(ebuf));
        rc = i2cee_read(new_eeprom, sizeof(ebuf), page, offset, ebuf, retries);
        if (rc == 0) {
          printf("\n ");
          for (i = 1; i < sizeof(ebuf) + 1; i++) {
            if (i % 16 == 0) {
              printf("\n ");
            }
            printf("%02x . ", ebuf[i]);
          }
        }
      }
      rc = i2cee_close(new_eeprom);
    }
    eeprom_release(new_eeprom);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    $0x17,%edi
call   1090 <eeprom_init@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
je     133d <main+0x1bd>
movl   $0x50,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x2c(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    -0x28(%rbp),%ecx
call   1040 <i2cee_open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    1334 <main+0x1b4>
movl   $0x1,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x2,-0x20(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
movslq -0x34(%rbp),%rax
cmp    $0x100,%rax
jae    123e <main+0xbe>
mov    -0x34(%rbp),%eax
mov    %al,%cl
movslq -0x34(%rbp),%rax
mov    %cl,-0x140(%rbp,%rax,1)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1210 <main+0x90>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
lea    -0x140(%rbp),%r8
mov    -0x20(%rbp),%r9d
mov    -0x30(%rbp),%eax
mov    $0x100,%esi
mov    %eax,(%rsp)
call   10a0 <i2cee_write@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    1328 <main+0x1a8>
lea    -0x140(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
lea    -0x140(%rbp),%r8
mov    -0x20(%rbp),%r9d
mov    $0x100,%esi
call   1070 <i2cee_read@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    1323 <main+0x1a3>
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x34(%rbp)
movslq -0x34(%rbp),%rax
cmp    $0x101,%rax
jae    131e <main+0x19e>
mov    -0x34(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12f6 <main+0x176>
lea    0xd11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x34(%rbp),%rax
movzbl -0x140(%rbp,%rax,1),%esi
ff
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12c4 <main+0x144>
jmp    1323 <main+0x1a3>
jmp    1328 <main+0x1a8>
mov    -0x10(%rbp),%rdi
call   1080 <i2cee_close@plt>
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
call   1060 <eeprom_release@plt>
mov    -0x4(%rbp),%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    $0x17,%edi
call   1090 <eeprom_init@plt>
test   %rax,%rax
je     130a <main+0x18a>
mov    %rax,%r12
mov    %rax,%rdi
mov    $0x1,%esi
mov    $0x50,%edx
xor    %ecx,%ecx
call   1040 <i2cee_open@plt>
test   %eax,%eax
jne    1302 <main+0x182>
movaps 0xe39(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe3d(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe41(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe45(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe49(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xe4d(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xe51(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe55(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xe56(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xe57(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe58(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe59(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe5a(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xe5b(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe5c(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe5d(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movl   $0x0,(%rsp)
lea    0x10(%rsp),%r8
mov    %r12,%rdi
mov    $0x100,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    $0x2,%r9d
call   10a0 <i2cee_write@plt>
test   %eax,%eax
jne    12fa <main+0x17a>
lea    0x10(%rsp),%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
mov    %r12,%rdi
mov    $0x100,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    %r14,%r8
mov    $0x2,%r9d
call   1070 <i2cee_read@plt>
test   %eax,%eax
je     131b <main+0x19b>
mov    %r12,%rdi
call   1080 <i2cee_close@plt>
mov    %r12,%rdi
call   1060 <eeprom_release@plt>
xor    %eax,%eax
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
lea    0xdde(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xdcb(%rip),%r15
jmp    135c <main+0x1dc>
nopw   0x0(%rax,%rax,1)
movzbl 0x10(%rsp,%rbx,1),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%rbx
cmp    $0x101,%rbx
je     12fa <main+0x17a>
test   $0xf,%bl
jne    1340 <main+0x1c0>
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1340 <main+0x1c0>

LLVM IR (-O0):
%struct.i2c_eeprom_t = type { i32 }
@.str = [3 x i8] c"\0A \00"
@.str.1 = [8 x i8] c"%02x . \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca %struct.i2c_eeprom_t*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [256 x i8]
store i32 0, i32* %1
store %struct.i2c_eeprom_t* null, %struct.i2c_eeprom_t** %2
store i32 0, i32* %3
%13 = call %struct.i2c_eeprom_t* @eeprom_init(i32 23)
store %struct.i2c_eeprom_t* %13, %struct.i2c_eeprom_t** %2
%14 = icmp ne %struct.i2c_eeprom_t* %13, null
br i1 %14, label %15, label %88
15: ; preds = %0
store i32 80, i32* %7
store i32 0, i32* %8
store i32 1, i32* %9
%16 = load %struct.i2c_eeprom_t*, %struct.i2c_eeprom_t** %2
%17 = load i32, i32* %9
%18 = load i32, i32* %7
%19 = load i32, i32* %8
%20 = call i32 @i2cee_open(%struct.i2c_eeprom_t* %16, i32 %17, i32 %18, i32 %19)
store i32 %20, i32* %3
%21 = load i32, i32* %3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %85
23: ; preds = %15
store i32 1, i32* %4
store i32 0, i32* %5
store i32 2, i32* %6
store i32 0, i32* %10
store i32 0, i32* %11
br label %24
24: ; preds = %34, %23
%25 = load i32, i32* %11
%26 = sext i32 %25 to i64
%27 = icmp ult i64 %26, 256
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = load i32, i32* %11
%30 = trunc i32 %29 to i8
%31 = load i32, i32* %11
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 %32
store i8 %30, i8* %33
br label %34
34: ; preds = %28
%35 = load i32, i32* %11
%36 = add nsw i32 %35, 1
store i32 %36, i32* %11
br label %24
37: ; preds = %24
%38 = load %struct.i2c_eeprom_t*, %struct.i2c_eeprom_t** %2
%39 = load i32, i32* %4
%40 = load i32, i32* %5
%41 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 0
%42 = load i32, i32* %6
%43 = load i32, i32* %10
%44 = call i32 @i2cee_write(%struct.i2c_eeprom_t* %38, i32 256, i32 %39, i32 %40, i8* %41, i32 %42, i32 %43)
store i32 %44, i32* %3
%45 = load i32, i32* %3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %82
47: ; preds = %37
%48 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 0
%49 = call i32 @memset(i8* %48, i8 signext 0, i32 256)
%50 = load %struct.i2c_eeprom_t*, %struct.i2c_eeprom_t** %2
%51 = load i32, i32* %4
%52 = load i32, i32* %5
%53 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 0
%54 = load i32, i32* %6
%55 = call i32 @i2cee_read(%struct.i2c_eeprom_t* %50, i32 256, i32 %51, i32 %52, i8* %53, i32 %54)
store i32 %55, i32* %3
%56 = load i32, i32* %3
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %81
58: ; preds = %47
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %11
br label %60
60: ; preds = %77, %58
%61 = load i32, i32* %11
%62 = sext i32 %61 to i64
%63 = icmp ult i64 %62, 257
br i1 %63, label %64, label %80
64: ; preds = %60
%65 = load i32, i32* %11
%66 = srem i32 %65, 16
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %70
70: ; preds = %68, %64
%71 = load i32, i32* %11
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 %72
%74 = load i8, i8* %73
%75 = zext i8 %74 to i32
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %75)
br label %77
77: ; preds = %70
%78 = load i32, i32* %11
%79 = add nsw i32 %78, 1
store i32 %79, i32* %11
br label %60
80: ; preds = %60
br label %81
81: ; preds = %80, %47
br label %82
82: ; preds = %81, %37
%83 = load %struct.i2c_eeprom_t*, %struct.i2c_eeprom_t** %2
%84 = call i32 @i2cee_close(%struct.i2c_eeprom_t* %83)
store i32 %84, i32* %3
br label %85
85: ; preds = %82, %15
%86 = load %struct.i2c_eeprom_t*, %struct.i2c_eeprom_t** %2
%87 = call i32 @eeprom_release(%struct.i2c_eeprom_t* %86)
br label %88
88: ; preds = %85, %0
%89 = load i32, i32* %1
ret i32 %89
}

LLVM IR (-O2):
%struct.i2c_eeprom_t = type { i32 }
@.str = [3 x i8] c"\0A \00"
@.str.1 = [8 x i8] c"%02x . \00"
define i32 @main() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = tail call %struct.i2c_eeprom_t* @eeprom_init(i32 23)
%4 = icmp eq %struct.i2c_eeprom_t* %3, null
br i1 %4, label %65, label %5
5: ; preds = %0
%6 = tail call i32 @i2cee_open(%struct.i2c_eeprom_t* %3, i32 1, i32 80, i32 0)
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %63
8: ; preds = %5
%9 = bitcast [256 x i8]* %1 to <16 x i8>*
store <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, <16 x i8>* %9
%10 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 16
%11 = bitcast i8* %10 to <16 x i8>*
store <16 x i8> <i8 16, i8 17, i8 18, i8 19, i8 20, i8 21, i8 22, i8 23, i8 24, i8 25, i8 26, i8 27, i8 28, i8 29, i8 30, i8 31>, <16 x i8>* %11
%12 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 32
%13 = bitcast i8* %12 to <16 x i8>*
store <16 x i8> <i8 32, i8 33, i8 34, i8 35, i8 36, i8 37, i8 38, i8 39, i8 40, i8 41, i8 42, i8 43, i8 44, i8 45, i8 46, i8 47>, <16 x i8>* %13
%14 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 48
%15 = bitcast i8* %14 to <16 x i8>*
store <16 x i8> <i8 48, i8 49, i8 50, i8 51, i8 52, i8 53, i8 54, i8 55, i8 56, i8 57, i8 58, i8 59, i8 60, i8 61, i8 62, i8 63>, <16 x i8>* %15
%16 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 64
%17 = bitcast i8* %16 to <16 x i8>*
store <16 x i8> <i8 64, i8 65, i8 66, i8 67, i8 68, i8 69, i8 70, i8 71, i8 72, i8 73, i8 74, i8 75, i8 76, i8 77, i8 78, i8 79>, <16 x i8>* %17
%18 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 80
%19 = bitcast i8* %18 to <16 x i8>*
store <16 x i8> <i8 80, i8 81, i8 82, i8 83, i8 84, i8 85, i8 86, i8 87, i8 88, i8 89, i8 90, i8 91, i8 92, i8 93, i8 94, i8 95>, <16 x i8>* %19
%20 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 96
%21 = bitcast i8* %20 to <16 x i8>*
store <16 x i8> <i8 96, i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111>, <16 x i8>* %21
%22 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 112
%23 = bitcast i8* %22 to <16 x i8>*
store <16 x i8> <i8 112, i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120, i8 121, i8 122, i8 123, i8 124, i8 125, i8 126, i8 127>, <16 x i8>* %23
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 128
%25 = bitcast i8* %24 to <16 x i8>*
store <16 x i8> <i8 -128, i8 -127, i8 -126, i8 -125, i8 -124, i8 -123, i8 -122, i8 -121, i8 -120, i8 -119, i8 -118, i8 -117, i8 -116, i8 -115, i8 -114, i8 -113>, <16 x i8>* %25
%26 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 144
%27 = bitcast i8* %26 to <16 x i8>*
store <16 x i8> <i8 -112, i8 -111, i8 -110, i8 -109, i8 -108, i8 -107, i8 -106, i8 -105, i8 -104, i8 -103, i8 -102, i8 -101, i8 -100, i8 -99, i8 -98, i8 -97>, <16 x i8>* %27
%28 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 160
%29 = bitcast i8* %28 to <16 x i8>*
store <16 x i8> <i8 -96, i8 -95, i8 -94, i8 -93, i8 -92, i8 -91, i8 -90, i8 -89, i8 -88, i8 -87, i8 -86, i8 -85, i8 -84, i8 -83, i8 -82, i8 -81>, <16 x i8>* %29
%30 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 176
%31 = bitcast i8* %30 to <16 x i8>*
store <16 x i8> <i8 -80, i8 -79, i8 -78, i8 -77, i8 -76, i8 -75, i8 -74, i8 -73, i8 -72, i8 -71, i8 -70, i8 -69, i8 -68, i8 -67, i8 -66, i8 -65>, <16 x i8>* %31
%32 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 192
%33 = bitcast i8* %32 to <16 x i8>*
store <16 x i8> <i8 -64, i8 -63, i8 -62, i8 -61, i8 -60, i8 -59, i8 -58, i8 -57, i8 -56, i8 -55, i8 -54, i8 -53, i8 -52, i8 -51, i8 -50, i8 -49>, <16 x i8>* %33
%34 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 208
%35 = bitcast i8* %34 to <16 x i8>*
store <16 x i8> <i8 -48, i8 -47, i8 -46, i8 -45, i8 -44, i8 -43, i8 -42, i8 -41, i8 -40, i8 -39, i8 -38, i8 -37, i8 -36, i8 -35, i8 -34, i8 -33>, <16 x i8>* %35
%36 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 224
%37 = bitcast i8* %36 to <16 x i8>*
store <16 x i8> <i8 -32, i8 -31, i8 -30, i8 -29, i8 -28, i8 -27, i8 -26, i8 -25, i8 -24, i8 -23, i8 -22, i8 -21, i8 -20, i8 -19, i8 -18, i8 -17>, <16 x i8>* %37
%38 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 240
%39 = bitcast i8* %38 to <16 x i8>*
store <16 x i8> <i8 -16, i8 -15, i8 -14, i8 -13, i8 -12, i8 -11, i8 -10, i8 -9, i8 -8, i8 -7, i8 -6, i8 -5, i8 -4, i8 -3, i8 -2, i8 -1>, <16 x i8>* %39
%40 = call i32 @i2cee_write(%struct.i2c_eeprom_t* %3, i32 256, i32 1, i32 0, i8* %2, i32 2, i32 0)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %61
42: ; preds = %8
%43 = call i32 @memset(i8* %2, i8 signext 0, i32 256)
%44 = call i32 @i2cee_read(%struct.i2c_eeprom_t* %3, i32 256, i32 1, i32 0, i8* %2, i32 2)
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %61
46: ; preds = %42
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %48
48: ; preds = %46, %54
%49 = phi i64 [ 1, %46 ], [ %59, %54 ]
%50 = and i64 %49, 15
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %54
54: ; preds = %52, %48
%55 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 %49
%56 = load i8, i8* %55
%57 = zext i8 %56 to i32
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %57)
%59 = add nuw nsw i64 %49, 1
%60 = icmp eq i64 %59, 257
br i1 %60, label %61, label %48
61: ; preds = %54, %42, %8
%62 = call i32 @i2cee_close(%struct.i2c_eeprom_t* %3)
br label %63
63: ; preds = %61, %5
%64 = call i32 @eeprom_release(%struct.i2c_eeprom_t* %3)
br label %65
65: ; preds = %63, %0
ret i32 0
}