; LLVM IR from jgaeddert/liquid-dsp :: examples (packetizer_example)

; 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.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

declare i32 @printf(ptr noundef, ...) #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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  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 4, ptr %6) #8
  store i32 8, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 6, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 4, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  br label %23

23:                                               ; preds = %70, %2
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str.6) #8
  store i32 %26, ptr %10, align 4, !tbaa !5
  %27 = icmp ne i32 %26, -1
  br i1 %27, label %28, label %71

28:                                               ; preds = %23
  %29 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %29, label %69 [
    i32 104, label %30
    i32 117, label %30
    i32 110, label %31
    i32 118, label %39
    i32 99, label %49
    i32 107, label %59
  ]

30:                                               ; preds = %28, %28
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %277

31:                                               ; preds = %28
  %32 = load ptr, ptr @optarg, align 8, !tbaa !9
  %33 = call i32 @atoi(ptr noundef %32) #9
  store i32 %33, ptr %6, align 4, !tbaa !5
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = icmp ult i32 %34, 1
  br i1 %35, label %36, label %38

36:                                               ; preds = %31
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  call void @usage()
  call void @exit(i32 noundef -1) #10
  unreachable

38:                                               ; preds = %31
  br label %70

39:                                               ; preds = %28
  %40 = load ptr, ptr @optarg, align 8, !tbaa !9
  %41 = call i32 @liquid_getopt_str2crc(ptr noundef %40)
  store i32 %41, ptr %7, align 4, !tbaa !5
  %42 = load i32, ptr %7, align 4, !tbaa !5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %48

44:                                               ; preds = %39
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = load ptr, ptr @optarg, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.8, ptr noundef %46) #8
  call void @exit(i32 noundef 1) #10
  unreachable

48:                                               ; preds = %39
  br label %70

49:                                               ; preds = %28
  %50 = load ptr, ptr @optarg, align 8, !tbaa !9
  %51 = call i32 @liquid_getopt_str2fec(ptr noundef %50)
  store i32 %51, ptr %8, align 4, !tbaa !5
  %52 = load i32, ptr %8, align 4, !tbaa !5
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %58

54:                                               ; preds = %49
  %55 = load ptr, ptr @stderr, align 8, !tbaa !9
  %56 = load ptr, ptr @optarg, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.9, ptr noundef %56) #8
  call void @exit(i32 noundef 1) #10
  unreachable

58:                                               ; preds = %49
  br label %70

59:                                               ; preds = %28
  %60 = load ptr, ptr @optarg, align 8, !tbaa !9
  %61 = call i32 @liquid_getopt_str2fec(ptr noundef %60)
  store i32 %61, ptr %9, align 4, !tbaa !5
  %62 = load i32, ptr %9, align 4, !tbaa !5
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %68

64:                                               ; preds = %59
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = load ptr, ptr @optarg, align 8, !tbaa !9
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.10, ptr noundef %66) #8
  call void @exit(i32 noundef 1) #10
  unreachable

68:                                               ; preds = %59
  br label %70

69:                                               ; preds = %28
  call void @exit(i32 noundef 1) #10
  unreachable

70:                                               ; preds = %68, %58, %48, %38
  br label %23, !llvm.loop !11

71:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = load i32, ptr %9, align 4, !tbaa !5
  %76 = call i32 @packetizer_compute_enc_msg_len(i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75)
  store i32 %76, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = load i32, ptr %8, align 4, !tbaa !5
  %80 = load i32, ptr %9, align 4, !tbaa !5
  %81 = call ptr @packetizer_create(i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80)
  store ptr %81, ptr %14, align 8, !tbaa !9
  %82 = load ptr, ptr %14, align 8, !tbaa !9
  %83 = call i32 @packetizer_print(ptr noundef %82)
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = zext i32 %84 to i64
  %86 = call ptr @llvm.stacksave.p0()
  store ptr %86, ptr %15, align 8
  %87 = alloca i8, i64 %85, align 16
  store i64 %85, ptr %16, align 8
  %88 = load i32, ptr %13, align 4, !tbaa !5
  %89 = zext i32 %88 to i64
  %90 = alloca i8, i64 %89, align 16
  store i64 %89, ptr %17, align 8
  %91 = load i32, ptr %13, align 4, !tbaa !5
  %92 = zext i32 %91 to i64
  %93 = alloca i8, i64 %92, align 16
  store i64 %92, ptr %18, align 8
  %94 = load i32, ptr %6, align 4, !tbaa !5
  %95 = zext i32 %94 to i64
  %96 = alloca i8, i64 %95, align 16
  store i64 %95, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %108, %71
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = load i32, ptr %6, align 4, !tbaa !5
  %100 = icmp ult i32 %98, %99
  br i1 %100, label %101, label %111

101:                                              ; preds = %97
  %102 = call i32 @rand() #8
  %103 = srem i32 %102, 256
  %104 = trunc i32 %103 to i8
  %105 = load i32, ptr %12, align 4, !tbaa !5
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds i8, ptr %87, i64 %106
  store i8 %104, ptr %107, align 1, !tbaa !13
  br label %108

108:                                              ; preds = %101
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = add i32 %109, 1
  store i32 %110, ptr %12, align 4, !tbaa !5
  br label %97, !llvm.loop !14

111:                                              ; preds = %97
  %112 = load ptr, ptr %14, align 8, !tbaa !9
  %113 = call i32 @packetizer_encode(ptr noundef %112, ptr noundef %87, ptr noundef %90)
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = mul i64 %115, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %93, ptr align 16 %90, i64 %116, i1 false)
  %117 = getelementptr inbounds i8, ptr %93, i64 0
  %118 = load i8, ptr %117, align 16, !tbaa !13
  %119 = zext i8 %118 to i32
  %120 = xor i32 %119, 1
  %121 = trunc i32 %120 to i8
  store i8 %121, ptr %117, align 16, !tbaa !13
  %122 = load ptr, ptr %14, align 8, !tbaa !9
  %123 = call i32 @packetizer_decode(ptr noundef %122, ptr noundef %93, ptr noundef %96)
  store i32 %123, ptr %20, align 4, !tbaa !5
  %124 = load ptr, ptr %14, align 8, !tbaa !9
  %125 = call i32 @packetizer_destroy(ptr noundef %124)
  %126 = load i32, ptr %6, align 4, !tbaa !5
  %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %126)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %139, %111
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = icmp ult i32 %129, %130
  br i1 %131, label %132, label %142

132:                                              ; preds = %128
  %133 = load i32, ptr %12, align 4, !tbaa !5
  %134 = zext i32 %133 to i64
  %135 = getelementptr inbounds i8, ptr %87, i64 %134
  %136 = load i8, ptr %135, align 1, !tbaa !13
  %137 = zext i8 %136 to i32
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %137)
  br label %139

139:                                              ; preds = %132
  %140 = load i32, ptr %12, align 4, !tbaa !5
  %141 = add i32 %140, 1
  store i32 %141, ptr %12, align 4, !tbaa !5
  br label %128, !llvm.loop !15

142:                                              ; preds = %128
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %144 = load i32, ptr %13, align 4, !tbaa !5
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %144)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %146

146:                                              ; preds = %157, %142
  %147 = load i32, ptr %12, align 4, !tbaa !5
  %148 = load i32, ptr %13, align 4, !tbaa !5
  %149 = icmp ult i32 %147, %148
  br i1 %149, label %150, label %160

150:                                              ; preds = %146
  %151 = load i32, ptr %12, align 4, !tbaa !5
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %90, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !13
  %155 = zext i8 %154 to i32
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %155)
  br label %157

157:                                              ; preds = %150
  %158 = load i32, ptr %12, align 4, !tbaa !5
  %159 = add i32 %158, 1
  store i32 %159, ptr %12, align 4, !tbaa !5
  br label %146, !llvm.loop !16

160:                                              ; preds = %146
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %162 = load i32, ptr %13, align 4, !tbaa !5
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %162)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %188, %160
  %165 = load i32, ptr %12, align 4, !tbaa !5
  %166 = load i32, ptr %13, align 4, !tbaa !5
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %168, label %191

168:                                              ; preds = %164
  %169 = load i32, ptr %12, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds i8, ptr %93, i64 %170
  %172 = load i8, ptr %171, align 1, !tbaa !13
  %173 = zext i8 %172 to i32
  %174 = load i32, ptr %12, align 4, !tbaa !5
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds i8, ptr %90, i64 %175
  %177 = load i8, ptr %176, align 1, !tbaa !13
  %178 = zext i8 %177 to i32
  %179 = icmp eq i32 %173, %178
  %180 = zext i1 %179 to i64
  %181 = select i1 %179, i32 32, i32 42
  %182 = load i32, ptr %12, align 4, !tbaa !5
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds i8, ptr %93, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !13
  %186 = zext i8 %185 to i32
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %181, i32 noundef %186)
  br label %188

188:                                              ; preds = %168
  %189 = load i32, ptr %12, align 4, !tbaa !5
  %190 = add i32 %189, 1
  store i32 %190, ptr %12, align 4, !tbaa !5
  br label %164, !llvm.loop !17

191:                                              ; preds = %164
  %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %193)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %219, %191
  %196 = load i32, ptr %12, align 4, !tbaa !5
  %197 = load i32, ptr %6, align 4, !tbaa !5
  %198 = icmp ult i32 %196, %197
  br i1 %198, label %199, label %222

199:                                              ; preds = %195
  %200 = load i32, ptr %12, align 4, !tbaa !5
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds i8, ptr %96, i64 %201
  %203 = load i8, ptr %202, align 1, !tbaa !13
  %204 = zext i8 %203 to i32
  %205 = load i32, ptr %12, align 4, !tbaa !5
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds i8, ptr %87, i64 %206
  %208 = load i8, ptr %207, align 1, !tbaa !13
  %209 = zext i8 %208 to i32
  %210 = icmp eq i32 %204, %209
  %211 = zext i1 %210 to i64
  %212 = select i1 %210, i32 32, i32 42
  %213 = load i32, ptr %12, align 4, !tbaa !5
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds i8, ptr %96, i64 %214
  %216 = load i8, ptr %215, align 1, !tbaa !13
  %217 = zext i8 %216 to i32
  %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %212, i32 noundef %217)
  br label %219

219:                                              ; preds = %199
  %220 = load i32, ptr %12, align 4, !tbaa !5
  %221 = add i32 %220, 1
  store i32 %221, ptr %12, align 4, !tbaa !5
  br label %195, !llvm.loop !18

222:                                              ; preds = %195
  %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %225

225:                                              ; preds = %258, %222
  %226 = load i32, ptr %12, align 4, !tbaa !5
  %227 = load i32, ptr %6, align 4, !tbaa !5
  %228 = icmp ult i32 %226, %227
  br i1 %228, label %229, label %261

229:                                              ; preds = %225
  %230 = load i32, ptr %12, align 4, !tbaa !5
  %231 = zext i32 %230 to i64
  %232 = getelementptr inbounds i8, ptr %87, i64 %231
  %233 = load i8, ptr %232, align 1, !tbaa !13
  %234 = zext i8 %233 to i32
  %235 = load i32, ptr %12, align 4, !tbaa !5
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds i8, ptr %96, i64 %236
  %238 = load i8, ptr %237, align 1, !tbaa !13
  %239 = zext i8 %238 to i32
  %240 = icmp eq i32 %234, %239
  %241 = zext i1 %240 to i64
  %242 = select i1 %240, i32 0, i32 1
  %243 = load i32, ptr %21, align 4, !tbaa !5
  %244 = add i32 %243, %242
  store i32 %244, ptr %21, align 4, !tbaa !5
  %245 = load i32, ptr %12, align 4, !tbaa !5
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds i8, ptr %87, i64 %246
  %248 = load i8, ptr %247, align 1, !tbaa !13
  %249 = zext i8 %248 to i32
  %250 = load i32, ptr %12, align 4, !tbaa !5
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds i8, ptr %96, i64 %251
  %253 = load i8, ptr %252, align 1, !tbaa !13
  %254 = zext i8 %253 to i32
  %255 = call i32 @count_bit_errors(i32 noundef %249, i32 noundef %254)
  %256 = load i32, ptr %22, align 4, !tbaa !5
  %257 = add i32 %256, %255
  store i32 %257, ptr %22, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %229
  %259 = load i32, ptr %12, align 4, !tbaa !5
  %260 = add i32 %259, 1
  store i32 %260, ptr %12, align 4, !tbaa !5
  br label %225, !llvm.loop !19

261:                                              ; preds = %225
  %262 = load i32, ptr %21, align 4, !tbaa !5
  %263 = load i32, ptr %6, align 4, !tbaa !5
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %262, i32 noundef %263)
  %265 = load i32, ptr %22, align 4, !tbaa !5
  %266 = load i32, ptr %6, align 4, !tbaa !5
  %267 = mul i32 %266, 8
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %265, i32 noundef %267)
  %269 = load i32, ptr %20, align 4, !tbaa !5
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %273

271:                                              ; preds = %261
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  br label %275

273:                                              ; preds = %261
  %274 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
  br label %275

275:                                              ; preds = %273, %271
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  %276 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %276)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %277

277:                                              ; preds = %275, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %278 = load i32, ptr %3, align 4
  ret i32 %278
}

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

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

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

declare i32 @liquid_getopt_str2crc(ptr noundef) #1

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

declare i32 @liquid_getopt_str2fec(ptr noundef) #1

declare i32 @packetizer_compute_enc_msg_len(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare ptr @packetizer_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i32 @packetizer_print(ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @rand() #3

declare i32 @packetizer_encode(ptr noundef, ptr noundef, ptr noundef) #1

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

declare i32 @packetizer_decode(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @packetizer_destroy(ptr noundef) #1

declare i32 @count_bit_errors(i32 noundef, i32 noundef) #1

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

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

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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint nounwind willreturn memory(read) 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 = { 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 #6 = { nocallback nofree nosync nounwind willreturn }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


; 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.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  br label %.outer

.outer:                                           ; preds = %28, %2
  %.074.ph = phi i32 [ %30, %28 ], [ 1, %2 ]
  %.072.ph = phi i32 [ %.072.ph241, %28 ], [ 4, %2 ]
  %.070.ph = phi i32 [ %.070.ph245, %28 ], [ 6, %2 ]
  %.069.ph = phi i32 [ %.069, %28 ], [ 8, %2 ]
  br label %.outer240

.outer240:                                        ; preds = %.outer, %20
  %.072.ph241 = phi i32 [ %.072.ph, %.outer ], [ %22, %20 ]
  %.070.ph242 = phi i32 [ %.070.ph, %.outer ], [ %.070.ph245, %20 ]
  %.069.ph243 = phi i32 [ %.069.ph, %.outer ], [ %.069, %20 ]
  br label %.outer244

.outer244:                                        ; preds = %.outer240, %12
  %.070.ph245 = phi i32 [ %.070.ph242, %.outer240 ], [ %14, %12 ]
  %.069.ph246 = phi i32 [ %.069.ph243, %.outer240 ], [ %.069, %12 ]
  br label %3

3:                                                ; preds = %.outer244, %6
  %.069 = phi i32 [ %8, %6 ], [ %.069.ph246, %.outer244 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #8
  switch i32 %4, label %36 [
    i32 -1, label %.lr.ph.preheader
    i32 104, label %5
    i32 117, label %5
    i32 110, label %6
    i32 118, label %12
    i32 99, label %20
    i32 107, label %28
  ]

5:                                                ; preds = %3, %3
  tail call void @usage()
  br label %105

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call i32 @atoi(ptr nocapture noundef %7) #9
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %10, label %3, !llvm.loop !9

10:                                               ; preds = %6
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  tail call void @usage()
  tail call void @exit(i32 noundef -1) #10
  unreachable

12:                                               ; preds = %3
  %13 = load ptr, ptr @optarg, align 8, !tbaa !5
  %14 = tail call i32 @liquid_getopt_str2crc(ptr noundef %13) #8
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %.outer244, !llvm.loop !9

16:                                               ; preds = %12
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = load ptr, ptr @optarg, align 8, !tbaa !5
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str.8, ptr noundef %18) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

20:                                               ; preds = %3
  %21 = load ptr, ptr @optarg, align 8, !tbaa !5
  %22 = tail call i32 @liquid_getopt_str2fec(ptr noundef %21) #8
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %.outer240, !llvm.loop !9

24:                                               ; preds = %20
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = load ptr, ptr @optarg, align 8, !tbaa !5
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.9, ptr noundef %26) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

28:                                               ; preds = %3
  %29 = load ptr, ptr @optarg, align 8, !tbaa !5
  %30 = tail call i32 @liquid_getopt_str2fec(ptr noundef %29) #8
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %.outer, !llvm.loop !9

32:                                               ; preds = %28
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = load ptr, ptr @optarg, align 8, !tbaa !5
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.10, ptr noundef %34) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

36:                                               ; preds = %3
  tail call void @exit(i32 noundef 1) #10
  unreachable

.lr.ph.preheader:                                 ; preds = %3
  %37 = tail call i32 @packetizer_compute_enc_msg_len(i32 noundef %.069, i32 noundef %.070.ph245, i32 noundef %.072.ph241, i32 noundef %.074.ph) #8
  %38 = tail call ptr @packetizer_create(i32 noundef %.069, i32 noundef %.070.ph245, i32 noundef %.072.ph241, i32 noundef %.074.ph) #8
  %39 = tail call i32 @packetizer_print(ptr noundef %38) #8
  %40 = zext i32 %.069 to i64
  %41 = tail call ptr @llvm.stacksave.p0()
  %42 = alloca i8, i64 %40, align 16
  %43 = zext i32 %37 to i64
  %44 = alloca i8, i64 %43, align 16
  %45 = alloca i8, i64 %43, align 16
  %46 = alloca i8, i64 %40, align 16
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %47 = tail call i32 @rand() #8
  %48 = trunc i32 %47 to i8
  %49 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv
  store i8 %48, ptr %49, align 1, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %40
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph
  %50 = call i32 @packetizer_encode(ptr noundef %38, ptr noundef nonnull %42, ptr noundef nonnull %44) #8
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %45, ptr nonnull align 16 %44, i64 %43, i1 false)
  %51 = load i8, ptr %45, align 16, !tbaa !11
  %52 = xor i8 %51, 1
  store i8 %52, ptr %45, align 16, !tbaa !11
  %53 = call i32 @packetizer_decode(ptr noundef %38, ptr noundef nonnull %45, ptr noundef nonnull %46) #8
  %54 = call i32 @packetizer_destroy(ptr noundef %38) #8
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %.069)
  br label %.lr.ph112

.lr.ph112:                                        ; preds = %._crit_edge, %.lr.ph112
  %indvars.iv164 = phi i64 [ %indvars.iv.next165, %.lr.ph112 ], [ 0, %._crit_edge ]
  %56 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv164
  %57 = load i8, ptr %56, align 1, !tbaa !11
  %58 = zext i8 %57 to i32
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %58)
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %exitcond168.not = icmp eq i64 %indvars.iv.next165, %40
  br i1 %exitcond168.not, label %._crit_edge113, label %.lr.ph112, !llvm.loop !13

._crit_edge113:                                   ; preds = %.lr.ph112
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %37)
  %.not134 = icmp eq i32 %37, 0
  br i1 %.not134, label %._crit_edge121.critedge, label %.lr.ph116

.lr.ph116:                                        ; preds = %._crit_edge113, %.lr.ph116
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %.lr.ph116 ], [ 0, %._crit_edge113 ]
  %62 = getelementptr inbounds i8, ptr %44, i64 %indvars.iv169
  %63 = load i8, ptr %62, align 1, !tbaa !11
  %64 = zext i8 %63 to i32
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %64)
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %exitcond173.not = icmp eq i64 %indvars.iv.next170, %43
  br i1 %exitcond173.not, label %._crit_edge117, label %.lr.ph116, !llvm.loop !14

._crit_edge117:                                   ; preds = %.lr.ph116
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %37)
  br i1 %.not134, label %._crit_edge121, label %.lr.ph120

.lr.ph120:                                        ; preds = %._crit_edge117, %.lr.ph120
  %indvars.iv174 = phi i64 [ %indvars.iv.next175, %.lr.ph120 ], [ 0, %._crit_edge117 ]
  %68 = getelementptr inbounds i8, ptr %45, i64 %indvars.iv174
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = zext i8 %69 to i32
  %71 = getelementptr inbounds i8, ptr %44, i64 %indvars.iv174
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = icmp eq i8 %69, %72
  %74 = select i1 %73, i32 32, i32 42
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %74, i32 noundef %70)
  %indvars.iv.next175 = add nuw nsw i64 %indvars.iv174, 1
  %exitcond178.not = icmp eq i64 %indvars.iv.next175, %43
  br i1 %exitcond178.not, label %._crit_edge121, label %.lr.ph120, !llvm.loop !15

._crit_edge121.critedge:                          ; preds = %._crit_edge113
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %37)
  br label %._crit_edge121

._crit_edge121:                                   ; preds = %.lr.ph120, %._crit_edge121.critedge, %._crit_edge117
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %79 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %.069)
  br label %.lr.ph124

.lr.ph124:                                        ; preds = %._crit_edge121, %.lr.ph124
  %indvars.iv179 = phi i64 [ %indvars.iv.next180, %.lr.ph124 ], [ 0, %._crit_edge121 ]
  %80 = getelementptr inbounds i8, ptr %46, i64 %indvars.iv179
  %81 = load i8, ptr %80, align 1, !tbaa !11
  %82 = zext i8 %81 to i32
  %83 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv179
  %84 = load i8, ptr %83, align 1, !tbaa !11
  %85 = icmp eq i8 %81, %84
  %86 = select i1 %85, i32 32, i32 42
  %87 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %86, i32 noundef %82)
  %indvars.iv.next180 = add nuw nsw i64 %indvars.iv179, 1
  %exitcond183.not = icmp eq i64 %indvars.iv.next180, %40
  br i1 %exitcond183.not, label %._crit_edge125, label %.lr.ph124, !llvm.loop !16

._crit_edge125:                                   ; preds = %.lr.ph124
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  br label %.lr.ph130

.lr.ph130:                                        ; preds = %._crit_edge125, %.lr.ph130
  %indvars.iv184 = phi i64 [ %indvars.iv.next185, %.lr.ph130 ], [ 0, %._crit_edge125 ]
  %.0128 = phi i32 [ %100, %.lr.ph130 ], [ 0, %._crit_edge125 ]
  %.067127 = phi i32 [ %98, %.lr.ph130 ], [ 0, %._crit_edge125 ]
  %90 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv184
  %91 = load i8, ptr %90, align 1, !tbaa !11
  %92 = zext i8 %91 to i32
  %93 = getelementptr inbounds i8, ptr %46, i64 %indvars.iv184
  %94 = load i8, ptr %93, align 1, !tbaa !11
  %95 = zext i8 %94 to i32
  %96 = icmp ne i8 %91, %94
  %97 = zext i1 %96 to i32
  %98 = add i32 %.067127, %97
  %99 = call i32 @count_bit_errors(i32 noundef %92, i32 noundef %95) #8
  %100 = add i32 %99, %.0128
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %40
  br i1 %exitcond188.not, label %._crit_edge131, label %.lr.ph130, !llvm.loop !17

._crit_edge131:                                   ; preds = %.lr.ph130
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %98, i32 noundef %.069)
  %102 = shl i32 %.069, 3
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, i32 noundef %100, i32 noundef %102)
  %.not84 = icmp eq i32 %53, 0
  %.str.21..str.20 = select i1 %.not84, ptr @.str.21, ptr @.str.20
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.21..str.20)
  call void @llvm.stackrestore.p0(ptr %41)
  br label %105

105:                                              ; preds = %._crit_edge131, %5
  ret i32 0
}

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

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

declare i32 @liquid_getopt_str2crc(ptr noundef) local_unnamed_addr #5

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

declare i32 @liquid_getopt_str2fec(ptr noundef) local_unnamed_addr #5

declare i32 @packetizer_compute_enc_msg_len(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare ptr @packetizer_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare i32 @packetizer_print(ptr noundef) local_unnamed_addr #5

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

declare i32 @packetizer_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @packetizer_decode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @packetizer_destroy(ptr noundef) local_unnamed_addr #5

declare i32 @count_bit_errors(i32 noundef, i32 noundef) local_unnamed_addr #5

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

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

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 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #4 = { 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 #5 = { "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 nocallback nofree nosync nounwind willreturn }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn nounwind }
attributes #11 = { cold nounwind }

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

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


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