; 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 }
%struct.cmp_ext_s = type { i8, i32 }

@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.339 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.340 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.341 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.343 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.344 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.345 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.346 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.347 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.348 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.349 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.350 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.362 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.363 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.364 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.365 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.366 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.367 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.368 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.369 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.373 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.374 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.375 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.377 = 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @run_ext_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 i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca [2 x i8], align 1
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca [4 x i8], align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca [8 x i8], align 1
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca [16 x i8], align 16
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca [1 x i8], align 1
  %22 = alloca i8, align 1
  %23 = alloca i32, align 4
  %24 = alloca [3 x i8], align 1
  %25 = alloca i8, align 1
  %26 = alloca i32, align 4
  %27 = alloca [1 x i8], align 1
  %28 = alloca i8, align 1
  %29 = alloca i32, align 4
  %30 = alloca [3 x i8], align 1
  %31 = alloca i8, align 1
  %32 = alloca i32, align 4
  %33 = alloca [1 x i8], align 1
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  %36 = alloca [3 x i8], align 1
  %37 = alloca i8, align 1
  %38 = alloca i32, align 4
  %39 = alloca [1 x i8], align 1
  %40 = alloca i8, align 1
  %41 = alloca i32, align 4
  %42 = alloca [3 x i8], align 1
  %43 = alloca i8, align 1
  %44 = 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()
  %45 = call zeroext i1 @cmp_write_fixext1(ptr noundef %3, i8 noundef signext 1, ptr noundef @.str.339)
  br i1 %45, label %48, label %46

46:                                               ; preds = %0
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %47 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.342, ptr noundef %47)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

48:                                               ; preds = %0
  %49 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %50 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.343, i64 noundef 3)
  br i1 %50, label %54, label %51

51:                                               ; preds = %48
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.343, i64 noundef 3)
  %52 = call ptr @M_BufferGetData(ptr noundef %2)
  %53 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %52, i64 noundef %53)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

54:                                               ; preds = %48
  %55 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %56 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %56, label %59, label %57

57:                                               ; preds = %54
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %58 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %58)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

59:                                               ; preds = %54
  %60 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %61 = getelementptr inbounds %struct.cmp_ext_s, ptr %60, i32 0, i32 0
  %62 = load i8, ptr %61, align 8, !tbaa !5
  %63 = sext i8 %62 to i32
  %64 = icmp ne i32 %63, 1
  br i1 %64, label %70, label %65

65:                                               ; preds = %59
  %66 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %67 = getelementptr inbounds %struct.cmp_ext_s, ptr %66, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp ne i32 %68, 1
  br i1 %69, label %70, label %78

70:                                               ; preds = %65, %59
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %71 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %72 = getelementptr inbounds %struct.cmp_ext_s, ptr %71, i32 0, i32 0
  %73 = load i8, ptr %72, align 8, !tbaa !5
  %74 = sext i8 %73 to i32
  %75 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %76 = getelementptr inbounds %struct.cmp_ext_s, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %74, i32 noundef %77)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

78:                                               ; preds = %65
  %79 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %80

80:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 1, ptr %7, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !8
  %81 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %81, i8 0, i64 1, i1 false)
  %82 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
  %83 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %7, ptr noundef %8, ptr noundef %82)
  br i1 %83, label %86, label %84

84:                                               ; preds = %80
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %85 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %85)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %111

86:                                               ; preds = %80
  %87 = load i8, ptr %7, align 1, !tbaa !5
  %88 = sext i8 %87 to i32
  %89 = icmp ne i32 %88, 1
  br i1 %89, label %90, label %93

90:                                               ; preds = %86
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.341, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %91 = load i8, ptr %7, align 1, !tbaa !5
  %92 = sext i8 %91 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %92, i32 noundef 1)
  br label %93

93:                                               ; preds = %90, %86
  %94 = load i32, ptr %8, align 4, !tbaa !8
  %95 = icmp ne i32 %94, 1
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.341, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %97 = load i32, ptr %8, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %97, i32 noundef 1)
  br label %98

98:                                               ; preds = %96, %93
  %99 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
  %100 = call i32 @memcmp(ptr noundef %99, ptr noundef @.str.339, i64 noundef 1) #6
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %110

102:                                              ; preds = %98
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %103 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %104 = getelementptr inbounds %struct.cmp_ext_s, ptr %103, i32 0, i32 0
  %105 = load i8, ptr %104, align 8, !tbaa !5
  %106 = sext i8 %105 to i32
  %107 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %108 = getelementptr inbounds %struct.cmp_ext_s, ptr %107, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %106, i32 noundef %109)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %111

110:                                              ; preds = %98
  store i32 0, ptr %5, align 4
  br label %111

111:                                              ; preds = %110, %102, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  %112 = load i32, ptr %5, align 4
  switch i32 %112, label %960 [
    i32 0, label %113
  ]

113:                                              ; preds = %111
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %116 = call zeroext i1 @cmp_write_fixext2(ptr noundef %3, i8 noundef signext 2, ptr noundef @.str.352)
  br i1 %116, label %119, label %117

117:                                              ; preds = %115
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %118 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.342, ptr noundef %118)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

119:                                              ; preds = %115
  %120 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %121 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.354, i64 noundef 4)
  br i1 %121, label %125, label %122

122:                                              ; preds = %119
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.354, i64 noundef 4)
  %123 = call ptr @M_BufferGetData(ptr noundef %2)
  %124 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %123, i64 noundef %124)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

125:                                              ; preds = %119
  %126 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %127 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %127, label %130, label %128

128:                                              ; preds = %125
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %129 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %129)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

130:                                              ; preds = %125
  %131 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %132 = getelementptr inbounds %struct.cmp_ext_s, ptr %131, i32 0, i32 0
  %133 = load i8, ptr %132, align 8, !tbaa !5
  %134 = sext i8 %133 to i32
  %135 = icmp ne i32 %134, 2
  br i1 %135, label %141, label %136

136:                                              ; preds = %130
  %137 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %138 = getelementptr inbounds %struct.cmp_ext_s, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = icmp ne i32 %139, 2
  br i1 %140, label %141, label %149

141:                                              ; preds = %136, %130
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %142 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %143 = getelementptr inbounds %struct.cmp_ext_s, ptr %142, i32 0, i32 0
  %144 = load i8, ptr %143, align 8, !tbaa !5
  %145 = sext i8 %144 to i32
  %146 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %147 = getelementptr inbounds %struct.cmp_ext_s, ptr %146, i32 0, i32 1
  %148 = load i32, ptr %147, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %145, i32 noundef %148)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

149:                                              ; preds = %136
  %150 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %151

151:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 2, ptr %10, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 2, ptr %11, align 4, !tbaa !8
  %152 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %152, i8 0, i64 2, i1 false)
  %153 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
  %154 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %10, ptr noundef %11, ptr noundef %153)
  br i1 %154, label %157, label %155

155:                                              ; preds = %151
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %156 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %156)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %182

157:                                              ; preds = %151
  %158 = load i8, ptr %10, align 1, !tbaa !5
  %159 = sext i8 %158 to i32
  %160 = icmp ne i32 %159, 2
  br i1 %160, label %161, label %164

161:                                              ; preds = %157
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.353, i32 noundef 2, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %162 = load i8, ptr %10, align 1, !tbaa !5
  %163 = sext i8 %162 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %163, i32 noundef 2)
  br label %164

164:                                              ; preds = %161, %157
  %165 = load i32, ptr %11, align 4, !tbaa !8
  %166 = icmp ne i32 %165, 2
  br i1 %166, label %167, label %169

167:                                              ; preds = %164
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.353, i32 noundef 2, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %168 = load i32, ptr %11, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %168, i32 noundef 2)
  br label %169

169:                                              ; preds = %167, %164
  %170 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
  %171 = call i32 @memcmp(ptr noundef %170, ptr noundef @.str.352, i64 noundef 2) #6
  %172 = icmp ne i32 %171, 0
  br i1 %172, label %173, label %181

173:                                              ; preds = %169
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef @.str.352, i64 noundef 2)
  %174 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %175 = getelementptr inbounds %struct.cmp_ext_s, ptr %174, i32 0, i32 0
  %176 = load i8, ptr %175, align 8, !tbaa !5
  %177 = sext i8 %176 to i32
  %178 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %179 = getelementptr inbounds %struct.cmp_ext_s, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %179, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %177, i32 noundef %180)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %182

181:                                              ; preds = %169
  store i32 0, ptr %5, align 4
  br label %182

182:                                              ; preds = %181, %173, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #5
  %183 = load i32, ptr %5, align 4
  switch i32 %183, label %960 [
    i32 0, label %184
  ]

184:                                              ; preds = %182
  br label %185

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %187 = call zeroext i1 @cmp_write_fixext4(ptr noundef %3, i8 noundef signext 3, ptr noundef @.str.355)
  br i1 %187, label %190, label %188

188:                                              ; preds = %186
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %189 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.342, ptr noundef %189)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

190:                                              ; preds = %186
  %191 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %192 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.357, i64 noundef 6)
  br i1 %192, label %196, label %193

193:                                              ; preds = %190
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.357, i64 noundef 6)
  %194 = call ptr @M_BufferGetData(ptr noundef %2)
  %195 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %194, i64 noundef %195)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

196:                                              ; preds = %190
  %197 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %198 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %198, label %201, label %199

199:                                              ; preds = %196
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %200 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %200)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

201:                                              ; preds = %196
  %202 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %203 = getelementptr inbounds %struct.cmp_ext_s, ptr %202, i32 0, i32 0
  %204 = load i8, ptr %203, align 8, !tbaa !5
  %205 = sext i8 %204 to i32
  %206 = icmp ne i32 %205, 3
  br i1 %206, label %212, label %207

207:                                              ; preds = %201
  %208 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %209 = getelementptr inbounds %struct.cmp_ext_s, ptr %208, i32 0, i32 1
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = icmp ne i32 %210, 4
  br i1 %211, label %212, label %220

212:                                              ; preds = %207, %201
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %213 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %214 = getelementptr inbounds %struct.cmp_ext_s, ptr %213, i32 0, i32 0
  %215 = load i8, ptr %214, align 8, !tbaa !5
  %216 = sext i8 %215 to i32
  %217 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %218 = getelementptr inbounds %struct.cmp_ext_s, ptr %217, i32 0, i32 1
  %219 = load i32, ptr %218, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %216, i32 noundef %219)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

220:                                              ; preds = %207
  %221 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %222

222:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 3, ptr %13, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 4, ptr %14, align 4, !tbaa !8
  %223 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %223, i8 0, i64 4, i1 false)
  %224 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  %225 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %13, ptr noundef %14, ptr noundef %224)
  br i1 %225, label %228, label %226

226:                                              ; preds = %222
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %227 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %227)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %253

228:                                              ; preds = %222
  %229 = load i8, ptr %13, align 1, !tbaa !5
  %230 = sext i8 %229 to i32
  %231 = icmp ne i32 %230, 3
  br i1 %231, label %232, label %235

232:                                              ; preds = %228
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.356, i32 noundef 3, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %233 = load i8, ptr %13, align 1, !tbaa !5
  %234 = sext i8 %233 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %234, i32 noundef 3)
  br label %235

235:                                              ; preds = %232, %228
  %236 = load i32, ptr %14, align 4, !tbaa !8
  %237 = icmp ne i32 %236, 4
  br i1 %237, label %238, label %240

238:                                              ; preds = %235
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.356, i32 noundef 3, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %239 = load i32, ptr %14, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %239, i32 noundef 4)
  br label %240

240:                                              ; preds = %238, %235
  %241 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  %242 = call i32 @memcmp(ptr noundef %241, ptr noundef @.str.355, i64 noundef 4) #6
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %252

244:                                              ; preds = %240
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.355, i64 noundef 4)
  %245 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %246 = getelementptr inbounds %struct.cmp_ext_s, ptr %245, i32 0, i32 0
  %247 = load i8, ptr %246, align 8, !tbaa !5
  %248 = sext i8 %247 to i32
  %249 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %250 = getelementptr inbounds %struct.cmp_ext_s, ptr %249, i32 0, i32 1
  %251 = load i32, ptr %250, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %248, i32 noundef %251)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %253

252:                                              ; preds = %240
  store i32 0, ptr %5, align 4
  br label %253

253:                                              ; preds = %252, %244, %226
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %254 = load i32, ptr %5, align 4
  switch i32 %254, label %960 [
    i32 0, label %255
  ]

255:                                              ; preds = %253
  br label %256

256:                                              ; preds = %255
  br label %257

257:                                              ; preds = %256
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %258 = call zeroext i1 @cmp_write_fixext8(ptr noundef %3, i8 noundef signext 4, ptr noundef @.str.358)
  br i1 %258, label %261, label %259

259:                                              ; preds = %257
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %260 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.342, ptr noundef %260)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

261:                                              ; preds = %257
  %262 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %263 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.360, i64 noundef 10)
  br i1 %263, label %267, label %264

264:                                              ; preds = %261
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.360, i64 noundef 10)
  %265 = call ptr @M_BufferGetData(ptr noundef %2)
  %266 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %265, i64 noundef %266)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

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

270:                                              ; preds = %267
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %271 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %271)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

272:                                              ; preds = %267
  %273 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %274 = getelementptr inbounds %struct.cmp_ext_s, ptr %273, i32 0, i32 0
  %275 = load i8, ptr %274, align 8, !tbaa !5
  %276 = sext i8 %275 to i32
  %277 = icmp ne i32 %276, 4
  br i1 %277, label %283, label %278

278:                                              ; preds = %272
  %279 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %280 = getelementptr inbounds %struct.cmp_ext_s, ptr %279, i32 0, i32 1
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = icmp ne i32 %281, 8
  br i1 %282, label %283, label %291

283:                                              ; preds = %278, %272
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %284 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %285 = getelementptr inbounds %struct.cmp_ext_s, ptr %284, i32 0, i32 0
  %286 = load i8, ptr %285, align 8, !tbaa !5
  %287 = sext i8 %286 to i32
  %288 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %289 = getelementptr inbounds %struct.cmp_ext_s, ptr %288, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %287, i32 noundef %290)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

291:                                              ; preds = %278
  %292 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %293

293:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 4, ptr %16, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 8, ptr %17, align 4, !tbaa !8
  %294 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 1 %294, i8 0, i64 8, i1 false)
  %295 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
  %296 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %16, ptr noundef %17, ptr noundef %295)
  br i1 %296, label %299, label %297

297:                                              ; preds = %293
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %298 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %298)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %324

299:                                              ; preds = %293
  %300 = load i8, ptr %16, align 1, !tbaa !5
  %301 = sext i8 %300 to i32
  %302 = icmp ne i32 %301, 4
  br i1 %302, label %303, label %306

303:                                              ; preds = %299
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.359, i32 noundef 4, i32 noundef 8)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %304 = load i8, ptr %16, align 1, !tbaa !5
  %305 = sext i8 %304 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %305, i32 noundef 4)
  br label %306

306:                                              ; preds = %303, %299
  %307 = load i32, ptr %17, align 4, !tbaa !8
  %308 = icmp ne i32 %307, 8
  br i1 %308, label %309, label %311

309:                                              ; preds = %306
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.359, i32 noundef 4, i32 noundef 8)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %310 = load i32, ptr %17, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %310, i32 noundef 8)
  br label %311

311:                                              ; preds = %309, %306
  %312 = getelementptr inbounds [8 x i8], ptr %15, i64 0, i64 0
  %313 = call i32 @memcmp(ptr noundef %312, ptr noundef @.str.358, i64 noundef 8) #6
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %323

315:                                              ; preds = %311
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef @.str.358, i64 noundef 8)
  %316 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %317 = getelementptr inbounds %struct.cmp_ext_s, ptr %316, i32 0, i32 0
  %318 = load i8, ptr %317, align 8, !tbaa !5
  %319 = sext i8 %318 to i32
  %320 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %321 = getelementptr inbounds %struct.cmp_ext_s, ptr %320, i32 0, i32 1
  %322 = load i32, ptr %321, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %319, i32 noundef %322)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %324

323:                                              ; preds = %311
  store i32 0, ptr %5, align 4
  br label %324

324:                                              ; preds = %323, %315, %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %325 = load i32, ptr %5, align 4
  switch i32 %325, label %960 [
    i32 0, label %326
  ]

326:                                              ; preds = %324
  br label %327

327:                                              ; preds = %326
  br label %328

328:                                              ; preds = %327
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %329 = call zeroext i1 @cmp_write_fixext16(ptr noundef %3, i8 noundef signext 5, ptr noundef @.str.361)
  br i1 %329, label %332, label %330

330:                                              ; preds = %328
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %331 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.342, ptr noundef %331)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

332:                                              ; preds = %328
  %333 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %334 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.363, i64 noundef 18)
  br i1 %334, label %338, label %335

335:                                              ; preds = %332
  call void (ptr, ...) @error_printf(ptr noundef @.str.340, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.363, i64 noundef 18)
  %336 = call ptr @M_BufferGetData(ptr noundef %2)
  %337 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %336, i64 noundef %337)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

338:                                              ; preds = %332
  %339 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %340 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %340, label %343, label %341

341:                                              ; preds = %338
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %342 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %342)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

343:                                              ; preds = %338
  %344 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %345 = getelementptr inbounds %struct.cmp_ext_s, ptr %344, i32 0, i32 0
  %346 = load i8, ptr %345, align 8, !tbaa !5
  %347 = sext i8 %346 to i32
  %348 = icmp ne i32 %347, 5
  br i1 %348, label %354, label %349

349:                                              ; preds = %343
  %350 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %351 = getelementptr inbounds %struct.cmp_ext_s, ptr %350, i32 0, i32 1
  %352 = load i32, ptr %351, align 4, !tbaa !5
  %353 = icmp ne i32 %352, 16
  br i1 %353, label %354, label %362

354:                                              ; preds = %349, %343
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %355 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %356 = getelementptr inbounds %struct.cmp_ext_s, ptr %355, i32 0, i32 0
  %357 = load i8, ptr %356, align 8, !tbaa !5
  %358 = sext i8 %357 to i32
  %359 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %360 = getelementptr inbounds %struct.cmp_ext_s, ptr %359, i32 0, i32 1
  %361 = load i32, ptr %360, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %358, i32 noundef %361)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

362:                                              ; preds = %349
  %363 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %364

364:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 5, ptr %19, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 16, ptr %20, align 4, !tbaa !8
  %365 = getelementptr inbounds [16 x i8], ptr %18, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %365, i8 0, i64 16, i1 false)
  %366 = getelementptr inbounds [16 x i8], ptr %18, i64 0, i64 0
  %367 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %19, ptr noundef %20, ptr noundef %366)
  br i1 %367, label %370, label %368

368:                                              ; preds = %364
  call void (ptr, ...) @error_printf(ptr noundef @.str.345, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %369 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %369)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %395

370:                                              ; preds = %364
  %371 = load i8, ptr %19, align 1, !tbaa !5
  %372 = sext i8 %371 to i32
  %373 = icmp ne i32 %372, 5
  br i1 %373, label %374, label %377

374:                                              ; preds = %370
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.362, i32 noundef 5, i32 noundef 16)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %375 = load i8, ptr %19, align 1, !tbaa !5
  %376 = sext i8 %375 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %376, i32 noundef 5)
  br label %377

377:                                              ; preds = %374, %370
  %378 = load i32, ptr %20, align 4, !tbaa !8
  %379 = icmp ne i32 %378, 16
  br i1 %379, label %380, label %382

380:                                              ; preds = %377
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.362, i32 noundef 5, i32 noundef 16)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %381 = load i32, ptr %20, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %381, i32 noundef 16)
  br label %382

382:                                              ; preds = %380, %377
  %383 = getelementptr inbounds [16 x i8], ptr %18, i64 0, i64 0
  %384 = call i32 @memcmp(ptr noundef %383, ptr noundef @.str.361, i64 noundef 16) #6
  %385 = icmp ne i32 %384, 0
  br i1 %385, label %386, label %394

386:                                              ; preds = %382
  call void (ptr, ...) @error_printf(ptr noundef @.str.347, ptr noundef @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef @.str.361, i64 noundef 16)
  %387 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %388 = getelementptr inbounds %struct.cmp_ext_s, ptr %387, i32 0, i32 0
  %389 = load i8, ptr %388, align 8, !tbaa !5
  %390 = sext i8 %389 to i32
  %391 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %392 = getelementptr inbounds %struct.cmp_ext_s, ptr %391, i32 0, i32 1
  %393 = load i32, ptr %392, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %390, i32 noundef %393)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %395

394:                                              ; preds = %382
  store i32 0, ptr %5, align 4
  br label %395

395:                                              ; preds = %394, %386, %368
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  %396 = load i32, ptr %5, align 4
  switch i32 %396, label %960 [
    i32 0, label %397
  ]

397:                                              ; preds = %395
  br label %398

398:                                              ; preds = %397
  br label %399

399:                                              ; preds = %398
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %400 = call zeroext i1 @cmp_write_ext8(ptr noundef %3, i8 noundef signext 1, i8 noundef zeroext 1, ptr noundef @.str.339)
  br i1 %400, label %403, label %401

401:                                              ; preds = %399
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %402 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %402)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

403:                                              ; preds = %399
  %404 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %405 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.367, i64 noundef 4)
  br i1 %405, label %409, label %406

406:                                              ; preds = %403
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.367, i64 noundef 4)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %407 = call ptr @M_BufferGetData(ptr noundef %2)
  %408 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %407, i64 noundef %408)
  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 %960

409:                                              ; preds = %403
  %410 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %411 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %411, label %414, label %412

412:                                              ; preds = %409
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %413 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %413)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

414:                                              ; preds = %409
  %415 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %416 = getelementptr inbounds %struct.cmp_ext_s, ptr %415, i32 0, i32 0
  %417 = load i8, ptr %416, align 8, !tbaa !5
  %418 = sext i8 %417 to i32
  %419 = icmp ne i32 %418, 1
  br i1 %419, label %425, label %420

420:                                              ; preds = %414
  %421 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %422 = getelementptr inbounds %struct.cmp_ext_s, ptr %421, i32 0, i32 1
  %423 = load i32, ptr %422, align 4, !tbaa !5
  %424 = icmp ne i32 %423, 1
  br i1 %424, label %425, label %433

425:                                              ; preds = %420, %414
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %426 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %427 = getelementptr inbounds %struct.cmp_ext_s, ptr %426, i32 0, i32 0
  %428 = load i8, ptr %427, align 8, !tbaa !5
  %429 = sext i8 %428 to i32
  %430 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %431 = getelementptr inbounds %struct.cmp_ext_s, ptr %430, i32 0, i32 1
  %432 = load i32, ptr %431, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %429, i32 noundef %432)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

433:                                              ; preds = %420
  %434 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %435

435:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 1, ptr %22, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 1, ptr %23, align 4, !tbaa !8
  %436 = getelementptr inbounds [1 x i8], ptr %21, i64 0, i64 0
  %437 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %22, ptr noundef %23, ptr noundef %436)
  br i1 %437, label %440, label %438

438:                                              ; preds = %435
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %439 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %439)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %465

440:                                              ; preds = %435
  %441 = load i8, ptr %22, align 1, !tbaa !5
  %442 = sext i8 %441 to i32
  %443 = icmp ne i32 %442, 1
  br i1 %443, label %444, label %447

444:                                              ; preds = %440
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %445 = load i8, ptr %22, align 1, !tbaa !5
  %446 = sext i8 %445 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %446, i32 noundef 1)
  br label %447

447:                                              ; preds = %444, %440
  %448 = load i32, ptr %23, align 4, !tbaa !8
  %449 = icmp ne i32 %448, 1
  br i1 %449, label %450, label %452

450:                                              ; preds = %447
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %451 = load i32, ptr %23, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %451, i32 noundef 1)
  br label %452

452:                                              ; preds = %450, %447
  %453 = getelementptr inbounds [1 x i8], ptr %21, i64 0, i64 0
  %454 = call i32 @memcmp(ptr noundef %453, ptr noundef @.str.339, i64 noundef 1) #6
  %455 = icmp ne i32 %454, 0
  br i1 %455, label %456, label %464

456:                                              ; preds = %452
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %457 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %458 = getelementptr inbounds %struct.cmp_ext_s, ptr %457, i32 0, i32 0
  %459 = load i8, ptr %458, align 8, !tbaa !5
  %460 = sext i8 %459 to i32
  %461 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %462 = getelementptr inbounds %struct.cmp_ext_s, ptr %461, i32 0, i32 1
  %463 = load i32, ptr %462, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %460, i32 noundef %463)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %465

464:                                              ; preds = %452
  store i32 0, ptr %5, align 4
  br label %465

465:                                              ; preds = %464, %456, %438
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  %466 = load i32, ptr %5, align 4
  switch i32 %466, label %960 [
    i32 0, label %467
  ]

467:                                              ; preds = %465
  br label %468

468:                                              ; preds = %467
  br label %469

469:                                              ; preds = %468
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %470 = call zeroext i1 @cmp_write_ext8(ptr noundef %3, i8 noundef signext 2, i8 noundef zeroext 3, ptr noundef @.str.369)
  br i1 %470, label %473, label %471

471:                                              ; preds = %469
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %472 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %472)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

473:                                              ; preds = %469
  %474 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %475 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.370, i64 noundef 6)
  br i1 %475, label %479, label %476

476:                                              ; preds = %473
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.370, i64 noundef 6)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %477 = call ptr @M_BufferGetData(ptr noundef %2)
  %478 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %477, i64 noundef %478)
  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 %960

479:                                              ; preds = %473
  %480 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %481 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %481, label %484, label %482

482:                                              ; preds = %479
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %483 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %483)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

484:                                              ; preds = %479
  %485 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %486 = getelementptr inbounds %struct.cmp_ext_s, ptr %485, i32 0, i32 0
  %487 = load i8, ptr %486, align 8, !tbaa !5
  %488 = sext i8 %487 to i32
  %489 = icmp ne i32 %488, 2
  br i1 %489, label %495, label %490

490:                                              ; preds = %484
  %491 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %492 = getelementptr inbounds %struct.cmp_ext_s, ptr %491, i32 0, i32 1
  %493 = load i32, ptr %492, align 4, !tbaa !5
  %494 = icmp ne i32 %493, 3
  br i1 %494, label %495, label %503

495:                                              ; preds = %490, %484
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %496 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %497 = getelementptr inbounds %struct.cmp_ext_s, ptr %496, i32 0, i32 0
  %498 = load i8, ptr %497, align 8, !tbaa !5
  %499 = sext i8 %498 to i32
  %500 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %501 = getelementptr inbounds %struct.cmp_ext_s, ptr %500, i32 0, i32 1
  %502 = load i32, ptr %501, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %499, i32 noundef %502)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

503:                                              ; preds = %490
  %504 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %505

505:                                              ; preds = %503
  call void @llvm.lifetime.start.p0(i64 3, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  store i8 2, ptr %25, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 3, ptr %26, align 4, !tbaa !8
  %506 = getelementptr inbounds [3 x i8], ptr %24, i64 0, i64 0
  %507 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %25, ptr noundef %26, ptr noundef %506)
  br i1 %507, label %510, label %508

508:                                              ; preds = %505
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %509 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %509)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %535

510:                                              ; preds = %505
  %511 = load i8, ptr %25, align 1, !tbaa !5
  %512 = sext i8 %511 to i32
  %513 = icmp ne i32 %512, 2
  br i1 %513, label %514, label %517

514:                                              ; preds = %510
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %515 = load i8, ptr %25, align 1, !tbaa !5
  %516 = sext i8 %515 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %516, i32 noundef 2)
  br label %517

517:                                              ; preds = %514, %510
  %518 = load i32, ptr %26, align 4, !tbaa !8
  %519 = icmp ne i32 %518, 3
  br i1 %519, label %520, label %522

520:                                              ; preds = %517
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %521 = load i32, ptr %26, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %521, i32 noundef 3)
  br label %522

522:                                              ; preds = %520, %517
  %523 = getelementptr inbounds [3 x i8], ptr %24, i64 0, i64 0
  %524 = call i32 @memcmp(ptr noundef %523, ptr noundef @.str.369, i64 noundef 3) #6
  %525 = icmp ne i32 %524, 0
  br i1 %525, label %526, label %534

526:                                              ; preds = %522
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %527 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %528 = getelementptr inbounds %struct.cmp_ext_s, ptr %527, i32 0, i32 0
  %529 = load i8, ptr %528, align 8, !tbaa !5
  %530 = sext i8 %529 to i32
  %531 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %532 = getelementptr inbounds %struct.cmp_ext_s, ptr %531, i32 0, i32 1
  %533 = load i32, ptr %532, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %530, i32 noundef %533)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %535

534:                                              ; preds = %522
  store i32 0, ptr %5, align 4
  br label %535

535:                                              ; preds = %534, %526, %508
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %24) #5
  %536 = load i32, ptr %5, align 4
  switch i32 %536, label %960 [
    i32 0, label %537
  ]

537:                                              ; preds = %535
  br label %538

538:                                              ; preds = %537
  br label %539

539:                                              ; preds = %538
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %540 = call zeroext i1 @cmp_write_ext16(ptr noundef %3, i8 noundef signext 1, i16 noundef zeroext 1, ptr noundef @.str.339)
  br i1 %540, label %543, label %541

541:                                              ; preds = %539
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %542 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %542)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

543:                                              ; preds = %539
  %544 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %545 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.372, i64 noundef 5)
  br i1 %545, label %549, label %546

546:                                              ; preds = %543
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.372, i64 noundef 5)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %547 = call ptr @M_BufferGetData(ptr noundef %2)
  %548 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %547, i64 noundef %548)
  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 %960

549:                                              ; preds = %543
  %550 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %551 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %551, label %554, label %552

552:                                              ; preds = %549
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %553 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %553)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

554:                                              ; preds = %549
  %555 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %556 = getelementptr inbounds %struct.cmp_ext_s, ptr %555, i32 0, i32 0
  %557 = load i8, ptr %556, align 8, !tbaa !5
  %558 = sext i8 %557 to i32
  %559 = icmp ne i32 %558, 1
  br i1 %559, label %565, label %560

560:                                              ; preds = %554
  %561 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %562 = getelementptr inbounds %struct.cmp_ext_s, ptr %561, i32 0, i32 1
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = icmp ne i32 %563, 1
  br i1 %564, label %565, label %573

565:                                              ; preds = %560, %554
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %566 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %567 = getelementptr inbounds %struct.cmp_ext_s, ptr %566, i32 0, i32 0
  %568 = load i8, ptr %567, align 8, !tbaa !5
  %569 = sext i8 %568 to i32
  %570 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %571 = getelementptr inbounds %struct.cmp_ext_s, ptr %570, i32 0, i32 1
  %572 = load i32, ptr %571, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %569, i32 noundef %572)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

573:                                              ; preds = %560
  %574 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %575

575:                                              ; preds = %573
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  store i8 1, ptr %28, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 1, ptr %29, align 4, !tbaa !8
  %576 = getelementptr inbounds [1 x i8], ptr %27, i64 0, i64 0
  %577 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %28, ptr noundef %29, ptr noundef %576)
  br i1 %577, label %580, label %578

578:                                              ; preds = %575
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %579 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %579)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %605

580:                                              ; preds = %575
  %581 = load i8, ptr %28, align 1, !tbaa !5
  %582 = sext i8 %581 to i32
  %583 = icmp ne i32 %582, 1
  br i1 %583, label %584, label %587

584:                                              ; preds = %580
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %585 = load i8, ptr %28, align 1, !tbaa !5
  %586 = sext i8 %585 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %586, i32 noundef 1)
  br label %587

587:                                              ; preds = %584, %580
  %588 = load i32, ptr %29, align 4, !tbaa !8
  %589 = icmp ne i32 %588, 1
  br i1 %589, label %590, label %592

590:                                              ; preds = %587
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %591 = load i32, ptr %29, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %591, i32 noundef 1)
  br label %592

592:                                              ; preds = %590, %587
  %593 = getelementptr inbounds [1 x i8], ptr %27, i64 0, i64 0
  %594 = call i32 @memcmp(ptr noundef %593, ptr noundef @.str.339, i64 noundef 1) #6
  %595 = icmp ne i32 %594, 0
  br i1 %595, label %596, label %604

596:                                              ; preds = %592
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %597 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %598 = getelementptr inbounds %struct.cmp_ext_s, ptr %597, i32 0, i32 0
  %599 = load i8, ptr %598, align 8, !tbaa !5
  %600 = sext i8 %599 to i32
  %601 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %602 = getelementptr inbounds %struct.cmp_ext_s, ptr %601, i32 0, i32 1
  %603 = load i32, ptr %602, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %600, i32 noundef %603)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %605

604:                                              ; preds = %592
  store i32 0, ptr %5, align 4
  br label %605

605:                                              ; preds = %604, %596, %578
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  %606 = load i32, ptr %5, align 4
  switch i32 %606, label %960 [
    i32 0, label %607
  ]

607:                                              ; preds = %605
  br label %608

608:                                              ; preds = %607
  br label %609

609:                                              ; preds = %608
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %610 = call zeroext i1 @cmp_write_ext16(ptr noundef %3, i8 noundef signext 2, i16 noundef zeroext 3, ptr noundef @.str.369)
  br i1 %610, label %613, label %611

611:                                              ; preds = %609
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %612 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %612)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

613:                                              ; preds = %609
  %614 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %615 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.373, i64 noundef 7)
  br i1 %615, label %619, label %616

616:                                              ; preds = %613
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.373, i64 noundef 7)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %617 = call ptr @M_BufferGetData(ptr noundef %2)
  %618 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %617, i64 noundef %618)
  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 %960

619:                                              ; preds = %613
  %620 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %621 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %621, label %624, label %622

622:                                              ; preds = %619
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %623 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %623)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

624:                                              ; preds = %619
  %625 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %626 = getelementptr inbounds %struct.cmp_ext_s, ptr %625, i32 0, i32 0
  %627 = load i8, ptr %626, align 8, !tbaa !5
  %628 = sext i8 %627 to i32
  %629 = icmp ne i32 %628, 2
  br i1 %629, label %635, label %630

630:                                              ; preds = %624
  %631 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %632 = getelementptr inbounds %struct.cmp_ext_s, ptr %631, i32 0, i32 1
  %633 = load i32, ptr %632, align 4, !tbaa !5
  %634 = icmp ne i32 %633, 3
  br i1 %634, label %635, label %643

635:                                              ; preds = %630, %624
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %636 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %637 = getelementptr inbounds %struct.cmp_ext_s, ptr %636, i32 0, i32 0
  %638 = load i8, ptr %637, align 8, !tbaa !5
  %639 = sext i8 %638 to i32
  %640 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %641 = getelementptr inbounds %struct.cmp_ext_s, ptr %640, i32 0, i32 1
  %642 = load i32, ptr %641, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %639, i32 noundef %642)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

643:                                              ; preds = %630
  %644 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %645

645:                                              ; preds = %643
  call void @llvm.lifetime.start.p0(i64 3, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  store i8 2, ptr %31, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 3, ptr %32, align 4, !tbaa !8
  %646 = getelementptr inbounds [3 x i8], ptr %30, i64 0, i64 0
  %647 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %31, ptr noundef %32, ptr noundef %646)
  br i1 %647, label %650, label %648

648:                                              ; preds = %645
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %649 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %649)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %675

650:                                              ; preds = %645
  %651 = load i8, ptr %31, align 1, !tbaa !5
  %652 = sext i8 %651 to i32
  %653 = icmp ne i32 %652, 2
  br i1 %653, label %654, label %657

654:                                              ; preds = %650
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %655 = load i8, ptr %31, align 1, !tbaa !5
  %656 = sext i8 %655 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %656, i32 noundef 2)
  br label %657

657:                                              ; preds = %654, %650
  %658 = load i32, ptr %32, align 4, !tbaa !8
  %659 = icmp ne i32 %658, 3
  br i1 %659, label %660, label %662

660:                                              ; preds = %657
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %661 = load i32, ptr %32, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %661, i32 noundef 3)
  br label %662

662:                                              ; preds = %660, %657
  %663 = getelementptr inbounds [3 x i8], ptr %30, i64 0, i64 0
  %664 = call i32 @memcmp(ptr noundef %663, ptr noundef @.str.369, i64 noundef 3) #6
  %665 = icmp ne i32 %664, 0
  br i1 %665, label %666, label %674

666:                                              ; preds = %662
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %667 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %668 = getelementptr inbounds %struct.cmp_ext_s, ptr %667, i32 0, i32 0
  %669 = load i8, ptr %668, align 8, !tbaa !5
  %670 = sext i8 %669 to i32
  %671 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %672 = getelementptr inbounds %struct.cmp_ext_s, ptr %671, i32 0, i32 1
  %673 = load i32, ptr %672, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %670, i32 noundef %673)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %675

674:                                              ; preds = %662
  store i32 0, ptr %5, align 4
  br label %675

675:                                              ; preds = %674, %666, %648
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %30) #5
  %676 = load i32, ptr %5, align 4
  switch i32 %676, label %960 [
    i32 0, label %677
  ]

677:                                              ; preds = %675
  br label %678

678:                                              ; preds = %677
  br label %679

679:                                              ; preds = %678
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %680 = call zeroext i1 @cmp_write_ext32(ptr noundef %3, i8 noundef signext 1, i32 noundef 1, ptr noundef @.str.339)
  br i1 %680, label %683, label %681

681:                                              ; preds = %679
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %682 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %682)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

683:                                              ; preds = %679
  %684 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %685 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.375, i64 noundef 7)
  br i1 %685, label %689, label %686

686:                                              ; preds = %683
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.375, i64 noundef 7)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %687 = call ptr @M_BufferGetData(ptr noundef %2)
  %688 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %687, i64 noundef %688)
  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 %960

689:                                              ; preds = %683
  %690 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %691 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %691, label %694, label %692

692:                                              ; preds = %689
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %693 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %693)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

694:                                              ; preds = %689
  %695 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %696 = getelementptr inbounds %struct.cmp_ext_s, ptr %695, i32 0, i32 0
  %697 = load i8, ptr %696, align 8, !tbaa !5
  %698 = sext i8 %697 to i32
  %699 = icmp ne i32 %698, 1
  br i1 %699, label %705, label %700

700:                                              ; preds = %694
  %701 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %702 = getelementptr inbounds %struct.cmp_ext_s, ptr %701, i32 0, i32 1
  %703 = load i32, ptr %702, align 4, !tbaa !5
  %704 = icmp ne i32 %703, 1
  br i1 %704, label %705, label %713

705:                                              ; preds = %700, %694
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %706 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %707 = getelementptr inbounds %struct.cmp_ext_s, ptr %706, i32 0, i32 0
  %708 = load i8, ptr %707, align 8, !tbaa !5
  %709 = sext i8 %708 to i32
  %710 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %711 = getelementptr inbounds %struct.cmp_ext_s, ptr %710, i32 0, i32 1
  %712 = load i32, ptr %711, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %709, i32 noundef %712)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

713:                                              ; preds = %700
  %714 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %715

715:                                              ; preds = %713
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  store i8 1, ptr %34, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 1, ptr %35, align 4, !tbaa !8
  %716 = getelementptr inbounds [1 x i8], ptr %33, i64 0, i64 0
  %717 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %34, ptr noundef %35, ptr noundef %716)
  br i1 %717, label %720, label %718

718:                                              ; preds = %715
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %719 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %719)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %745

720:                                              ; preds = %715
  %721 = load i8, ptr %34, align 1, !tbaa !5
  %722 = sext i8 %721 to i32
  %723 = icmp ne i32 %722, 1
  br i1 %723, label %724, label %727

724:                                              ; preds = %720
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %725 = load i8, ptr %34, align 1, !tbaa !5
  %726 = sext i8 %725 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %726, i32 noundef 1)
  br label %727

727:                                              ; preds = %724, %720
  %728 = load i32, ptr %35, align 4, !tbaa !8
  %729 = icmp ne i32 %728, 1
  br i1 %729, label %730, label %732

730:                                              ; preds = %727
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %731 = load i32, ptr %35, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %731, i32 noundef 1)
  br label %732

732:                                              ; preds = %730, %727
  %733 = getelementptr inbounds [1 x i8], ptr %33, i64 0, i64 0
  %734 = call i32 @memcmp(ptr noundef %733, ptr noundef @.str.339, i64 noundef 1) #6
  %735 = icmp ne i32 %734, 0
  br i1 %735, label %736, label %744

736:                                              ; preds = %732
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %737 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %738 = getelementptr inbounds %struct.cmp_ext_s, ptr %737, i32 0, i32 0
  %739 = load i8, ptr %738, align 8, !tbaa !5
  %740 = sext i8 %739 to i32
  %741 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %742 = getelementptr inbounds %struct.cmp_ext_s, ptr %741, i32 0, i32 1
  %743 = load i32, ptr %742, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %740, i32 noundef %743)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %745

744:                                              ; preds = %732
  store i32 0, ptr %5, align 4
  br label %745

745:                                              ; preds = %744, %736, %718
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  %746 = load i32, ptr %5, align 4
  switch i32 %746, label %960 [
    i32 0, label %747
  ]

747:                                              ; preds = %745
  br label %748

748:                                              ; preds = %747
  br label %749

749:                                              ; preds = %748
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %750 = call zeroext i1 @cmp_write_ext32(ptr noundef %3, i8 noundef signext 2, i32 noundef 3, ptr noundef @.str.369)
  br i1 %750, label %753, label %751

751:                                              ; preds = %749
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %752 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %752)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

753:                                              ; preds = %749
  %754 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %755 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.376, i64 noundef 9)
  br i1 %755, label %759, label %756

756:                                              ; preds = %753
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.376, i64 noundef 9)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %757 = call ptr @M_BufferGetData(ptr noundef %2)
  %758 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %757, i64 noundef %758)
  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 %960

759:                                              ; preds = %753
  %760 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %761 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %761, label %764, label %762

762:                                              ; preds = %759
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %763 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %763)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

764:                                              ; preds = %759
  %765 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %766 = getelementptr inbounds %struct.cmp_ext_s, ptr %765, i32 0, i32 0
  %767 = load i8, ptr %766, align 8, !tbaa !5
  %768 = sext i8 %767 to i32
  %769 = icmp ne i32 %768, 2
  br i1 %769, label %775, label %770

770:                                              ; preds = %764
  %771 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %772 = getelementptr inbounds %struct.cmp_ext_s, ptr %771, i32 0, i32 1
  %773 = load i32, ptr %772, align 4, !tbaa !5
  %774 = icmp ne i32 %773, 3
  br i1 %774, label %775, label %783

775:                                              ; preds = %770, %764
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %776 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %777 = getelementptr inbounds %struct.cmp_ext_s, ptr %776, i32 0, i32 0
  %778 = load i8, ptr %777, align 8, !tbaa !5
  %779 = sext i8 %778 to i32
  %780 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %781 = getelementptr inbounds %struct.cmp_ext_s, ptr %780, i32 0, i32 1
  %782 = load i32, ptr %781, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %779, i32 noundef %782)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

783:                                              ; preds = %770
  %784 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %785

785:                                              ; preds = %783
  call void @llvm.lifetime.start.p0(i64 3, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  store i8 2, ptr %37, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 3, ptr %38, align 4, !tbaa !8
  %786 = getelementptr inbounds [3 x i8], ptr %36, i64 0, i64 0
  %787 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %37, ptr noundef %38, ptr noundef %786)
  br i1 %787, label %790, label %788

788:                                              ; preds = %785
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %789 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %789)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %815

790:                                              ; preds = %785
  %791 = load i8, ptr %37, align 1, !tbaa !5
  %792 = sext i8 %791 to i32
  %793 = icmp ne i32 %792, 2
  br i1 %793, label %794, label %797

794:                                              ; preds = %790
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %795 = load i8, ptr %37, align 1, !tbaa !5
  %796 = sext i8 %795 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %796, i32 noundef 2)
  br label %797

797:                                              ; preds = %794, %790
  %798 = load i32, ptr %38, align 4, !tbaa !8
  %799 = icmp ne i32 %798, 3
  br i1 %799, label %800, label %802

800:                                              ; preds = %797
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %801 = load i32, ptr %38, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %801, i32 noundef 3)
  br label %802

802:                                              ; preds = %800, %797
  %803 = getelementptr inbounds [3 x i8], ptr %36, i64 0, i64 0
  %804 = call i32 @memcmp(ptr noundef %803, ptr noundef @.str.369, i64 noundef 3) #6
  %805 = icmp ne i32 %804, 0
  br i1 %805, label %806, label %814

806:                                              ; preds = %802
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %807 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %808 = getelementptr inbounds %struct.cmp_ext_s, ptr %807, i32 0, i32 0
  %809 = load i8, ptr %808, align 8, !tbaa !5
  %810 = sext i8 %809 to i32
  %811 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %812 = getelementptr inbounds %struct.cmp_ext_s, ptr %811, i32 0, i32 1
  %813 = load i32, ptr %812, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %810, i32 noundef %813)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %815

814:                                              ; preds = %802
  store i32 0, ptr %5, align 4
  br label %815

815:                                              ; preds = %814, %806, %788
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %36) #5
  %816 = load i32, ptr %5, align 4
  switch i32 %816, label %960 [
    i32 0, label %817
  ]

817:                                              ; preds = %815
  br label %818

818:                                              ; preds = %817
  br label %819

819:                                              ; preds = %818
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %820 = call zeroext i1 @cmp_write_ext(ptr noundef %3, i8 noundef signext 1, i32 noundef 1, ptr noundef @.str.339)
  br i1 %820, label %823, label %821

821:                                              ; preds = %819
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %822 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %822)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

823:                                              ; preds = %819
  %824 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %825 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.343, i64 noundef 3)
  br i1 %825, label %829, label %826

826:                                              ; preds = %823
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.343, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %827 = call ptr @M_BufferGetData(ptr noundef %2)
  %828 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %827, i64 noundef %828)
  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 %960

829:                                              ; preds = %823
  %830 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %831 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %831, label %834, label %832

832:                                              ; preds = %829
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %833 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %833)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

834:                                              ; preds = %829
  %835 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %836 = getelementptr inbounds %struct.cmp_ext_s, ptr %835, i32 0, i32 0
  %837 = load i8, ptr %836, align 8, !tbaa !5
  %838 = sext i8 %837 to i32
  %839 = icmp ne i32 %838, 1
  br i1 %839, label %845, label %840

840:                                              ; preds = %834
  %841 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %842 = getelementptr inbounds %struct.cmp_ext_s, ptr %841, i32 0, i32 1
  %843 = load i32, ptr %842, align 4, !tbaa !5
  %844 = icmp ne i32 %843, 1
  br i1 %844, label %845, label %853

845:                                              ; preds = %840, %834
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %846 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %847 = getelementptr inbounds %struct.cmp_ext_s, ptr %846, i32 0, i32 0
  %848 = load i8, ptr %847, align 8, !tbaa !5
  %849 = sext i8 %848 to i32
  %850 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %851 = getelementptr inbounds %struct.cmp_ext_s, ptr %850, i32 0, i32 1
  %852 = load i32, ptr %851, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %849, i32 noundef %852)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

853:                                              ; preds = %840
  %854 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %855

855:                                              ; preds = %853
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #5
  store i8 1, ptr %40, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 1, ptr %41, align 4, !tbaa !8
  %856 = getelementptr inbounds [1 x i8], ptr %39, i64 0, i64 0
  %857 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %40, ptr noundef %41, ptr noundef %856)
  br i1 %857, label %860, label %858

858:                                              ; preds = %855
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %859 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %859)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %885

860:                                              ; preds = %855
  %861 = load i8, ptr %40, align 1, !tbaa !5
  %862 = sext i8 %861 to i32
  %863 = icmp ne i32 %862, 1
  br i1 %863, label %864, label %867

864:                                              ; preds = %860
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %865 = load i8, ptr %40, align 1, !tbaa !5
  %866 = sext i8 %865 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %866, i32 noundef 1)
  br label %867

867:                                              ; preds = %864, %860
  %868 = load i32, ptr %41, align 4, !tbaa !8
  %869 = icmp ne i32 %868, 1
  br i1 %869, label %870, label %872

870:                                              ; preds = %867
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %871 = load i32, ptr %41, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %871, i32 noundef 1)
  br label %872

872:                                              ; preds = %870, %867
  %873 = getelementptr inbounds [1 x i8], ptr %39, i64 0, i64 0
  %874 = call i32 @memcmp(ptr noundef %873, ptr noundef @.str.339, i64 noundef 1) #6
  %875 = icmp ne i32 %874, 0
  br i1 %875, label %876, label %884

876:                                              ; preds = %872
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef @.str.339, i64 noundef 1)
  %877 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %878 = getelementptr inbounds %struct.cmp_ext_s, ptr %877, i32 0, i32 0
  %879 = load i8, ptr %878, align 8, !tbaa !5
  %880 = sext i8 %879 to i32
  %881 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %882 = getelementptr inbounds %struct.cmp_ext_s, ptr %881, i32 0, i32 1
  %883 = load i32, ptr %882, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %880, i32 noundef %883)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %885

884:                                              ; preds = %872
  store i32 0, ptr %5, align 4
  br label %885

885:                                              ; preds = %884, %876, %858
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  %886 = load i32, ptr %5, align 4
  switch i32 %886, label %960 [
    i32 0, label %887
  ]

887:                                              ; preds = %885
  br label %888

888:                                              ; preds = %887
  br label %889

889:                                              ; preds = %888
  call void @M_BufferClear(ptr noundef %2)
  call void @error_clear()
  %890 = call zeroext i1 @cmp_write_ext(ptr noundef %3, i8 noundef signext 2, i32 noundef 3, ptr noundef @.str.369)
  br i1 %890, label %893, label %891

891:                                              ; preds = %889
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %892 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.366, ptr noundef %892)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

893:                                              ; preds = %889
  %894 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %895 = call zeroext i1 @M_BufferEqualsData(ptr noundef %2, ptr noundef @.str.370, i64 noundef 6)
  br i1 %895, label %899, label %896

896:                                              ; preds = %893
  call void (ptr, ...) @error_printf(ptr noundef @.str.364, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.344)
  call void @error_printbin(ptr noundef @.str.370, i64 noundef 6)
  call void (ptr, ...) @error_printf(ptr noundef @.str.24)
  %897 = call ptr @M_BufferGetData(ptr noundef %2)
  %898 = call i64 @M_BufferGetSize(ptr noundef %2)
  call void @error_printbin(ptr noundef %897, i64 noundef %898)
  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 %960

899:                                              ; preds = %893
  %900 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  %901 = call zeroext i1 @cmp_read_object(ptr noundef %3, ptr noundef %4)
  br i1 %901, label %904, label %902

902:                                              ; preds = %899
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %903 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %903)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

904:                                              ; preds = %899
  %905 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %906 = getelementptr inbounds %struct.cmp_ext_s, ptr %905, i32 0, i32 0
  %907 = load i8, ptr %906, align 8, !tbaa !5
  %908 = sext i8 %907 to i32
  %909 = icmp ne i32 %908, 2
  br i1 %909, label %915, label %910

910:                                              ; preds = %904
  %911 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %912 = getelementptr inbounds %struct.cmp_ext_s, ptr %911, i32 0, i32 1
  %913 = load i32, ptr %912, align 4, !tbaa !5
  %914 = icmp ne i32 %913, 3
  br i1 %914, label %915, label %923

915:                                              ; preds = %910, %904
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %916 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %917 = getelementptr inbounds %struct.cmp_ext_s, ptr %916, i32 0, i32 0
  %918 = load i8, ptr %917, align 8, !tbaa !5
  %919 = sext i8 %918 to i32
  %920 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %921 = getelementptr inbounds %struct.cmp_ext_s, ptr %920, i32 0, i32 1
  %922 = load i32, ptr %921, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %919, i32 noundef %922)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

923:                                              ; preds = %910
  %924 = call zeroext i1 @M_BufferSeek(ptr noundef %2, i64 noundef 0)
  br label %925

925:                                              ; preds = %923
  call void @llvm.lifetime.start.p0(i64 3, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #5
  store i8 2, ptr %43, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  store i32 3, ptr %44, align 4, !tbaa !8
  %926 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %927 = call zeroext i1 @cmp_read_ext(ptr noundef %3, ptr noundef %43, ptr noundef %44, ptr noundef %926)
  br i1 %927, label %930, label %928

928:                                              ; preds = %925
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %929 = call ptr @cmp_strerror(ptr noundef %3)
  call void (ptr, ...) @error_printf(ptr noundef @.str.346, ptr noundef %929)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %955

930:                                              ; preds = %925
  %931 = load i8, ptr %43, align 1, !tbaa !5
  %932 = sext i8 %931 to i32
  %933 = icmp ne i32 %932, 2
  br i1 %933, label %934, label %937

934:                                              ; preds = %930
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %935 = load i8, ptr %43, align 1, !tbaa !5
  %936 = sext i8 %935 to i32
  call void (ptr, ...) @error_printf(ptr noundef @.str.350, i32 noundef %936, i32 noundef 2)
  br label %937

937:                                              ; preds = %934, %930
  %938 = load i32, ptr %44, align 4, !tbaa !8
  %939 = icmp ne i32 %938, 3
  br i1 %939, label %940, label %942

940:                                              ; preds = %937
  call void (ptr, ...) @error_printf(ptr noundef @.str.349, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %941 = load i32, ptr %44, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef @.str.351, i32 noundef %941, i32 noundef 3)
  br label %942

942:                                              ; preds = %940, %937
  %943 = getelementptr inbounds [3 x i8], ptr %42, i64 0, i64 0
  %944 = call i32 @memcmp(ptr noundef %943, ptr noundef @.str.369, i64 noundef 3) #6
  %945 = icmp ne i32 %944, 0
  br i1 %945, label %946, label %954

946:                                              ; preds = %942
  call void (ptr, ...) @error_printf(ptr noundef @.str.368, ptr noundef @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef @.str.369, i64 noundef 3)
  %947 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %948 = getelementptr inbounds %struct.cmp_ext_s, ptr %947, i32 0, i32 0
  %949 = load i8, ptr %948, align 8, !tbaa !5
  %950 = sext i8 %949 to i32
  %951 = getelementptr inbounds %struct.cmp_object_s, ptr %4, i32 0, i32 1
  %952 = getelementptr inbounds %struct.cmp_ext_s, ptr %951, i32 0, i32 1
  %953 = load i32, ptr %952, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef @.str.348, i32 noundef %950, i32 noundef %953)
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %955

954:                                              ; preds = %942
  store i32 0, ptr %5, align 4
  br label %955

955:                                              ; preds = %954, %946, %928
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %42) #5
  %956 = load i32, ptr %5, align 4
  switch i32 %956, label %960 [
    i32 0, label %957
  ]

957:                                              ; preds = %955
  br label %958

958:                                              ; preds = %957
  br label %959

959:                                              ; preds = %958
  store i1 true, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %960

960:                                              ; preds = %959, %955, %915, %902, %896, %891, %885, %845, %832, %826, %821, %815, %775, %762, %756, %751, %745, %705, %692, %686, %681, %675, %635, %622, %616, %611, %605, %565, %552, %546, %541, %535, %495, %482, %476, %471, %465, %425, %412, %406, %401, %395, %354, %341, %335, %330, %324, %283, %270, %264, %259, %253, %212, %199, %193, %188, %182, %141, %128, %122, %117, %111, %70, %57, %51, %46
  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
  %961 = load i1, ptr %1, align 1
  ret i1 %961
}

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

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

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

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

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

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

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

declare zeroext i1 @cmp_write_ext16(ptr noundef, i8 noundef signext, i16 noundef zeroext, ptr noundef) #2

declare zeroext i1 @cmp_write_ext32(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) #2

declare zeroext i1 @cmp_write_ext(ptr noundef, i8 noundef signext, i32 noundef, ptr 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}


; 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.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.339 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.340 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.341 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.343 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.344 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.345 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.346 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.347 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.348 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.349 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.350 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.362 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.363 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.364 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.365 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.366 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.367 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.368 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.369 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.370 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.371 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.372 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.373 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.374 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.375 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.377 = 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @run_ext_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 i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca [2 x i8], align 2
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca [4 x i8], align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca [8 x i8], align 8
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca [16 x i8], align 16
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca [1 x i8], align 1
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca [3 x i8], align 1
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca [1 x i8], align 1
  %26 = alloca i8, align 1
  %27 = alloca i32, align 4
  %28 = alloca [3 x i8], align 1
  %29 = alloca i8, align 1
  %30 = alloca i32, align 4
  %31 = alloca [1 x i8], align 1
  %32 = alloca i8, align 1
  %33 = alloca i32, align 4
  %34 = alloca [3 x i8], align 1
  %35 = alloca i8, align 1
  %36 = alloca i32, align 4
  %37 = alloca [1 x i8], align 1
  %38 = alloca i8, align 1
  %39 = alloca i32, align 4
  %40 = alloca [3 x i8], align 1
  %41 = alloca i8, align 1
  %42 = 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()
  %43 = call zeroext i1 @cmp_write_fixext1(ptr noundef nonnull %2, i8 noundef signext 1, ptr noundef nonnull @.str.339) #5
  br i1 %43, label %46, label %44

44:                                               ; preds = %0
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %45 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.342, ptr noundef %45)
  br label %604

46:                                               ; preds = %0
  %47 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %48 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.343, i64 noundef 3) #5
  br i1 %48, label %52, label %49

49:                                               ; preds = %46
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.343, i64 noundef 3)
  %50 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %51 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %50, i64 noundef %51)
  br label %604

52:                                               ; preds = %46
  %53 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %54 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %54, label %57, label %55

55:                                               ; preds = %52
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %56 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %56)
  br label %604

57:                                               ; preds = %52
  %58 = getelementptr inbounds i8, ptr %3, i64 8
  %59 = load i8, ptr %58, align 8, !tbaa !5
  %60 = icmp ne i8 %59, 1
  %61 = getelementptr inbounds i8, ptr %3, i64 12
  %62 = load i32, ptr %61, align 4
  %63 = icmp ne i32 %62, 1
  %or.cond = select i1 %60, i1 true, i1 %63
  br i1 %or.cond, label %64, label %68

64:                                               ; preds = %57
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %65 = load i8, ptr %58, align 8, !tbaa !5
  %66 = sext i8 %65 to i32
  %67 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %66, i32 noundef %67)
  br label %604

68:                                               ; preds = %57
  %69 = 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 1, ptr nonnull %5) #5
  store i8 1, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 1, ptr %6, align 4, !tbaa !8
  store i8 0, ptr %4, align 1
  %70 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %4) #5
  br i1 %70, label %73, label %71

71:                                               ; preds = %68
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %72 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %72)
  br label %.critedge

73:                                               ; preds = %68
  %74 = load i8, ptr %5, align 1, !tbaa !5
  %.not = icmp eq i8 %74, 1
  br i1 %.not, label %78, label %75

75:                                               ; preds = %73
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.341, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %76 = load i8, ptr %5, align 1, !tbaa !5
  %77 = sext i8 %76 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %77, i32 noundef 1)
  br label %78

78:                                               ; preds = %75, %73
  %79 = load i32, ptr %6, align 4, !tbaa !8
  %.not89 = icmp eq i32 %79, 1
  br i1 %.not89, label %82, label %80

80:                                               ; preds = %78
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.341, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %81 = load i32, ptr %6, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %81, i32 noundef 1)
  br label %82

82:                                               ; preds = %80, %78
  %lhsc = load i8, ptr %4, align 1
  %rhsc = load i8, ptr @.str.339, align 1
  %.not90 = icmp eq i8 %lhsc, %rhsc
  br i1 %.not90, label %87, label %83

83:                                               ; preds = %82
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.341, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %84 = load i8, ptr %58, align 8, !tbaa !5
  %85 = sext i8 %84 to i32
  %86 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %85, i32 noundef %86)
  br label %.critedge

87:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1, 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()
  %88 = call zeroext i1 @cmp_write_fixext2(ptr noundef nonnull %2, i8 noundef signext 2, ptr noundef nonnull @.str.352) #5
  br i1 %88, label %91, label %89

89:                                               ; preds = %87
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %90 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.342, ptr noundef %90)
  br label %604

91:                                               ; preds = %87
  %92 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %93 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.354, i64 noundef 4) #5
  br i1 %93, label %97, label %94

94:                                               ; preds = %91
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.354, i64 noundef 4)
  %95 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %96 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %95, i64 noundef %96)
  br label %604

97:                                               ; preds = %91
  %98 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %99 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %99, label %102, label %100

100:                                              ; preds = %97
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %101 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %101)
  br label %604

102:                                              ; preds = %97
  %103 = load i8, ptr %58, align 8, !tbaa !5
  %104 = icmp ne i8 %103, 2
  %105 = load i32, ptr %61, align 4
  %106 = icmp ne i32 %105, 2
  %or.cond19 = select i1 %104, i1 true, i1 %106
  br i1 %or.cond19, label %107, label %111

107:                                              ; preds = %102
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %108 = load i8, ptr %58, align 8, !tbaa !5
  %109 = sext i8 %108 to i32
  %110 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %109, i32 noundef %110)
  br label %604

111:                                              ; preds = %102
  %112 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  store i8 2, ptr %8, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 2, ptr %9, align 4, !tbaa !8
  store i16 0, ptr %7, align 2
  %113 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %7) #5
  br i1 %113, label %116, label %114

114:                                              ; preds = %111
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %115 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %115)
  br label %.critedge143

116:                                              ; preds = %111
  %117 = load i8, ptr %8, align 1, !tbaa !5
  %.not91 = icmp eq i8 %117, 2
  br i1 %.not91, label %121, label %118

118:                                              ; preds = %116
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.353, i32 noundef 2, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %119 = load i8, ptr %8, align 1, !tbaa !5
  %120 = sext i8 %119 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %120, i32 noundef 2)
  br label %121

121:                                              ; preds = %118, %116
  %122 = load i32, ptr %9, align 4, !tbaa !8
  %.not92 = icmp eq i32 %122, 2
  br i1 %.not92, label %125, label %123

123:                                              ; preds = %121
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.353, i32 noundef 2, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %124 = load i32, ptr %9, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %124, i32 noundef 2)
  br label %125

125:                                              ; preds = %123, %121
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(2) %7, ptr noundef nonnull dereferenceable(2) @.str.352, i64 2)
  %.not93 = icmp eq i32 %bcmp, 0
  br i1 %.not93, label %130, label %126

126:                                              ; preds = %125
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.353, i32 noundef 2)
  call void @error_printbin(ptr noundef nonnull @.str.352, i64 noundef 2)
  %127 = load i8, ptr %58, align 8, !tbaa !5
  %128 = sext i8 %127 to i32
  %129 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %128, i32 noundef %129)
  br label %.critedge143

130:                                              ; preds = %125
  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 @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %131 = call zeroext i1 @cmp_write_fixext4(ptr noundef nonnull %2, i8 noundef signext 3, ptr noundef nonnull @.str.355) #5
  br i1 %131, label %134, label %132

132:                                              ; preds = %130
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %133 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.342, ptr noundef %133)
  br label %604

134:                                              ; preds = %130
  %135 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %136 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.357, i64 noundef 6) #5
  br i1 %136, label %140, label %137

137:                                              ; preds = %134
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.357, i64 noundef 6)
  %138 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %139 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %138, i64 noundef %139)
  br label %604

140:                                              ; preds = %134
  %141 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %142 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %142, label %145, label %143

143:                                              ; preds = %140
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %144 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %144)
  br label %604

145:                                              ; preds = %140
  %146 = load i8, ptr %58, align 8, !tbaa !5
  %147 = icmp ne i8 %146, 3
  %148 = load i32, ptr %61, align 4
  %149 = icmp ne i32 %148, 4
  %or.cond23 = select i1 %147, i1 true, i1 %149
  br i1 %or.cond23, label %150, label %154

150:                                              ; preds = %145
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %151 = load i8, ptr %58, align 8, !tbaa !5
  %152 = sext i8 %151 to i32
  %153 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %152, i32 noundef %153)
  br label %604

154:                                              ; preds = %145
  %155 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  store i8 3, ptr %11, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 4, ptr %12, align 4, !tbaa !8
  store i32 0, ptr %10, align 4
  %156 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %10) #5
  br i1 %156, label %159, label %157

157:                                              ; preds = %154
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %158 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %158)
  br label %.critedge145

159:                                              ; preds = %154
  %160 = load i8, ptr %11, align 1, !tbaa !5
  %.not94 = icmp eq i8 %160, 3
  br i1 %.not94, label %164, label %161

161:                                              ; preds = %159
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.356, i32 noundef 3, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %162 = load i8, ptr %11, align 1, !tbaa !5
  %163 = sext i8 %162 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %163, i32 noundef 3)
  br label %164

164:                                              ; preds = %161, %159
  %165 = load i32, ptr %12, align 4, !tbaa !8
  %.not95 = icmp eq i32 %165, 4
  br i1 %.not95, label %168, label %166

166:                                              ; preds = %164
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.356, i32 noundef 3, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %167 = load i32, ptr %12, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %167, i32 noundef 4)
  br label %168

168:                                              ; preds = %166, %164
  %bcmp96 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %10, ptr noundef nonnull dereferenceable(4) @.str.355, i64 4)
  %.not97 = icmp eq i32 %bcmp96, 0
  br i1 %.not97, label %173, label %169

169:                                              ; preds = %168
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.356, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.355, i64 noundef 4)
  %170 = load i8, ptr %58, align 8, !tbaa !5
  %171 = sext i8 %170 to i32
  %172 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %171, i32 noundef %172)
  br label %.critedge145

173:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %174 = call zeroext i1 @cmp_write_fixext8(ptr noundef nonnull %2, i8 noundef signext 4, ptr noundef nonnull @.str.358) #5
  br i1 %174, label %177, label %175

175:                                              ; preds = %173
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %176 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.342, ptr noundef %176)
  br label %604

177:                                              ; preds = %173
  %178 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %179 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.360, i64 noundef 10) #5
  br i1 %179, label %183, label %180

180:                                              ; preds = %177
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.360, i64 noundef 10)
  %181 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %182 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %181, i64 noundef %182)
  br label %604

183:                                              ; preds = %177
  %184 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %185 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %185, label %188, label %186

186:                                              ; preds = %183
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %187 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %187)
  br label %604

188:                                              ; preds = %183
  %189 = load i8, ptr %58, align 8, !tbaa !5
  %190 = icmp ne i8 %189, 4
  %191 = load i32, ptr %61, align 4
  %192 = icmp ne i32 %191, 8
  %or.cond27 = select i1 %190, i1 true, i1 %192
  br i1 %or.cond27, label %193, label %197

193:                                              ; preds = %188
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %194 = load i8, ptr %58, align 8, !tbaa !5
  %195 = sext i8 %194 to i32
  %196 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %195, i32 noundef %196)
  br label %604

197:                                              ; preds = %188
  %198 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  store i8 4, ptr %14, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 8, ptr %15, align 4, !tbaa !8
  store i64 0, ptr %13, align 8
  %199 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %13) #5
  br i1 %199, label %202, label %200

200:                                              ; preds = %197
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %201 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %201)
  br label %.critedge147

202:                                              ; preds = %197
  %203 = load i8, ptr %14, align 1, !tbaa !5
  %.not98 = icmp eq i8 %203, 4
  br i1 %.not98, label %207, label %204

204:                                              ; preds = %202
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.359, i32 noundef 4, i32 noundef 8)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %205 = load i8, ptr %14, align 1, !tbaa !5
  %206 = sext i8 %205 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %206, i32 noundef 4)
  br label %207

207:                                              ; preds = %204, %202
  %208 = load i32, ptr %15, align 4, !tbaa !8
  %.not99 = icmp eq i32 %208, 8
  br i1 %.not99, label %211, label %209

209:                                              ; preds = %207
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.359, i32 noundef 4, i32 noundef 8)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %210 = load i32, ptr %15, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %210, i32 noundef 8)
  br label %211

211:                                              ; preds = %209, %207
  %bcmp100 = call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %13, ptr noundef nonnull dereferenceable(8) @.str.358, i64 8)
  %.not101 = icmp eq i32 %bcmp100, 0
  br i1 %.not101, label %216, label %212

212:                                              ; preds = %211
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.359, i32 noundef 4)
  call void @error_printbin(ptr noundef nonnull @.str.358, i64 noundef 8)
  %213 = load i8, ptr %58, align 8, !tbaa !5
  %214 = sext i8 %213 to i32
  %215 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %214, i32 noundef %215)
  br label %.critedge147

216:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %217 = call zeroext i1 @cmp_write_fixext16(ptr noundef nonnull %2, i8 noundef signext 5, ptr noundef nonnull @.str.361) #5
  br i1 %217, label %220, label %218

218:                                              ; preds = %216
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %219 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.342, ptr noundef %219)
  br label %604

220:                                              ; preds = %216
  %221 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %222 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.363, i64 noundef 18) #5
  br i1 %222, label %226, label %223

223:                                              ; preds = %220
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.340, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.363, i64 noundef 18)
  %224 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %225 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %224, i64 noundef %225)
  br label %604

226:                                              ; preds = %220
  %227 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %228 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %228, label %231, label %229

229:                                              ; preds = %226
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %230 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %230)
  br label %604

231:                                              ; preds = %226
  %232 = load i8, ptr %58, align 8, !tbaa !5
  %233 = icmp ne i8 %232, 5
  %234 = load i32, ptr %61, align 4
  %235 = icmp ne i32 %234, 16
  %or.cond31 = select i1 %233, i1 true, i1 %235
  br i1 %or.cond31, label %236, label %240

236:                                              ; preds = %231
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %237 = load i8, ptr %58, align 8, !tbaa !5
  %238 = sext i8 %237 to i32
  %239 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %238, i32 noundef %239)
  br label %604

240:                                              ; preds = %231
  %241 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #5
  store i8 5, ptr %17, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  store i32 16, ptr %18, align 4, !tbaa !8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %16, i8 0, i64 16, i1 false)
  %242 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %16) #5
  br i1 %242, label %245, label %243

243:                                              ; preds = %240
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.345, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %244 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %244)
  br label %.critedge149

245:                                              ; preds = %240
  %246 = load i8, ptr %17, align 1, !tbaa !5
  %.not102 = icmp eq i8 %246, 5
  br i1 %.not102, label %250, label %247

247:                                              ; preds = %245
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.362, i32 noundef 5, i32 noundef 16)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %248 = load i8, ptr %17, align 1, !tbaa !5
  %249 = sext i8 %248 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %249, i32 noundef 5)
  br label %250

250:                                              ; preds = %247, %245
  %251 = load i32, ptr %18, align 4, !tbaa !8
  %.not103 = icmp eq i32 %251, 16
  br i1 %.not103, label %254, label %252

252:                                              ; preds = %250
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.362, i32 noundef 5, i32 noundef 16)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %253 = load i32, ptr %18, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %253, i32 noundef 16)
  br label %254

254:                                              ; preds = %252, %250
  %bcmp104 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %16, ptr noundef nonnull dereferenceable(16) @.str.361, i64 16)
  %.not105 = icmp eq i32 %bcmp104, 0
  br i1 %.not105, label %259, label %255

255:                                              ; preds = %254
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.347, ptr noundef nonnull @.str.362, i32 noundef 5)
  call void @error_printbin(ptr noundef nonnull @.str.361, i64 noundef 16)
  %256 = load i8, ptr %58, align 8, !tbaa !5
  %257 = sext i8 %256 to i32
  %258 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %257, i32 noundef %258)
  br label %.critedge149

259:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %260 = call zeroext i1 @cmp_write_ext8(ptr noundef nonnull %2, i8 noundef signext 1, i8 noundef zeroext 1, ptr noundef nonnull @.str.339) #5
  br i1 %260, label %263, label %261

261:                                              ; preds = %259
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %262 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %262)
  br label %604

263:                                              ; preds = %259
  %264 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %265 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.367, i64 noundef 4) #5
  br i1 %265, label %269, label %266

266:                                              ; preds = %263
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.367, i64 noundef 4)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %267 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %268 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %267, i64 noundef %268)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

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

272:                                              ; preds = %269
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %273 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %273)
  br label %604

274:                                              ; preds = %269
  %275 = load i8, ptr %58, align 8, !tbaa !5
  %276 = icmp ne i8 %275, 1
  %277 = load i32, ptr %61, align 4
  %278 = icmp ne i32 %277, 1
  %or.cond35 = select i1 %276, i1 true, i1 %278
  br i1 %or.cond35, label %279, label %283

279:                                              ; preds = %274
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %280 = load i8, ptr %58, align 8, !tbaa !5
  %281 = sext i8 %280 to i32
  %282 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %281, i32 noundef %282)
  br label %604

283:                                              ; preds = %274
  %284 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  store i8 1, ptr %20, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  store i32 1, ptr %21, align 4, !tbaa !8
  %285 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %19) #5
  br i1 %285, label %288, label %286

286:                                              ; preds = %283
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %287 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %287)
  br label %.critedge151

288:                                              ; preds = %283
  %289 = load i8, ptr %20, align 1, !tbaa !5
  %.not106 = icmp eq i8 %289, 1
  br i1 %.not106, label %293, label %290

290:                                              ; preds = %288
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %291 = load i8, ptr %20, align 1, !tbaa !5
  %292 = sext i8 %291 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %292, i32 noundef 1)
  br label %293

293:                                              ; preds = %290, %288
  %294 = load i32, ptr %21, align 4, !tbaa !8
  %.not107 = icmp eq i32 %294, 1
  br i1 %.not107, label %297, label %295

295:                                              ; preds = %293
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %296 = load i32, ptr %21, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %296, i32 noundef 1)
  br label %297

297:                                              ; preds = %295, %293
  %lhsc108 = load i8, ptr %19, align 1
  %.not110 = icmp eq i8 %lhsc108, %lhsc
  br i1 %.not110, label %302, label %298

298:                                              ; preds = %297
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.365, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %299 = load i8, ptr %58, align 8, !tbaa !5
  %300 = sext i8 %299 to i32
  %301 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %300, i32 noundef %301)
  br label %.critedge151

302:                                              ; preds = %297
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %303 = call zeroext i1 @cmp_write_ext8(ptr noundef nonnull %2, i8 noundef signext 2, i8 noundef zeroext 3, ptr noundef nonnull @.str.369) #5
  br i1 %303, label %306, label %304

304:                                              ; preds = %302
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %305 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %305)
  br label %604

306:                                              ; preds = %302
  %307 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %308 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.370, i64 noundef 6) #5
  br i1 %308, label %312, label %309

309:                                              ; preds = %306
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.370, i64 noundef 6)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %310 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %311 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %310, i64 noundef %311)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

312:                                              ; preds = %306
  %313 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %314 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %314, label %317, label %315

315:                                              ; preds = %312
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %316 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %316)
  br label %604

317:                                              ; preds = %312
  %318 = load i8, ptr %58, align 8, !tbaa !5
  %319 = icmp ne i8 %318, 2
  %320 = load i32, ptr %61, align 4
  %321 = icmp ne i32 %320, 3
  %or.cond39 = select i1 %319, i1 true, i1 %321
  br i1 %or.cond39, label %322, label %326

322:                                              ; preds = %317
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %323 = load i8, ptr %58, align 8, !tbaa !5
  %324 = sext i8 %323 to i32
  %325 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %324, i32 noundef %325)
  br label %604

326:                                              ; preds = %317
  %327 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  store i8 2, ptr %23, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #5
  store i32 3, ptr %24, align 4, !tbaa !8
  %328 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %22) #5
  br i1 %328, label %331, label %329

329:                                              ; preds = %326
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %330 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %330)
  br label %.critedge153

331:                                              ; preds = %326
  %332 = load i8, ptr %23, align 1, !tbaa !5
  %.not111 = icmp eq i8 %332, 2
  br i1 %.not111, label %336, label %333

333:                                              ; preds = %331
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %334 = load i8, ptr %23, align 1, !tbaa !5
  %335 = sext i8 %334 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %335, i32 noundef 2)
  br label %336

336:                                              ; preds = %333, %331
  %337 = load i32, ptr %24, align 4, !tbaa !8
  %.not112 = icmp eq i32 %337, 3
  br i1 %.not112, label %340, label %338

338:                                              ; preds = %336
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %339 = load i32, ptr %24, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %339, i32 noundef 3)
  br label %340

340:                                              ; preds = %338, %336
  %bcmp113 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %22, ptr noundef nonnull dereferenceable(3) @.str.369, i64 3)
  %.not114 = icmp eq i32 %bcmp113, 0
  br i1 %.not114, label %345, label %341

341:                                              ; preds = %340
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.365, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %342 = load i8, ptr %58, align 8, !tbaa !5
  %343 = sext i8 %342 to i32
  %344 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %343, i32 noundef %344)
  br label %.critedge153

345:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %22) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %346 = call zeroext i1 @cmp_write_ext16(ptr noundef nonnull %2, i8 noundef signext 1, i16 noundef zeroext 1, ptr noundef nonnull @.str.339) #5
  br i1 %346, label %349, label %347

347:                                              ; preds = %345
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %348 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %348)
  br label %604

349:                                              ; preds = %345
  %350 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %351 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.372, i64 noundef 5) #5
  br i1 %351, label %355, label %352

352:                                              ; preds = %349
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.372, i64 noundef 5)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %353 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %354 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %353, i64 noundef %354)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

355:                                              ; preds = %349
  %356 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %357 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %357, label %360, label %358

358:                                              ; preds = %355
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %359 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %359)
  br label %604

360:                                              ; preds = %355
  %361 = load i8, ptr %58, align 8, !tbaa !5
  %362 = icmp ne i8 %361, 1
  %363 = load i32, ptr %61, align 4
  %364 = icmp ne i32 %363, 1
  %or.cond43 = select i1 %362, i1 true, i1 %364
  br i1 %or.cond43, label %365, label %369

365:                                              ; preds = %360
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %366 = load i8, ptr %58, align 8, !tbaa !5
  %367 = sext i8 %366 to i32
  %368 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %367, i32 noundef %368)
  br label %604

369:                                              ; preds = %360
  %370 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #5
  store i8 1, ptr %26, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #5
  store i32 1, ptr %27, align 4, !tbaa !8
  %371 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %25) #5
  br i1 %371, label %374, label %372

372:                                              ; preds = %369
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %373 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %373)
  br label %.critedge155

374:                                              ; preds = %369
  %375 = load i8, ptr %26, align 1, !tbaa !5
  %.not115 = icmp eq i8 %375, 1
  br i1 %.not115, label %379, label %376

376:                                              ; preds = %374
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %377 = load i8, ptr %26, align 1, !tbaa !5
  %378 = sext i8 %377 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %378, i32 noundef 1)
  br label %379

379:                                              ; preds = %376, %374
  %380 = load i32, ptr %27, align 4, !tbaa !8
  %.not116 = icmp eq i32 %380, 1
  br i1 %.not116, label %383, label %381

381:                                              ; preds = %379
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %382 = load i32, ptr %27, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %382, i32 noundef 1)
  br label %383

383:                                              ; preds = %381, %379
  %lhsc117 = load i8, ptr %25, align 1
  %.not119 = icmp eq i8 %lhsc117, %lhsc
  br i1 %.not119, label %388, label %384

384:                                              ; preds = %383
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.371, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %385 = load i8, ptr %58, align 8, !tbaa !5
  %386 = sext i8 %385 to i32
  %387 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %386, i32 noundef %387)
  br label %.critedge155

388:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %389 = call zeroext i1 @cmp_write_ext16(ptr noundef nonnull %2, i8 noundef signext 2, i16 noundef zeroext 3, ptr noundef nonnull @.str.369) #5
  br i1 %389, label %392, label %390

390:                                              ; preds = %388
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %391 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %391)
  br label %604

392:                                              ; preds = %388
  %393 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %394 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.373, i64 noundef 7) #5
  br i1 %394, label %398, label %395

395:                                              ; preds = %392
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.373, i64 noundef 7)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %396 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %397 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %396, i64 noundef %397)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

398:                                              ; preds = %392
  %399 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %400 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %400, label %403, label %401

401:                                              ; preds = %398
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %402 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %402)
  br label %604

403:                                              ; preds = %398
  %404 = load i8, ptr %58, align 8, !tbaa !5
  %405 = icmp ne i8 %404, 2
  %406 = load i32, ptr %61, align 4
  %407 = icmp ne i32 %406, 3
  %or.cond47 = select i1 %405, i1 true, i1 %407
  br i1 %or.cond47, label %408, label %412

408:                                              ; preds = %403
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %409 = load i8, ptr %58, align 8, !tbaa !5
  %410 = sext i8 %409 to i32
  %411 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %410, i32 noundef %411)
  br label %604

412:                                              ; preds = %403
  %413 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #5
  store i8 2, ptr %29, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #5
  store i32 3, ptr %30, align 4, !tbaa !8
  %414 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef nonnull %28) #5
  br i1 %414, label %417, label %415

415:                                              ; preds = %412
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %416 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %416)
  br label %.critedge157

417:                                              ; preds = %412
  %418 = load i8, ptr %29, align 1, !tbaa !5
  %.not120 = icmp eq i8 %418, 2
  br i1 %.not120, label %422, label %419

419:                                              ; preds = %417
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %420 = load i8, ptr %29, align 1, !tbaa !5
  %421 = sext i8 %420 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %421, i32 noundef 2)
  br label %422

422:                                              ; preds = %419, %417
  %423 = load i32, ptr %30, align 4, !tbaa !8
  %.not121 = icmp eq i32 %423, 3
  br i1 %.not121, label %426, label %424

424:                                              ; preds = %422
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %425 = load i32, ptr %30, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %425, i32 noundef 3)
  br label %426

426:                                              ; preds = %424, %422
  %bcmp122 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %28, ptr noundef nonnull dereferenceable(3) @.str.369, i64 3)
  %.not123 = icmp eq i32 %bcmp122, 0
  br i1 %.not123, label %431, label %427

427:                                              ; preds = %426
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.371, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %428 = load i8, ptr %58, align 8, !tbaa !5
  %429 = sext i8 %428 to i32
  %430 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %429, i32 noundef %430)
  br label %.critedge157

431:                                              ; preds = %426
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %28) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %432 = call zeroext i1 @cmp_write_ext32(ptr noundef nonnull %2, i8 noundef signext 1, i32 noundef 1, ptr noundef nonnull @.str.339) #5
  br i1 %432, label %435, label %433

433:                                              ; preds = %431
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %434 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %434)
  br label %604

435:                                              ; preds = %431
  %436 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %437 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.375, i64 noundef 7) #5
  br i1 %437, label %441, label %438

438:                                              ; preds = %435
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.375, i64 noundef 7)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %439 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %440 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %439, i64 noundef %440)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

441:                                              ; preds = %435
  %442 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %443 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %443, label %446, label %444

444:                                              ; preds = %441
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %445 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %445)
  br label %604

446:                                              ; preds = %441
  %447 = load i8, ptr %58, align 8, !tbaa !5
  %448 = icmp ne i8 %447, 1
  %449 = load i32, ptr %61, align 4
  %450 = icmp ne i32 %449, 1
  %or.cond51 = select i1 %448, i1 true, i1 %450
  br i1 %or.cond51, label %451, label %455

451:                                              ; preds = %446
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %452 = load i8, ptr %58, align 8, !tbaa !5
  %453 = sext i8 %452 to i32
  %454 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %453, i32 noundef %454)
  br label %604

455:                                              ; preds = %446
  %456 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #5
  store i8 1, ptr %32, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #5
  store i32 1, ptr %33, align 4, !tbaa !8
  %457 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull %31) #5
  br i1 %457, label %460, label %458

458:                                              ; preds = %455
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %459 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %459)
  br label %.critedge159

460:                                              ; preds = %455
  %461 = load i8, ptr %32, align 1, !tbaa !5
  %.not124 = icmp eq i8 %461, 1
  br i1 %.not124, label %465, label %462

462:                                              ; preds = %460
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %463 = load i8, ptr %32, align 1, !tbaa !5
  %464 = sext i8 %463 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %464, i32 noundef 1)
  br label %465

465:                                              ; preds = %462, %460
  %466 = load i32, ptr %33, align 4, !tbaa !8
  %.not125 = icmp eq i32 %466, 1
  br i1 %.not125, label %469, label %467

467:                                              ; preds = %465
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %468 = load i32, ptr %33, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %468, i32 noundef 1)
  br label %469

469:                                              ; preds = %467, %465
  %lhsc126 = load i8, ptr %31, align 1
  %.not128 = icmp eq i8 %lhsc126, %lhsc
  br i1 %.not128, label %474, label %470

470:                                              ; preds = %469
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.374, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %471 = load i8, ptr %58, align 8, !tbaa !5
  %472 = sext i8 %471 to i32
  %473 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %472, i32 noundef %473)
  br label %.critedge159

474:                                              ; preds = %469
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %475 = call zeroext i1 @cmp_write_ext32(ptr noundef nonnull %2, i8 noundef signext 2, i32 noundef 3, ptr noundef nonnull @.str.369) #5
  br i1 %475, label %478, label %476

476:                                              ; preds = %474
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %477 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %477)
  br label %604

478:                                              ; preds = %474
  %479 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %480 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.376, i64 noundef 9) #5
  br i1 %480, label %484, label %481

481:                                              ; preds = %478
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.376, i64 noundef 9)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %482 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %483 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %482, i64 noundef %483)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

484:                                              ; preds = %478
  %485 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %486 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %486, label %489, label %487

487:                                              ; preds = %484
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %488 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %488)
  br label %604

489:                                              ; preds = %484
  %490 = load i8, ptr %58, align 8, !tbaa !5
  %491 = icmp ne i8 %490, 2
  %492 = load i32, ptr %61, align 4
  %493 = icmp ne i32 %492, 3
  %or.cond55 = select i1 %491, i1 true, i1 %493
  br i1 %or.cond55, label %494, label %498

494:                                              ; preds = %489
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %495 = load i8, ptr %58, align 8, !tbaa !5
  %496 = sext i8 %495 to i32
  %497 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %496, i32 noundef %497)
  br label %604

498:                                              ; preds = %489
  %499 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #5
  store i8 2, ptr %35, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #5
  store i32 3, ptr %36, align 4, !tbaa !8
  %500 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull %34) #5
  br i1 %500, label %503, label %501

501:                                              ; preds = %498
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %502 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %502)
  br label %.critedge161

503:                                              ; preds = %498
  %504 = load i8, ptr %35, align 1, !tbaa !5
  %.not129 = icmp eq i8 %504, 2
  br i1 %.not129, label %508, label %505

505:                                              ; preds = %503
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %506 = load i8, ptr %35, align 1, !tbaa !5
  %507 = sext i8 %506 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %507, i32 noundef 2)
  br label %508

508:                                              ; preds = %505, %503
  %509 = load i32, ptr %36, align 4, !tbaa !8
  %.not130 = icmp eq i32 %509, 3
  br i1 %.not130, label %512, label %510

510:                                              ; preds = %508
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %511 = load i32, ptr %36, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %511, i32 noundef 3)
  br label %512

512:                                              ; preds = %510, %508
  %bcmp131 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %34, ptr noundef nonnull dereferenceable(3) @.str.369, i64 3)
  %.not132 = icmp eq i32 %bcmp131, 0
  br i1 %.not132, label %517, label %513

513:                                              ; preds = %512
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.374, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %514 = load i8, ptr %58, align 8, !tbaa !5
  %515 = sext i8 %514 to i32
  %516 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %515, i32 noundef %516)
  br label %.critedge161

517:                                              ; preds = %512
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %34) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %518 = call zeroext i1 @cmp_write_ext(ptr noundef nonnull %2, i8 noundef signext 1, i32 noundef 1, ptr noundef nonnull @.str.339) #5
  br i1 %518, label %521, label %519

519:                                              ; preds = %517
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %520 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %520)
  br label %604

521:                                              ; preds = %517
  %522 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %523 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.343, i64 noundef 3) #5
  br i1 %523, label %527, label %524

524:                                              ; preds = %521
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.343, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %525 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %526 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %525, i64 noundef %526)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

527:                                              ; preds = %521
  %528 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %529 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %529, label %532, label %530

530:                                              ; preds = %527
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %531 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %531)
  br label %604

532:                                              ; preds = %527
  %533 = load i8, ptr %58, align 8, !tbaa !5
  %534 = icmp ne i8 %533, 1
  %535 = load i32, ptr %61, align 4
  %536 = icmp ne i32 %535, 1
  %or.cond59 = select i1 %534, i1 true, i1 %536
  br i1 %or.cond59, label %537, label %541

537:                                              ; preds = %532
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %538 = load i8, ptr %58, align 8, !tbaa !5
  %539 = sext i8 %538 to i32
  %540 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %539, i32 noundef %540)
  br label %604

541:                                              ; preds = %532
  %542 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #5
  store i8 1, ptr %38, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #5
  store i32 1, ptr %39, align 4, !tbaa !8
  %543 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %38, ptr noundef nonnull %39, ptr noundef nonnull %37) #5
  br i1 %543, label %546, label %544

544:                                              ; preds = %541
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %545 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %545)
  br label %.critedge163

546:                                              ; preds = %541
  %547 = load i8, ptr %38, align 1, !tbaa !5
  %.not133 = icmp eq i8 %547, 1
  br i1 %.not133, label %551, label %548

548:                                              ; preds = %546
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %549 = load i8, ptr %38, align 1, !tbaa !5
  %550 = sext i8 %549 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %550, i32 noundef 1)
  br label %551

551:                                              ; preds = %548, %546
  %552 = load i32, ptr %39, align 4, !tbaa !8
  %.not134 = icmp eq i32 %552, 1
  br i1 %.not134, label %555, label %553

553:                                              ; preds = %551
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %554 = load i32, ptr %39, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %554, i32 noundef 1)
  br label %555

555:                                              ; preds = %553, %551
  %lhsc135 = load i8, ptr %37, align 1
  %.not137 = icmp eq i8 %lhsc135, %lhsc
  br i1 %.not137, label %560, label %556

556:                                              ; preds = %555
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.377, i32 noundef 1, i32 noundef 1)
  call void @error_printbin(ptr noundef nonnull @.str.339, i64 noundef 1)
  %557 = load i8, ptr %58, align 8, !tbaa !5
  %558 = sext i8 %557 to i32
  %559 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %558, i32 noundef %559)
  br label %.critedge163

560:                                              ; preds = %555
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  call void @M_BufferClear(ptr noundef nonnull %1) #5
  call void @error_clear()
  %561 = call zeroext i1 @cmp_write_ext(ptr noundef nonnull %2, i8 noundef signext 2, i32 noundef 3, ptr noundef nonnull @.str.369) #5
  br i1 %561, label %564, label %562

562:                                              ; preds = %560
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %563 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.366, ptr noundef %563)
  br label %604

564:                                              ; preds = %560
  %565 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %566 = call zeroext i1 @M_BufferEqualsData(ptr noundef nonnull %1, ptr noundef nonnull @.str.370, i64 noundef 6) #5
  br i1 %566, label %570, label %567

567:                                              ; preds = %564
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.364, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.344)
  call void @error_printbin(ptr noundef nonnull @.str.370, i64 noundef 6)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  %568 = call ptr @M_BufferGetData(ptr noundef nonnull %1) #5
  %569 = call i64 @M_BufferGetSize(ptr noundef nonnull %1) #5
  call void @error_printbin(ptr noundef %568, i64 noundef %569)
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.24)
  br label %604

570:                                              ; preds = %564
  %571 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  %572 = call zeroext i1 @cmp_read_object(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  br i1 %572, label %575, label %573

573:                                              ; preds = %570
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %574 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %574)
  br label %604

575:                                              ; preds = %570
  %576 = load i8, ptr %58, align 8, !tbaa !5
  %577 = icmp ne i8 %576, 2
  %578 = load i32, ptr %61, align 4
  %579 = icmp ne i32 %578, 3
  %or.cond63 = select i1 %577, i1 true, i1 %579
  br i1 %or.cond63, label %580, label %584

580:                                              ; preds = %575
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %581 = load i8, ptr %58, align 8, !tbaa !5
  %582 = sext i8 %581 to i32
  %583 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %582, i32 noundef %583)
  br label %604

584:                                              ; preds = %575
  %585 = call zeroext i1 @M_BufferSeek(ptr noundef nonnull %1, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #5
  store i8 2, ptr %41, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #5
  store i32 3, ptr %42, align 4, !tbaa !8
  %586 = call zeroext i1 @cmp_read_ext(ptr noundef nonnull %2, ptr noundef nonnull %41, ptr noundef nonnull %42, ptr noundef nonnull %40) #5
  br i1 %586, label %589, label %587

587:                                              ; preds = %584
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %588 = call ptr @cmp_strerror(ptr noundef nonnull %2) #5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.346, ptr noundef %588)
  br label %603

589:                                              ; preds = %584
  %590 = load i8, ptr %41, align 1, !tbaa !5
  %.not138 = icmp eq i8 %590, 2
  br i1 %.not138, label %594, label %591

591:                                              ; preds = %589
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %592 = load i8, ptr %41, align 1, !tbaa !5
  %593 = sext i8 %592 to i32
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.350, i32 noundef %593, i32 noundef 2)
  br label %594

594:                                              ; preds = %591, %589
  %595 = load i32, ptr %42, align 4, !tbaa !8
  %.not139 = icmp eq i32 %595, 3
  br i1 %.not139, label %598, label %596

596:                                              ; preds = %594
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.349, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %597 = load i32, ptr %42, align 4, !tbaa !8
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.351, i32 noundef %597, i32 noundef 3)
  br label %598

598:                                              ; preds = %596, %594
  %bcmp140 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %40, ptr noundef nonnull dereferenceable(3) @.str.369, i64 3)
  %.not141 = icmp eq i32 %bcmp140, 0
  br i1 %.not141, label %603, label %599

599:                                              ; preds = %598
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.368, ptr noundef nonnull @.str.377, i32 noundef 2, i32 noundef 3)
  call void @error_printbin(ptr noundef nonnull @.str.369, i64 noundef 3)
  %600 = load i8, ptr %58, align 8, !tbaa !5
  %601 = sext i8 %600 to i32
  %602 = load i32, ptr %61, align 4, !tbaa !5
  call void (ptr, ...) @error_printf(ptr noundef nonnull @.str.348, i32 noundef %601, i32 noundef %602)
  br label %603

603:                                              ; preds = %598, %599, %587
  %cond12 = phi i1 [ false, %599 ], [ false, %587 ], [ true, %598 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %40) #5
  br label %604

.critedge:                                        ; preds = %71, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %604

.critedge143:                                     ; preds = %114, %126
  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 @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  br label %604

.critedge145:                                     ; preds = %157, %169
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %604

.critedge147:                                     ; preds = %200, %212
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %604

.critedge149:                                     ; preds = %243, %255
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %604

.critedge151:                                     ; preds = %286, %298
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  br label %604

.critedge153:                                     ; preds = %329, %341
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %22) #5
  br label %604

.critedge155:                                     ; preds = %372, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  br label %604

.critedge157:                                     ; preds = %415, %427
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %28) #5
  br label %604

.critedge159:                                     ; preds = %458, %470
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #5
  br label %604

.critedge161:                                     ; preds = %501, %513
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %34) #5
  br label %604

.critedge163:                                     ; preds = %544, %556
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  br label %604

604:                                              ; preds = %603, %.critedge163, %.critedge161, %.critedge159, %.critedge157, %.critedge155, %.critedge153, %.critedge151, %.critedge149, %.critedge147, %.critedge145, %.critedge143, %.critedge, %580, %573, %567, %562, %537, %530, %524, %519, %494, %487, %481, %476, %451, %444, %438, %433, %408, %401, %395, %390, %365, %358, %352, %347, %322, %315, %309, %304, %279, %272, %266, %261, %236, %229, %223, %218, %193, %186, %180, %175, %150, %143, %137, %132, %107, %100, %94, %89, %64, %55, %49, %44
  %.13 = phi i1 [ false, %64 ], [ false, %107 ], [ false, %150 ], [ false, %193 ], [ false, %236 ], [ false, %279 ], [ false, %322 ], [ false, %365 ], [ false, %408 ], [ false, %451 ], [ false, %494 ], [ false, %537 ], [ false, %580 ], [ false, %573 ], [ false, %567 ], [ false, %562 ], [ false, %530 ], [ false, %524 ], [ false, %519 ], [ false, %487 ], [ false, %481 ], [ false, %476 ], [ false, %444 ], [ false, %438 ], [ false, %433 ], [ false, %401 ], [ false, %395 ], [ false, %390 ], [ false, %358 ], [ false, %352 ], [ false, %347 ], [ false, %315 ], [ false, %309 ], [ false, %304 ], [ false, %272 ], [ false, %266 ], [ false, %261 ], [ false, %229 ], [ false, %223 ], [ false, %218 ], [ false, %186 ], [ false, %180 ], [ false, %175 ], [ false, %143 ], [ false, %137 ], [ false, %132 ], [ false, %100 ], [ false, %94 ], [ false, %89 ], [ false, %55 ], [ false, %49 ], [ false, %44 ], [ false, %.critedge ], [ false, %.critedge143 ], [ false, %.critedge145 ], [ false, %.critedge147 ], [ false, %.critedge149 ], [ false, %.critedge151 ], [ false, %.critedge153 ], [ false, %.critedge155 ], [ false, %.critedge157 ], [ false, %.critedge159 ], [ false, %.critedge161 ], [ false, %.critedge163 ], [ %cond12, %603 ]
  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 %.13
}

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

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

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

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

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

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

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

declare zeroext i1 @cmp_write_ext16(ptr noundef, i8 noundef signext, i16 noundef zeroext, ptr noundef) local_unnamed_addr #2

declare zeroext i1 @cmp_write_ext32(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) local_unnamed_addr #2

declare zeroext i1 @cmp_write_ext(ptr noundef, i8 noundef signext, i32 noundef, ptr 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,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass