; LLVM IR from STMicroelectronics/STMems_Machine_Learning_Core :: application_examples/iis2iclx/tilt_angle_dual_plane/angle_customization_script (main)

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

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [148 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@stderr = external global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca float, align 4
  %13 = alloca [64 x i8], align 16
  %14 = alloca [1024 x i8], align 16
  %15 = alloca [512 x i8], align 16
  %16 = alloca [255 x float], align 16
  %17 = alloca [255 x i8], align 16
  %18 = alloca [75 x i8], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #8
  store i16 0, ptr %7, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 1024, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 512, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 1020, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 255, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 75, ptr %18) #8
  store i8 20, ptr %11, align 1, !tbaa !13
  %19 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 64, i1 false)
  %20 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  %21 = call ptr @strcpy(ptr noundef %20, ptr noundef @.str) #8
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load ptr, ptr %5, align 8, !tbaa !9
  %24 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  call void @process_args(i32 noundef %22, ptr noundef %23, ptr noundef %11, ptr noundef %24)
  %25 = load i8, ptr %11, align 1, !tbaa !13
  %26 = uitofp i8 %25 to float
  %27 = fmul float 2.000000e+00, %26
  %28 = fdiv float %27, 2.540000e+02
  store float %28, ptr %12, align 4, !tbaa !14
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 255)
  %30 = load i8, ptr %11, align 1, !tbaa !13
  %31 = zext i8 %30 to i32
  %32 = load i8, ptr %11, align 1, !tbaa !13
  %33 = zext i8 %32 to i32
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %33)
  %35 = load float, ptr %12, align 4, !tbaa !14
  %36 = fpext float %35 to double
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %36)
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6)
  store i8 0, ptr %9, align 1, !tbaa !13
  br label %39

39:                                               ; preds = %69, %2
  %40 = load i8, ptr %9, align 1, !tbaa !13
  %41 = zext i8 %40 to i32
  %42 = icmp slt i32 %41, 255
  br i1 %42, label %43, label %72

43:                                               ; preds = %39
  %44 = load i8, ptr %11, align 1, !tbaa !13
  %45 = zext i8 %44 to i32
  %46 = sitofp i32 %45 to float
  %47 = load float, ptr %12, align 4, !tbaa !14
  %48 = fdiv float %47, 2.000000e+00
  %49 = fsub float %46, %48
  %50 = fneg float %49
  %51 = load float, ptr %12, align 4, !tbaa !14
  %52 = load i8, ptr %9, align 1, !tbaa !13
  %53 = zext i8 %52 to i32
  %54 = sitofp i32 %53 to float
  %55 = call float @llvm.fmuladd.f32(float %51, float %54, float %50)
  %56 = fmul float %55, 0x3F91DF46A0000000
  %57 = call float @sinf(float noundef %56) #8
  %58 = fmul float %57, 4.000000e+00
  %59 = load i8, ptr %9, align 1, !tbaa !13
  %60 = zext i8 %59 to i64
  %61 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 %60
  store float %58, ptr %61, align 4, !tbaa !14
  %62 = load i8, ptr %9, align 1, !tbaa !13
  %63 = zext i8 %62 to i32
  %64 = add nsw i32 -127, %63
  %65 = trunc i32 %64 to i8
  %66 = load i8, ptr %9, align 1, !tbaa !13
  %67 = zext i8 %66 to i64
  %68 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %67
  store i8 %65, ptr %68, align 1, !tbaa !13
  br label %69

69:                                               ; preds = %43
  %70 = load i8, ptr %9, align 1, !tbaa !13
  %71 = add i8 %70, 1
  store i8 %71, ptr %9, align 1, !tbaa !13
  br label %39, !llvm.loop !16

72:                                               ; preds = %39
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i8 127, ptr %9, align 1, !tbaa !13
  br label %74

74:                                               ; preds = %85, %72
  %75 = load i8, ptr %9, align 1, !tbaa !13
  %76 = zext i8 %75 to i32
  %77 = icmp slt i32 %76, 255
  br i1 %77, label %78, label %88

78:                                               ; preds = %74
  %79 = load i8, ptr %9, align 1, !tbaa !13
  %80 = zext i8 %79 to i64
  %81 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !13
  %83 = zext i8 %82 to i32
  %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %83)
  br label %85

85:                                               ; preds = %78
  %86 = load i8, ptr %9, align 1, !tbaa !13
  %87 = add i8 %86, 1
  store i8 %87, ptr %9, align 1, !tbaa !13
  br label %74, !llvm.loop !18

88:                                               ; preds = %74
  store i8 0, ptr %9, align 1, !tbaa !13
  br label %89

89:                                               ; preds = %95, %88
  %90 = load i8, ptr %9, align 1, !tbaa !13
  %91 = zext i8 %90 to i32
  %92 = icmp slt i32 %91, 1
  br i1 %92, label %93, label %98

93:                                               ; preds = %89
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %95

95:                                               ; preds = %93
  %96 = load i8, ptr %9, align 1, !tbaa !13
  %97 = add i8 %96, 1
  store i8 %97, ptr %9, align 1, !tbaa !13
  br label %89, !llvm.loop !19

98:                                               ; preds = %89
  store i8 0, ptr %9, align 1, !tbaa !13
  br label %99

99:                                               ; preds = %122, %98
  %100 = load i8, ptr %9, align 1, !tbaa !13
  %101 = zext i8 %100 to i32
  %102 = icmp slt i32 %101, 127
  br i1 %102, label %103, label %125

103:                                              ; preds = %99
  %104 = load i8, ptr %9, align 1, !tbaa !13
  %105 = zext i8 %104 to i32
  %106 = icmp slt i32 %105, 126
  br i1 %106, label %107, label %114

107:                                              ; preds = %103
  %108 = load i8, ptr %9, align 1, !tbaa !13
  %109 = zext i8 %108 to i64
  %110 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !13
  %112 = zext i8 %111 to i32
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %112)
  br label %121

114:                                              ; preds = %103
  %115 = load i8, ptr %9, align 1, !tbaa !13
  %116 = zext i8 %115 to i64
  %117 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !13
  %119 = zext i8 %118 to i32
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %119)
  br label %121

121:                                              ; preds = %114, %107
  br label %122

122:                                              ; preds = %121
  %123 = load i8, ptr %9, align 1, !tbaa !13
  %124 = add i8 %123, 1
  store i8 %124, ptr %9, align 1, !tbaa !13
  br label %99, !llvm.loop !20

125:                                              ; preds = %99
  %126 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %127 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  %128 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %126, ptr noundef @.str.11, ptr noundef %127) #8
  %129 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %130 = call i32 @mkdir(ptr noundef %129, i32 noundef 509) #8
  store i32 %130, ptr %8, align 4, !tbaa !5
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %140

133:                                              ; preds = %125
  %134 = call ptr @__errno_location() #9
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = icmp ne i32 %135, 17
  br i1 %136, label %137, label %140

137:                                              ; preds = %133
  %138 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %138)
  call void @exit(i32 noundef 1) #10
  unreachable

140:                                              ; preds = %133, %125
  store i8 0, ptr %9, align 1, !tbaa !13
  br label %141

141:                                              ; preds = %299, %140
  %142 = load i8, ptr %9, align 1, !tbaa !13
  %143 = zext i8 %142 to i32
  %144 = icmp slt i32 %143, 2
  br i1 %144, label %145, label %302

145:                                              ; preds = %141
  %146 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %147 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  %148 = load i8, ptr %9, align 1, !tbaa !13
  %149 = zext i8 %148 to i32
  %150 = add nsw i32 %149, 1
  %151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %146, ptr noundef @.str.13, ptr noundef %147, i32 noundef %150) #8
  %152 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %152)
  %154 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %155 = call noalias ptr @fopen(ptr noundef %154, ptr noundef @.str.15)
  store ptr %155, ptr %6, align 8, !tbaa !9
  %156 = load ptr, ptr %6, align 8, !tbaa !9
  %157 = icmp eq ptr %156, null
  br i1 %157, label %158, label %161

158:                                              ; preds = %145
  %159 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %159)
  call void @exit(i32 noundef 1) #10
  unreachable

161:                                              ; preds = %145
  %162 = load i8, ptr %9, align 1, !tbaa !13
  %163 = zext i8 %162 to i32
  %164 = icmp eq i32 %163, 0
  br i1 %164, label %165, label %168

165:                                              ; preds = %161
  %166 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %167 = call ptr @strcpy(ptr noundef %166, ptr noundef @.str.5) #8
  br label %171

168:                                              ; preds = %161
  %169 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %170 = call ptr @strcpy(ptr noundef %169, ptr noundef @.str.6) #8
  br label %171

