; LLVM IR from mbheinen/bpa-ipf-tsp :: libgui (dmgr)

; 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.DBID = type { ptr, i64, i64, i64, i64, i64, i64, ptr, i64 }
%struct.schem = type { i8, i8, i64, i64, i64, ptr }

; Function Attrs: nounwind uwtable
declare dso_local void @db_resetlock(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @db_setlock(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @db_newnode(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @xsearch(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare hidden i64 @db_randomlevel(i64 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @db_insert_opt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca [32 x ptr], align 16
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.DBID, ptr %27, i32 0, i32 3
  %29 = load i64, ptr %28, align 8, !tbaa !9
  store i64 %29, ptr %10, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 256, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.DBID, ptr %30, i32 0, i32 4
  %32 = load i64, ptr %31, align 8, !tbaa !13
  store i64 %32, ptr %20, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.DBID, ptr %33, i32 0, i32 5
  %35 = load i64, ptr %34, align 8, !tbaa !14
  store i64 %35, ptr %21, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %36 = load i64, ptr %21, align 8, !tbaa !12
  %37 = add i64 %36, 8
  store i64 %37, ptr %22, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.DBID, ptr %38, i32 0, i32 1
  %40 = load i64, ptr %39, align 8, !tbaa !15
  %41 = call i64 @db_randomlevel(i64 noundef %40)
  store i64 %41, ptr %23, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %42 = load i64, ptr %23, align 8, !tbaa !12
  %43 = mul i64 %42, 8
  store i64 %43, ptr %24, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  call void @db_setlock(ptr noundef %44)
  br label %45

45:                                               ; preds = %76, %4
  %46 = load i64, ptr %20, align 8, !tbaa !12
  %47 = icmp sgt i64 %46, 0
  br i1 %47, label %48, label %79

48:                                               ; preds = %45
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.DBID, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = load i64, ptr %20, align 8, !tbaa !12
  %53 = getelementptr inbounds [0 x %struct.schem], ptr %51, i64 0, i64 %52
  %54 = getelementptr inbounds %struct.schem, ptr %53, i32 0, i32 0
  %55 = load i8, ptr %54, align 8, !tbaa !17
  %56 = sext i8 %55 to i32
  %57 = icmp eq i32 %56, 117
  br i1 %57, label %58, label %75

58:                                               ; preds = %48
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = load i64, ptr %20, align 8, !tbaa !12
  %61 = sub nsw i64 %60, 1
  %62 = getelementptr inbounds i8, ptr %59, i64 %61
  %63 = load i8, ptr %62, align 1, !tbaa !19
  %64 = sext i8 %63 to i32
  %65 = icmp ne i32 %64, 45
  br i1 %65, label %66, label %75

66:                                               ; preds = %58
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i64, ptr %20, align 8, !tbaa !12
  %70 = call i32 @xsearch(ptr noundef %67, ptr noundef %68, ptr noundef %17, i64 noundef %69)
  %71 = icmp eq i32 %70, 2
  br i1 %71, label %72, label %74

72:                                               ; preds = %66
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  call void @db_resetlock(ptr noundef %73)
  store i32 4, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %223

74:                                               ; preds = %66
  br label %75

75:                                               ; preds = %74, %58, %48
  br label %76

76:                                               ; preds = %75
  %77 = load i64, ptr %20, align 8, !tbaa !12
  %78 = add nsw i64 %77, -1
  store i64 %78, ptr %20, align 8, !tbaa !12
  br label %45, !llvm.loop !20

79:                                               ; preds = %45
  %80 = load i64, ptr %23, align 8, !tbaa !12
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.DBID, ptr %81, i32 0, i32 2
  %83 = load i64, ptr %82, align 8, !tbaa !22
  %84 = load i64, ptr %21, align 8, !tbaa !12
  %85 = load i64, ptr %10, align 8, !tbaa !12
  %86 = call i32 @db_newnode(ptr noundef %16, i64 noundef %80, i64 noundef %83, i64 noundef %84, i64 noundef %85)
  store i32 %86, ptr %25, align 4, !tbaa !23
  %87 = load i32, ptr %25, align 4, !tbaa !23
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %92

89:                                               ; preds = %79
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  call void @db_resetlock(ptr noundef %90)
  %91 = load i32, ptr %25, align 4, !tbaa !23
  store i32 %91, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %223

92:                                               ; preds = %79
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = load i64, ptr %22, align 8, !tbaa !12
  %95 = getelementptr inbounds i8, ptr %93, i64 %94
  store ptr %95, ptr %12, align 8, !tbaa !5
  %96 = load ptr, ptr %16, align 8, !tbaa !5
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = load i64, ptr %21, align 8, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %96, ptr align 1 %98, i64 %99, i1 false)
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.DBID, ptr %100, i32 0, i32 4
  %102 = load i64, ptr %101, align 8, !tbaa !13
  store i64 %102, ptr %20, align 8, !tbaa !12
  br label %103

103:                                              ; preds = %216, %92
  %104 = load i64, ptr %20, align 8, !tbaa !12
  %105 = icmp sgt i64 %104, 0
  br i1 %105, label %106, label %219

106:                                              ; preds = %103
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.DBID, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !16
  %110 = load i64, ptr %20, align 8, !tbaa !12
  %111 = getelementptr inbounds [0 x %struct.schem], ptr %109, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.schem, ptr %111, i32 0, i32 0
  %113 = load i8, ptr %112, align 8, !tbaa !17
  %114 = sext i8 %113 to i32
  %115 = icmp eq i32 %114, 110
  br i1 %115, label %116, label %117

116:                                              ; preds = %106
  br label %216

117:                                              ; preds = %106
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.DBID, ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !16
  %121 = load i64, ptr %20, align 8, !tbaa !12
  %122 = getelementptr inbounds [0 x %struct.schem], ptr %120, i64 0, i64 %121
  %123 = getelementptr inbounds %struct.schem, ptr %122, i32 0, i32 4
  %124 = load i64, ptr %123, align 8, !tbaa !25
  store i64 %124, ptr %11, align 8, !tbaa !12
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = load i64, ptr %11, align 8, !tbaa !12
  %127 = load i64, ptr %24, align 8, !tbaa !12
  %128 = mul nsw i64 %126, %127
  %129 = getelementptr inbounds i8, ptr %125, i64 %128
  store ptr %129, ptr %13, align 8, !tbaa !5
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = load i64, ptr %20, align 8, !tbaa !12
  %132 = sub nsw i64 %131, 1
  %133 = getelementptr inbounds i8, ptr %130, i64 %132
  %134 = load i8, ptr %133, align 1, !tbaa !19
  %135 = sext i8 %134 to i32
  %136 = icmp eq i32 %135, 45
  br i1 %136, label %137, label %151

137:                                              ; preds = %117
  store i64 0, ptr %19, align 8, !tbaa !12
  br label %138

138:                                              ; preds = %147, %137
  %139 = load i64, ptr %19, align 8, !tbaa !12
  %140 = load i64, ptr %23, align 8, !tbaa !12
  %141 = icmp slt i64 %139, %140
  br i1 %141, label %142, label %150

142:                                              ; preds = %138
  %143 = load ptr, ptr %16, align 8, !tbaa !5
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %143, ptr %144, align 8, !tbaa !5
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds ptr, ptr %145, i32 1
  store ptr %146, ptr %13, align 8, !tbaa !5
  br label %147

147:                                              ; preds = %142
  %148 = load i64, ptr %19, align 8, !tbaa !12
  %149 = add nsw i64 %148, 1
  store i64 %149, ptr %19, align 8, !tbaa !12
  br label %138, !llvm.loop !26

150:                                              ; preds = %138
  br label %216

151:                                              ; preds = %117
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = load ptr, ptr %16, align 8, !tbaa !5
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds [32 x ptr], ptr %18, i64 0, i64 0
  %156 = load i64, ptr %20, align 8, !tbaa !12
  call void @isearch(ptr noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, i64 noundef %156)
  %157 = load i64, ptr %23, align 8, !tbaa !12
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.DBID, ptr %158, i32 0, i32 6
  %160 = load i64, ptr %159, align 8, !tbaa !27
  %161 = icmp sgt i64 %157, %160
  br i1 %161, label %162, label %183

162:                                              ; preds = %151
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.DBID, ptr %163, i32 0, i32 6
  %165 = load i64, ptr %164, align 8, !tbaa !27
  store i64 %165, ptr %19, align 8, !tbaa !12
  br label %166

166:                                              ; preds = %176, %162
  %167 = load i64, ptr %19, align 8, !tbaa !12
  %168 = load i64, ptr %23, align 8, !tbaa !12
  %169 = icmp slt i64 %167, %168
  br i1 %169, label %170, label %179

170:                                              ; preds = %166
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.DBID, ptr %171, i32 0, i32 7
  %173 = load ptr, ptr %172, align 8, !tbaa !28
  %174 = load i64, ptr %19, align 8, !tbaa !12
  %175 = getelementptr inbounds [32 x ptr], ptr %18, i64 0, i64 %174
  store ptr %173, ptr %175, align 8, !tbaa !5
  br label %176

176:                                              ; preds = %170
  %177 = load i64, ptr %19, align 8, !tbaa !12
  %178 = add nsw i64 %177, 1
  store i64 %178, ptr %19, align 8, !tbaa !12
  br label %166, !llvm.loop !29

179:                                              ; preds = %166
  %180 = load i64, ptr %23, align 8, !tbaa !12
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.DBID, ptr %181, i32 0, i32 6
  store i64 %180, ptr %182, align 8, !tbaa !27
  br label %183

183:                                              ; preds = %179, %151
  store i64 0, ptr %19, align 8, !tbaa !12
  br label %184

184:                                              ; preds = %212, %183
  %185 = load i64, ptr %19, align 8, !tbaa !12
  %186 = load i64, ptr %23, align 8, !tbaa !12
  %187 = icmp slt i64 %185, %186
  br i1 %187, label %188, label %215

188:                                              ; preds = %184
  %189 = load i64, ptr %19, align 8, !tbaa !12
  %190 = getelementptr inbounds [32 x ptr], ptr %18, i64 0, i64 %189
  %191 = load ptr, ptr %190, align 8, !tbaa !5
  store ptr %191, ptr %15, align 8, !tbaa !5
  %192 = load ptr, ptr %15, align 8, !tbaa !5
  %193 = load i64, ptr %22, align 8, !tbaa !12
  %194 = getelementptr inbounds i8, ptr %192, i64 %193
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = load i64, ptr %21, align 8, !tbaa !12
  %197 = getelementptr inbounds i8, ptr %195, i64 %196
  %198 = load i64, ptr %197, align 8, !tbaa !12
  %199 = load i64, ptr %11, align 8, !tbaa !12
  %200 = mul nsw i64 %198, %199
  %201 = load i64, ptr %19, align 8, !tbaa !12
  %202 = add nsw i64 %200, %201
  %203 = mul i64 %202, 8
  %204 = getelementptr inbounds i8, ptr %194, i64 %203
  store ptr %204, ptr %14, align 8, !tbaa !5
  %205 = load ptr, ptr %14, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = load i64, ptr %19, align 8, !tbaa !12
  %209 = getelementptr inbounds ptr, ptr %207, i64 %208
  store ptr %206, ptr %209, align 8, !tbaa !5
  %210 = load ptr, ptr %16, align 8, !tbaa !5
  %211 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %210, ptr %211, align 8, !tbaa !5
  br label %212

212:                                              ; preds = %188
  %213 = load i64, ptr %19, align 8, !tbaa !12
  %214 = add nsw i64 %213, 1
  store i64 %214, ptr %19, align 8, !tbaa !12
  br label %184, !llvm.loop !30

215:                                              ; preds = %184
  br label %216

216:                                              ; preds = %215, %150, %116
  %217 = load i64, ptr %20, align 8, !tbaa !12
  %218 = add nsw i64 %217, -1
  store i64 %218, ptr %20, align 8, !tbaa !12
  br label %103, !llvm.loop !31

219:                                              ; preds = %103
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %220, ptr %221, align 8, !tbaa !5
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  call void @db_resetlock(ptr noundef %222)
  store i32 0, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %223

223:                                              ; preds = %219, %89, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 256, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %224 = load i32, ptr %5, align 4
  ret i32 %224
}

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


; 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.schem = type { i8, i8, i64, i64, i64, ptr }

; Function Attrs: nounwind uwtable
declare dso_local void @db_resetlock(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @db_setlock(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @db_newnode(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @xsearch(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare hidden i64 @db_randomlevel(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @db_insert_opt(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [32 x ptr], align 16
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  %9 = load i64, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load i64, ptr %10, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load i64, ptr %12, align 8, !tbaa !12
  %14 = add i64 %13, 8
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i64, ptr %15, align 8, !tbaa !13
  %17 = tail call i64 @db_randomlevel(i64 noundef %16)
  %.fr109 = freeze i64 %17
  %18 = shl i64 %.fr109, 3
  tail call void @db_setlock(ptr noundef %0)
  %invariant.gep = getelementptr i8, ptr %3, i64 -1
  %19 = icmp sgt i64 %11, 0
  br i1 %19, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4, %30
  %.07583 = phi i64 [ %31, %30 ], [ %11, %4 ]
  %20 = load ptr, ptr %0, align 8, !tbaa !14
  %21 = getelementptr inbounds [0 x %struct.schem], ptr %20, i64 0, i64 %.07583
  %22 = load i8, ptr %21, align 8, !tbaa !15
  %23 = icmp eq i8 %22, 117
  br i1 %23, label %24, label %30

24:                                               ; preds = %.lr.ph
  %gep = getelementptr i8, ptr %invariant.gep, i64 %.07583
  %25 = load i8, ptr %gep, align 1, !tbaa !17
  %.not80 = icmp eq i8 %25, 45
  br i1 %.not80, label %30, label %26

26:                                               ; preds = %24
  %27 = call i32 @xsearch(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %6, i64 noundef %.07583)
  %28 = icmp eq i32 %27, 2
  br i1 %28, label %29, label %30

29:                                               ; preds = %26
  call void @db_resetlock(ptr noundef nonnull %0)
  br label %134

30:                                               ; preds = %.lr.ph, %24, %26
  %31 = add nsw i64 %.07583, -1
  %32 = icmp sgt i64 %.07583, 1
  br i1 %32, label %.lr.ph, label %._crit_edge, !llvm.loop !18

._crit_edge:                                      ; preds = %30, %4
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = load i64, ptr %33, align 8, !tbaa !20
  %35 = call i32 @db_newnode(ptr noundef nonnull %5, i64 noundef %.fr109, i64 noundef %34, i64 noundef %13, i64 noundef %9)
  %.not = icmp eq i32 %35, 0
  br i1 %.not, label %37, label %36

36:                                               ; preds = %._crit_edge
  call void @db_resetlock(ptr noundef nonnull %0)
  br label %134

37:                                               ; preds = %._crit_edge
  %38 = load ptr, ptr %5, align 8, !tbaa !21
  %39 = getelementptr inbounds i8, ptr %38, i64 %14
  %40 = load ptr, ptr %1, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %38, ptr align 1 %40, i64 %13, i1 false)
  %41 = load i64, ptr %10, align 8, !tbaa !11
  %42 = icmp sgt i64 %41, 0
  br i1 %42, label %.lr.ph95, label %._crit_edge96

.lr.ph95:                                         ; preds = %37
  %43 = getelementptr inbounds i8, ptr %0, i64 48
  %44 = getelementptr inbounds i8, ptr %0, i64 56
  %45 = icmp sgt i64 %.fr109, 0
  br i1 %45, label %.lr.ph95.split.us.preheader, label %.lr.ph95.split.split

.lr.ph95.split.us.preheader:                      ; preds = %.lr.ph95
  %xtraiter = and i64 %.fr109, 1
  %46 = icmp eq i64 %.fr109, 1
  %unroll_iter = and i64 %.fr109, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %min.iters.check124 = icmp ult i64 %.fr109, 4
  %n.vec127 = and i64 %.fr109, 9223372036854775804
  %47 = shl i64 %n.vec127, 3
  %cmp.n138 = icmp eq i64 %.fr109, %n.vec127
  br label %.lr.ph95.split.us

.lr.ph95.split.us:                                ; preds = %.lr.ph95.split.us.preheader, %.loopexit.us
  %.17693.us = phi i64 [ %106, %.loopexit.us ], [ %41, %.lr.ph95.split.us.preheader ]
  %48 = load ptr, ptr %0, align 8, !tbaa !14
  %49 = getelementptr inbounds [0 x %struct.schem], ptr %48, i64 0, i64 %.17693.us
  %50 = load i8, ptr %49, align 8, !tbaa !15
  %51 = icmp eq i8 %50, 110
  br i1 %51, label %.loopexit.us, label %52

52:                                               ; preds = %.lr.ph95.split.us
  %53 = getelementptr inbounds i8, ptr %49, i64 24
  %54 = load i64, ptr %53, align 8, !tbaa !22
  %55 = mul nsw i64 %18, %54
  %56 = getelementptr inbounds i8, ptr %39, i64 %55
  %gep92.us = getelementptr i8, ptr %invariant.gep, i64 %.17693.us
  %57 = load i8, ptr %gep92.us, align 1, !tbaa !17
  %58 = icmp eq i8 %57, 45
  %.pre = load ptr, ptr %5, align 8, !tbaa !21
  br i1 %58, label %.lr.ph90.us.preheader, label %61

.lr.ph90.us.preheader:                            ; preds = %52
  br i1 %min.iters.check124, label %.lr.ph90.us.preheader155, label %vector.ph125

.lr.ph90.us.preheader155:                         ; preds = %middle.block122, %.lr.ph90.us.preheader
  %.07389.us.ph = phi ptr [ %56, %.lr.ph90.us.preheader ], [ %ind.end128, %middle.block122 ]
  %.07488.us.ph = phi i64 [ 0, %.lr.ph90.us.preheader ], [ %n.vec127, %middle.block122 ]
  br label %.lr.ph90.us

vector.ph125:                                     ; preds = %.lr.ph90.us.preheader
  %ind.end128 = getelementptr i8, ptr %56, i64 %47
  %broadcast.splatinsert135 = insertelement <2 x ptr> poison, ptr %.pre, i64 0
  %broadcast.splat136 = shufflevector <2 x ptr> %broadcast.splatinsert135, <2 x ptr> poison, <2 x i32> zeroinitializer
  br label %vector.body131

vector.body131:                                   ; preds = %vector.body131, %vector.ph125
  %index132 = phi i64 [ 0, %vector.ph125 ], [ %index.next137, %vector.body131 ]
  %offset.idx133 = shl i64 %index132, 3
  %next.gep = getelementptr i8, ptr %56, i64 %offset.idx133
  %59 = getelementptr i8, ptr %next.gep, i64 16
  store <2 x ptr> %broadcast.splat136, ptr %next.gep, align 8, !tbaa !21
  store <2 x ptr> %broadcast.splat136, ptr %59, align 8, !tbaa !21
  %index.next137 = add nuw i64 %index132, 4
  %60 = icmp eq i64 %index.next137, %n.vec127
  br i1 %60, label %middle.block122, label %vector.body131, !llvm.loop !23

middle.block122:                                  ; preds = %vector.body131
  br i1 %cmp.n138, label %.loopexit.us, label %.lr.ph90.us.preheader155

61:                                               ; preds = %52
  call void @isearch(ptr noundef nonnull %0, ptr noundef %.pre, ptr noundef nonnull %1, ptr noundef nonnull %7, i64 noundef %.17693.us)
  %62 = load i64, ptr %43, align 8, !tbaa !26
  %63 = icmp sgt i64 %.fr109, %62
  br i1 %63, label %.preheader82.us, label %.lr.ph87.us.preheader

.loopexit:                                        ; preds = %scalar.ph140, %middle.block139
  store i64 %.fr109, ptr %43, align 8, !tbaa !26
  br label %.lr.ph87.us.preheader

.lr.ph87.us.preheader:                            ; preds = %.loopexit, %61
  br i1 %46, label %.loopexit.us.loopexit156.unr-lcssa, label %.lr.ph87.us

.lr.ph87.us:                                      ; preds = %.lr.ph87.us.preheader, %.lr.ph87.us
  %.285.us = phi i64 [ %89, %.lr.ph87.us ], [ 0, %.lr.ph87.us.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph87.us ], [ 0, %.lr.ph87.us.preheader ]
  %64 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %.285.us
  %65 = load ptr, ptr %64, align 16, !tbaa !21
  %66 = getelementptr inbounds i8, ptr %65, i64 %14
  %67 = getelementptr inbounds i8, ptr %65, i64 %13
  %68 = load i64, ptr %67, align 8, !tbaa !27
  %69 = mul nsw i64 %68, %54
  %70 = add nsw i64 %69, %.285.us
  %71 = shl i64 %70, 3
  %72 = getelementptr inbounds i8, ptr %66, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %74 = getelementptr inbounds ptr, ptr %56, i64 %.285.us
  store ptr %73, ptr %74, align 8, !tbaa !21
  %75 = load ptr, ptr %5, align 8, !tbaa !21
  store ptr %75, ptr %72, align 8, !tbaa !21
  %76 = or disjoint i64 %.285.us, 1
  %77 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %76
  %78 = load ptr, ptr %77, align 8, !tbaa !21
  %79 = getelementptr inbounds i8, ptr %78, i64 %14
  %80 = getelementptr inbounds i8, ptr %78, i64 %13
  %81 = load i64, ptr %80, align 8, !tbaa !27
  %82 = mul nsw i64 %81, %54
  %83 = add nsw i64 %82, %76
  %84 = shl i64 %83, 3
  %85 = getelementptr inbounds i8, ptr %79, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !21
  %87 = getelementptr inbounds ptr, ptr %56, i64 %76
  store ptr %86, ptr %87, align 8, !tbaa !21
  %88 = load ptr, ptr %5, align 8, !tbaa !21
  store ptr %88, ptr %85, align 8, !tbaa !21
  %89 = add nuw nsw i64 %.285.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.us.loopexit156.unr-lcssa, label %.lr.ph87.us, !llvm.loop !28

scalar.ph140:                                     ; preds = %scalar.ph140.preheader, %scalar.ph140
  %.184.us = phi i64 [ %91, %scalar.ph140 ], [ %.184.us.ph, %scalar.ph140.preheader ]
  %90 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %.184.us
  store ptr %108, ptr %90, align 8, !tbaa !21
  %91 = add nsw i64 %.184.us, 1
  %exitcond115.not = icmp eq i64 %91, %.fr109
  br i1 %exitcond115.not, label %.loopexit, label %scalar.ph140, !llvm.loop !29

.lr.ph90.us:                                      ; preds = %.lr.ph90.us.preheader155, %.lr.ph90.us
  %.07389.us = phi ptr [ %92, %.lr.ph90.us ], [ %.07389.us.ph, %.lr.ph90.us.preheader155 ]
  %.07488.us = phi i64 [ %93, %.lr.ph90.us ], [ %.07488.us.ph, %.lr.ph90.us.preheader155 ]
  store ptr %.pre, ptr %.07389.us, align 8, !tbaa !21
  %92 = getelementptr inbounds i8, ptr %.07389.us, i64 8
  %93 = add nuw nsw i64 %.07488.us, 1
  %exitcond117.not = icmp eq i64 %93, %.fr109
  br i1 %exitcond117.not, label %.loopexit.us, label %.lr.ph90.us, !llvm.loop !30

.loopexit.us.loopexit156.unr-lcssa:               ; preds = %.lr.ph87.us, %.lr.ph87.us.preheader
  %.285.us.unr = phi i64 [ 0, %.lr.ph87.us.preheader ], [ %89, %.lr.ph87.us ]
  br i1 %lcmp.mod.not, label %.loopexit.us, label %.lr.ph87.us.epil

.lr.ph87.us.epil:                                 ; preds = %.loopexit.us.loopexit156.unr-lcssa
  %94 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %.285.us.unr
  %95 = load ptr, ptr %94, align 8, !tbaa !21
  %96 = getelementptr inbounds i8, ptr %95, i64 %14
  %97 = getelementptr inbounds i8, ptr %95, i64 %13
  %98 = load i64, ptr %97, align 8, !tbaa !27
  %99 = mul nsw i64 %98, %54
  %100 = add nsw i64 %99, %.285.us.unr
  %101 = shl i64 %100, 3
  %102 = getelementptr inbounds i8, ptr %96, i64 %101
  %103 = load ptr, ptr %102, align 8, !tbaa !21
  %104 = getelementptr inbounds ptr, ptr %56, i64 %.285.us.unr
  store ptr %103, ptr %104, align 8, !tbaa !21
  %105 = load ptr, ptr %5, align 8, !tbaa !21
  store ptr %105, ptr %102, align 8, !tbaa !21
  br label %.loopexit.us

.loopexit.us:                                     ; preds = %.lr.ph87.us.epil, %.loopexit.us.loopexit156.unr-lcssa, %.lr.ph90.us, %middle.block122, %.lr.ph95.split.us
  %106 = add nsw i64 %.17693.us, -1
  %107 = icmp sgt i64 %.17693.us, 1
  br i1 %107, label %.lr.ph95.split.us, label %._crit_edge96, !llvm.loop !31

.preheader82.us:                                  ; preds = %61
  %108 = load ptr, ptr %44, align 8, !tbaa !32
  %109 = sub i64 %.fr109, %62
  %min.iters.check141 = icmp ult i64 %109, 4
  br i1 %min.iters.check141, label %scalar.ph140.preheader, label %vector.ph142

scalar.ph140.preheader:                           ; preds = %middle.block139, %.preheader82.us
  %.184.us.ph = phi i64 [ %62, %.preheader82.us ], [ %ind.end145, %middle.block139 ]
  br label %scalar.ph140

vector.ph142:                                     ; preds = %.preheader82.us
  %n.vec144 = and i64 %109, -4
  %ind.end145 = add i64 %62, %n.vec144
  %broadcast.splatinsert150 = insertelement <2 x ptr> poison, ptr %108, i64 0
  %broadcast.splat151 = shufflevector <2 x ptr> %broadcast.splatinsert150, <2 x ptr> poison, <2 x i32> zeroinitializer
  br label %vector.body147

vector.body147:                                   ; preds = %vector.body147, %vector.ph142
  %index148 = phi i64 [ 0, %vector.ph142 ], [ %index.next152, %vector.body147 ]
  %offset.idx149 = add i64 %62, %index148
  %110 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %offset.idx149
  %111 = getelementptr inbounds i8, ptr %110, i64 16
  store <2 x ptr> %broadcast.splat151, ptr %110, align 8, !tbaa !21
  store <2 x ptr> %broadcast.splat151, ptr %111, align 8, !tbaa !21
  %index.next152 = add nuw i64 %index148, 4
  %112 = icmp eq i64 %index.next152, %n.vec144
  br i1 %112, label %middle.block139, label %vector.body147, !llvm.loop !33

middle.block139:                                  ; preds = %vector.body147
  %cmp.n153 = icmp eq i64 %109, %n.vec144
  br i1 %cmp.n153, label %.loopexit, label %scalar.ph140.preheader

.lr.ph95.split.split:                             ; preds = %.lr.ph95, %.preheader
  %.17693 = phi i64 [ %131, %.preheader ], [ %41, %.lr.ph95 ]
  %113 = load ptr, ptr %0, align 8, !tbaa !14
  %114 = getelementptr inbounds [0 x %struct.schem], ptr %113, i64 0, i64 %.17693
  %115 = load i8, ptr %114, align 8, !tbaa !15
  %116 = icmp eq i8 %115, 110
  br i1 %116, label %.preheader, label %117

117:                                              ; preds = %.lr.ph95.split.split
  %gep92 = getelementptr i8, ptr %invariant.gep, i64 %.17693
  %118 = load i8, ptr %gep92, align 1, !tbaa !17
  %119 = icmp eq i8 %118, 45
  br i1 %119, label %.preheader, label %120

120:                                              ; preds = %117
  %121 = load ptr, ptr %5, align 8, !tbaa !21
  call void @isearch(ptr noundef nonnull %0, ptr noundef %121, ptr noundef nonnull %1, ptr noundef nonnull %7, i64 noundef %.17693)
  %122 = load i64, ptr %43, align 8, !tbaa !26
  %123 = icmp sgt i64 %.fr109, %122
  br i1 %123, label %.preheader82, label %.preheader

.preheader82:                                     ; preds = %120
  %124 = load ptr, ptr %44, align 8, !tbaa !32
  %125 = sub i64 %.fr109, %122
  %min.iters.check = icmp ult i64 %125, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.preheader82
  %n.vec = and i64 %125, -4
  %ind.end = add i64 %122, %n.vec
  %broadcast.splatinsert = insertelement <2 x ptr> poison, ptr %124, i64 0
  %broadcast.splat = shufflevector <2 x ptr> %broadcast.splatinsert, <2 x ptr> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %122, %index
  %126 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %offset.idx
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  store <2 x ptr> %broadcast.splat, ptr %126, align 8, !tbaa !21
  store <2 x ptr> %broadcast.splat, ptr %127, align 8, !tbaa !21
  %index.next = add nuw i64 %index, 4
  %128 = icmp eq i64 %index.next, %n.vec
  br i1 %128, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %125, %n.vec
  br i1 %cmp.n, label %.loopexit154, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader82
  %.184.ph = phi i64 [ %122, %.preheader82 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.184 = phi i64 [ %130, %scalar.ph ], [ %.184.ph, %scalar.ph.preheader ]
  %129 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 %.184
  store ptr %124, ptr %129, align 8, !tbaa !21
  %130 = add nsw i64 %.184, 1
  %exitcond.not = icmp eq i64 %130, %.fr109
  br i1 %exitcond.not, label %.loopexit154, label %scalar.ph, !llvm.loop !35

.loopexit154:                                     ; preds = %scalar.ph, %middle.block
  store i64 %.fr109, ptr %43, align 8, !tbaa !26
  br label %.preheader

.preheader:                                       ; preds = %120, %.loopexit154, %117, %.lr.ph95.split.split
  %131 = add nsw i64 %.17693, -1
  %132 = icmp sgt i64 %.17693, 1
  br i1 %132, label %.lr.ph95.split.split, label %._crit_edge96, !llvm.loop !31

._crit_edge96:                                    ; preds = %.preheader, %.loopexit.us, %37
  %133 = load ptr, ptr %5, align 8, !tbaa !21
  store ptr %133, ptr %2, align 8, !tbaa !21
  call void @db_resetlock(ptr noundef %0)
  br label %134

134:                                              ; preds = %._crit_edge96, %36, %29
  %.0 = phi i32 [ 4, %29 ], [ %35, %36 ], [ 0, %._crit_edge96 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i32 %.0
}

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass