; LLVM IR from jgaeddert/liquid-dsp :: scripts (autoscript)

; 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.autoscript_s = type { [256 x i8], i8, i32, ptr }
%struct.package_s = type { [256 x i8], [256 x i8], ptr, i32 }
%struct.script_s = type { [256 x i8], ptr }

@.str = external hidden unnamed_addr constant [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [44 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
define dso_local void @autoscript_print(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %30, %1
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.autoscript_s, ptr %15, i32 0, i32 2
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = icmp ult i32 %14, %17
  br i1 %18, label %19, label %33

19:                                               ; preds = %13
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.autoscript_s, ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %21, align 8, !tbaa !13
  %23 = load i32, ptr %3, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = getelementptr inbounds %struct.package_s, ptr %22, i64 %24
  %26 = getelementptr inbounds %struct.package_s, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !14
  %28 = load i32, ptr %6, align 4, !tbaa !9
  %29 = add i32 %28, %27
  store i32 %29, ptr %6, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %19
  %31 = load i32, ptr %3, align 4, !tbaa !9
  %32 = add i32 %31, 1
  store i32 %32, ptr %3, align 4, !tbaa !9
  br label %13, !llvm.loop !16

33:                                               ; preds = %13
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.autoscript_s, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds [256 x i8], ptr %36, i64 0, i64 0
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.autoscript_s, ptr %38, i32 0, i32 1
  %40 = load i8, ptr %39, align 8, !tbaa !18
  %41 = sext i8 %40 to i32
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %37, i32 noundef %41)
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.autoscript_s, ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds [256 x i8], ptr %45, i64 0, i64 0
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.autoscript_s, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds [256 x i8], ptr %51, i64 0, i64 0
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %52)
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.autoscript_s, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds [256 x i8], ptr %57, i64 0, i64 0
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %58)
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.19)
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.autoscript_s, ptr %71, i32 0, i32 2
  %73 = load i32, ptr %72, align 4, !tbaa !11
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %73)
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
  %76 = load i32, ptr %6, align 4, !tbaa !9
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %76)
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %122, %33
  %80 = load i32, ptr %3, align 4, !tbaa !9
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.autoscript_s, ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = icmp ult i32 %80, %83
  br i1 %84, label %85, label %125

85:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.autoscript_s, ptr %86, i32 0, i32 3
  %88 = load ptr, ptr %87, align 8, !tbaa !13
  %89 = load i32, ptr %3, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds %struct.package_s, ptr %88, i64 %90
  store ptr %91, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.package_s, ptr %92, i32 0, i32 1
  %94 = getelementptr inbounds [256 x i8], ptr %93, i64 0, i64 0
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, ptr noundef %94)
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %118, %85
  %97 = load i32, ptr %4, align 4, !tbaa !9
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.package_s, ptr %98, i32 0, i32 3
  %100 = load i32, ptr %99, align 8, !tbaa !14
  %101 = icmp ult i32 %97, %100
  br i1 %101, label %102, label %121

102:                                              ; preds = %96
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.autoscript_s, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds [256 x i8], ptr %104, i64 0, i64 0
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.autoscript_s, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds [256 x i8], ptr %107, i64 0, i64 0
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.package_s, ptr %109, i32 0, i32 2
  %111 = load ptr, ptr %110, align 8, !tbaa !19
  %112 = load i32, ptr %4, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds %struct.script_s, ptr %111, i64 %113
  %115 = getelementptr inbounds %struct.script_s, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds [256 x i8], ptr %115, i64 0, i64 0
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef %105, ptr noundef %108, ptr noundef %116)
  br label %118

118:                                              ; preds = %102
  %119 = load i32, ptr %4, align 4, !tbaa !9
  %120 = add i32 %119, 1
  store i32 %120, ptr %4, align 4, !tbaa !9
  br label %96, !llvm.loop !20

121:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %3, align 4, !tbaa !9
  %124 = add i32 %123, 1
  store i32 %124, ptr %3, align 4, !tbaa !9
  br label %79, !llvm.loop !21

125:                                              ; preds = %79
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %174, %125
  %128 = load i32, ptr %3, align 4, !tbaa !9
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.autoscript_s, ptr %129, i32 0, i32 2
  %131 = load i32, ptr %130, align 4, !tbaa !11
  %132 = icmp ult i32 %128, %131
  br i1 %132, label %133, label %177

133:                                              ; preds = %127
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %170, %133
  %135 = load i32, ptr %4, align 4, !tbaa !9
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.autoscript_s, ptr %136, i32 0, i32 3
  %138 = load ptr, ptr %137, align 8, !tbaa !13
  %139 = load i32, ptr %3, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds %struct.package_s, ptr %138, i64 %140
  %142 = getelementptr inbounds %struct.package_s, ptr %141, i32 0, i32 3
  %143 = load i32, ptr %142, align 8, !tbaa !14
  %144 = icmp ult i32 %135, %143
  br i1 %144, label %145, label %173

145:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.autoscript_s, ptr %146, i32 0, i32 3
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = load i32, ptr %3, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = getelementptr inbounds %struct.package_s, ptr %148, i64 %150
  %152 = getelementptr inbounds %struct.package_s, ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !19
  %154 = load i32, ptr %4, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds %struct.script_s, ptr %153, i64 %155
  %157 = getelementptr inbounds %struct.script_s, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds [256 x i8], ptr %157, i64 0, i64 0
  %159 = call i64 @strlen(ptr noundef %158) #7
  %160 = trunc i64 %159 to i32
  store i32 %160, ptr %9, align 4, !tbaa !9
  %161 = load i32, ptr %9, align 4, !tbaa !9
  %162 = load i32, ptr %8, align 4, !tbaa !9
  %163 = icmp ugt i32 %161, %162
  br i1 %163, label %164, label %166

164:                                              ; preds = %145
  %165 = load i32, ptr %9, align 4, !tbaa !9
  br label %168

166:                                              ; preds = %145
  %167 = load i32, ptr %8, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %166, %164
  %169 = phi i32 [ %165, %164 ], [ %167, %166 ]
  store i32 %169, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %170

170:                                              ; preds = %168
  %171 = load i32, ptr %4, align 4, !tbaa !9
  %172 = add i32 %171, 1
  store i32 %172, ptr %4, align 4, !tbaa !9
  br label %134, !llvm.loop !22

173:                                              ; preds = %134
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %3, align 4, !tbaa !9
  %176 = add i32 %175, 1
  store i32 %176, ptr %3, align 4, !tbaa !9
  br label %127, !llvm.loop !23

177:                                              ; preds = %127
  %178 = load i32, ptr %8, align 4, !tbaa !9
  %179 = add i32 %178, 1
  %180 = zext i32 %179 to i64
  %181 = call ptr @llvm.stacksave.p0()
  store ptr %181, ptr %10, align 8
  %182 = alloca i8, i64 %180, align 16
  store i64 %180, ptr %11, align 8
  %183 = load i32, ptr %8, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  call void @llvm.memset.p0.i64(ptr align 16 %182, i8 32, i64 %184, i1 false)
  %185 = load i32, ptr %8, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = getelementptr inbounds i8, ptr %182, i64 %186
  store i8 0, ptr %187, align 1, !tbaa !24
  %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.autoscript_s, ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds [256 x i8], ptr %190, i64 0, i64 0
  %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, ptr noundef %191)
  store i32 0, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %193

193:                                              ; preds = %258, %177
  %194 = load i32, ptr %3, align 4, !tbaa !9
  %195 = load ptr, ptr %2, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.autoscript_s, ptr %195, i32 0, i32 2
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = icmp ult i32 %194, %197
  br i1 %198, label %199, label %261

199:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %200 = load ptr, ptr %2, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.autoscript_s, ptr %200, i32 0, i32 3
  %202 = load ptr, ptr %201, align 8, !tbaa !13
  %203 = load i32, ptr %3, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds %struct.package_s, ptr %202, i64 %204
  store ptr %205, ptr %12, align 8, !tbaa !5
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %254, %199
  %207 = load i32, ptr %4, align 4, !tbaa !9
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.package_s, ptr %208, i32 0, i32 3
  %210 = load i32, ptr %209, align 8, !tbaa !14
  %211 = icmp ult i32 %207, %210
  br i1 %211, label %212, label %257

212:                                              ; preds = %206
  %213 = load i32, ptr %5, align 4, !tbaa !9
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.autoscript_s, ptr %214, i32 0, i32 0
  %216 = getelementptr inbounds [256 x i8], ptr %215, i64 0, i64 0
  %217 = load ptr, ptr %12, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.package_s, ptr %217, i32 0, i32 2
  %219 = load ptr, ptr %218, align 8, !tbaa !19
  %220 = load i32, ptr %4, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds %struct.script_s, ptr %219, i64 %221
  %223 = getelementptr inbounds %struct.script_s, ptr %222, i32 0, i32 0
  %224 = getelementptr inbounds [256 x i8], ptr %223, i64 0, i64 0
  %225 = load ptr, ptr %12, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.package_s, ptr %225, i32 0, i32 2
  %227 = load ptr, ptr %226, align 8, !tbaa !19
  %228 = load i32, ptr %4, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = getelementptr inbounds %struct.script_s, ptr %227, i64 %229
  %231 = getelementptr inbounds %struct.script_s, ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds [256 x i8], ptr %231, i64 0, i64 0
  %233 = call i64 @strlen(ptr noundef %232) #7
  %234 = getelementptr inbounds i8, ptr %182, i64 %233
  %235 = load ptr, ptr %12, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.package_s, ptr %235, i32 0, i32 2
  %237 = load ptr, ptr %236, align 8, !tbaa !19
  %238 = load i32, ptr %4, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds %struct.script_s, ptr %237, i64 %239
  %241 = getelementptr inbounds %struct.script_s, ptr %240, i32 0, i32 0
  %242 = getelementptr inbounds [256 x i8], ptr %241, i64 0, i64 0
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, i32 noundef %213, ptr noundef %216, ptr noundef %224, ptr noundef %234, ptr noundef %242)
  %244 = load i32, ptr %5, align 4, !tbaa !9
  %245 = load i32, ptr %6, align 4, !tbaa !9
  %246 = sub i32 %245, 1
  %247 = icmp ult i32 %244, %246
  br i1 %247, label %248, label %250

248:                                              ; preds = %212
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  br label %250

250:                                              ; preds = %248, %212
  %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %252 = load i32, ptr %5, align 4, !tbaa !9
  %253 = add i32 %252, 1
  store i32 %253, ptr %5, align 4, !tbaa !9
  br label %254

254:                                              ; preds = %250
  %255 = load i32, ptr %4, align 4, !tbaa !9
  %256 = add i32 %255, 1
  store i32 %256, ptr %4, align 4, !tbaa !9
  br label %206, !llvm.loop !25

257:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %258

258:                                              ; preds = %257
  %259 = load i32, ptr %3, align 4, !tbaa !9
  %260 = add i32 %259, 1
  store i32 %260, ptr %3, align 4, !tbaa !9
  br label %193, !llvm.loop !26

261:                                              ; preds = %193
  %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  store i32 0, ptr %5, align 4, !tbaa !9
  %263 = call i32 (ptr, ...) @printf(ptr noundef @.str.32)
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %265

265:                                              ; preds = %311, %261
  %266 = load i32, ptr %3, align 4, !tbaa !9
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.autoscript_s, ptr %267, i32 0, i32 2
  %269 = load i32, ptr %268, align 4, !tbaa !11
  %270 = icmp ult i32 %266, %269
  br i1 %270, label %271, label %314

271:                                              ; preds = %265
  %272 = load i32, ptr %3, align 4, !tbaa !9
  %273 = load i32, ptr %5, align 4, !tbaa !9
  %274 = load ptr, ptr %2, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.autoscript_s, ptr %274, i32 0, i32 3
  %276 = load ptr, ptr %275, align 8, !tbaa !13
  %277 = load i32, ptr %3, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = getelementptr inbounds %struct.package_s, ptr %276, i64 %278
  %280 = getelementptr inbounds %struct.package_s, ptr %279, i32 0, i32 3
  %281 = load i32, ptr %280, align 8, !tbaa !14
  %282 = load ptr, ptr %2, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.autoscript_s, ptr %282, i32 0, i32 3
  %284 = load ptr, ptr %283, align 8, !tbaa !13
  %285 = load i32, ptr %3, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = getelementptr inbounds %struct.package_s, ptr %284, i64 %286
  %288 = getelementptr inbounds %struct.package_s, ptr %287, i32 0, i32 0
  %289 = getelementptr inbounds [256 x i8], ptr %288, i64 0, i64 0
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %272, i32 noundef %273, i32 noundef %281, ptr noundef %289)
  %291 = load i32, ptr %3, align 4, !tbaa !9
  %292 = load ptr, ptr %2, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.autoscript_s, ptr %292, i32 0, i32 2
  %294 = load i32, ptr %293, align 4, !tbaa !11
  %295 = sub i32 %294, 1
  %296 = icmp ult i32 %291, %295
  br i1 %296, label %297, label %299

297:                                              ; preds = %271
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  br label %299

299:                                              ; preds = %297, %271
  %300 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %301 = load ptr, ptr %2, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.autoscript_s, ptr %301, i32 0, i32 3
  %303 = load ptr, ptr %302, align 8, !tbaa !13
  %304 = load i32, ptr %3, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = getelementptr inbounds %struct.package_s, ptr %303, i64 %305
  %307 = getelementptr inbounds %struct.package_s, ptr %306, i32 0, i32 3
  %308 = load i32, ptr %307, align 8, !tbaa !14
  %309 = load i32, ptr %5, align 4, !tbaa !9
  %310 = add i32 %309, %308
  store i32 %310, ptr %5, align 4, !tbaa !9
  br label %311

311:                                              ; preds = %299
  %312 = load i32, ptr %3, align 4, !tbaa !9
  %313 = add i32 %312, 1
  store i32 %313, ptr %3, align 4, !tbaa !9
  br label %265, !llvm.loop !27

314:                                              ; preds = %265
  %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
  %317 = load ptr, ptr %10, align 8
  call void @llvm.stackrestore.p0(ptr %317)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 260}
!12 = !{!"autoscript_s", !7, i64 0, !7, i64 256, !10, i64 260, !6, i64 264}
!13 = !{!12, !6, i64 264}
!14 = !{!15, !10, i64 520}
!15 = !{!"package_s", !7, i64 0, !7, i64 256, !6, i64 512, !10, i64 520}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!12, !7, i64 256}
!19 = !{!15, !6, i64 512}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = distinct !{!27, !17}


; 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.package_s = type { [256 x i8], [256 x i8], ptr, i32 }
%struct.script_s = type { [256 x i8], ptr }

@.str = external hidden unnamed_addr constant [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [44 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @autoscript_print(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 260
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 264
  %5 = load ptr, ptr %4, align 8, !tbaa !11
  %wide.trip.count = zext i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %37, %vector.body ]
  %vec.phi161 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %38, %vector.body ]
  %6 = or disjoint i64 %index, 1
  %7 = or disjoint i64 %index, 2
  %8 = or disjoint i64 %index, 3
  %9 = or disjoint i64 %index, 4
  %10 = or disjoint i64 %index, 5
  %11 = or disjoint i64 %index, 6
  %12 = or disjoint i64 %index, 7
  %13 = getelementptr inbounds %struct.package_s, ptr %5, i64 %index, i32 3
  %14 = getelementptr inbounds %struct.package_s, ptr %5, i64 %6, i32 3
  %15 = getelementptr inbounds %struct.package_s, ptr %5, i64 %7, i32 3
  %16 = getelementptr inbounds %struct.package_s, ptr %5, i64 %8, i32 3
  %17 = getelementptr inbounds %struct.package_s, ptr %5, i64 %9, i32 3
  %18 = getelementptr inbounds %struct.package_s, ptr %5, i64 %10, i32 3
  %19 = getelementptr inbounds %struct.package_s, ptr %5, i64 %11, i32 3
  %20 = getelementptr inbounds %struct.package_s, ptr %5, i64 %12, i32 3
  %21 = load i32, ptr %13, align 8, !tbaa !12
  %22 = load i32, ptr %14, align 8, !tbaa !12
  %23 = load i32, ptr %15, align 8, !tbaa !12
  %24 = load i32, ptr %16, align 8, !tbaa !12
  %25 = insertelement <4 x i32> poison, i32 %21, i64 0
  %26 = insertelement <4 x i32> %25, i32 %22, i64 1
  %27 = insertelement <4 x i32> %26, i32 %23, i64 2
  %28 = insertelement <4 x i32> %27, i32 %24, i64 3
  %29 = load i32, ptr %17, align 8, !tbaa !12
  %30 = load i32, ptr %18, align 8, !tbaa !12
  %31 = load i32, ptr %19, align 8, !tbaa !12
  %32 = load i32, ptr %20, align 8, !tbaa !12
  %33 = insertelement <4 x i32> poison, i32 %29, i64 0
  %34 = insertelement <4 x i32> %33, i32 %30, i64 1
  %35 = insertelement <4 x i32> %34, i32 %31, i64 2
  %36 = insertelement <4 x i32> %35, i32 %32, i64 3
  %37 = add <4 x i32> %28, %vec.phi
  %38 = add <4 x i32> %36, %vec.phi161
  %index.next = add nuw i64 %index, 8
  %39 = icmp eq i64 %index.next, %n.vec
  br i1 %39, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %38, %37
  %40 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %.08386.ph = phi i32 [ 0, %.lr.ph ], [ %40, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %.08386 = phi i32 [ %43, %scalar.ph ], [ %.08386.ph, %scalar.ph.preheader ]
  %41 = getelementptr inbounds %struct.package_s, ptr %5, i64 %indvars.iv, i32 3
  %42 = load i32, ptr %41, align 8, !tbaa !12
  %43 = add i32 %42, %.08386
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !18

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %1
  %.083.lcssa = phi i32 [ 0, %1 ], [ %40, %middle.block ], [ %43, %scalar.ph ]
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %45 = getelementptr inbounds i8, ptr %0, i64 256
  %46 = load i8, ptr %45, align 8, !tbaa !19
  %47 = sext i8 %46 to i32
  %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull %0, i32 noundef %47)
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull %0)
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef nonnull %0)
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef nonnull %0)
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull @.str.19)
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, i32 noundef %68)
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22)
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, i32 noundef %.083.lcssa)
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %.not121 = icmp eq i32 %73, 0
  br i1 %.not121, label %._crit_edge95, label %.lr.ph94

.lr.ph94:                                         ; preds = %._crit_edge
  %74 = getelementptr inbounds i8, ptr %0, i64 264
  br label %75

75:                                               ; preds = %.lr.ph94, %._crit_edge91
  %indvars.iv134 = phi i64 [ 0, %.lr.ph94 ], [ %indvars.iv.next135, %._crit_edge91 ]
  %76 = load ptr, ptr %74, align 8, !tbaa !11
  %77 = getelementptr inbounds %struct.package_s, ptr %76, i64 %indvars.iv134
  %78 = getelementptr inbounds i8, ptr %77, i64 256
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25, ptr noundef nonnull %78)
  %80 = getelementptr inbounds i8, ptr %77, i64 520
  %81 = load i32, ptr %80, align 8, !tbaa !12
  %.not122 = icmp eq i32 %81, 0
  br i1 %.not122, label %._crit_edge91, label %.lr.ph90

.lr.ph90:                                         ; preds = %75
  %82 = getelementptr inbounds i8, ptr %77, i64 512
  br label %83

83:                                               ; preds = %.lr.ph90, %83
  %indvars.iv131 = phi i64 [ 0, %.lr.ph90 ], [ %indvars.iv.next132, %83 ]
  %84 = load ptr, ptr %82, align 8, !tbaa !20
  %85 = getelementptr inbounds %struct.script_s, ptr %84, i64 %indvars.iv131
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef %0, ptr noundef %0, ptr noundef %85)
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %87 = load i32, ptr %80, align 8, !tbaa !12
  %88 = zext i32 %87 to i64
  %89 = icmp ult i64 %indvars.iv.next132, %88
  br i1 %89, label %83, label %._crit_edge91, !llvm.loop !21

._crit_edge91:                                    ; preds = %83, %75
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = zext i32 %90 to i64
  %92 = icmp ult i64 %indvars.iv.next135, %91
  br i1 %92, label %75, label %._crit_edge95, !llvm.loop !22

._crit_edge95:                                    ; preds = %._crit_edge91, %._crit_edge
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %94 = load i32, ptr %2, align 4, !tbaa !5
  %.not123 = icmp eq i32 %94, 0
  br i1 %.not123, label %._crit_edge103, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %._crit_edge95
  %95 = getelementptr inbounds i8, ptr %0, i64 264
  %96 = load ptr, ptr %95, align 8, !tbaa !11
  %wide.trip.count145 = zext i32 %94 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge99
  %indvars.iv142 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next143, %._crit_edge99 ]
  %.084101 = phi i32 [ 0, %.preheader.lr.ph ], [ %.185.lcssa, %._crit_edge99 ]
  %97 = getelementptr inbounds %struct.package_s, ptr %96, i64 %indvars.iv142
  %98 = getelementptr inbounds i8, ptr %97, i64 520
  %99 = load i32, ptr %98, align 8, !tbaa !12
  %.not124 = icmp eq i32 %99, 0
  br i1 %.not124, label %._crit_edge99, label %.lr.ph98

.lr.ph98:                                         ; preds = %.preheader
  %100 = getelementptr inbounds i8, ptr %97, i64 512
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %wide.trip.count140 = zext i32 %99 to i64
  br label %102

102:                                              ; preds = %.lr.ph98, %102
  %indvars.iv137 = phi i64 [ 0, %.lr.ph98 ], [ %indvars.iv.next138, %102 ]
  %.18596 = phi i32 [ %.084101, %.lr.ph98 ], [ %106, %102 ]
  %103 = getelementptr inbounds %struct.script_s, ptr %101, i64 %indvars.iv137
  %104 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %103) #5
  %105 = trunc i64 %104 to i32
  %106 = tail call i32 @llvm.umax.i32(i32 %.18596, i32 %105)
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %exitcond141.not = icmp eq i64 %indvars.iv.next138, %wide.trip.count140
  br i1 %exitcond141.not, label %._crit_edge99, label %102, !llvm.loop !23

._crit_edge99:                                    ; preds = %102, %.preheader
  %.185.lcssa = phi i32 [ %.084101, %.preheader ], [ %106, %102 ]
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %exitcond146.not = icmp eq i64 %indvars.iv.next143, %wide.trip.count145
  br i1 %exitcond146.not, label %._crit_edge103, label %.preheader, !llvm.loop !24

._crit_edge103:                                   ; preds = %._crit_edge99, %._crit_edge95
  %.084.lcssa = phi i32 [ 0, %._crit_edge95 ], [ %.185.lcssa, %._crit_edge99 ]
  %107 = add i32 %.084.lcssa, 1
  %108 = zext i32 %107 to i64
  %109 = alloca i8, i64 %108, align 16
  %110 = zext i32 %.084.lcssa to i64
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %109, i8 32, i64 %110, i1 false)
  %111 = getelementptr inbounds i8, ptr %109, i64 %110
  store i8 0, ptr %111, align 1, !tbaa !25
  %112 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27)
  %113 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28, ptr noundef nonnull %0)
  %114 = load i32, ptr %2, align 4, !tbaa !5
  %.not125 = icmp eq i32 %114, 0
  br i1 %.not125, label %._crit_edge115, label %.lr.ph114

.lr.ph114:                                        ; preds = %._crit_edge103
  %115 = getelementptr inbounds i8, ptr %0, i64 264
  %116 = add i32 %.083.lcssa, -1
  br label %117

117:                                              ; preds = %.lr.ph114, %._crit_edge109
  %118 = phi i32 [ %114, %.lr.ph114 ], [ %139, %._crit_edge109 ]
  %indvars.iv150 = phi i64 [ 0, %.lr.ph114 ], [ %indvars.iv.next151, %._crit_edge109 ]
  %.080111 = phi i32 [ 0, %.lr.ph114 ], [ %.181.lcssa, %._crit_edge109 ]
  %119 = load ptr, ptr %115, align 8, !tbaa !11
  %120 = getelementptr inbounds %struct.package_s, ptr %119, i64 %indvars.iv150
  %121 = getelementptr inbounds i8, ptr %120, i64 520
  %122 = load i32, ptr %121, align 8, !tbaa !12
  %.not126 = icmp eq i32 %122, 0
  br i1 %.not126, label %._crit_edge109, label %.lr.ph108

.lr.ph108:                                        ; preds = %117
  %123 = getelementptr inbounds i8, ptr %120, i64 512
  br label %124

124:                                              ; preds = %.lr.ph108, %133
  %indvars.iv147 = phi i64 [ 0, %.lr.ph108 ], [ %indvars.iv.next148, %133 ]
  %.181105 = phi i32 [ %.080111, %.lr.ph108 ], [ %135, %133 ]
  %125 = load ptr, ptr %123, align 8, !tbaa !20
  %126 = getelementptr inbounds %struct.script_s, ptr %125, i64 %indvars.iv147
  %127 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %126) #5
  %128 = getelementptr inbounds i8, ptr %109, i64 %127
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29, i32 noundef %.181105, ptr noundef %0, ptr noundef %126, ptr noundef nonnull %128, ptr noundef %126)
  %130 = icmp ult i32 %.181105, %116
  br i1 %130, label %131, label %133

131:                                              ; preds = %124
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30)
  br label %133

133:                                              ; preds = %131, %124
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %135 = add i32 %.181105, 1
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %136 = load i32, ptr %121, align 8, !tbaa !12
  %137 = zext i32 %136 to i64
  %138 = icmp ult i64 %indvars.iv.next148, %137
  br i1 %138, label %124, label %._crit_edge109.loopexit, !llvm.loop !26

._crit_edge109.loopexit:                          ; preds = %133
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge109

._crit_edge109:                                   ; preds = %._crit_edge109.loopexit, %117
  %139 = phi i32 [ %118, %117 ], [ %.pre, %._crit_edge109.loopexit ]
  %.181.lcssa = phi i32 [ %.080111, %117 ], [ %135, %._crit_edge109.loopexit ]
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %140 = zext i32 %139 to i64
  %141 = icmp ult i64 %indvars.iv.next151, %140
  br i1 %141, label %117, label %._crit_edge115, !llvm.loop !27

._crit_edge115:                                   ; preds = %._crit_edge109, %._crit_edge103
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31)
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32)
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33)
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %.not127 = icmp eq i32 %145, 0
  br i1 %.not127, label %._crit_edge120, label %.lr.ph119

.lr.ph119:                                        ; preds = %._crit_edge115
  %146 = getelementptr inbounds i8, ptr %0, i64 264
  %.pre156 = load ptr, ptr %146, align 8, !tbaa !11
  br label %147

147:                                              ; preds = %.lr.ph119, %160
  %148 = phi ptr [ %.pre156, %.lr.ph119 ], [ %162, %160 ]
  %indvars.iv153 = phi i64 [ 0, %.lr.ph119 ], [ %indvars.iv.next154, %160 ]
  %.282116 = phi i32 [ 0, %.lr.ph119 ], [ %165, %160 ]
  %149 = getelementptr inbounds %struct.package_s, ptr %148, i64 %indvars.iv153
  %150 = getelementptr inbounds i8, ptr %149, i64 520
  %151 = load i32, ptr %150, align 8, !tbaa !12
  %152 = trunc nuw i64 %indvars.iv153 to i32
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34, i32 noundef %152, i32 noundef %.282116, i32 noundef %151, ptr noundef %149)
  %154 = load i32, ptr %2, align 4, !tbaa !5
  %155 = add i32 %154, -1
  %156 = zext i32 %155 to i64
  %157 = icmp ult i64 %indvars.iv153, %156
  br i1 %157, label %158, label %160

158:                                              ; preds = %147
  %159 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30)
  br label %160

160:                                              ; preds = %158, %147
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %162 = load ptr, ptr %146, align 8, !tbaa !11
  %163 = getelementptr inbounds %struct.package_s, ptr %162, i64 %indvars.iv153, i32 3
  %164 = load i32, ptr %163, align 8, !tbaa !12
  %165 = add i32 %164, %.282116
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %166 = load i32, ptr %2, align 4, !tbaa !5
  %167 = zext i32 %166 to i64
  %168 = icmp ult i64 %indvars.iv.next154, %167
  br i1 %168, label %147, label %._crit_edge120, !llvm.loop !28

._crit_edge120:                                   ; preds = %160, %._crit_edge115
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31)
  %170 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35)
  ret void
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #4

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !9, i64 260}
!6 = !{!"autoscript_s", !7, i64 0, !7, i64 256, !9, i64 260, !10, i64 264}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!6, !10, i64 264}
!12 = !{!13, !9, i64 520}
!13 = !{!"package_s", !7, i64 0, !7, i64 256, !10, i64 512, !9, i64 520}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !17, !16}
!19 = !{!6, !7, i64 256}
!20 = !{!13, !10, i64 512}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


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