; LLVM IR from jgaeddert/liquid-dsp :: examples (bpacketsync_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"

%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @callback(ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #0

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

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

; 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) #3

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

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

; 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 float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = 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
  %24 = call i64 @time(ptr noundef null) #8
  %25 = trunc i64 %24 to i32
  call void @srand(i32 noundef %25) #8
  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
  store float 0.000000e+00, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  br label %26

26:                                               ; preds = %72, %2
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str.10) #8
  store i32 %29, ptr %11, align 4, !tbaa !5
  %30 = icmp ne i32 %29, -1
  br i1 %30, label %31, label %73

31:                                               ; preds = %26
  %32 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %32, label %71 [
    i32 104, label %33
    i32 117, label %33
    i32 110, label %34
    i32 101, label %37
    i32 118, label %41
    i32 99, label %51
    i32 107, label %61
  ]

33:                                               ; preds = %31, %31
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %246

34:                                               ; preds = %31
  %35 = load ptr, ptr @optarg, align 8, !tbaa !9
  %36 = call i32 @atoi(ptr noundef %35) #9
  store i32 %36, ptr %6, align 4, !tbaa !5
  br label %72

37:                                               ; preds = %31
  %38 = load ptr, ptr @optarg, align 8, !tbaa !9
  %39 = call double @atof(ptr noundef %38) #9
  %40 = fptrunc double %39 to float
  store float %40, ptr %10, align 4, !tbaa !11
  br label %72

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

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

50:                                               ; preds = %41
  br label %72

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

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

60:                                               ; preds = %51
  br label %72

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

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

70:                                               ; preds = %61
  br label %72

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

72:                                               ; preds = %70, %60, %50, %37, %34
  br label %26, !llvm.loop !13

73:                                               ; preds = %26
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %82

76:                                               ; preds = %73
  %77 = load ptr, ptr @stderr, align 8, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !9
  %79 = getelementptr inbounds ptr, ptr %78, i64 0
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.14, ptr noundef %80) #8
  call void @exit(i32 noundef 1) #10
  unreachable

82:                                               ; preds = %73
  %83 = load float, ptr %10, align 4, !tbaa !11
  %84 = fcmp olt float %83, 0.000000e+00
  br i1 %84, label %88, label %85

85:                                               ; preds = %82
  %86 = load float, ptr %10, align 4, !tbaa !11
  %87 = fcmp ogt float %86, 1.000000e+00
  br i1 %87, label %88, label %94

88:                                               ; preds = %85, %82
  %89 = load ptr, ptr @stderr, align 8, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 0
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.15, ptr noundef %92) #8
  call void @exit(i32 noundef 1) #10
  unreachable

94:                                               ; preds = %85
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = load i32, ptr %8, align 4, !tbaa !5
  %99 = load i32, ptr %9, align 4, !tbaa !5
  %100 = call ptr @bpacketgen_create(i32 noundef 0, i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99)
  store ptr %100, ptr %13, align 8, !tbaa !9
  %101 = load ptr, ptr %13, align 8, !tbaa !9
  call void @bpacketgen_print(ptr noundef %101)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %102 = load ptr, ptr %13, align 8, !tbaa !9
  %103 = call i32 @bpacketgen_get_packet_len(ptr noundef %102)
  store i32 %103, ptr %15, align 4, !tbaa !5
  %104 = load i32, ptr %6, align 4, !tbaa !5
  %105 = zext i32 %104 to i64
  %106 = call ptr @llvm.stacksave.p0()
  store ptr %106, ptr %16, align 8
  %107 = alloca i8, i64 %105, align 16
  store i64 %105, ptr %17, align 8
  %108 = load i32, ptr %15, align 4, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = alloca i8, i64 %109, align 16
  store i64 %109, ptr %18, align 8
  %111 = load i32, ptr %15, align 4, !tbaa !5
  %112 = add i32 %111, 1
  %113 = zext i32 %112 to i64
  %114 = alloca i8, i64 %113, align 16
  store i64 %113, ptr %19, align 8
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = alloca i8, i64 %116, align 16
  store i64 %116, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %118 = call ptr @bpacketsync_create(i32 noundef 0, ptr noundef @callback, ptr noundef %117)
  store ptr %118, ptr %21, align 8, !tbaa !9
  %119 = load ptr, ptr %21, align 8, !tbaa !9
  %120 = call i32 @bpacketsync_print(ptr noundef %119)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %132, %95
  %122 = load i32, ptr %14, align 4, !tbaa !5
  %123 = load i32, ptr %6, align 4, !tbaa !5
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %135

125:                                              ; preds = %121
  %126 = call i32 @rand() #8
  %127 = srem i32 %126, 256
  %128 = trunc i32 %127 to i8
  %129 = load i32, ptr %14, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds i8, ptr %107, i64 %130
  store i8 %128, ptr %131, align 1, !tbaa !15
  br label %132

132:                                              ; preds = %125
  %133 = load i32, ptr %14, align 4, !tbaa !5
  %134 = add i32 %133, 1
  store i32 %134, ptr %14, align 4, !tbaa !5
  br label %121, !llvm.loop !16

135:                                              ; preds = %121
  %136 = load ptr, ptr %13, align 8, !tbaa !9
  call void @bpacketgen_encode(ptr noundef %136, ptr noundef %107, ptr noundef %110)
  %137 = call i32 @rand() #8
  %138 = and i32 %137, 255
  %139 = trunc i32 %138 to i8
  %140 = getelementptr inbounds i8, ptr %114, i64 0
  store i8 %139, ptr %140, align 16, !tbaa !15
  %141 = getelementptr inbounds i8, ptr %114, i64 1
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = zext i32 %142 to i64
  %144 = mul i64 %143, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %141, ptr align 16 %110, i64 %144, i1 false)
  %145 = load i32, ptr %15, align 4, !tbaa !5
  %146 = add i32 %145, 1
  %147 = zext i32 %146 to i64
  %148 = mul i64 %147, 1
  %149 = trunc i64 %148 to i32
  %150 = call i32 @rand() #8
  %151 = srem i32 %150, 8
  %152 = call i32 @liquid_lbshift(ptr noundef %114, i32 noundef %149, i32 noundef %151)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %183, %135
  %154 = load i32, ptr %14, align 4, !tbaa !5
  %155 = load i32, ptr %15, align 4, !tbaa !5
  %156 = add i32 %155, 1
  %157 = icmp ult i32 %154, %156
  br i1 %157, label %158, label %186

158:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %179, %158
  %160 = load i32, ptr %22, align 4, !tbaa !5
  %161 = icmp ult i32 %160, 8
  br i1 %161, label %162, label %182

162:                                              ; preds = %159
  %163 = call float (...) @randf()
  %164 = load float, ptr %10, align 4, !tbaa !11
  %165 = fcmp olt float %163, %164
  br i1 %165, label %166, label %178

166:                                              ; preds = %162
  %167 = load i32, ptr %22, align 4, !tbaa !5
  %168 = sub i32 8, %167
  %169 = sub i32 %168, 1
  %170 = shl i32 1, %169
  %171 = load i32, ptr %14, align 4, !tbaa !5
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds i8, ptr %114, i64 %172
  %174 = load i8, ptr %173, align 1, !tbaa !15
  %175 = zext i8 %174 to i32
  %176 = xor i32 %175, %170
  %177 = trunc i32 %176 to i8
  store i8 %177, ptr %173, align 1, !tbaa !15
  br label %178

178:                                              ; preds = %166, %162
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %22, align 4, !tbaa !5
  %181 = add i32 %180, 1
  store i32 %181, ptr %22, align 4, !tbaa !5
  br label %159, !llvm.loop !17

182:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %14, align 4, !tbaa !5
  %185 = add i32 %184, 1
  store i32 %185, ptr %14, align 4, !tbaa !5
  br label %153, !llvm.loop !18

186:                                              ; preds = %153
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %187

187:                                              ; preds = %196, %186
  %188 = load i32, ptr %14, align 4, !tbaa !5
  %189 = icmp ult i32 %188, 100
  br i1 %189, label %190, label %199

190:                                              ; preds = %187
  %191 = load ptr, ptr %21, align 8, !tbaa !9
  %192 = call i32 @rand() #8
  %193 = and i32 %192, 255
  %194 = trunc i32 %193 to i8
  %195 = call i32 @bpacketsync_execute_byte(ptr noundef %191, i8 noundef zeroext %194)
  br label %196

196:                                              ; preds = %190
  %197 = load i32, ptr %14, align 4, !tbaa !5
  %198 = add i32 %197, 1
  store i32 %198, ptr %14, align 4, !tbaa !5
  br label %187, !llvm.loop !19

199:                                              ; preds = %187
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %212, %199
  %201 = load i32, ptr %14, align 4, !tbaa !5
  %202 = load i32, ptr %15, align 4, !tbaa !5
  %203 = add i32 %202, 1
  %204 = icmp ult i32 %201, %203
  br i1 %204, label %205, label %215

205:                                              ; preds = %200
  %206 = load ptr, ptr %21, align 8, !tbaa !9
  %207 = load i32, ptr %14, align 4, !tbaa !5
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %114, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !15
  %211 = call i32 @bpacketsync_execute_byte(ptr noundef %206, i8 noundef zeroext %210)
  br label %212

212:                                              ; preds = %205
  %213 = load i32, ptr %14, align 4, !tbaa !5
  %214 = add i32 %213, 1
  store i32 %214, ptr %14, align 4, !tbaa !5
  br label %200, !llvm.loop !20

215:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %216

216:                                              ; preds = %234, %215
  %217 = load i32, ptr %14, align 4, !tbaa !5
  %218 = load i32, ptr %6, align 4, !tbaa !5
  %219 = icmp ult i32 %217, %218
  br i1 %219, label %220, label %237

220:                                              ; preds = %216
  %221 = load i32, ptr %14, align 4, !tbaa !5
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds i8, ptr %107, i64 %222
  %224 = load i8, ptr %223, align 1, !tbaa !15
  %225 = zext i8 %224 to i32
  %226 = load i32, ptr %14, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds i8, ptr %117, i64 %227
  %229 = load i8, ptr %228, align 1, !tbaa !15
  %230 = zext i8 %229 to i32
  %231 = call i32 @count_bit_errors(i32 noundef %225, i32 noundef %230)
  %232 = load i32, ptr %23, align 4, !tbaa !5
  %233 = add i32 %232, %231
  store i32 %233, ptr %23, align 4, !tbaa !5
  br label %234

234:                                              ; preds = %220
  %235 = load i32, ptr %14, align 4, !tbaa !5
  %236 = add i32 %235, 1
  store i32 %236, ptr %14, align 4, !tbaa !5
  br label %216, !llvm.loop !21

237:                                              ; preds = %216
  %238 = load i32, ptr %23, align 4, !tbaa !5
  %239 = load i32, ptr %6, align 4, !tbaa !5
  %240 = mul i32 %239, 8
  %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %238, i32 noundef %240)
  %242 = load ptr, ptr %13, align 8, !tbaa !9
  call void @bpacketgen_destroy(ptr noundef %242)
  %243 = load ptr, ptr %21, align 8, !tbaa !9
  %244 = call i32 @bpacketsync_destroy(ptr noundef %243)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %245 = load ptr, ptr %16, align 8
  call void @llvm.stackrestore.p0(ptr %245)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %246

246:                                              ; preds = %237, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  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
  %247 = load i32, ptr %3, align 4
  ret i32 %247
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #4

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

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

declare i32 @liquid_getopt_str2crc(ptr noundef) #1

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

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

declare i32 @liquid_getopt_str2fec(ptr noundef) #1

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

declare void @bpacketgen_print(ptr noundef) #1

declare i32 @bpacketgen_get_packet_len(ptr noundef) #1

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

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

declare i32 @bpacketsync_print(ptr noundef) #1

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

declare void @bpacketgen_encode(ptr noundef, ptr noundef, ptr noundef) #1

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

declare float @randf(...) #1

declare i32 @bpacketsync_execute_byte(ptr noundef, i8 noundef zeroext) #1

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

declare void @bpacketgen_destroy(ptr noundef) #1

declare i32 @bpacketsync_destroy(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { nocallback nofree nosync nounwind willreturn }
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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


; 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.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @callback(ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call i64 @time(ptr noundef null) #9
  %4 = trunc i64 %3 to i32
  tail call void @srand(i32 noundef %4) #9
  br label %.outer

.outer:                                           ; preds = %11, %2
  %.066.ph = phi float [ %14, %11 ], [ 0.000000e+00, %2 ]
  %.064.ph = phi i32 [ %.064.ph205, %11 ], [ 1, %2 ]
  %.062.ph = phi i32 [ %.062.ph210, %11 ], [ 4, %2 ]
  %.060.ph = phi i32 [ %.060.ph214, %11 ], [ 6, %2 ]
  %.059.ph = phi i32 [ %.059, %11 ], [ 8, %2 ]
  br label %.outer204

.outer204:                                        ; preds = %.outer, %31
  %.064.ph205 = phi i32 [ %.064.ph, %.outer ], [ %33, %31 ]
  %.062.ph206 = phi i32 [ %.062.ph, %.outer ], [ %.062.ph210, %31 ]
  %.060.ph207 = phi i32 [ %.060.ph, %.outer ], [ %.060.ph214, %31 ]
  %.059.ph208 = phi i32 [ %.059.ph, %.outer ], [ %.059, %31 ]
  br label %.outer209

.outer209:                                        ; preds = %.outer204, %23
  %.062.ph210 = phi i32 [ %.062.ph206, %.outer204 ], [ %25, %23 ]
  %.060.ph211 = phi i32 [ %.060.ph207, %.outer204 ], [ %.060.ph214, %23 ]
  %.059.ph212 = phi i32 [ %.059.ph208, %.outer204 ], [ %.059, %23 ]
  br label %.outer213

.outer213:                                        ; preds = %.outer209, %15
  %.060.ph214 = phi i32 [ %.060.ph211, %.outer209 ], [ %17, %15 ]
  %.059.ph215 = phi i32 [ %.059.ph212, %.outer209 ], [ %.059, %15 ]
  br label %5

5:                                                ; preds = %.outer213, %8
  %.059 = phi i32 [ %10, %8 ], [ %.059.ph215, %.outer213 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.10) #9
  switch i32 %6, label %39 [
    i32 -1, label %40
    i32 104, label %7
    i32 117, label %7
    i32 110, label %8
    i32 101, label %11
    i32 118, label %15
    i32 99, label %23
    i32 107, label %31
  ]

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

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

11:                                               ; preds = %5
  %12 = load ptr, ptr @optarg, align 8, !tbaa !5
  %13 = tail call double @atof(ptr noundef %12) #10
  %14 = fptrunc double %13 to float
  br label %.outer, !llvm.loop !9

15:                                               ; preds = %5
  %16 = load ptr, ptr @optarg, align 8, !tbaa !5
  %17 = tail call i32 @liquid_getopt_str2crc(ptr noundef %16) #9
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %.outer213, !llvm.loop !9

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

23:                                               ; preds = %5
  %24 = load ptr, ptr @optarg, align 8, !tbaa !5
  %25 = tail call i32 @liquid_getopt_str2fec(ptr noundef %24) #9
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %.outer209, !llvm.loop !9

27:                                               ; preds = %23
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = load ptr, ptr @optarg, align 8, !tbaa !5
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.12, ptr noundef %29) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

31:                                               ; preds = %5
  %32 = load ptr, ptr @optarg, align 8, !tbaa !5
  %33 = tail call i32 @liquid_getopt_str2fec(ptr noundef %32) #9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %.outer204, !llvm.loop !9

35:                                               ; preds = %31
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = load ptr, ptr @optarg, align 8, !tbaa !5
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, ptr noundef %37) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

39:                                               ; preds = %5
  tail call void @exit(i32 noundef 1) #12
  unreachable

40:                                               ; preds = %5
  %41 = icmp eq i32 %.059, 0
  br i1 %41, label %42, label %46

42:                                               ; preds = %40
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.14, ptr noundef %44) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

46:                                               ; preds = %40
  %47 = fcmp olt float %.066.ph, 0.000000e+00
  %48 = fcmp ogt float %.066.ph, 1.000000e+00
  %or.cond = or i1 %47, %48
  br i1 %or.cond, label %49, label %53

49:                                               ; preds = %46
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = load ptr, ptr %1, align 8, !tbaa !5
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.15, ptr noundef %51) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

53:                                               ; preds = %46
  %54 = tail call ptr @bpacketgen_create(i32 noundef 0, i32 noundef %.059, i32 noundef %.060.ph214, i32 noundef %.062.ph210, i32 noundef %.064.ph205) #9
  tail call void @bpacketgen_print(ptr noundef %54) #9
  %55 = tail call i32 @bpacketgen_get_packet_len(ptr noundef %54) #9
  %56 = zext i32 %.059 to i64
  %57 = tail call ptr @llvm.stacksave.p0()
  %58 = alloca i8, i64 %56, align 16
  %59 = zext i32 %55 to i64
  %60 = alloca i8, i64 %59, align 16
  %61 = add i32 %55, 1
  %62 = zext i32 %61 to i64
  %63 = alloca i8, i64 %62, align 16
  %64 = alloca i8, i64 %56, align 16
  %65 = call ptr @bpacketsync_create(i32 noundef 0, ptr noundef nonnull @callback, ptr noundef nonnull %64) #9
  %66 = call i32 @bpacketsync_print(ptr noundef %65) #9
  br label %67

67:                                               ; preds = %53, %67
  %indvars.iv = phi i64 [ 0, %53 ], [ %indvars.iv.next, %67 ]
  %68 = call i32 @rand() #9
  %69 = trunc i32 %68 to i8
  %70 = getelementptr inbounds i8, ptr %58, i64 %indvars.iv
  store i8 %69, ptr %70, align 1, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %56
  br i1 %exitcond.not, label %71, label %67, !llvm.loop !12

71:                                               ; preds = %67
  call void @bpacketgen_encode(ptr noundef %54, ptr noundef nonnull %58, ptr noundef nonnull %60) #9
  %72 = call i32 @rand() #9
  %73 = trunc i32 %72 to i8
  store i8 %73, ptr %63, align 16, !tbaa !11
  %74 = getelementptr inbounds i8, ptr %63, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %74, ptr nonnull align 16 %60, i64 %59, i1 false)
  %75 = call i32 @rand() #9
  %76 = srem i32 %75, 8
  %77 = call i32 @liquid_lbshift(ptr noundef nonnull %63, i32 noundef %61, i32 noundef %76) #9
  %.not = icmp eq i32 %61, 0
  br i1 %.not, label %.preheader76.preheader, label %.preheader77

.preheader76.preheader:                           ; preds = %126, %71
  br label %.preheader76

.preheader77:                                     ; preds = %71, %126
  %indvars.iv138 = phi i64 [ %indvars.iv.next139, %126 ], [ 0, %71 ]
  %78 = getelementptr inbounds i8, ptr %63, i64 %indvars.iv138
  %79 = call float (...) @randf() #9
  %80 = fcmp olt float %79, %.066.ph
  br i1 %80, label %81, label %84

81:                                               ; preds = %.preheader77
  %82 = load i8, ptr %78, align 1, !tbaa !11
  %83 = xor i8 %82, -128
  store i8 %83, ptr %78, align 1, !tbaa !11
  br label %84

84:                                               ; preds = %.preheader77, %81
  %85 = call float (...) @randf() #9
  %86 = fcmp olt float %85, %.066.ph
  br i1 %86, label %87, label %90

87:                                               ; preds = %84
  %88 = load i8, ptr %78, align 1, !tbaa !11
  %89 = xor i8 %88, 64
  store i8 %89, ptr %78, align 1, !tbaa !11
  br label %90

90:                                               ; preds = %87, %84
  %91 = call float (...) @randf() #9
  %92 = fcmp olt float %91, %.066.ph
  br i1 %92, label %93, label %96

93:                                               ; preds = %90
  %94 = load i8, ptr %78, align 1, !tbaa !11
  %95 = xor i8 %94, 32
  store i8 %95, ptr %78, align 1, !tbaa !11
  br label %96

96:                                               ; preds = %93, %90
  %97 = call float (...) @randf() #9
  %98 = fcmp olt float %97, %.066.ph
  br i1 %98, label %99, label %102

99:                                               ; preds = %96
  %100 = load i8, ptr %78, align 1, !tbaa !11
  %101 = xor i8 %100, 16
  store i8 %101, ptr %78, align 1, !tbaa !11
  br label %102

102:                                              ; preds = %99, %96
  %103 = call float (...) @randf() #9
  %104 = fcmp olt float %103, %.066.ph
  br i1 %104, label %105, label %108

105:                                              ; preds = %102
  %106 = load i8, ptr %78, align 1, !tbaa !11
  %107 = xor i8 %106, 8
  store i8 %107, ptr %78, align 1, !tbaa !11
  br label %108

108:                                              ; preds = %105, %102
  %109 = call float (...) @randf() #9
  %110 = fcmp olt float %109, %.066.ph
  br i1 %110, label %111, label %114

111:                                              ; preds = %108
  %112 = load i8, ptr %78, align 1, !tbaa !11
  %113 = xor i8 %112, 4
  store i8 %113, ptr %78, align 1, !tbaa !11
  br label %114

114:                                              ; preds = %111, %108
  %115 = call float (...) @randf() #9
  %116 = fcmp olt float %115, %.066.ph
  br i1 %116, label %117, label %120

117:                                              ; preds = %114
  %118 = load i8, ptr %78, align 1, !tbaa !11
  %119 = xor i8 %118, 2
  store i8 %119, ptr %78, align 1, !tbaa !11
  br label %120

120:                                              ; preds = %117, %114
  %121 = call float (...) @randf() #9
  %122 = fcmp olt float %121, %.066.ph
  br i1 %122, label %123, label %126

123:                                              ; preds = %120
  %124 = load i8, ptr %78, align 1, !tbaa !11
  %125 = xor i8 %124, 1
  store i8 %125, ptr %78, align 1, !tbaa !11
  br label %126

126:                                              ; preds = %123, %120
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %exitcond142.not = icmp eq i64 %indvars.iv.next139, %62
  br i1 %exitcond142.not, label %.preheader76.preheader, label %.preheader77, !llvm.loop !13

.preheader75:                                     ; preds = %.preheader76
  br i1 %.not, label %.preheader, label %.lr.ph

.preheader76:                                     ; preds = %.preheader76.preheader, %.preheader76
  %.2106 = phi i32 [ %130, %.preheader76 ], [ 0, %.preheader76.preheader ]
  %127 = call i32 @rand() #9
  %128 = trunc i32 %127 to i8
  %129 = call i32 @bpacketsync_execute_byte(ptr noundef %65, i8 noundef zeroext %128) #9
  %130 = add nuw nsw i32 %.2106, 1
  %exitcond143.not = icmp eq i32 %130, 100
  br i1 %exitcond143.not, label %.preheader75, label %.preheader76, !llvm.loop !14

.preheader:                                       ; preds = %.lr.ph, %.preheader75
  %umax = call i32 @llvm.umax.i32(i32 %.059, i32 1)
  %wide.trip.count152 = zext i32 %umax to i64
  br label %134

.lr.ph:                                           ; preds = %.preheader75, %.lr.ph
  %indvars.iv144 = phi i64 [ %indvars.iv.next145, %.lr.ph ], [ 0, %.preheader75 ]
  %131 = getelementptr inbounds i8, ptr %63, i64 %indvars.iv144
  %132 = load i8, ptr %131, align 1, !tbaa !11
  %133 = call i32 @bpacketsync_execute_byte(ptr noundef %65, i8 noundef zeroext %132) #9
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %exitcond148.not = icmp eq i64 %indvars.iv.next145, %62
  br i1 %exitcond148.not, label %.preheader, label %.lr.ph, !llvm.loop !15

134:                                              ; preds = %.preheader, %134
  %indvars.iv149 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next150, %134 ]
  %.0109 = phi i32 [ 0, %.preheader ], [ %142, %134 ]
  %135 = getelementptr inbounds i8, ptr %58, i64 %indvars.iv149
  %136 = load i8, ptr %135, align 1, !tbaa !11
  %137 = zext i8 %136 to i32
  %138 = getelementptr inbounds i8, ptr %64, i64 %indvars.iv149
  %139 = load i8, ptr %138, align 1, !tbaa !11
  %140 = zext i8 %139 to i32
  %141 = call i32 @count_bit_errors(i32 noundef %137, i32 noundef %140) #9
  %142 = add i32 %141, %.0109
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %exitcond153.not = icmp eq i64 %indvars.iv.next150, %wide.trip.count152
  br i1 %exitcond153.not, label %143, label %134, !llvm.loop !16

143:                                              ; preds = %134
  %144 = shl i32 %.059, 3
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %142, i32 noundef %144)
  call void @bpacketgen_destroy(ptr noundef %54) #9
  %146 = call i32 @bpacketsync_destroy(ptr noundef %65) #9
  call void @llvm.stackrestore.p0(ptr %57)
  br label %147

147:                                              ; preds = %143, %7
  ret i32 0
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

; 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: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #3

declare i32 @liquid_getopt_str2crc(ptr noundef) local_unnamed_addr #4

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

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

declare i32 @liquid_getopt_str2fec(ptr noundef) local_unnamed_addr #4

declare ptr @bpacketgen_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @bpacketgen_print(ptr noundef) local_unnamed_addr #4

declare i32 @bpacketgen_get_packet_len(ptr noundef) local_unnamed_addr #4

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

declare ptr @bpacketsync_create(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @bpacketsync_print(ptr noundef) local_unnamed_addr #4

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

declare void @bpacketgen_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @liquid_lbshift(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare float @randf(...) local_unnamed_addr #4

declare i32 @bpacketsync_execute_byte(ptr noundef, i8 noundef zeroext) local_unnamed_addr #4

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

declare void @bpacketgen_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @bpacketsync_destroy(ptr noundef) local_unnamed_addr #4

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

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

; 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) #8

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 = { "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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { cold nounwind }
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 = !{!"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}


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