171:                                              ; preds = %168, %165
  %172 = load ptr, ptr %6, align 8, !tbaa !9
  %173 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %174 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 0
  %175 = load float, ptr %174, align 16, !tbaa !14
  %176 = fpext float %175 to double
  %177 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 0
  %178 = load i8, ptr %177, align 16, !tbaa !13
  %179 = zext i8 %178 to i32
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.17, ptr noundef %173, double noundef %176, i32 noundef %179) #8
  %181 = load ptr, ptr %6, align 8, !tbaa !9
  %182 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %183 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 0
  %184 = load float, ptr %183, align 16, !tbaa !14
  %185 = fpext float %184 to double
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.18, ptr noundef %182, double noundef %185) #8
  store i16 1, ptr %7, align 2, !tbaa !11
  br label %187

187:                                              ; preds = %277, %171
  %188 = load i16, ptr %7, align 2, !tbaa !11
  %189 = zext i16 %188 to i32
  %190 = icmp sle i32 %189, 253
  br i1 %190, label %191, label %280

191:                                              ; preds = %187
  %192 = load i16, ptr %7, align 2, !tbaa !11
  %193 = zext i16 %192 to i32
  %194 = icmp sgt i32 %193, 256
  br i1 %194, label %195, label %198

195:                                              ; preds = %191
  %196 = load ptr, ptr @stderr, align 8, !tbaa !9
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.19) #8
  call void @exit(i32 noundef 1) #10
  unreachable

198:                                              ; preds = %191
  store i8 0, ptr %10, align 1, !tbaa !13
  br label %199

199:                                              ; preds = %273, %198
  %200 = load i8, ptr %10, align 1, !tbaa !13
  %201 = zext i8 %200 to i32
  %202 = icmp slt i32 %201, 2
  br i1 %202, label %203, label %276

203:                                              ; preds = %199
  %204 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %204, i8 0, i64 1024, i1 false)
  %205 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %205, i8 0, i64 512, i1 false)
  %206 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  %207 = load i16, ptr %7, align 2, !tbaa !11
  call void @indent(ptr noundef %206, i16 noundef zeroext %207)
  %208 = load i16, ptr %7, align 2, !tbaa !11
  %209 = zext i16 %208 to i32
  %210 = icmp sge i32 %209, 253
  br i1 %210, label %211, label %242

211:                                              ; preds = %203
  %212 = load ptr, ptr %6, align 8, !tbaa !9
  %213 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  %214 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %215 = load i16, ptr %7, align 2, !tbaa !11
  %216 = zext i16 %215 to i64
  %217 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 %216
  %218 = load float, ptr %217, align 4, !tbaa !14
  %219 = fpext float %218 to double
  %220 = load i16, ptr %7, align 2, !tbaa !11
  %221 = zext i16 %220 to i64
  %222 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %221
  %223 = load i8, ptr %222, align 1, !tbaa !13
  %224 = zext i8 %223 to i32
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.20, ptr noundef %213, ptr noundef %214, double noundef %219, i32 noundef %224) #8
  %226 = load ptr, ptr %6, align 8, !tbaa !9
  %227 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  %228 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %229 = load i16, ptr %7, align 2, !tbaa !11
  %230 = zext i16 %229 to i64
  %231 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 %230
  %232 = load float, ptr %231, align 4, !tbaa !14
  %233 = fpext float %232 to double
  %234 = load i16, ptr %7, align 2, !tbaa !11
  %235 = zext i16 %234 to i32
  %236 = add nsw i32 %235, 1
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %237
  %239 = load i8, ptr %238, align 1, !tbaa !13
  %240 = zext i8 %239 to i32
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.21, ptr noundef %227, ptr noundef %228, double noundef %233, i32 noundef %240) #8
  br label %276

242:                                              ; preds = %203
  %243 = load i8, ptr %10, align 1, !tbaa !13
  %244 = zext i8 %243 to i32
  %245 = icmp eq i32 %244, 0
  br i1 %245, label %246, label %261

246:                                              ; preds = %242
  %247 = load ptr, ptr %6, align 8, !tbaa !9
  %248 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  %249 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %250 = load i16, ptr %7, align 2, !tbaa !11
  %251 = zext i16 %250 to i64
  %252 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 %251
  %253 = load float, ptr %252, align 4, !tbaa !14
  %254 = fpext float %253 to double
  %255 = load i16, ptr %7, align 2, !tbaa !11
  %256 = zext i16 %255 to i64
  %257 = getelementptr inbounds [255 x i8], ptr %17, i64 0, i64 %256
  %258 = load i8, ptr %257, align 1, !tbaa !13
  %259 = zext i8 %258 to i32
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.20, ptr noundef %248, ptr noundef %249, double noundef %254, i32 noundef %259) #8
  br label %271

261:                                              ; preds = %242
  %262 = load ptr, ptr %6, align 8, !tbaa !9
  %263 = getelementptr inbounds [512 x i8], ptr %15, i64 0, i64 0
  %264 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %265 = load i16, ptr %7, align 2, !tbaa !11
  %266 = zext i16 %265 to i64
  %267 = getelementptr inbounds [255 x float], ptr %16, i64 0, i64 %266
  %268 = load float, ptr %267, align 4, !tbaa !14
  %269 = fpext float %268 to double
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.22, ptr noundef %263, ptr noundef %264, double noundef %269) #8
  br label %271

271:                                              ; preds = %261, %246
  br label %272

272:                                              ; preds = %271
  br label %273

273:                                              ; preds = %272
  %274 = load i8, ptr %10, align 1, !tbaa !13
  %275 = add i8 %274, 1
  store i8 %275, ptr %10, align 1, !tbaa !13
  br label %199, !llvm.loop !21

276:                                              ; preds = %211, %199
  br label %277

277:                                              ; preds = %276
  %278 = load i16, ptr %7, align 2, !tbaa !11
  %279 = add i16 %278, 1
  store i16 %279, ptr %7, align 2, !tbaa !11
  br label %187, !llvm.loop !22

280:                                              ; preds = %187
  %281 = load ptr, ptr %6, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.23, i32 noundef 255) #8
  %283 = load ptr, ptr %6, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.24, i32 noundef 509) #8
  %285 = load i8, ptr %9, align 1, !tbaa !13
  %286 = zext i8 %285 to i32
  %287 = add nsw i32 %286, 1
  %288 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %287)
  %289 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %290 = getelementptr inbounds [64 x i8], ptr %13, i64 0, i64 0
  %291 = load i8, ptr %9, align 1, !tbaa !13
  %292 = zext i8 %291 to i32
  %293 = add nsw i32 %292, 1
  %294 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %289, ptr noundef @.str.13, ptr noundef %290, i32 noundef %293) #8
  %295 = getelementptr inbounds [75 x i8], ptr %18, i64 0, i64 0
  %296 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef %295)
  %297 = load ptr, ptr %6, align 8, !tbaa !9
  %298 = call i32 @fclose(ptr noundef %297)
  br label %299

299:                                              ; preds = %280
  %300 = load i8, ptr %9, align 1, !tbaa !13
  %301 = add i8 %300, 1
  store i8 %301, ptr %9, align 1, !tbaa !13
  br label %141, !llvm.loop !23

302:                                              ; preds = %141
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  call void @exit(i32 noundef 0) #10
  unreachable
}

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

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

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

; Function Attrs: nounwind
declare float @sinf(float noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind
declare i32 @mkdir(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #6

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare hidden void @indent(ptr noundef, i16 noundef zeroext) #0

declare i32 @fclose(ptr noundef) #4

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: write) }
attributes #3 = { 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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind willreturn memory(none) "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 = { 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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(none) }
attributes #10 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !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"

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [148 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i8, align 1
  %4 = alloca [64 x i8], align 16
  %5 = alloca [512 x i8], align 16
  %6 = alloca [255 x float], align 16
  %7 = alloca [255 x i8], align 16
  %8 = alloca [75 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #10
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 1020, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 75, ptr nonnull %8) #10
  store i8 20, ptr %3, align 1, !tbaa !5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %4, i8 0, i64 64, i1 false)
  %9 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str) #10
  call void @process_args(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %10 = load i8, ptr %3, align 1, !tbaa !5
  %11 = uitofp i8 %10 to float
  %12 = fmul float %11, 2.000000e+00
  %13 = fdiv float %12, 2.540000e+02
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 255)
  %15 = load i8, ptr %3, align 1, !tbaa !5
  %16 = zext i8 %15 to i32
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %16, i32 noundef %16)
  %18 = fpext float %13 to double
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, double noundef %18)
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6)
  %21 = fmul float %13, 5.000000e-01
  br label %22

22:                                               ; preds = %2, %22
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %22 ]
  %23 = load i8, ptr %3, align 1, !tbaa !5
  %24 = uitofp i8 %23 to float
  %25 = fsub float %24, %21
  %26 = fneg float %25
  %27 = trunc nuw i64 %indvars.iv to i8
  %28 = uitofp i8 %27 to float
  %29 = call float @llvm.fmuladd.f32(float %13, float %28, float %26)
  %30 = fmul float %29, 0x3F91DF46A0000000
  %31 = call float @sinf(float noundef %30) #10
  %32 = fmul float %31, 4.000000e+00
  %33 = getelementptr inbounds [255 x float], ptr %6, i64 0, i64 %indvars.iv
  store float %32, ptr %33, align 4, !tbaa !8
  %34 = add i8 %27, -127
  %35 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 %indvars.iv
  store i8 %34, ptr %35, align 1, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not = icmp eq i64 %indvars.iv.next, 255
  br i1 %.not, label %36, label %22, !llvm.loop !10

36:                                               ; preds = %22
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %38

38:                                               ; preds = %36, %38
  %indvars.iv71 = phi i64 [ 127, %36 ], [ %indvars.iv.next72, %38 ]
  %39 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 %indvars.iv71
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = zext i8 %40 to i32
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %41)
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %.not60 = icmp eq i64 %indvars.iv.next72, 255
  br i1 %.not60, label %.critedge, label %38, !llvm.loop !12

.critedge:                                        ; preds = %38
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %44

44:                                               ; preds = %47, %.critedge
  %indvars.iv74 = phi i64 [ %indvars.iv.next75, %47 ], [ 0, %.critedge ]
  %45 = trunc nuw nsw i64 %indvars.iv74 to i8
  switch i8 %45, label %47 [
    i8 127, label %52
    i8 126, label %46
  ]

46:                                               ; preds = %44
  br label %47

47:                                               ; preds = %44, %46
  %.str.8.sink = phi ptr [ @.str.10, %46 ], [ @.str.8, %44 ]
  %48 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 %indvars.iv74
  %49 = load i8, ptr %48, align 1, !tbaa !5
  %50 = zext i8 %49 to i32
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.8.sink, i32 noundef %50)
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  br label %44, !llvm.loop !13

52:                                               ; preds = %44
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %4) #10
  %54 = call i32 @mkdir(ptr noundef nonnull %8, i32 noundef 509) #10
  %.not61 = icmp eq i32 %54, 0
  br i1 %.not61, label %60, label %55

55:                                               ; preds = %52
  %56 = tail call ptr @__errno_location() #11
  %57 = load i32, ptr %56, align 4, !tbaa !14
  %.not62 = icmp eq i32 %57, 17
  br i1 %.not62, label %60, label %58

58:                                               ; preds = %55
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull %4)
  call void @exit(i32 noundef 1) #12
  unreachable

60:                                               ; preds = %55, %52
  %61 = load float, ptr %6, align 16
  %62 = fpext float %61 to double
  %63 = load i8, ptr %7, align 16
  %64 = zext i8 %63 to i32
  %65 = getelementptr inbounds i8, ptr %7, i64 254
  %66 = load i8, ptr %65, align 2
  %67 = zext i8 %66 to i32
  %68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %4, i32 noundef 1) #10
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull %8)
  %70 = call noalias ptr @fopen(ptr noundef nonnull %8, ptr noundef nonnull @.str.15)
  %71 = icmp eq ptr %70, null
  br i1 %71, label %72, label %74

72:                                               ; preds = %89, %60
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, ptr noundef nonnull %8)
  call void @exit(i32 noundef 1) #12
  unreachable

74:                                               ; preds = %60
  %75 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.5) #10
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.17, ptr noundef nonnull %8, double noundef %62, i32 noundef %64) #10
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.18, ptr noundef nonnull %8, double noundef %62) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  br label %.loopexit

.loopexit:                                        ; preds = %74, %.loopexit
  %indvars.iv7789 = phi i64 [ 1, %74 ], [ %indvars.iv.next78, %.loopexit ]
  %78 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 %indvars.iv7789
  %79 = getelementptr inbounds [255 x float], ptr %6, i64 0, i64 %indvars.iv7789
  %80 = trunc nuw nsw i64 %indvars.iv7789 to i16
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext %80)
  %81 = load float, ptr %79, align 4, !tbaa !8
  %82 = fpext float %81 to double
  %83 = load i8, ptr %78, align 1, !tbaa !5
  %84 = zext i8 %83 to i32
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.20, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %82, i32 noundef %84) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext %80)
  %86 = fpext float %81 to double
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.22, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %86) #10
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv7789, 1
  %88 = icmp eq i64 %indvars.iv.next78, 253
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  br i1 %88, label %89, label %.loopexit

89:                                               ; preds = %.loopexit
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext 253)
  %90 = getelementptr inbounds i8, ptr %6, i64 1012
  %91 = load float, ptr %90, align 4, !tbaa !8
  %92 = fpext float %91 to double
  %93 = getelementptr inbounds i8, ptr %7, i64 253
  %94 = load i8, ptr %93, align 1, !tbaa !5
  %95 = zext i8 %94 to i32
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.20, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %92, i32 noundef %95) #10
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.21, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %92, i32 noundef %67) #10
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.23, i32 noundef 255) #10
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %70, ptr noundef nonnull @.str.24, i32 noundef 509) #10
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25, i32 noundef 1)
  %101 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %4, i32 noundef 1) #10
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef nonnull %8)
  %103 = call i32 @fclose(ptr noundef nonnull %70)
  %104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %4, i32 noundef 2) #10
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull %8)
  %106 = call noalias ptr @fopen(ptr noundef nonnull %8, ptr noundef nonnull @.str.15)
  %107 = icmp eq ptr %106, null
  br i1 %107, label %72, label %108

108:                                              ; preds = %89
  %109 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.6) #10
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.17, ptr noundef nonnull %8, double noundef %62, i32 noundef %64) #10
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.18, ptr noundef nonnull %8, double noundef %62) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  br label %.loopexit.1

.loopexit.1:                                      ; preds = %108, %.loopexit.1
  %indvars.iv77.190 = phi i64 [ 1, %108 ], [ %indvars.iv.next78.1, %.loopexit.1 ]
  %112 = getelementptr inbounds [255 x i8], ptr %7, i64 0, i64 %indvars.iv77.190
  %113 = getelementptr inbounds [255 x float], ptr %6, i64 0, i64 %indvars.iv77.190
  %114 = trunc nuw nsw i64 %indvars.iv77.190 to i16
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext %114)
  %115 = load float, ptr %113, align 4, !tbaa !8
  %116 = fpext float %115 to double
  %117 = load i8, ptr %112, align 1, !tbaa !5
  %118 = zext i8 %117 to i32
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.20, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %116, i32 noundef %118) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext %114)
  %120 = fpext float %115 to double
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.22, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %120) #10
  %indvars.iv.next78.1 = add nuw nsw i64 %indvars.iv77.190, 1
  %122 = icmp eq i64 %indvars.iv.next78.1, 253
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  br i1 %122, label %123, label %.loopexit.1

123:                                              ; preds = %.loopexit.1
  call void @indent(ptr noundef nonnull %5, i16 noundef zeroext 253)
  %124 = getelementptr inbounds i8, ptr %6, i64 1012
  %125 = load float, ptr %124, align 4, !tbaa !8
  %126 = fpext float %125 to double
  %127 = getelementptr inbounds i8, ptr %7, i64 253
  %128 = load i8, ptr %127, align 1, !tbaa !5
  %129 = zext i8 %128 to i32
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.20, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %126, i32 noundef %129) #10
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.21, ptr noundef nonnull %5, ptr noundef nonnull %8, double noundef %126, i32 noundef %67) #10
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.23, i32 noundef 255) #10
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %106, ptr noundef nonnull @.str.24, i32 noundef 509) #10
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25, i32 noundef 2)
  %135 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %4, i32 noundef 2) #10
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef nonnull %8)
  %137 = call i32 @fclose(ptr noundef nonnull %106)
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27)
  call void @exit(i32 noundef 0) #12
  unreachable
}

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @process_args(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sinf(float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

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

; Function Attrs: nofree nounwind
declare noundef i32 @mkdir(ptr nocapture noundef readonly, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #8

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

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

; Function Attrs: nounwind uwtable
declare hidden void @indent(ptr noundef, i16 noundef zeroext) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5

attributes #0 = { noreturn 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: write) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 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 #5 = { 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 #6 = { mustprogress nofree nounwind willreturn memory(write) "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #9 = { 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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(none) }
attributes #12 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !6, i64 0}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass