; LLVM IR from cvra/robot-software :: lib/cmp/test (test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.buf_s = type { i64, i64, i64, ptr }
%struct.cmp_ctx_s = type { i8, ptr, ptr, ptr }
%struct.cmp_object_s = type { i8, %union.cmp_object_data_u }
%union.cmp_object_data_u = type { i64 }

@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.run_binary_tests = external hidden unnamed_addr constant [17 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.288 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.304 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @setup_cmp_and_buf(ptr noundef, ptr noundef) #1

declare zeroext i1 @M_BufferSeek(ptr noundef, i64 noundef) #2

declare i64 @M_BufferGetSize(ptr noundef) #2

declare zeroext i1 @cmp_read_object(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @error_printf(ptr noundef, ...) #1

declare ptr @cmp_strerror(ptr noundef) #2

declare zeroext i1 @M_BufferEqualsData(ptr noundef, ptr noundef, i64 noundef) #2

declare ptr @M_BufferGetData(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @error_clear() #1

declare void @M_BufferClear(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @error_printbin(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @error_print_object(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @run_binary_tests() #1 {
  %1 = alloca i1, align 1
  %2 = alloca %struct.buf_s, align 8
  %3 = alloca %struct.cmp_ctx_s, align 8
  %4 = alloca %struct.cmp_object_s, align 8
  %5 = alloca i32, align 4
  %6 = alloca [1 x i8], align 1
  %7 = alloca i32, align 4
  %8 = alloca [11 x i8], align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [1 x i8], align 1
  %13 = alloca i32, align 4
  %14 = alloca [11 x i8], align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [1 x i8], align 1
  %19 = alloca i32, align 4
  %20 = alloca [11 x i8], align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca [1 x i8], align 1
  %25 = alloca i32, align 4
  %26 = alloca [11 x i8], align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  call void @setup_cmp_and_buf(ptr noundef %3, ptr noundef %2)
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %30 = call zeroext i1 @cmp_write_bin8(ptr noundef %3, ptr noundef @.str.280, i8 noundef zeroext 0)
  br i1 %30, label %33, label %31

31:                                               ; preds = %0
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %32 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 0, ptr noundef %32)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

33:                                               ; preds = %0
  %34 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %35 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.284, i64 noundef 2)
  br i1 %35, label %39, label %36

36:                                               ; preds = %33
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef @.str.284, i64 noundef 2)
  %37 = call ptr @M_BufferGetData(ptr noundef %2)
  %38 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %37, i64 noundef %38)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

39:                                               ; preds = %33
  %40 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %41 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %41, label %44, label %42

42:                                               ; preds = %39
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %43 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %43)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

44:                                               ; preds = %39
  %45 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %46 = load i32, ptr %45, align 8, !tbaa !5
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %44
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

49:                                               ; preds = %44
  %50 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %51

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !8
  %52 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %52, i8 0, i64 1, i1 false)
  %53 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
  %54 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %53, ptr noundef %7)
  br i1 %54, label %57, label %55

55:                                               ; preds = %51
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %56 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %56)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %63

57:                                               ; preds = %51
  %58 = load i32, ptr %7, align 4, !tbaa !8
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %62

60:                                               ; preds = %57
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %61 = load i32, ptr %7, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 0, i32 noundef %61, i32 noundef 0)
  br label %62

62:                                               ; preds = %60, %57
  store i32 0, ptr %5, align 4
  br label %63

63:                                               ; preds = %62, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  %64 = load i32, ptr %5, align 4
  switch i32 %64, label %466 [
    i32 0, label %65
  ]

65:                                               ; preds = %63
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %68 = call zeroext i1 @cmp_write_bin8(ptr noundef %3, ptr noundef @.str.291, i8 noundef zeroext 10)
  br i1 %68, label %71, label %69

69:                                               ; preds = %67
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %70 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 10, ptr noundef %70)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

71:                                               ; preds = %67
  %72 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %73 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.292, i64 noundef 12)
  br i1 %73, label %77, label %74

74:                                               ; preds = %71
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef @.str.292, i64 noundef 12)
  %75 = call ptr @M_BufferGetData(ptr noundef %2)
  %76 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %75, i64 noundef %76)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

77:                                               ; preds = %71
  %78 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %79 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %79, label %82, label %80

80:                                               ; preds = %77
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %81 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %81)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

82:                                               ; preds = %77
  %83 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !5
  %85 = icmp ne i32 %84, 10
  br i1 %85, label %86, label %87

86:                                               ; preds = %82
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

87:                                               ; preds = %82
  %88 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %89

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 11, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 11, ptr %9, align 4, !tbaa !8
  %90 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %90, i8 0, i64 11, i1 false)
  %91 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
  %92 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %91, ptr noundef %9)
  br i1 %92, label %95, label %93

93:                                               ; preds = %89
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %94 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %94)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %134

95:                                               ; preds = %89
  %96 = load i32, ptr %9, align 4, !tbaa !8
  %97 = icmp ne i32 %96, 10
  br i1 %97, label %98, label %100

98:                                               ; preds = %95
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.282)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %99 = load i32, ptr %9, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 10, i32 noundef %99, i32 noundef 10)
  br label %100

100:                                              ; preds = %98, %95
  %101 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0
  %102 = call i32 @memcmp(ptr noundef %101, ptr noundef @.str.291, i64 noundef 10) #6
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %133

104:                                              ; preds = %100
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef @.str.293, ptr noundef @.str.282)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !8
  br label %105

105:                                              ; preds = %115, %104
  %106 = load i32, ptr %10, align 4, !tbaa !8
  %107 = icmp slt i32 %106, 10
  br i1 %107, label %109, label %108

108:                                              ; preds = %105
  store i32 6, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %118

109:                                              ; preds = %105
  %110 = load i32, ptr %10, align 4, !tbaa !8
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [13 x i8], ptr @.str.292, i64 0, i64 %111
  %113 = load i8, ptr %112, align 1, !tbaa !5
  %114 = sext i8 %113 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %114)
  br label %115

115:                                              ; preds = %109
  %116 = load i32, ptr %10, align 4, !tbaa !8
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %10, align 4, !tbaa !8
  br label %105, !llvm.loop !10

118:                                              ; preds = %108
  call void (ptr, ...) @error_printf(ptr noundef @.str.295, ptr noundef @.str.296, i32 noundef 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !8
  br label %119

119:                                              ; preds = %129, %118
  %120 = load i32, ptr %11, align 4, !tbaa !8
  %121 = icmp slt i32 %120, 10
  br i1 %121, label %123, label %122

122:                                              ; preds = %119
  store i32 9, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %132

123:                                              ; preds = %119
  %124 = load i32, ptr %11, align 4, !tbaa !8
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 %125
  %127 = load i8, ptr %126, align 1, !tbaa !5
  %128 = sext i8 %127 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %128)
  br label %129

129:                                              ; preds = %123
  %130 = load i32, ptr %11, align 4, !tbaa !8
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %11, align 4, !tbaa !8
  br label %119, !llvm.loop !12

132:                                              ; preds = %122
  call void (ptr, ...) @error_printf(ptr noundef @.str.297)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %134

133:                                              ; preds = %100
  store i32 0, ptr %5, align 4
  br label %134

134:                                              ; preds = %133, %132, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr %8) #5
  %135 = load i32, ptr %5, align 4
  switch i32 %135, label %466 [
    i32 0, label %136
  ]

136:                                              ; preds = %134
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %139 = call zeroext i1 @cmp_write_bin16(ptr noundef %3, ptr noundef @.str.280, i16 noundef zeroext 0)
  br i1 %139, label %142, label %140

140:                                              ; preds = %138
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %141 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 0, ptr noundef %141)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

142:                                              ; preds = %138
  %143 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %144 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.299, i64 noundef 3)
  br i1 %144, label %148, label %145

145:                                              ; preds = %142
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef @.str.299, i64 noundef 3)
  %146 = call ptr @M_BufferGetData(ptr noundef %2)
  %147 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %146, i64 noundef %147)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

148:                                              ; preds = %142
  %149 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %150 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %150, label %153, label %151

151:                                              ; preds = %148
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %152 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %152)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

153:                                              ; preds = %148
  %154 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %155 = load i32, ptr %154, align 8, !tbaa !5
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %153
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

158:                                              ; preds = %153
  %159 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %160

160:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1, ptr %13, align 4, !tbaa !8
  %161 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %161, i8 0, i64 1, i1 false)
  %162 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0
  %163 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %162, ptr noundef %13)
  br i1 %163, label %166, label %164

164:                                              ; preds = %160
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %165 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %165)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %172

166:                                              ; preds = %160
  %167 = load i32, ptr %13, align 4, !tbaa !8
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %166
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %170 = load i32, ptr %13, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 0, i32 noundef %170, i32 noundef 0)
  br label %171

171:                                              ; preds = %169, %166
  store i32 0, ptr %5, align 4
  br label %172

172:                                              ; preds = %171, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  %173 = load i32, ptr %5, align 4
  switch i32 %173, label %466 [
    i32 0, label %174
  ]

174:                                              ; preds = %172
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %177 = call zeroext i1 @cmp_write_bin16(ptr noundef %3, ptr noundef @.str.291, i16 noundef zeroext 10)
  br i1 %177, label %180, label %178

178:                                              ; preds = %176
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %179 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 10, ptr noundef %179)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

180:                                              ; preds = %176
  %181 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %182 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.300, i64 noundef 13)
  br i1 %182, label %186, label %183

183:                                              ; preds = %180
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef @.str.300, i64 noundef 13)
  %184 = call ptr @M_BufferGetData(ptr noundef %2)
  %185 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %184, i64 noundef %185)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

186:                                              ; preds = %180
  %187 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %188 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %188, label %191, label %189

189:                                              ; preds = %186
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %190 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %190)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

191:                                              ; preds = %186
  %192 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %193 = load i32, ptr %192, align 8, !tbaa !5
  %194 = icmp ne i32 %193, 10
  br i1 %194, label %195, label %196

195:                                              ; preds = %191
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

196:                                              ; preds = %191
  %197 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %198

198:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 11, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 11, ptr %15, align 4, !tbaa !8
  %199 = getelementptr inbounds [11 x i8], ptr %14, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %199, i8 0, i64 11, i1 false)
  %200 = getelementptr inbounds [11 x i8], ptr %14, i64 0, i64 0
  %201 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %200, ptr noundef %15)
  br i1 %201, label %204, label %202

202:                                              ; preds = %198
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %203 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %203)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %243

204:                                              ; preds = %198
  %205 = load i32, ptr %15, align 4, !tbaa !8
  %206 = icmp ne i32 %205, 10
  br i1 %206, label %207, label %209

207:                                              ; preds = %204
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.298)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %208 = load i32, ptr %15, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 10, i32 noundef %208, i32 noundef 10)
  br label %209

209:                                              ; preds = %207, %204
  %210 = getelementptr inbounds [11 x i8], ptr %14, i64 0, i64 0
  %211 = call i32 @memcmp(ptr noundef %210, ptr noundef @.str.291, i64 noundef 10) #6
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %242

213:                                              ; preds = %209
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef @.str.293, ptr noundef @.str.298)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !8
  br label %214

214:                                              ; preds = %224, %213
  %215 = load i32, ptr %16, align 4, !tbaa !8
  %216 = icmp slt i32 %215, 10
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %227

218:                                              ; preds = %214
  %219 = load i32, ptr %16, align 4, !tbaa !8
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [14 x i8], ptr @.str.300, i64 0, i64 %220
  %222 = load i8, ptr %221, align 1, !tbaa !5
  %223 = sext i8 %222 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %223)
  br label %224

224:                                              ; preds = %218
  %225 = load i32, ptr %16, align 4, !tbaa !8
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %16, align 4, !tbaa !8
  br label %214, !llvm.loop !13

227:                                              ; preds = %217
  call void (ptr, ...) @error_printf(ptr noundef @.str.295, ptr noundef @.str.296, i32 noundef 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !8
  br label %228

228:                                              ; preds = %238, %227
  %229 = load i32, ptr %17, align 4, !tbaa !8
  %230 = icmp slt i32 %229, 10
  br i1 %230, label %232, label %231

231:                                              ; preds = %228
  store i32 19, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %241

232:                                              ; preds = %228
  %233 = load i32, ptr %17, align 4, !tbaa !8
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [11 x i8], ptr %14, i64 0, i64 %234
  %236 = load i8, ptr %235, align 1, !tbaa !5
  %237 = sext i8 %236 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %237)
  br label %238

238:                                              ; preds = %232
  %239 = load i32, ptr %17, align 4, !tbaa !8
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %17, align 4, !tbaa !8
  br label %228, !llvm.loop !14

241:                                              ; preds = %231
  call void (ptr, ...) @error_printf(ptr noundef @.str.297)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %243

242:                                              ; preds = %209
  store i32 0, ptr %5, align 4
  br label %243

243:                                              ; preds = %242, %241, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr %14) #5
  %244 = load i32, ptr %5, align 4
  switch i32 %244, label %466 [
    i32 0, label %245
  ]

245:                                              ; preds = %243
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %248 = call zeroext i1 @cmp_write_bin32(ptr noundef %3, ptr noundef @.str.280, i32 noundef 0)
  br i1 %248, label %251, label %249

249:                                              ; preds = %247
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %250 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 0, ptr noundef %250)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

251:                                              ; preds = %247
  %252 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %253 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.302, i64 noundef 5)
  br i1 %253, label %257, label %254

254:                                              ; preds = %251
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef @.str.302, i64 noundef 5)
  %255 = call ptr @M_BufferGetData(ptr noundef %2)
  %256 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %255, i64 noundef %256)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

257:                                              ; preds = %251
  %258 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %259 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %259, label %262, label %260

260:                                              ; preds = %257
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %261 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %261)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

262:                                              ; preds = %257
  %263 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %264 = load i32, ptr %263, align 8, !tbaa !5
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %266, label %267

266:                                              ; preds = %262
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

267:                                              ; preds = %262
  %268 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %269

269:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 1, ptr %19, align 4, !tbaa !8
  %270 = getelementptr inbounds [1 x i8], ptr %18, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %270, i8 0, i64 1, i1 false)
  %271 = getelementptr inbounds [1 x i8], ptr %18, i64 0, i64 0
  %272 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %271, ptr noundef %19)
  br i1 %272, label %275, label %273

273:                                              ; preds = %269
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %274 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %274)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %281

275:                                              ; preds = %269
  %276 = load i32, ptr %19, align 4, !tbaa !8
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %280

278:                                              ; preds = %275
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %279 = load i32, ptr %19, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 0, i32 noundef %279, i32 noundef 0)
  br label %280

280:                                              ; preds = %278, %275
  store i32 0, ptr %5, align 4
  br label %281

281:                                              ; preds = %280, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  %282 = load i32, ptr %5, align 4
  switch i32 %282, label %466 [
    i32 0, label %283
  ]

283:                                              ; preds = %281
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %286 = call zeroext i1 @cmp_write_bin32(ptr noundef %3, ptr noundef @.str.291, i32 noundef 10)
  br i1 %286, label %289, label %287

287:                                              ; preds = %285
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %288 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 10, ptr noundef %288)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

289:                                              ; preds = %285
  %290 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %291 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.303, i64 noundef 15)
  br i1 %291, label %295, label %292

292:                                              ; preds = %289
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef @.str.303, i64 noundef 15)
  %293 = call ptr @M_BufferGetData(ptr noundef %2)
  %294 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %293, i64 noundef %294)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

295:                                              ; preds = %289
  %296 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %297 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %297, label %300, label %298

298:                                              ; preds = %295
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %299 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %299)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

300:                                              ; preds = %295
  %301 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %302 = load i32, ptr %301, align 8, !tbaa !5
  %303 = icmp ne i32 %302, 10
  br i1 %303, label %304, label %305

304:                                              ; preds = %300
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

305:                                              ; preds = %300
  %306 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %307

307:                                              ; preds = %305
  call void @llvm.lifetime.start.p0(i64 11, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 11, ptr %21, align 4, !tbaa !8
  %308 = getelementptr inbounds [11 x i8], ptr %20, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %308, i8 0, i64 11, i1 false)
  %309 = getelementptr inbounds [11 x i8], ptr %20, i64 0, i64 0
  %310 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %309, ptr noundef %21)
  br i1 %310, label %313, label %311

311:                                              ; preds = %307
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %312 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %312)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %352

313:                                              ; preds = %307
  %314 = load i32, ptr %21, align 4, !tbaa !8
  %315 = icmp ne i32 %314, 10
  br i1 %315, label %316, label %318

316:                                              ; preds = %313
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.301)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %317 = load i32, ptr %21, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 10, i32 noundef %317, i32 noundef 10)
  br label %318

318:                                              ; preds = %316, %313
  %319 = getelementptr inbounds [11 x i8], ptr %20, i64 0, i64 0
  %320 = call i32 @memcmp(ptr noundef %319, ptr noundef @.str.291, i64 noundef 10) #6
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %322, label %351

322:                                              ; preds = %318
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef @.str.293, ptr noundef @.str.301)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !8
  br label %323

323:                                              ; preds = %333, %322
  %324 = load i32, ptr %22, align 4, !tbaa !8
  %325 = icmp slt i32 %324, 10
  br i1 %325, label %327, label %326

326:                                              ; preds = %323
  store i32 26, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %336

327:                                              ; preds = %323
  %328 = load i32, ptr %22, align 4, !tbaa !8
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [16 x i8], ptr @.str.303, i64 0, i64 %329
  %331 = load i8, ptr %330, align 1, !tbaa !5
  %332 = sext i8 %331 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %332)
  br label %333

333:                                              ; preds = %327
  %334 = load i32, ptr %22, align 4, !tbaa !8
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr %22, align 4, !tbaa !8
  br label %323, !llvm.loop !15

336:                                              ; preds = %326
  call void (ptr, ...) @error_printf(ptr noundef @.str.295, ptr noundef @.str.296, i32 noundef 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !8
  br label %337

337:                                              ; preds = %347, %336
  %338 = load i32, ptr %23, align 4, !tbaa !8
  %339 = icmp slt i32 %338, 10
  br i1 %339, label %341, label %340

340:                                              ; preds = %337
  store i32 29, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %350

341:                                              ; preds = %337
  %342 = load i32, ptr %23, align 4, !tbaa !8
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds [11 x i8], ptr %20, i64 0, i64 %343
  %345 = load i8, ptr %344, align 1, !tbaa !5
  %346 = sext i8 %345 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %346)
  br label %347

347:                                              ; preds = %341
  %348 = load i32, ptr %23, align 4, !tbaa !8
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %23, align 4, !tbaa !8
  br label %337, !llvm.loop !16

350:                                              ; preds = %340
  call void (ptr, ...) @error_printf(ptr noundef @.str.297)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %352

351:                                              ; preds = %318
  store i32 0, ptr %5, align 4
  br label %352

352:                                              ; preds = %351, %350, %311
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr %20) #5
  %353 = load i32, ptr %5, align 4
  switch i32 %353, label %466 [
    i32 0, label %354
  ]

354:                                              ; preds = %352
  br label %355

355:                                              ; preds = %354
  br label %356

356:                                              ; preds = %355
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %357 = call zeroext i1 @cmp_write_bin(ptr noundef %3, ptr noundef @.str.280, i32 noundef 0)
  br i1 %357, label %360, label %358

358:                                              ; preds = %356
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %359 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 0, ptr noundef %359)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

360:                                              ; preds = %356
  %361 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %362 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.284, i64 noundef 2)
  br i1 %362, label %366, label %363

363:                                              ; preds = %360
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef @.str.284, i64 noundef 2)
  %364 = call ptr @M_BufferGetData(ptr noundef %2)
  %365 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %364, i64 noundef %365)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

366:                                              ; preds = %360
  %367 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %368 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %368, label %371, label %369

369:                                              ; preds = %366
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %370 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %370)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

371:                                              ; preds = %366
  %372 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %373 = load i32, ptr %372, align 8, !tbaa !5
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %375, label %376

375:                                              ; preds = %371
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

376:                                              ; preds = %371
  %377 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %378

378:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 1, ptr %25, align 4, !tbaa !8
  %379 = getelementptr inbounds [1 x i8], ptr %24, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %379, i8 0, i64 1, i1 false)
  %380 = getelementptr inbounds [1 x i8], ptr %24, i64 0, i64 0
  %381 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %380, ptr noundef %25)
  br i1 %381, label %384, label %382

382:                                              ; preds = %378
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %383 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 0, ptr noundef %383)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %390

384:                                              ; preds = %378
  %385 = load i32, ptr %25, align 4, !tbaa !8
  %386 = icmp ne i32 %385, 0
  br i1 %386, label %387, label %389

387:                                              ; preds = %384
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.280, i64 noundef 0)
  %388 = load i32, ptr %25, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 0, i32 noundef %388, i32 noundef 0)
  br label %389

389:                                              ; preds = %387, %384
  store i32 0, ptr %5, align 4
  br label %390

390:                                              ; preds = %389, %382
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  %391 = load i32, ptr %5, align 4
  switch i32 %391, label %466 [
    i32 0, label %392
  ]

392:                                              ; preds = %390
  br label %393

393:                                              ; preds = %392
  br label %394

394:                                              ; preds = %393
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %395 = call zeroext i1 @cmp_write_bin(ptr noundef %3, ptr noundef @.str.291, i32 noundef 10)
  br i1 %395, label %398, label %396

396:                                              ; preds = %394
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %397 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.283, i32 noundef 10, ptr noundef %397)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

398:                                              ; preds = %394
  %399 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %400 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.292, i64 noundef 12)
  br i1 %400, label %404, label %401

401:                                              ; preds = %398
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.281, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef @.str.292, i64 noundef 12)
  %402 = call ptr @M_BufferGetData(ptr noundef %2)
  %403 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %402, i64 noundef %403)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

404:                                              ; preds = %398
  %405 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %406 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %406, label %409, label %407

407:                                              ; preds = %404
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %408 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %408)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

409:                                              ; preds = %404
  %410 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %411 = load i32, ptr %410, align 8, !tbaa !5
  %412 = icmp ne i32 %411, 10
  br i1 %412, label %413, label %414

413:                                              ; preds = %409
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.288, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef %4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

414:                                              ; preds = %409
  %415 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %416

416:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 11, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 11, ptr %27, align 4, !tbaa !8
  %417 = getelementptr inbounds [11 x i8], ptr %26, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %417, i8 0, i64 11, i1 false)
  %418 = getelementptr inbounds [11 x i8], ptr %26, i64 0, i64 0
  %419 = call zeroext i1 @cmp_read_bin(ptr noundef %3, ptr noundef %418, ptr noundef %27)
  br i1 %419, label %422, label %420

420:                                              ; preds = %416
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %421 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.287, i32 noundef 10, ptr noundef %421)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %461

422:                                              ; preds = %416
  %423 = load i32, ptr %27, align 4, !tbaa !8
  %424 = icmp ne i32 %423, 10
  br i1 %424, label %425, label %427

425:                                              ; preds = %422
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.286, ptr noundef @.str.304)
  call void @error_printbin(ptr noundef @.str.291, i64 noundef 10)
  %426 = load i32, ptr %27, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.290, i32 noundef 10, i32 noundef %426, i32 noundef 10)
  br label %427

427:                                              ; preds = %425, %422
  %428 = getelementptr inbounds [11 x i8], ptr %26, i64 0, i64 0
  %429 = call i32 @memcmp(ptr noundef %428, ptr noundef @.str.291, i64 noundef 10) #6
  %430 = icmp ne i32 %429, 0
  br i1 %430, label %431, label %460

431:                                              ; preds = %427
  call void (ptr, ...) @error_printf(ptr noundef @.str.16, ptr noundef @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef @.str.293, ptr noundef @.str.304)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !8
  br label %432

432:                                              ; preds = %442, %431
  %433 = load i32, ptr %28, align 4, !tbaa !8
  %434 = icmp slt i32 %433, 10
  br i1 %434, label %436, label %435

435:                                              ; preds = %432
  store i32 36, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %445

436:                                              ; preds = %432
  %437 = load i32, ptr %28, align 4, !tbaa !8
  %438 = sext i32 %437 to i64
  %439 = getelementptr inbounds [13 x i8], ptr @.str.292, i64 0, i64 %438
  %440 = load i8, ptr %439, align 1, !tbaa !5
  %441 = sext i8 %440 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %441)
  br label %442

442:                                              ; preds = %436
  %443 = load i32, ptr %28, align 4, !tbaa !8
  %444 = add nsw i32 %443, 1
  store i32 %444, ptr %28, align 4, !tbaa !8
  br label %432, !llvm.loop !17

445:                                              ; preds = %435
  call void (ptr, ...) @error_printf(ptr noundef @.str.295, ptr noundef @.str.296, i32 noundef 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !8
  br label %446

446:                                              ; preds = %456, %445
  %447 = load i32, ptr %29, align 4, !tbaa !8
  %448 = icmp slt i32 %447, 10
  br i1 %448, label %450, label %449

449:                                              ; preds = %446
  store i32 39, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %459

450:                                              ; preds = %446
  %451 = load i32, ptr %29, align 4, !tbaa !8
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds [11 x i8], ptr %26, i64 0, i64 %452
  %454 = load i8, ptr %453, align 1, !tbaa !5
  %455 = sext i8 %454 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.294, i32 noundef %455)
  br label %456

456:                                              ; preds = %450
  %457 = load i32, ptr %29, align 4, !tbaa !8
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %29, align 4, !tbaa !8
  br label %446, !llvm.loop !18

459:                                              ; preds = %449
  call void (ptr, ...) @error_printf(ptr noundef @.str.297)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %461

460:                                              ; preds = %427
  store i32 0, ptr %5, align 4
  br label %461

461:                                              ; preds = %460, %459, %420
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr %26) #5
  %462 = load i32, ptr %5, align 4
  switch i32 %462, label %466 [
    i32 0, label %463
  ]

463:                                              ; preds = %461
  br label %464

464:                                              ; preds = %463
  br label %465

465:                                              ; preds = %464
  store i1 true, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %466

466:                                              ; preds = %465, %461, %413, %407, %401, %396, %390, %375, %369, %363, %358, %352, %304, %298, %292, %287, %281, %266, %260, %254, %249, %243, %195, %189, %183, %178, %172, %157, %151, %145, %140, %134, %86, %80, %74, %69, %63, %48, %42, %36, %31
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  %467 = load i1, ptr %1, align 1
  ret i1 %467
}

declare zeroext i1 @cmp_write_bin8(ptr noundef, ptr noundef, i8 noundef zeroext) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare zeroext i1 @cmp_read_bin(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

declare zeroext i1 @cmp_write_bin16(ptr noundef, ptr noundef, i16 noundef zeroext) #2

declare zeroext i1 @cmp_write_bin32(ptr noundef, ptr noundef, i32 noundef) #2

declare zeroext i1 @cmp_write_bin(ptr noundef, ptr noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.buf_s = type { i64, i64, i64, ptr }
%struct.cmp_ctx_s = type { i8, ptr, ptr, ptr }
%struct.cmp_object_s = type { i8, %union.cmp_object_data_u }
%union.cmp_object_data_u = type { i64 }

@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.run_binary_tests = external hidden unnamed_addr constant [17 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.288 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.304 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @setup_cmp_and_buf(ptr noundef, ptr noundef) local_unnamed_addr #1

declare zeroext i1 @M_BufferSeek(ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @M_BufferGetSize(ptr noundef) local_unnamed_addr #2

declare zeroext i1 @cmp_read_object(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @error_printf(ptr noundef, ...) local_unnamed_addr #1

declare ptr @cmp_strerror(ptr noundef) local_unnamed_addr #2

declare zeroext i1 @M_BufferEqualsData(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @M_BufferGetData(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden void @error_clear() local_unnamed_addr #1

declare void @M_BufferClear(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @error_printbin(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @error_print_object(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @run_binary_tests() local_unnamed_addr #1 {
  %1 = alloca %struct.buf_s, align 8
  %2 = alloca %struct.cmp_ctx_s, align 8
  %3 = alloca %struct.cmp_object_s, align 8
  %4 = alloca [1 x i8], align 1
  %5 = alloca i32, align 4
  %6 = alloca [11 x i8], align 1
  %7 = alloca i32, align 4
  %8 = alloca [1 x i8], align 1
  %9 = alloca i32, align 4
  %10 = alloca [11 x i8], align 1
  %11 = alloca i32, align 4
  %12 = alloca [1 x i8], align 1
  %13 = alloca i32, align 4
  %14 = alloca [11 x i8], align 1
  %15 = alloca i32, align 4
  %16 = alloca [1 x i8], align 1
  %17 = alloca i32, align 4
  %18 = alloca [11 x i8], align 1
  %19 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @setup_cmp_and_buf(ptr noundef nonnull %2, ptr noundef nonnull %1)
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %20 = call zeroext i1 @cmp_write_bin8(ptr noundef nonnull %2, ptr noundef nonnull @.str.280, i8 noundef zeroext 0) #5
  br i1 %20, label %23, label %21

21:                                               ; preds = %0
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %22 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 0, ptr noundef %22)
  br label %441

23:                                               ; preds = %0
  %24 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %25 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.284, i64 noundef 2) #5
  br i1 %25, label %29, label %26

26:                                               ; preds = %23
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef nonnull @.str.284, i64 noundef 2)
  %27 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %28 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %27, i64 noundef %28)
  br label %441

29:                                               ; preds = %23
  %30 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %31 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %31, label %34, label %32

32:                                               ; preds = %29
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %33 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %33)
  br label %441

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %3, i64 8
  %36 = load i32, ptr %35, align 8, !tbaa !5
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %38, label %37

37:                                               ; preds = %34
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

38:                                               ; preds = %34
  %39 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 1, ptr %5, align 4, !tbaa !8
  store i8 0, ptr %4, align 1
  %40 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
  br i1 %40, label %41, label %45

41:                                               ; preds = %38
  %42 = load i32, ptr %5, align 4, !tbaa !8
  %.not55 = icmp eq i32 %42, 0
  br i1 %.not55, label %47, label %43

43:                                               ; preds = %41
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %44 = load i32, ptr %5, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 0, i32 noundef %44, i32 noundef 0)
  br label %47

45:                                               ; preds = %38
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2156)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %46 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %46)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %441

47:                                               ; preds = %41, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %48 = call zeroext i1 @cmp_write_bin8(ptr noundef nonnull %2, ptr noundef nonnull @.str.291, i8 noundef zeroext 10) #5
  br i1 %48, label %51, label %49

49:                                               ; preds = %47
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %50 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 10, ptr noundef %50)
  br label %441

51:                                               ; preds = %47
  %52 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %53 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.292, i64 noundef 12) #5
  br i1 %53, label %57, label %54

54:                                               ; preds = %51
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef nonnull @.str.292, i64 noundef 12)
  %55 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %56 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %55, i64 noundef %56)
  br label %441

57:                                               ; preds = %51
  %58 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %59 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %59, label %62, label %60

60:                                               ; preds = %57
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %61 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %61)
  br label %441

62:                                               ; preds = %57
  %63 = load i32, ptr %35, align 8, !tbaa !5
  %.not56 = icmp eq i32 %63, 10
  br i1 %.not56, label %65, label %64

64:                                               ; preds = %62
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

65:                                               ; preds = %62
  %66 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 11, ptr %7, align 4, !tbaa !8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %6, i8 0, i64 11, i1 false)
  %67 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %6, ptr noundef nonnull %7) #5
  br i1 %67, label %70, label %68

68:                                               ; preds = %65
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %69 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %69)
  br label %.critedge

70:                                               ; preds = %65
  %71 = load i32, ptr %7, align 4, !tbaa !8
  %.not57 = icmp eq i32 %71, 10
  br i1 %.not57, label %74, label %72

72:                                               ; preds = %70
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.282)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %73 = load i32, ptr %7, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 10, i32 noundef %73, i32 noundef 10)
  br label %74

74:                                               ; preds = %72, %70
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(10) %6, ptr noundef nonnull dereferenceable(10) @.str.291, i64 10)
  %.not58 = icmp eq i32 %bcmp, 0
  br i1 %.not58, label %125, label %75

75:                                               ; preds = %74
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2164)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.293, ptr noundef nonnull @.str.282)
  %76 = load i8, ptr @.str.292, align 1, !tbaa !5
  %77 = sext i8 %76 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %77)
  %78 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 1), align 1, !tbaa !5
  %79 = sext i8 %78 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %79)
  %80 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 2), align 1, !tbaa !5
  %81 = sext i8 %80 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %81)
  %82 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 3), align 1, !tbaa !5
  %83 = sext i8 %82 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %83)
  %84 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 4), align 1, !tbaa !5
  %85 = sext i8 %84 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %85)
  %86 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 5), align 1, !tbaa !5
  %87 = sext i8 %86 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %87)
  %88 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 6), align 1, !tbaa !5
  %89 = sext i8 %88 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %89)
  %90 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 7), align 1, !tbaa !5
  %91 = sext i8 %90 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %91)
  %92 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 8), align 1, !tbaa !5
  %93 = sext i8 %92 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %93)
  %94 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 9), align 1, !tbaa !5
  %95 = sext i8 %94 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %95)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.295, ptr noundef nonnull @.str.296, i32 noundef 10)
  %96 = load i8, ptr %6, align 1, !tbaa !5
  %97 = sext i8 %96 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %97)
  %98 = getelementptr inbounds i8, ptr %6, i64 1
  %99 = load i8, ptr %98, align 1, !tbaa !5
  %100 = sext i8 %99 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %100)
  %101 = getelementptr inbounds i8, ptr %6, i64 2
  %102 = load i8, ptr %101, align 1, !tbaa !5
  %103 = sext i8 %102 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %103)
  %104 = getelementptr inbounds i8, ptr %6, i64 3
  %105 = load i8, ptr %104, align 1, !tbaa !5
  %106 = sext i8 %105 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %106)
  %107 = getelementptr inbounds i8, ptr %6, i64 4
  %108 = load i8, ptr %107, align 1, !tbaa !5
  %109 = sext i8 %108 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %109)
  %110 = getelementptr inbounds i8, ptr %6, i64 5
  %111 = load i8, ptr %110, align 1, !tbaa !5
  %112 = sext i8 %111 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %112)
  %113 = getelementptr inbounds i8, ptr %6, i64 6
  %114 = load i8, ptr %113, align 1, !tbaa !5
  %115 = sext i8 %114 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %115)
  %116 = getelementptr inbounds i8, ptr %6, i64 7
  %117 = load i8, ptr %116, align 1, !tbaa !5
  %118 = sext i8 %117 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %118)
  %119 = getelementptr inbounds i8, ptr %6, i64 8
  %120 = load i8, ptr %119, align 1, !tbaa !5
  %121 = sext i8 %120 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %121)
  %122 = getelementptr inbounds i8, ptr %6, i64 9
  %123 = load i8, ptr %122, align 1, !tbaa !5
  %124 = sext i8 %123 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %124)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.297)
  br label %.critedge

125:                                              ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %6) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %126 = call zeroext i1 @cmp_write_bin16(ptr noundef nonnull %2, ptr noundef nonnull @.str.280, i16 noundef zeroext 0) #5
  br i1 %126, label %129, label %127

127:                                              ; preds = %125
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %128 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 0, ptr noundef %128)
  br label %441

129:                                              ; preds = %125
  %130 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %131 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.299, i64 noundef 3) #5
  br i1 %131, label %135, label %132

132:                                              ; preds = %129
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef nonnull @.str.299, i64 noundef 3)
  %133 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %134 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %133, i64 noundef %134)
  br label %441

135:                                              ; preds = %129
  %136 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %137 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %137, label %140, label %138

138:                                              ; preds = %135
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %139 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %139)
  br label %441

140:                                              ; preds = %135
  %141 = load i32, ptr %35, align 8, !tbaa !5
  %.not59 = icmp eq i32 %141, 0
  br i1 %.not59, label %143, label %142

142:                                              ; preds = %140
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

143:                                              ; preds = %140
  %144 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 1, ptr %9, align 4, !tbaa !8
  store i8 0, ptr %8, align 1
  %145 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %8, ptr noundef nonnull %9) #5
  br i1 %145, label %146, label %150

146:                                              ; preds = %143
  %147 = load i32, ptr %9, align 4, !tbaa !8
  %.not60 = icmp eq i32 %147, 0
  br i1 %.not60, label %152, label %148

148:                                              ; preds = %146
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %149 = load i32, ptr %9, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 0, i32 noundef %149, i32 noundef 0)
  br label %152

150:                                              ; preds = %143
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2166)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %151 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %151)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  br label %441

152:                                              ; preds = %146, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %153 = call zeroext i1 @cmp_write_bin16(ptr noundef nonnull %2, ptr noundef nonnull @.str.291, i16 noundef zeroext 10) #5
  br i1 %153, label %156, label %154

154:                                              ; preds = %152
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %155 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 10, ptr noundef %155)
  br label %441

156:                                              ; preds = %152
  %157 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %158 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.300, i64 noundef 13) #5
  br i1 %158, label %162, label %159

159:                                              ; preds = %156
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef nonnull @.str.300, i64 noundef 13)
  %160 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %161 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %160, i64 noundef %161)
  br label %441

162:                                              ; preds = %156
  %163 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %164 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %164, label %167, label %165

165:                                              ; preds = %162
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %166 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %166)
  br label %441

167:                                              ; preds = %162
  %168 = load i32, ptr %35, align 8, !tbaa !5
  %.not61 = icmp eq i32 %168, 10
  br i1 %.not61, label %170, label %169

169:                                              ; preds = %167
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

170:                                              ; preds = %167
  %171 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 11, ptr %11, align 4, !tbaa !8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %10, i8 0, i64 11, i1 false)
  %172 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %10, ptr noundef nonnull %11) #5
  br i1 %172, label %175, label %173

173:                                              ; preds = %170
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %174 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %174)
  br label %.critedge78

175:                                              ; preds = %170
  %176 = load i32, ptr %11, align 4, !tbaa !8
  %.not62 = icmp eq i32 %176, 10
  br i1 %.not62, label %179, label %177

177:                                              ; preds = %175
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.298)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %178 = load i32, ptr %11, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 10, i32 noundef %178, i32 noundef 10)
  br label %179

179:                                              ; preds = %177, %175
  %bcmp63 = call i32 @bcmp(ptr noundef nonnull dereferenceable(10) %10, ptr noundef nonnull dereferenceable(10) @.str.291, i64 10)
  %.not64 = icmp eq i32 %bcmp63, 0
  br i1 %.not64, label %230, label %180

180:                                              ; preds = %179
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2174)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.293, ptr noundef nonnull @.str.298)
  %181 = load i8, ptr @.str.300, align 1, !tbaa !5
  %182 = sext i8 %181 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %182)
  %183 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 1), align 1, !tbaa !5
  %184 = sext i8 %183 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %184)
  %185 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 2), align 1, !tbaa !5
  %186 = sext i8 %185 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %186)
  %187 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 3), align 1, !tbaa !5
  %188 = sext i8 %187 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %188)
  %189 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 4), align 1, !tbaa !5
  %190 = sext i8 %189 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %190)
  %191 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 5), align 1, !tbaa !5
  %192 = sext i8 %191 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %192)
  %193 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 6), align 1, !tbaa !5
  %194 = sext i8 %193 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %194)
  %195 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 7), align 1, !tbaa !5
  %196 = sext i8 %195 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %196)
  %197 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 8), align 1, !tbaa !5
  %198 = sext i8 %197 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %198)
  %199 = load i8, ptr getelementptr inbounds (i8, ptr @.str.300, i64 9), align 1, !tbaa !5
  %200 = sext i8 %199 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %200)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.295, ptr noundef nonnull @.str.296, i32 noundef 10)
  %201 = load i8, ptr %10, align 1, !tbaa !5
  %202 = sext i8 %201 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %202)
  %203 = getelementptr inbounds i8, ptr %10, i64 1
  %204 = load i8, ptr %203, align 1, !tbaa !5
  %205 = sext i8 %204 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %205)
  %206 = getelementptr inbounds i8, ptr %10, i64 2
  %207 = load i8, ptr %206, align 1, !tbaa !5
  %208 = sext i8 %207 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %208)
  %209 = getelementptr inbounds i8, ptr %10, i64 3
  %210 = load i8, ptr %209, align 1, !tbaa !5
  %211 = sext i8 %210 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %211)
  %212 = getelementptr inbounds i8, ptr %10, i64 4
  %213 = load i8, ptr %212, align 1, !tbaa !5
  %214 = sext i8 %213 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %214)
  %215 = getelementptr inbounds i8, ptr %10, i64 5
  %216 = load i8, ptr %215, align 1, !tbaa !5
  %217 = sext i8 %216 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %217)
  %218 = getelementptr inbounds i8, ptr %10, i64 6
  %219 = load i8, ptr %218, align 1, !tbaa !5
  %220 = sext i8 %219 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %220)
  %221 = getelementptr inbounds i8, ptr %10, i64 7
  %222 = load i8, ptr %221, align 1, !tbaa !5
  %223 = sext i8 %222 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %223)
  %224 = getelementptr inbounds i8, ptr %10, i64 8
  %225 = load i8, ptr %224, align 1, !tbaa !5
  %226 = sext i8 %225 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %226)
  %227 = getelementptr inbounds i8, ptr %10, i64 9
  %228 = load i8, ptr %227, align 1, !tbaa !5
  %229 = sext i8 %228 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %229)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.297)
  br label %.critedge78

230:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %10) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %231 = call zeroext i1 @cmp_write_bin32(ptr noundef nonnull %2, ptr noundef nonnull @.str.280, i32 noundef 0) #5
  br i1 %231, label %234, label %232

232:                                              ; preds = %230
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %233 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 0, ptr noundef %233)
  br label %441

234:                                              ; preds = %230
  %235 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %236 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.302, i64 noundef 5) #5
  br i1 %236, label %240, label %237

237:                                              ; preds = %234
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef nonnull @.str.302, i64 noundef 5)
  %238 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %239 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %238, i64 noundef %239)
  br label %441

240:                                              ; preds = %234
  %241 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %242 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %242, label %245, label %243

243:                                              ; preds = %240
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %244 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %244)
  br label %441

245:                                              ; preds = %240
  %246 = load i32, ptr %35, align 8, !tbaa !5
  %.not65 = icmp eq i32 %246, 0
  br i1 %.not65, label %248, label %247

247:                                              ; preds = %245
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

248:                                              ; preds = %245
  %249 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 1, ptr %13, align 4, !tbaa !8
  store i8 0, ptr %12, align 1
  %250 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %12, ptr noundef nonnull %13) #5
  br i1 %250, label %251, label %255

251:                                              ; preds = %248
  %252 = load i32, ptr %13, align 4, !tbaa !8
  %.not66 = icmp eq i32 %252, 0
  br i1 %.not66, label %257, label %253

253:                                              ; preds = %251
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %254 = load i32, ptr %13, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 0, i32 noundef %254, i32 noundef 0)
  br label %257

255:                                              ; preds = %248
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2176)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %256 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %256)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  br label %441

257:                                              ; preds = %251, %253
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %258 = call zeroext i1 @cmp_write_bin32(ptr noundef nonnull %2, ptr noundef nonnull @.str.291, i32 noundef 10) #5
  br i1 %258, label %261, label %259

259:                                              ; preds = %257
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %260 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 10, ptr noundef %260)
  br label %441

261:                                              ; preds = %257
  %262 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %263 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.303, i64 noundef 15) #5
  br i1 %263, label %267, label %264

264:                                              ; preds = %261
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef nonnull @.str.303, i64 noundef 15)
  %265 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %266 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %265, i64 noundef %266)
  br label %441

267:                                              ; preds = %261
  %268 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %269 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %269, label %272, label %270

270:                                              ; preds = %267
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %271 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %271)
  br label %441

272:                                              ; preds = %267
  %273 = load i32, ptr %35, align 8, !tbaa !5
  %.not67 = icmp eq i32 %273, 10
  br i1 %.not67, label %275, label %274

274:                                              ; preds = %272
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

275:                                              ; preds = %272
  %276 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 11, ptr %15, align 4, !tbaa !8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %14, i8 0, i64 11, i1 false)
  %277 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef nonnull %15) #5
  br i1 %277, label %280, label %278

278:                                              ; preds = %275
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %279 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %279)
  br label %.critedge80

280:                                              ; preds = %275
  %281 = load i32, ptr %15, align 4, !tbaa !8
  %.not68 = icmp eq i32 %281, 10
  br i1 %.not68, label %284, label %282

282:                                              ; preds = %280
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.301)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %283 = load i32, ptr %15, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 10, i32 noundef %283, i32 noundef 10)
  br label %284

284:                                              ; preds = %282, %280
  %bcmp69 = call i32 @bcmp(ptr noundef nonnull dereferenceable(10) %14, ptr noundef nonnull dereferenceable(10) @.str.291, i64 10)
  %.not70 = icmp eq i32 %bcmp69, 0
  br i1 %.not70, label %335, label %285

285:                                              ; preds = %284
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2184)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.293, ptr noundef nonnull @.str.301)
  %286 = load i8, ptr @.str.303, align 1, !tbaa !5
  %287 = sext i8 %286 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %287)
  %288 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 1), align 1, !tbaa !5
  %289 = sext i8 %288 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %289)
  %290 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 2), align 1, !tbaa !5
  %291 = sext i8 %290 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %291)
  %292 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 3), align 1, !tbaa !5
  %293 = sext i8 %292 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %293)
  %294 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 4), align 1, !tbaa !5
  %295 = sext i8 %294 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %295)
  %296 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 5), align 1, !tbaa !5
  %297 = sext i8 %296 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %297)
  %298 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 6), align 1, !tbaa !5
  %299 = sext i8 %298 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %299)
  %300 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 7), align 1, !tbaa !5
  %301 = sext i8 %300 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %301)
  %302 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 8), align 1, !tbaa !5
  %303 = sext i8 %302 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %303)
  %304 = load i8, ptr getelementptr inbounds (i8, ptr @.str.303, i64 9), align 1, !tbaa !5
  %305 = sext i8 %304 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %305)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.295, ptr noundef nonnull @.str.296, i32 noundef 10)
  %306 = load i8, ptr %14, align 1, !tbaa !5
  %307 = sext i8 %306 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %307)
  %308 = getelementptr inbounds i8, ptr %14, i64 1
  %309 = load i8, ptr %308, align 1, !tbaa !5
  %310 = sext i8 %309 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %310)
  %311 = getelementptr inbounds i8, ptr %14, i64 2
  %312 = load i8, ptr %311, align 1, !tbaa !5
  %313 = sext i8 %312 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %313)
  %314 = getelementptr inbounds i8, ptr %14, i64 3
  %315 = load i8, ptr %314, align 1, !tbaa !5
  %316 = sext i8 %315 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %316)
  %317 = getelementptr inbounds i8, ptr %14, i64 4
  %318 = load i8, ptr %317, align 1, !tbaa !5
  %319 = sext i8 %318 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %319)
  %320 = getelementptr inbounds i8, ptr %14, i64 5
  %321 = load i8, ptr %320, align 1, !tbaa !5
  %322 = sext i8 %321 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %322)
  %323 = getelementptr inbounds i8, ptr %14, i64 6
  %324 = load i8, ptr %323, align 1, !tbaa !5
  %325 = sext i8 %324 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %325)
  %326 = getelementptr inbounds i8, ptr %14, i64 7
  %327 = load i8, ptr %326, align 1, !tbaa !5
  %328 = sext i8 %327 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %328)
  %329 = getelementptr inbounds i8, ptr %14, i64 8
  %330 = load i8, ptr %329, align 1, !tbaa !5
  %331 = sext i8 %330 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %331)
  %332 = getelementptr inbounds i8, ptr %14, i64 9
  %333 = load i8, ptr %332, align 1, !tbaa !5
  %334 = sext i8 %333 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %334)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.297)
  br label %.critedge80

335:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %14) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %336 = call zeroext i1 @cmp_write_bin(ptr noundef nonnull %2, ptr noundef nonnull @.str.280, i32 noundef 0) #5
  br i1 %336, label %339, label %337

337:                                              ; preds = %335
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %338 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 0, ptr noundef %338)
  br label %441

339:                                              ; preds = %335
  %340 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %341 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.284, i64 noundef 2) #5
  br i1 %341, label %345, label %342

342:                                              ; preds = %339
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 0)
  call void @error_printbin(ptr noundef nonnull @.str.284, i64 noundef 2)
  %343 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %344 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %343, i64 noundef %344)
  br label %441

345:                                              ; preds = %339
  %346 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %347 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %347, label %350, label %348

348:                                              ; preds = %345
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %349 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %349)
  br label %441

350:                                              ; preds = %345
  %351 = load i32, ptr %35, align 8, !tbaa !5
  %.not71 = icmp eq i32 %351, 0
  br i1 %.not71, label %353, label %352

352:                                              ; preds = %350
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 0)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

353:                                              ; preds = %350
  %354 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  store i32 1, ptr %17, align 4, !tbaa !8
  store i8 0, ptr %16, align 1
  %355 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %16, ptr noundef nonnull %17) #5
  br i1 %355, label %356, label %360

356:                                              ; preds = %353
  %357 = load i32, ptr %17, align 4, !tbaa !8
  %.not72 = icmp eq i32 %357, 0
  br i1 %.not72, label %362, label %358

358:                                              ; preds = %356
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %359 = load i32, ptr %17, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 0, i32 noundef %359, i32 noundef 0)
  br label %362

360:                                              ; preds = %353
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2186)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.280, i64 noundef 0)
  %361 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 0, ptr noundef %361)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  br label %441

362:                                              ; preds = %356, %358
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %363 = call zeroext i1 @cmp_write_bin(ptr noundef nonnull %2, ptr noundef nonnull @.str.291, i32 noundef 10) #5
  br i1 %363, label %366, label %364

364:                                              ; preds = %362
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %365 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.283, i32 noundef 10, ptr noundef %365)
  br label %441

366:                                              ; preds = %362
  %367 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %368 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.292, i64 noundef 12) #5
  br i1 %368, label %372, label %369

369:                                              ; preds = %366
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.281, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.285, i32 noundef 10)
  call void @error_printbin(ptr noundef nonnull @.str.292, i64 noundef 12)
  %370 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %371 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %370, i64 noundef %371)
  br label %441

372:                                              ; preds = %366
  %373 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %374 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %374, label %377, label %375

375:                                              ; preds = %372
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %376 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %376)
  br label %441

377:                                              ; preds = %372
  %378 = load i32, ptr %35, align 8, !tbaa !5
  %.not73 = icmp eq i32 %378, 10
  br i1 %.not73, label %380, label %379

379:                                              ; preds = %377
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.288, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.289, i32 noundef 10)
  call void @error_print_object(ptr noundef nonnull %3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %441

380:                                              ; preds = %377
  %381 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  store i32 11, ptr %19, align 4, !tbaa !8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %18, i8 0, i64 11, i1 false)
  %382 = call zeroext i1 @cmp_read_bin(ptr noundef nonnull %2, ptr noundef nonnull %18, ptr noundef nonnull %19) #5
  br i1 %382, label %385, label %383

383:                                              ; preds = %380
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %384 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.287, i32 noundef 10, ptr noundef %384)
  br label %440

385:                                              ; preds = %380
  %386 = load i32, ptr %19, align 4, !tbaa !8
  %.not74 = icmp eq i32 %386, 10
  br i1 %.not74, label %389, label %387

387:                                              ; preds = %385
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.286, ptr noundef nonnull @.str.304)
  call void @error_printbin(ptr noundef nonnull @.str.291, i64 noundef 10)
  %388 = load i32, ptr %19, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.290, i32 noundef 10, i32 noundef %388, i32 noundef 10)
  br label %389

389:                                              ; preds = %387, %385
  %bcmp75 = call i32 @bcmp(ptr noundef nonnull dereferenceable(10) %18, ptr noundef nonnull dereferenceable(10) @.str.291, i64 10)
  %.not76 = icmp eq i32 %bcmp75, 0
  br i1 %.not76, label %440, label %390

390:                                              ; preds = %389
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.run_binary_tests, i32 noundef 2194)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.293, ptr noundef nonnull @.str.304)
  %391 = load i8, ptr @.str.292, align 1, !tbaa !5
  %392 = sext i8 %391 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %392)
  %393 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 1), align 1, !tbaa !5
  %394 = sext i8 %393 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %394)
  %395 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 2), align 1, !tbaa !5
  %396 = sext i8 %395 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %396)
  %397 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 3), align 1, !tbaa !5
  %398 = sext i8 %397 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %398)
  %399 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 4), align 1, !tbaa !5
  %400 = sext i8 %399 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %400)
  %401 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 5), align 1, !tbaa !5
  %402 = sext i8 %401 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %402)
  %403 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 6), align 1, !tbaa !5
  %404 = sext i8 %403 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %404)
  %405 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 7), align 1, !tbaa !5
  %406 = sext i8 %405 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %406)
  %407 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 8), align 1, !tbaa !5
  %408 = sext i8 %407 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %408)
  %409 = load i8, ptr getelementptr inbounds (i8, ptr @.str.292, i64 9), align 1, !tbaa !5
  %410 = sext i8 %409 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %410)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.295, ptr noundef nonnull @.str.296, i32 noundef 10)
  %411 = load i8, ptr %18, align 1, !tbaa !5
  %412 = sext i8 %411 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %412)
  %413 = getelementptr inbounds i8, ptr %18, i64 1
  %414 = load i8, ptr %413, align 1, !tbaa !5
  %415 = sext i8 %414 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %415)
  %416 = getelementptr inbounds i8, ptr %18, i64 2
  %417 = load i8, ptr %416, align 1, !tbaa !5
  %418 = sext i8 %417 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %418)
  %419 = getelementptr inbounds i8, ptr %18, i64 3
  %420 = load i8, ptr %419, align 1, !tbaa !5
  %421 = sext i8 %420 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %421)
  %422 = getelementptr inbounds i8, ptr %18, i64 4
  %423 = load i8, ptr %422, align 1, !tbaa !5
  %424 = sext i8 %423 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %424)
  %425 = getelementptr inbounds i8, ptr %18, i64 5
  %426 = load i8, ptr %425, align 1, !tbaa !5
  %427 = sext i8 %426 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %427)
  %428 = getelementptr inbounds i8, ptr %18, i64 6
  %429 = load i8, ptr %428, align 1, !tbaa !5
  %430 = sext i8 %429 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %430)
  %431 = getelementptr inbounds i8, ptr %18, i64 7
  %432 = load i8, ptr %431, align 1, !tbaa !5
  %433 = sext i8 %432 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %433)
  %434 = getelementptr inbounds i8, ptr %18, i64 8
  %435 = load i8, ptr %434, align 1, !tbaa !5
  %436 = sext i8 %435 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %436)
  %437 = getelementptr inbounds i8, ptr %18, i64 9
  %438 = load i8, ptr %437, align 1, !tbaa !5
  %439 = sext i8 %438 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.294, i32 noundef %439)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.297)
  br label %440

440:                                              ; preds = %389, %390, %383
  %cond7 = phi i1 [ false, %390 ], [ false, %383 ], [ true, %389 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %18) #5
  br label %441

.critedge:                                        ; preds = %68, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %6) #5
  br label %441

.critedge78:                                      ; preds = %173, %180
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %10) #5
  br label %441

.critedge80:                                      ; preds = %278, %285
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %14) #5
  br label %441

441:                                              ; preds = %360, %255, %150, %45, %440, %.critedge80, %.critedge78, %.critedge, %379, %375, %369, %364, %352, %348, %342, %337, %274, %270, %264, %259, %247, %243, %237, %232, %169, %165, %159, %154, %142, %138, %132, %127, %64, %60, %54, %49, %37, %32, %26, %21
  %.8 = phi i1 [ false, %37 ], [ false, %64 ], [ false, %142 ], [ false, %169 ], [ false, %247 ], [ false, %274 ], [ false, %352 ], [ false, %379 ], [ false, %375 ], [ false, %369 ], [ false, %364 ], [ false, %360 ], [ false, %348 ], [ false, %342 ], [ false, %337 ], [ false, %270 ], [ false, %264 ], [ false, %259 ], [ false, %255 ], [ false, %243 ], [ false, %237 ], [ false, %232 ], [ false, %165 ], [ false, %159 ], [ false, %154 ], [ false, %150 ], [ false, %138 ], [ false, %132 ], [ false, %127 ], [ false, %60 ], [ false, %54 ], [ false, %49 ], [ false, %45 ], [ false, %32 ], [ false, %26 ], [ false, %21 ], [ false, %.critedge ], [ false, %.critedge78 ], [ false, %.critedge80 ], [ %cond7, %440 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  ret i1 %.8
}

declare zeroext i1 @cmp_write_bin8(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare zeroext i1 @cmp_read_bin(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare zeroext i1 @cmp_write_bin16(ptr noundef, ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

declare zeroext i1 @cmp_write_bin32(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare zeroext i1 @cmp_write_bin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nofree nounwind willreturn memory(argmem: read) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass