; LLVM IR from Syrocco/Graphical-EDMD :: parser (del_atomprop)

; 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.Dump = type { ptr, ptr, i8, i32, ptr, i32, i32, i64, ptr, i32, [10 x [256 x i8]], [11 x ptr] }

@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [4 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 allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @find_sections(ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i64 @strlcpy(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @sec_index(ptr noundef, ptr noundef) #5

; Function Attrs: nounwind
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_natoms(ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @atomprop_index(ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local void @cp_framebuff(ptr noundef, ptr noundef) #5

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #4

; Function Attrs: nounwind uwtable
define dso_local void @del_atomprop(ptr noundef %0, ptr noundef %1, ptr noundef %2) #5 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.Dump, ptr %25, i32 0, i32 7
  %27 = load i64, ptr %26, align 8, !tbaa !9
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %3
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  call void @cp_framebuff(ptr noundef %30, ptr noundef %31)
  br label %32

32:                                               ; preds = %29, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call i32 @atomprop_index(ptr noundef %33, ptr noundef %34)
  store i32 %35, ptr %7, align 4, !tbaa !13
  %36 = load i32, ptr %7, align 4, !tbaa !13
  %37 = icmp slt i32 %36, 0
  br i1 %37, label %38, label %47

38:                                               ; preds = %32
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.Dump, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.Dump, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.55, ptr noundef %39, i32 noundef %42, ptr noundef %45)
  call void @exit(i32 noundef 1) #7
  unreachable

47:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = call i32 @get_natoms(ptr noundef %48)
  store i32 %49, ptr %8, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = call i32 @sec_index(ptr noundef @.str.32, ptr noundef %50)
  store i32 %51, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.Dump, ptr %52, i32 0, i32 11
  %54 = load i32, ptr %9, align 4, !tbaa !13
  %55 = add nsw i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [11 x ptr], ptr %53, i64 0, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.Dump, ptr %59, i32 0, i32 11
  %61 = load i32, ptr %9, align 4, !tbaa !13
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [11 x ptr], ptr %60, i64 0, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = ptrtoint ptr %58 to i64
  %66 = ptrtoint ptr %64 to i64
  %67 = sub i64 %65, %66
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %69 = load i32, ptr %10, align 4, !tbaa !13
  %70 = add nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = mul i64 %71, 1
  %73 = call noalias ptr @malloc(i64 noundef %72) #8
  store ptr %73, ptr %11, align 8, !tbaa !5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = icmp eq ptr %74, null
  br i1 %75, label %76, label %80

76:                                               ; preds = %47
  %77 = load i32, ptr %10, align 4, !tbaa !13
  %78 = add nsw i32 %77, 1
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.56, i32 noundef %78)
  call void @exit(i32 noundef 1) #7
  unreachable

80:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %81 = load i32, ptr %7, align 4, !tbaa !13
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Dump, ptr %83, i32 0, i32 11
  %85 = load i32, ptr %9, align 4, !tbaa !13
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [11 x ptr], ptr %84, i64 0, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = call ptr @strtok_r(ptr noundef %88, ptr noundef @.str.19, ptr noundef %14) #6
  store ptr %89, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = call ptr @strtok_r(ptr noundef %90, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %91, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !13
  br label %92

92:                                               ; preds = %113, %80
  %93 = load i32, ptr %18, align 4, !tbaa !13
  %94 = load i32, ptr %7, align 4, !tbaa !13
  %95 = add nsw i32 %94, 2
  %96 = icmp slt i32 %93, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %116

98:                                               ; preds = %92
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !13
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i8, ptr %99, i64 %101
  %103 = load i32, ptr %10, align 4, !tbaa !13
  %104 = add nsw i32 %103, 1
  %105 = load i32, ptr %12, align 4, !tbaa !13
  %106 = sub nsw i32 %104, %105
  %107 = sext i32 %106 to i64
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %102, i64 noundef %107, ptr noundef @.str.57, ptr noundef %108) #6
  %110 = load i32, ptr %12, align 4, !tbaa !13
  %111 = add nsw i32 %110, %109
  store i32 %111, ptr %12, align 4, !tbaa !13
  %112 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %112, ptr %17, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %98
  %114 = load i32, ptr %18, align 4, !tbaa !13
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %18, align 4, !tbaa !13
  br label %92, !llvm.loop !16

116:                                              ; preds = %97
  br label %117

117:                                              ; preds = %120, %116
  %118 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %118, ptr %17, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %136

120:                                              ; preds = %117
  %121 = load i32, ptr %13, align 4, !tbaa !13
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %13, align 4, !tbaa !13
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = load i32, ptr %12, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %123, i64 %125
  %127 = load i32, ptr %10, align 4, !tbaa !13
  %128 = add nsw i32 %127, 1
  %129 = load i32, ptr %12, align 4, !tbaa !13
  %130 = sub nsw i32 %128, %129
  %131 = sext i32 %130 to i64
  %132 = load ptr, ptr %17, align 8, !tbaa !5
  %133 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %126, i64 noundef %131, ptr noundef @.str.57, ptr noundef %132) #6
  %134 = load i32, ptr %12, align 4, !tbaa !13
  %135 = add nsw i32 %134, %133
  store i32 %135, ptr %12, align 4, !tbaa !13
  br label %117, !llvm.loop !18

136:                                              ; preds = %117
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = load i32, ptr %12, align 4, !tbaa !13
  %139 = sub nsw i32 %138, 1
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i8, ptr %137, i64 %140
  store i8 10, ptr %141, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %142

142:                                              ; preds = %187, %136
  %143 = load i32, ptr %19, align 4, !tbaa !13
  %144 = load i32, ptr %8, align 4, !tbaa !13
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 7, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %190

147:                                              ; preds = %142
  %148 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.19, ptr noundef %14) #6
  store ptr %148, ptr %16, align 8, !tbaa !5
  %149 = load ptr, ptr %16, align 8, !tbaa !5
  %150 = call ptr @strtok_r(ptr noundef %149, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %150, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %151

151:                                              ; preds = %178, %147
  %152 = load i32, ptr %21, align 4, !tbaa !13
  %153 = load i32, ptr %13, align 4, !tbaa !13
  %154 = icmp slt i32 %152, %153
  br i1 %154, label %156, label %155

155:                                              ; preds = %151
  store i32 10, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %181

156:                                              ; preds = %151
  %157 = load i32, ptr %21, align 4, !tbaa !13
  %158 = load i32, ptr %7, align 4, !tbaa !13
  %159 = icmp eq i32 %157, %158
  br i1 %159, label %160, label %162

160:                                              ; preds = %156
  %161 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %161, ptr %17, align 8, !tbaa !5
  br label %178

162:                                              ; preds = %156
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = load i32, ptr %12, align 4, !tbaa !13
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i8, ptr %163, i64 %165
  %167 = load i32, ptr %10, align 4, !tbaa !13
  %168 = add nsw i32 %167, 1
  %169 = load i32, ptr %12, align 4, !tbaa !13
  %170 = sub nsw i32 %168, %169
  %171 = sext i32 %170 to i64
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  %173 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %166, i64 noundef %171, ptr noundef @.str.57, ptr noundef %172) #6
  %174 = load i32, ptr %12, align 4, !tbaa !13
  %175 = add nsw i32 %174, %173
  store i32 %175, ptr %12, align 4, !tbaa !13
  %176 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.37, ptr noundef %15) #6
  store ptr %176, ptr %17, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %162
  br label %178

178:                                              ; preds = %177, %160
  %179 = load i32, ptr %21, align 4, !tbaa !13
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %21, align 4, !tbaa !13
  br label %151, !llvm.loop !20

181:                                              ; preds = %155
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = load i32, ptr %12, align 4, !tbaa !13
  %184 = sub nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds i8, ptr %182, i64 %185
  store i8 10, ptr %186, align 1, !tbaa !19
  br label %187

187:                                              ; preds = %181
  %188 = load i32, ptr %19, align 4, !tbaa !13
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %19, align 4, !tbaa !13
  br label %142, !llvm.loop !21

190:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.Dump, ptr %191, i32 0, i32 11
  %193 = load i32, ptr %9, align 4, !tbaa !13
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [11 x ptr], ptr %192, i64 0, i64 %194
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.Dump, ptr %197, i32 0, i32 11
  %199 = getelementptr inbounds [11 x ptr], ptr %198, i64 0, i64 0
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = ptrtoint ptr %196 to i64
  %202 = ptrtoint ptr %200 to i64
  %203 = sub i64 %201, %202
  %204 = trunc i64 %203 to i32
  store i32 %204, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.Dump, ptr %205, i32 0, i32 11
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.Dump, ptr %207, i32 0, i32 9
  %209 = load i32, ptr %208, align 8, !tbaa !22
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [11 x ptr], ptr %206, i64 0, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.Dump, ptr %213, i32 0, i32 11
  %215 = load i32, ptr %9, align 4, !tbaa !13
  %216 = add nsw i32 %215, 1
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [11 x ptr], ptr %214, i64 0, i64 %217
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = ptrtoint ptr %212 to i64
  %221 = ptrtoint ptr %219 to i64
  %222 = sub i64 %220, %221
  %223 = trunc i64 %222 to i32
  store i32 %223, ptr %23, align 4, !tbaa !13
  %224 = load i32, ptr %22, align 4, !tbaa !13
  %225 = load i32, ptr %12, align 4, !tbaa !13
  %226 = add nsw i32 %224, %225
  %227 = load i32, ptr %23, align 4, !tbaa !13
  %228 = add nsw i32 %226, %227
  %229 = sext i32 %228 to i64
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.Dump, ptr %230, i32 0, i32 7
  store i64 %229, ptr %231, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.Dump, ptr %232, i32 0, i32 7
  %234 = load i64, ptr %233, align 8, !tbaa !9
  %235 = add nsw i64 %234, 1
  %236 = mul i64 %235, 1
  %237 = call noalias ptr @malloc(i64 noundef %236) #8
  store ptr %237, ptr %24, align 8, !tbaa !5
  %238 = load ptr, ptr %24, align 8, !tbaa !5
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.Dump, ptr %239, i32 0, i32 8
  %241 = load ptr, ptr %240, align 8, !tbaa !23
  %242 = load i32, ptr %22, align 4, !tbaa !13
  %243 = add nsw i32 %242, 1
  %244 = sext i32 %243 to i64
  %245 = call i64 @strlcpy(ptr noundef %238, ptr noundef %241, i64 noundef %244)
  %246 = load ptr, ptr %24, align 8, !tbaa !5
  %247 = load i32, ptr %22, align 4, !tbaa !13
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds i8, ptr %246, i64 %248
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  %251 = load i32, ptr %12, align 4, !tbaa !13
  %252 = add nsw i32 %251, 1
  %253 = sext i32 %252 to i64
  %254 = call i64 @strlcpy(ptr noundef %249, ptr noundef %250, i64 noundef %253)
  %255 = load ptr, ptr %24, align 8, !tbaa !5
  %256 = load i32, ptr %22, align 4, !tbaa !13
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds i8, ptr %255, i64 %257
  %259 = load i32, ptr %12, align 4, !tbaa !13
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds i8, ptr %258, i64 %260
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.Dump, ptr %262, i32 0, i32 11
  %264 = load i32, ptr %9, align 4, !tbaa !13
  %265 = add nsw i32 %264, 1
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [11 x ptr], ptr %263, i64 0, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = load i32, ptr %23, align 4, !tbaa !13
  %270 = add nsw i32 %269, 1
  %271 = sext i32 %270 to i64
  %272 = call i64 @strlcpy(ptr noundef %261, ptr noundef %268, i64 noundef %271)
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.Dump, ptr %273, i32 0, i32 8
  %275 = load ptr, ptr %274, align 8, !tbaa !23
  call void @free(ptr noundef %275) #6
  %276 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %276) #6
  %277 = load ptr, ptr %24, align 8, !tbaa !5
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.Dump, ptr %278, i32 0, i32 8
  store ptr %277, ptr %279, align 8, !tbaa !23
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  call void @find_sections(ptr noundef %280)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 = { noreturn 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 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind allocsize(0) }

!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, !12, i64 40}
!10 = !{!"Dump", !6, i64 0, !6, i64 8, !7, i64 16, !11, i64 20, !6, i64 24, !11, i64 32, !11, i64 36, !12, i64 40, !6, i64 48, !11, i64 56, !7, i64 60, !7, i64 2624}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 36}
!15 = !{!10, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = !{!10, !11, i64 56}
!23 = !{!10, !6, i64 48}


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

@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [4 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: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

; Function Attrs: nofree nounwind uwtable
declare dso_local i64 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @sec_index(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn
declare ptr @strtok_r(ptr noundef, ptr nocapture noundef readonly, ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_natoms(ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @atomprop_index(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local void @cp_framebuff(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @del_atomprop(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #5 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = getelementptr inbounds i8, ptr %1, i64 40
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %9, label %10

9:                                                ; preds = %3
  tail call void @cp_framebuff(ptr noundef %2, ptr noundef nonnull %1)
  br label %10

10:                                               ; preds = %9, %3
  %11 = tail call i32 @atomprop_index(ptr noundef %0, ptr noundef nonnull %1)
  %12 = icmp slt i32 %11, 0
  br i1 %12, label %13, label %18

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %1, i64 36
  %15 = load i32, ptr %14, align 4, !tbaa !12
  %16 = load ptr, ptr %1, align 8, !tbaa !13
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.55, ptr noundef %0, i32 noundef %15, ptr noundef %16)
  tail call void @exit(i32 noundef 1) #8
  unreachable

18:                                               ; preds = %10
  %19 = tail call i32 @get_natoms(ptr noundef nonnull %1)
  %20 = tail call i32 @sec_index(ptr noundef nonnull @.str.32, ptr noundef nonnull %1)
  %21 = getelementptr inbounds i8, ptr %1, i64 2624
  %22 = add nsw i32 %20, 1
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [11 x ptr], ptr %21, i64 0, i64 %23
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = sext i32 %20 to i64
  %27 = getelementptr inbounds [11 x ptr], ptr %21, i64 0, i64 %26
  %28 = load ptr, ptr %27, align 8, !tbaa !14
  %29 = ptrtoint ptr %25 to i64
  %30 = ptrtoint ptr %28 to i64
  %31 = sub i64 %29, %30
  %32 = trunc i64 %31 to i32
  %33 = add nsw i32 %32, 1
  %34 = sext i32 %33 to i64
  %35 = tail call noalias ptr @malloc(i64 noundef %34) #9
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %.lr.ph.preheader

37:                                               ; preds = %18
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.56, i32 noundef %33)
  tail call void @exit(i32 noundef 1) #8
  unreachable

.lr.ph.preheader:                                 ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  store ptr null, ptr %4, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  store ptr null, ptr %5, align 8, !tbaa !14
  %39 = call ptr @strtok_r(ptr noundef %28, ptr noundef nonnull @.str.19, ptr noundef nonnull %4) #10
  %40 = call ptr @strtok_r(ptr noundef %39, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  %41 = add nuw i32 %11, 1
  br label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  %42 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  %.not102 = icmp eq ptr %42, null
  br i1 %.not102, label %._crit_edge, label %.lr.ph105

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0101 = phi i32 [ %48, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.089100 = phi i32 [ %50, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.09099 = phi ptr [ %49, %.lr.ph ], [ %40, %.lr.ph.preheader ]
  %43 = sext i32 %.0101 to i64
  %44 = getelementptr inbounds i8, ptr %35, i64 %43
  %45 = sub nsw i32 %33, %.0101
  %46 = sext i32 %45 to i64
  %47 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %44, i64 noundef %46, ptr noundef nonnull @.str.57, ptr noundef %.09099) #10
  %48 = add nsw i32 %47, %.0101
  %49 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  %50 = add nuw i32 %.089100, 1
  %exitcond = icmp eq i32 %.089100, %41
  br i1 %exitcond, label %.preheader, label %.lr.ph, !llvm.loop !15

.lr.ph105:                                        ; preds = %.preheader, %.lr.ph105
  %51 = phi ptr [ %58, %.lr.ph105 ], [ %42, %.preheader ]
  %.1104 = phi i32 [ %57, %.lr.ph105 ], [ %48, %.preheader ]
  %.086.in103 = phi i32 [ %.086, %.lr.ph105 ], [ %11, %.preheader ]
  %.086 = add nuw nsw i32 %.086.in103, 1
  %52 = sext i32 %.1104 to i64
  %53 = getelementptr inbounds i8, ptr %35, i64 %52
  %54 = sub nsw i32 %33, %.1104
  %55 = sext i32 %54 to i64
  %56 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %53, i64 noundef %55, ptr noundef nonnull @.str.57, ptr noundef nonnull %51) #10
  %57 = add nsw i32 %56, %.1104
  %58 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  %.not = icmp eq ptr %58, null
  br i1 %.not, label %._crit_edge, label %.lr.ph105, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph105, %.preheader
  %.086.in.lcssa = phi i32 [ %11, %.preheader ], [ %.086, %.lr.ph105 ]
  %.1.lcssa = phi i32 [ %48, %.preheader ], [ %57, %.lr.ph105 ]
  %59 = sext i32 %.1.lcssa to i64
  %60 = getelementptr i8, ptr %35, i64 %59
  %61 = getelementptr i8, ptr %60, i64 -1
  store i8 10, ptr %61, align 1, !tbaa !18
  %invariant.gep = getelementptr i8, ptr %35, i64 -1
  %62 = icmp sgt i32 %19, 0
  br i1 %62, label %.lr.ph113, label %._crit_edge120

._crit_edge120:                                   ; preds = %._crit_edge114, %._crit_edge
  %.2.lcssa = phi i32 [ %.1.lcssa, %._crit_edge ], [ %.4, %._crit_edge114 ]
  %63 = load ptr, ptr %27, align 8, !tbaa !14
  %64 = load ptr, ptr %21, align 8, !tbaa !14
  %65 = ptrtoint ptr %63 to i64
  %66 = ptrtoint ptr %64 to i64
  %67 = sub i64 %65, %66
  %68 = trunc i64 %67 to i32
  %69 = getelementptr inbounds i8, ptr %1, i64 56
  %70 = load i32, ptr %69, align 8, !tbaa !19
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [11 x ptr], ptr %21, i64 0, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !14
  %74 = load ptr, ptr %24, align 8, !tbaa !14
  %75 = ptrtoint ptr %73 to i64
  %76 = ptrtoint ptr %74 to i64
  %77 = sub i64 %75, %76
  %78 = trunc i64 %77 to i32
  %79 = add nsw i32 %.2.lcssa, %68
  %80 = add nsw i32 %79, %78
  %81 = sext i32 %80 to i64
  store i64 %81, ptr %6, align 8, !tbaa !5
  %82 = add nsw i64 %81, 1
  %83 = call noalias ptr @malloc(i64 noundef %82) #9
  %84 = getelementptr inbounds i8, ptr %1, i64 48
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = shl i64 %67, 32
  %sext = add i64 %86, 4294967296
  %87 = ashr exact i64 %sext, 32
  %88 = call i64 @strlcpy(ptr noundef %83, ptr noundef nonnull dereferenceable(1) %85, i64 noundef %87)
  %89 = ashr exact i64 %86, 32
  %90 = getelementptr inbounds i8, ptr %83, i64 %89
  %91 = add nsw i32 %.2.lcssa, 1
  %92 = sext i32 %91 to i64
  %93 = call i64 @strlcpy(ptr noundef %90, ptr noundef nonnull dereferenceable(1) %35, i64 noundef %92)
  %94 = sext i32 %.2.lcssa to i64
  %95 = getelementptr inbounds i8, ptr %90, i64 %94
  %96 = load ptr, ptr %24, align 8, !tbaa !14
  %97 = shl i64 %77, 32
  %sext97 = add i64 %97, 4294967296
  %98 = ashr exact i64 %sext97, 32
  %99 = call i64 @strlcpy(ptr noundef %95, ptr noundef nonnull dereferenceable(1) %96, i64 noundef %98)
  %100 = load ptr, ptr %84, align 8, !tbaa !20
  call void @free(ptr noundef %100) #10
  call void @free(ptr noundef nonnull %35) #10
  store ptr %83, ptr %84, align 8, !tbaa !20
  call void @find_sections(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  ret void

.lr.ph113:                                        ; preds = %._crit_edge, %._crit_edge114
  %.2117 = phi i32 [ %.4, %._crit_edge114 ], [ %.1.lcssa, %._crit_edge ]
  %.088116 = phi i32 [ %104, %._crit_edge114 ], [ 0, %._crit_edge ]
  %101 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.19, ptr noundef nonnull %4) #10
  %102 = call ptr @strtok_r(ptr noundef %101, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  br label %105

._crit_edge114:                                   ; preds = %114
  %103 = sext i32 %.4 to i64
  %gep = getelementptr i8, ptr %invariant.gep, i64 %103
  store i8 10, ptr %gep, align 1, !tbaa !18
  %104 = add nuw nsw i32 %.088116, 1
  %exitcond126.not = icmp eq i32 %104, %19
  br i1 %exitcond126.not, label %._crit_edge120, label %.lr.ph113, !llvm.loop !21

105:                                              ; preds = %.lr.ph113, %114
  %.3111 = phi i32 [ %.2117, %.lr.ph113 ], [ %.4, %114 ]
  %.087110 = phi i32 [ 0, %.lr.ph113 ], [ %116, %114 ]
  %.191109 = phi ptr [ %102, %.lr.ph113 ], [ %115, %114 ]
  %106 = icmp eq i32 %.087110, %11
  br i1 %106, label %114, label %107

107:                                              ; preds = %105
  %108 = sext i32 %.3111 to i64
  %109 = getelementptr inbounds i8, ptr %35, i64 %108
  %110 = sub nsw i32 %33, %.3111
  %111 = sext i32 %110 to i64
  %112 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %109, i64 noundef %111, ptr noundef nonnull @.str.57, ptr noundef %.191109) #10
  %113 = add nsw i32 %112, %.3111
  br label %114

114:                                              ; preds = %105, %107
  %.4 = phi i32 [ %113, %107 ], [ %.3111, %105 ]
  %115 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str.37, ptr noundef nonnull %5) #10
  %116 = add nuw i32 %.087110, 1
  %exitcond125.not = icmp eq i32 %.087110, %.086.in.lcssa
  br i1 %exitcond125.not, label %._crit_edge114, label %105, !llvm.loop !22
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #3 = { noreturn 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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 #6 = { nofree 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 #7 = { mustprogress nofree nounwind willreturn "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 #8 = { noreturn nounwind }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { 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, !11, i64 40}
!6 = !{!"Dump", !7, i64 0, !7, i64 8, !8, i64 16, !10, i64 20, !7, i64 24, !10, i64 32, !10, i64 36, !11, i64 40, !7, i64 48, !10, i64 56, !8, i64 60, !8, i64 2624}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 36}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !10, i64 56}
!20 = !{!6, !7, i64 48}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}


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