; LLVM IR from peacemakr-io/peacemakr-core-crypto :: src/core/src (CiphertextBlob)

; 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.CiphertextBlob = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }

@__FUNCTION__.ciphertext_blob_compare = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [26 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

declare void @log_printf(ptr noundef, i32 noundef, ptr noundef, ...) #1

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

declare ptr @buffer_get_bytes(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ciphertext_blob_compare(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !9
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.CiphertextBlob, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.CiphertextBlob, ptr %34, i32 0, i32 0
  %36 = load i32, ptr %35, align 8, !tbaa !11
  %37 = icmp ne i32 %33, %36
  br i1 %37, label %38, label %39

38:                                               ; preds = %2
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 318, ptr noundef @.str.12)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %39

39:                                               ; preds = %38, %2
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.CiphertextBlob, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.CiphertextBlob, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !14
  %46 = icmp ne i32 %42, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %39
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 323, ptr noundef @.str.13)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %48

48:                                               ; preds = %47, %39
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.CiphertextBlob, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 8, !tbaa !15
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.CiphertextBlob, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 8, !tbaa !15
  %55 = icmp ne i32 %51, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %48
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 328, ptr noundef @.str.14)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %57

57:                                               ; preds = %56, %48
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.CiphertextBlob, ptr %58, i32 0, i32 3
  %60 = load i32, ptr %59, align 4, !tbaa !16
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.CiphertextBlob, ptr %61, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !16
  %64 = icmp ne i32 %60, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %57
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 333, ptr noundef @.str.15)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %66

66:                                               ; preds = %65, %57
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.CiphertextBlob, ptr %67, i32 0, i32 4
  %69 = load i32, ptr %68, align 8, !tbaa !17
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.CiphertextBlob, ptr %70, i32 0, i32 4
  %72 = load i32, ptr %71, align 8, !tbaa !17
  %73 = icmp ne i32 %69, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %66
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 338, ptr noundef @.str.16)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %75

75:                                               ; preds = %74, %66
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.CiphertextBlob, ptr %76, i32 0, i32 5
  %78 = load ptr, ptr %77, align 8, !tbaa !18
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %132

80:                                               ; preds = %75
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.CiphertextBlob, ptr %81, i32 0, i32 5
  %83 = load ptr, ptr %82, align 8, !tbaa !18
  %84 = icmp ne ptr %83, null
  br i1 %84, label %85, label %132

85:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 1, ptr %7, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.CiphertextBlob, ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !18
  %89 = call ptr @buffer_get_bytes(ptr noundef %88, ptr noundef %6)
  store ptr %89, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.CiphertextBlob, ptr %90, i32 0, i32 5
  %92 = load ptr, ptr %91, align 8, !tbaa !18
  %93 = call ptr @buffer_get_bytes(ptr noundef %92, ptr noundef %7)
  store ptr %93, ptr %9, align 8, !tbaa !5
  %94 = load i64, ptr %6, align 8, !tbaa !19
  %95 = load i64, ptr %7, align 8, !tbaa !19
  %96 = icmp ne i64 %94, %95
  br i1 %96, label %97, label %98

97:                                               ; preds = %85
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 347, ptr noundef @.str.17)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %131

98:                                               ; preds = %85
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = load i64, ptr %6, align 8, !tbaa !19
  %102 = call i32 @memcmp(ptr noundef %99, ptr noundef %100, i64 noundef %101) #5
  %103 = icmp ne i32 0, %102
  br i1 %103, label %104, label %130

104:                                              ; preds = %98
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 350, ptr noundef @.str.18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !21
  br label %105

105:                                              ; preds = %126, %104
  %106 = load i32, ptr %10, align 4, !tbaa !21
  %107 = sext i32 %106 to i64
  %108 = load i64, ptr %6, align 8, !tbaa !19
  %109 = icmp ult i64 %107, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %129

111:                                              ; preds = %105
  %112 = load i32, ptr %10, align 4, !tbaa !21
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = load i32, ptr %10, align 4, !tbaa !21
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds i8, ptr %113, i64 %115
  %117 = load i8, ptr %116, align 1, !tbaa !22
  %118 = zext i8 %117 to i32
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = load i32, ptr %10, align 4, !tbaa !21
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds i8, ptr %119, i64 %121
  %123 = load i8, ptr %122, align 1, !tbaa !22
  %124 = zext i8 %123 to i32
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %112, i32 noundef %118, i32 noundef %124)
  br label %126

126:                                              ; preds = %111
  %127 = load i32, ptr %10, align 4, !tbaa !21
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %10, align 4, !tbaa !21
  br label %105, !llvm.loop !23

129:                                              ; preds = %110
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %130

130:                                              ; preds = %129, %98
  br label %131

131:                                              ; preds = %130, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %132

132:                                              ; preds = %131, %80, %75
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.CiphertextBlob, ptr %133, i32 0, i32 6
  %135 = load ptr, ptr %134, align 8, !tbaa !25
  %136 = icmp ne ptr %135, null
  br i1 %136, label %137, label %164

137:                                              ; preds = %132
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.CiphertextBlob, ptr %138, i32 0, i32 6
  %140 = load ptr, ptr %139, align 8, !tbaa !25
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %164

142:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i64 1, ptr %12, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.CiphertextBlob, ptr %143, i32 0, i32 6
  %145 = load ptr, ptr %144, align 8, !tbaa !25
  %146 = call ptr @buffer_get_bytes(ptr noundef %145, ptr noundef %11)
  store ptr %146, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.CiphertextBlob, ptr %147, i32 0, i32 6
  %149 = load ptr, ptr %148, align 8, !tbaa !25
  %150 = call ptr @buffer_get_bytes(ptr noundef %149, ptr noundef %12)
  store ptr %150, ptr %14, align 8, !tbaa !5
  %151 = load i64, ptr %11, align 8, !tbaa !19
  %152 = load i64, ptr %12, align 8, !tbaa !19
  %153 = icmp ne i64 %151, %152
  br i1 %153, label %154, label %155

154:                                              ; preds = %142
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 363, ptr noundef @.str.20)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %163

155:                                              ; preds = %142
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = load ptr, ptr %14, align 8, !tbaa !5
  %158 = load i64, ptr %11, align 8, !tbaa !19
  %159 = call i32 @memcmp(ptr noundef %156, ptr noundef %157, i64 noundef %158) #5
  %160 = icmp ne i32 0, %159
  br i1 %160, label %161, label %162

161:                                              ; preds = %155
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 366, ptr noundef @.str.21)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %162

162:                                              ; preds = %161, %155
  br label %163

163:                                              ; preds = %162, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %164

164:                                              ; preds = %163, %137, %132
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.CiphertextBlob, ptr %165, i32 0, i32 7
  %167 = load ptr, ptr %166, align 8, !tbaa !26
  %168 = icmp ne ptr %167, null
  br i1 %168, label %169, label %196

169:                                              ; preds = %164
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.CiphertextBlob, ptr %170, i32 0, i32 7
  %172 = load ptr, ptr %171, align 8, !tbaa !26
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %196

174:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store i64 0, ptr %15, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 1, ptr %16, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.CiphertextBlob, ptr %175, i32 0, i32 7
  %177 = load ptr, ptr %176, align 8, !tbaa !26
  %178 = call ptr @buffer_get_bytes(ptr noundef %177, ptr noundef %15)
  store ptr %178, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.CiphertextBlob, ptr %179, i32 0, i32 7
  %181 = load ptr, ptr %180, align 8, !tbaa !26
  %182 = call ptr @buffer_get_bytes(ptr noundef %181, ptr noundef %16)
  store ptr %182, ptr %18, align 8, !tbaa !5
  %183 = load i64, ptr %15, align 8, !tbaa !19
  %184 = load i64, ptr %16, align 8, !tbaa !19
  %185 = icmp ne i64 %183, %184
  br i1 %185, label %186, label %187

186:                                              ; preds = %174
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 379, ptr noundef @.str.22)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %195

187:                                              ; preds = %174
  %188 = load ptr, ptr %17, align 8, !tbaa !5
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = load i64, ptr %15, align 8, !tbaa !19
  %191 = call i32 @memcmp(ptr noundef %188, ptr noundef %189, i64 noundef %190) #5
  %192 = icmp ne i32 0, %191
  br i1 %192, label %193, label %194

193:                                              ; preds = %187
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 382, ptr noundef @.str.23)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %194

194:                                              ; preds = %193, %187
  br label %195

195:                                              ; preds = %194, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %196

196:                                              ; preds = %195, %169, %164
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.CiphertextBlob, ptr %197, i32 0, i32 8
  %199 = load ptr, ptr %198, align 8, !tbaa !27
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %228

201:                                              ; preds = %196
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.CiphertextBlob, ptr %202, i32 0, i32 8
  %204 = load ptr, ptr %203, align 8, !tbaa !27
  %205 = icmp ne ptr %204, null
  br i1 %205, label %206, label %228

206:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store i64 0, ptr %19, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store i64 1, ptr %20, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %207 = load ptr, ptr %3, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.CiphertextBlob, ptr %207, i32 0, i32 8
  %209 = load ptr, ptr %208, align 8, !tbaa !27
  %210 = call ptr @buffer_get_bytes(ptr noundef %209, ptr noundef %19)
  store ptr %210, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.CiphertextBlob, ptr %211, i32 0, i32 8
  %213 = load ptr, ptr %212, align 8, !tbaa !27
  %214 = call ptr @buffer_get_bytes(ptr noundef %213, ptr noundef %20)
  store ptr %214, ptr %22, align 8, !tbaa !5
  %215 = load i64, ptr %19, align 8, !tbaa !19
  %216 = load i64, ptr %20, align 8, !tbaa !19
  %217 = icmp ne i64 %215, %216
  br i1 %217, label %218, label %219

218:                                              ; preds = %206
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 395, ptr noundef @.str.24)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %227

219:                                              ; preds = %206
  %220 = load ptr, ptr %21, align 8, !tbaa !5
  %221 = load ptr, ptr %22, align 8, !tbaa !5
  %222 = load i64, ptr %19, align 8, !tbaa !19
  %223 = call i32 @memcmp(ptr noundef %220, ptr noundef %221, i64 noundef %222) #5
  %224 = icmp ne i32 0, %223
  br i1 %224, label %225, label %226

225:                                              ; preds = %219
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 398, ptr noundef @.str.25)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %226

226:                                              ; preds = %225, %219
  br label %227

227:                                              ; preds = %226, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %228

228:                                              ; preds = %227, %201, %196
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.CiphertextBlob, ptr %229, i32 0, i32 9
  %231 = load ptr, ptr %230, align 8, !tbaa !28
  %232 = icmp ne ptr %231, null
  br i1 %232, label %233, label %260

233:                                              ; preds = %228
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.CiphertextBlob, ptr %234, i32 0, i32 9
  %236 = load ptr, ptr %235, align 8, !tbaa !28
  %237 = icmp ne ptr %236, null
  br i1 %237, label %238, label %260

238:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i64 0, ptr %23, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store i64 1, ptr %24, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %239 = load ptr, ptr %3, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.CiphertextBlob, ptr %239, i32 0, i32 9
  %241 = load ptr, ptr %240, align 8, !tbaa !28
  %242 = call ptr @buffer_get_bytes(ptr noundef %241, ptr noundef %23)
  store ptr %242, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.CiphertextBlob, ptr %243, i32 0, i32 9
  %245 = load ptr, ptr %244, align 8, !tbaa !28
  %246 = call ptr @buffer_get_bytes(ptr noundef %245, ptr noundef %24)
  store ptr %246, ptr %26, align 8, !tbaa !5
  %247 = load i64, ptr %23, align 8, !tbaa !19
  %248 = load i64, ptr %24, align 8, !tbaa !19
  %249 = icmp ne i64 %247, %248
  br i1 %249, label %250, label %251

250:                                              ; preds = %238
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 411, ptr noundef @.str.26)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %259

251:                                              ; preds = %238
  %252 = load ptr, ptr %25, align 8, !tbaa !5
  %253 = load ptr, ptr %26, align 8, !tbaa !5
  %254 = load i64, ptr %23, align 8, !tbaa !19
  %255 = call i32 @memcmp(ptr noundef %252, ptr noundef %253, i64 noundef %254) #5
  %256 = icmp ne i32 0, %255
  br i1 %256, label %257, label %258

257:                                              ; preds = %251
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 414, ptr noundef @.str.27)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %258

258:                                              ; preds = %257, %251
  br label %259

259:                                              ; preds = %258, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %260

260:                                              ; preds = %259, %233, %228
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.CiphertextBlob, ptr %261, i32 0, i32 10
  %263 = load ptr, ptr %262, align 8, !tbaa !29
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %292

265:                                              ; preds = %260
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.CiphertextBlob, ptr %266, i32 0, i32 10
  %268 = load ptr, ptr %267, align 8, !tbaa !29
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %292

270:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  store i64 0, ptr %27, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  store i64 1, ptr %28, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %271 = load ptr, ptr %3, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.CiphertextBlob, ptr %271, i32 0, i32 10
  %273 = load ptr, ptr %272, align 8, !tbaa !29
  %274 = call ptr @buffer_get_bytes(ptr noundef %273, ptr noundef %27)
  store ptr %274, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.CiphertextBlob, ptr %275, i32 0, i32 10
  %277 = load ptr, ptr %276, align 8, !tbaa !29
  %278 = call ptr @buffer_get_bytes(ptr noundef %277, ptr noundef %28)
  store ptr %278, ptr %30, align 8, !tbaa !5
  %279 = load i64, ptr %27, align 8, !tbaa !19
  %280 = load i64, ptr %28, align 8, !tbaa !19
  %281 = icmp ne i64 %279, %280
  br i1 %281, label %282, label %283

282:                                              ; preds = %270
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 427, ptr noundef @.str.28)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %291

283:                                              ; preds = %270
  %284 = load ptr, ptr %29, align 8, !tbaa !5
  %285 = load ptr, ptr %30, align 8, !tbaa !5
  %286 = load i64, ptr %27, align 8, !tbaa !19
  %287 = call i32 @memcmp(ptr noundef %284, ptr noundef %285, i64 noundef %286) #5
  %288 = icmp ne i32 0, %287
  br i1 %288, label %289, label %290

289:                                              ; preds = %283
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef @__FUNCTION__.ciphertext_blob_compare, i32 noundef 430, ptr noundef @.str.29)
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %290

290:                                              ; preds = %289, %283
  br label %291

291:                                              ; preds = %290, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  br label %292

292:                                              ; preds = %291, %265, %260
  %293 = load i8, ptr %5, align 1, !tbaa !9, !range !30, !noundef !31
  %294 = trunc i8 %293 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %294
}

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

declare i32 @printf(ptr noundef, ...) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_Bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"CiphertextBlob", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 12}
!17 = !{!12, !13, i64 16}
!18 = !{!12, !6, i64 24}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!13, !13, i64 0}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!12, !6, i64 32}
!26 = !{!12, !6, i64 40}
!27 = !{!12, !6, i64 48}
!28 = !{!12, !6, i64 56}
!29 = !{!12, !6, i64 64}
!30 = !{i8 0, i8 2}
!31 = !{}


; 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"

@__FUNCTION__.ciphertext_blob_compare = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [26 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

declare void @log_printf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare ptr @buffer_get_bytes(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @ciphertext_blob_compare(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #2 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = load i32, ptr %0, align 8, !tbaa !5
  %16 = load i32, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i32 %15, %16
  br i1 %.not, label %18, label %17

17:                                               ; preds = %2
  tail call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 318, ptr noundef nonnull @.str.12) #5
  br label %18

18:                                               ; preds = %17, %2
  %19 = getelementptr inbounds i8, ptr %0, i64 4
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = getelementptr inbounds i8, ptr %1, i64 4
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %.not61 = icmp eq i32 %20, %22
  br i1 %.not61, label %24, label %23

23:                                               ; preds = %18
  tail call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 323, ptr noundef nonnull @.str.13) #5
  br label %24

24:                                               ; preds = %23, %18
  %.1 = phi i1 [ false, %23 ], [ %.not, %18 ]
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load i32, ptr %25, align 8, !tbaa !12
  %27 = getelementptr inbounds i8, ptr %1, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !12
  %.not62 = icmp eq i32 %26, %28
  br i1 %.not62, label %30, label %29

29:                                               ; preds = %24
  tail call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 328, ptr noundef nonnull @.str.14) #5
  br label %30

30:                                               ; preds = %29, %24
  %.2 = phi i1 [ false, %29 ], [ %.1, %24 ]
  %31 = getelementptr inbounds i8, ptr %0, i64 12
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = getelementptr inbounds i8, ptr %1, i64 12
  %34 = load i32, ptr %33, align 4, !tbaa !13
  %.not63 = icmp eq i32 %32, %34
  br i1 %.not63, label %36, label %35

35:                                               ; preds = %30
  tail call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 333, ptr noundef nonnull @.str.15) #5
  br label %36

36:                                               ; preds = %35, %30
  %.3 = phi i1 [ false, %35 ], [ %.2, %30 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = load i32, ptr %37, align 8, !tbaa !14
  %39 = getelementptr inbounds i8, ptr %1, i64 16
  %40 = load i32, ptr %39, align 8, !tbaa !14
  %.not64 = icmp eq i32 %38, %40
  br i1 %.not64, label %42, label %41

41:                                               ; preds = %36
  tail call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 338, ptr noundef nonnull @.str.16) #5
  br label %42

42:                                               ; preds = %41, %36
  %.4 = phi i1 [ false, %41 ], [ %.3, %36 ]
  %43 = getelementptr inbounds i8, ptr %0, i64 24
  %44 = load ptr, ptr %43, align 8, !tbaa !15
  %.not65 = icmp eq ptr %44, null
  br i1 %.not65, label %68, label %45

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %1, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %.not66 = icmp eq ptr %47, null
  br i1 %.not66, label %68, label %48

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store i64 0, ptr %3, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store i64 1, ptr %4, align 8, !tbaa !16
  %49 = call ptr @buffer_get_bytes(ptr noundef nonnull %44, ptr noundef nonnull %3) #5
  %50 = load ptr, ptr %46, align 8, !tbaa !15
  %51 = call ptr @buffer_get_bytes(ptr noundef %50, ptr noundef nonnull %4) #5
  %52 = load i64, ptr %3, align 8, !tbaa !16
  %53 = load i64, ptr %4, align 8, !tbaa !16
  %.not67 = icmp eq i64 %52, %53
  br i1 %.not67, label %55, label %54

54:                                               ; preds = %48
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 347, ptr noundef nonnull @.str.17) #5
  br label %.loopexit

55:                                               ; preds = %48
  %bcmp = call i32 @bcmp(ptr %49, ptr %51, i64 %52)
  %.not68 = icmp eq i32 %bcmp, 0
  br i1 %.not68, label %.loopexit, label %56

56:                                               ; preds = %55
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 350, ptr noundef nonnull @.str.18) #5
  %57 = load i64, ptr %3, align 8, !tbaa !16
  %.not95 = icmp eq i64 %57, 0
  br i1 %.not95, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %56, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %56 ]
  %58 = getelementptr inbounds i8, ptr %49, i64 %indvars.iv
  %59 = load i8, ptr %58, align 1, !tbaa !18
  %60 = zext i8 %59 to i32
  %61 = getelementptr inbounds i8, ptr %51, i64 %indvars.iv
  %62 = load i8, ptr %61, align 1, !tbaa !18
  %63 = zext i8 %62 to i32
  %64 = trunc nuw nsw i64 %indvars.iv to i32
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, i32 noundef %64, i32 noundef %60, i32 noundef %63)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %66 = load i64, ptr %3, align 8, !tbaa !16
  %67 = icmp ugt i64 %66, %indvars.iv.next
  br i1 %67, label %.lr.ph, label %.loopexit, !llvm.loop !19

.loopexit:                                        ; preds = %.lr.ph, %56, %55, %54
  %.5 = phi i1 [ false, %54 ], [ %.4, %55 ], [ false, %56 ], [ false, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %68

68:                                               ; preds = %.loopexit, %45, %42
  %.6 = phi i1 [ %.5, %.loopexit ], [ %.4, %45 ], [ %.4, %42 ]
  %69 = getelementptr inbounds i8, ptr %0, i64 32
  %70 = load ptr, ptr %69, align 8, !tbaa !21
  %.not69 = icmp eq ptr %70, null
  br i1 %.not69, label %84, label %71

71:                                               ; preds = %68
  %72 = getelementptr inbounds i8, ptr %1, i64 32
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %.not70 = icmp eq ptr %73, null
  br i1 %.not70, label %84, label %74

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store i64 0, ptr %5, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store i64 1, ptr %6, align 8, !tbaa !16
  %75 = call ptr @buffer_get_bytes(ptr noundef nonnull %70, ptr noundef nonnull %5) #5
  %76 = load ptr, ptr %72, align 8, !tbaa !21
  %77 = call ptr @buffer_get_bytes(ptr noundef %76, ptr noundef nonnull %6) #5
  %78 = load i64, ptr %5, align 8, !tbaa !16
  %79 = load i64, ptr %6, align 8, !tbaa !16
  %.not71 = icmp eq i64 %78, %79
  br i1 %.not71, label %81, label %80

80:                                               ; preds = %74
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 363, ptr noundef nonnull @.str.20) #5
  br label %83

81:                                               ; preds = %74
  %bcmp89 = call i32 @bcmp(ptr %75, ptr %77, i64 %78)
  %.not72 = icmp eq i32 %bcmp89, 0
  br i1 %.not72, label %83, label %82

82:                                               ; preds = %81
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 366, ptr noundef nonnull @.str.21) #5
  br label %83

83:                                               ; preds = %81, %82, %80
  %.7 = phi i1 [ false, %80 ], [ false, %82 ], [ %.6, %81 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %84

84:                                               ; preds = %83, %71, %68
  %.8 = phi i1 [ %.7, %83 ], [ %.6, %71 ], [ %.6, %68 ]
  %85 = getelementptr inbounds i8, ptr %0, i64 40
  %86 = load ptr, ptr %85, align 8, !tbaa !22
  %.not73 = icmp eq ptr %86, null
  br i1 %.not73, label %100, label %87

87:                                               ; preds = %84
  %88 = getelementptr inbounds i8, ptr %1, i64 40
  %89 = load ptr, ptr %88, align 8, !tbaa !22
  %.not74 = icmp eq ptr %89, null
  br i1 %.not74, label %100, label %90

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store i64 0, ptr %7, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store i64 1, ptr %8, align 8, !tbaa !16
  %91 = call ptr @buffer_get_bytes(ptr noundef nonnull %86, ptr noundef nonnull %7) #5
  %92 = load ptr, ptr %88, align 8, !tbaa !22
  %93 = call ptr @buffer_get_bytes(ptr noundef %92, ptr noundef nonnull %8) #5
  %94 = load i64, ptr %7, align 8, !tbaa !16
  %95 = load i64, ptr %8, align 8, !tbaa !16
  %.not75 = icmp eq i64 %94, %95
  br i1 %.not75, label %97, label %96

96:                                               ; preds = %90
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 379, ptr noundef nonnull @.str.22) #5
  br label %99

97:                                               ; preds = %90
  %bcmp90 = call i32 @bcmp(ptr %91, ptr %93, i64 %94)
  %.not76 = icmp eq i32 %bcmp90, 0
  br i1 %.not76, label %99, label %98

98:                                               ; preds = %97
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 382, ptr noundef nonnull @.str.23) #5
  br label %99

99:                                               ; preds = %97, %98, %96
  %.9 = phi i1 [ false, %96 ], [ false, %98 ], [ %.8, %97 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %100

100:                                              ; preds = %99, %87, %84
  %.10 = phi i1 [ %.9, %99 ], [ %.8, %87 ], [ %.8, %84 ]
  %101 = getelementptr inbounds i8, ptr %0, i64 48
  %102 = load ptr, ptr %101, align 8, !tbaa !23
  %.not77 = icmp eq ptr %102, null
  br i1 %.not77, label %116, label %103

103:                                              ; preds = %100
  %104 = getelementptr inbounds i8, ptr %1, i64 48
  %105 = load ptr, ptr %104, align 8, !tbaa !23
  %.not78 = icmp eq ptr %105, null
  br i1 %.not78, label %116, label %106

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store i64 0, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  store i64 1, ptr %10, align 8, !tbaa !16
  %107 = call ptr @buffer_get_bytes(ptr noundef nonnull %102, ptr noundef nonnull %9) #5
  %108 = load ptr, ptr %104, align 8, !tbaa !23
  %109 = call ptr @buffer_get_bytes(ptr noundef %108, ptr noundef nonnull %10) #5
  %110 = load i64, ptr %9, align 8, !tbaa !16
  %111 = load i64, ptr %10, align 8, !tbaa !16
  %.not79 = icmp eq i64 %110, %111
  br i1 %.not79, label %113, label %112

112:                                              ; preds = %106
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 395, ptr noundef nonnull @.str.24) #5
  br label %115

113:                                              ; preds = %106
  %bcmp91 = call i32 @bcmp(ptr %107, ptr %109, i64 %110)
  %.not80 = icmp eq i32 %bcmp91, 0
  br i1 %.not80, label %115, label %114

114:                                              ; preds = %113
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 398, ptr noundef nonnull @.str.25) #5
  br label %115

115:                                              ; preds = %113, %114, %112
  %.11 = phi i1 [ false, %112 ], [ false, %114 ], [ %.10, %113 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %116

116:                                              ; preds = %115, %103, %100
  %.12 = phi i1 [ %.11, %115 ], [ %.10, %103 ], [ %.10, %100 ]
  %117 = getelementptr inbounds i8, ptr %0, i64 56
  %118 = load ptr, ptr %117, align 8, !tbaa !24
  %.not81 = icmp eq ptr %118, null
  br i1 %.not81, label %132, label %119

119:                                              ; preds = %116
  %120 = getelementptr inbounds i8, ptr %1, i64 56
  %121 = load ptr, ptr %120, align 8, !tbaa !24
  %.not82 = icmp eq ptr %121, null
  br i1 %.not82, label %132, label %122

122:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store i64 0, ptr %11, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i64 1, ptr %12, align 8, !tbaa !16
  %123 = call ptr @buffer_get_bytes(ptr noundef nonnull %118, ptr noundef nonnull %11) #5
  %124 = load ptr, ptr %120, align 8, !tbaa !24
  %125 = call ptr @buffer_get_bytes(ptr noundef %124, ptr noundef nonnull %12) #5
  %126 = load i64, ptr %11, align 8, !tbaa !16
  %127 = load i64, ptr %12, align 8, !tbaa !16
  %.not83 = icmp eq i64 %126, %127
  br i1 %.not83, label %129, label %128

128:                                              ; preds = %122
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 411, ptr noundef nonnull @.str.26) #5
  br label %131

129:                                              ; preds = %122
  %bcmp92 = call i32 @bcmp(ptr %123, ptr %125, i64 %126)
  %.not84 = icmp eq i32 %bcmp92, 0
  br i1 %.not84, label %131, label %130

130:                                              ; preds = %129
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 414, ptr noundef nonnull @.str.27) #5
  br label %131

131:                                              ; preds = %129, %130, %128
  %.13 = phi i1 [ false, %128 ], [ false, %130 ], [ %.12, %129 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %132

132:                                              ; preds = %131, %119, %116
  %.14 = phi i1 [ %.13, %131 ], [ %.12, %119 ], [ %.12, %116 ]
  %133 = getelementptr inbounds i8, ptr %0, i64 64
  %134 = load ptr, ptr %133, align 8, !tbaa !25
  %.not85 = icmp eq ptr %134, null
  br i1 %.not85, label %148, label %135

135:                                              ; preds = %132
  %136 = getelementptr inbounds i8, ptr %1, i64 64
  %137 = load ptr, ptr %136, align 8, !tbaa !25
  %.not86 = icmp eq ptr %137, null
  br i1 %.not86, label %148, label %138

138:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  store i64 0, ptr %13, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store i64 1, ptr %14, align 8, !tbaa !16
  %139 = call ptr @buffer_get_bytes(ptr noundef nonnull %134, ptr noundef nonnull %13) #5
  %140 = load ptr, ptr %136, align 8, !tbaa !25
  %141 = call ptr @buffer_get_bytes(ptr noundef %140, ptr noundef nonnull %14) #5
  %142 = load i64, ptr %13, align 8, !tbaa !16
  %143 = load i64, ptr %14, align 8, !tbaa !16
  %.not87 = icmp eq i64 %142, %143
  br i1 %.not87, label %145, label %144

144:                                              ; preds = %138
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 427, ptr noundef nonnull @.str.28) #5
  br label %147

145:                                              ; preds = %138
  %bcmp93 = call i32 @bcmp(ptr %139, ptr %141, i64 %142)
  %.not88 = icmp eq i32 %bcmp93, 0
  br i1 %.not88, label %147, label %146

146:                                              ; preds = %145
  call void (ptr, i32, ptr, ...) @log_printf(ptr noundef nonnull @__FUNCTION__.ciphertext_blob_compare, i32 noundef 430, ptr noundef nonnull @.str.29) #5
  br label %147

147:                                              ; preds = %145, %146, %144
  %.15 = phi i1 [ false, %144 ], [ false, %146 ], [ %.14, %145 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %148

148:                                              ; preds = %147, %135, %132
  %.16 = phi i1 [ %.15, %147 ], [ %.14, %135 ], [ %.14, %132 ]
  ret i1 %.16
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; 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 = { "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 = { 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 #3 = { nofree nounwind "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 #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, !7, i64 0}
!6 = !{!"CiphertextBlob", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !10, i64 24}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !10, i64 32}
!22 = !{!6, !10, i64 40}
!23 = !{!6, !10, i64 48}
!24 = !{!6, !10, i64 56}
!25 = !{!6, !10, i64 64}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass