; LLVM IR from bjourne/fast_snn_fpga :: src (npy)

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

@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @npy_n_elements(ptr noundef) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @npy_load(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca [10 x i8], align 1
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca [128 x i8], align 16
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %14 = call noalias ptr @malloc(i64 noundef 80) #7
  store ptr %14, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.npy_arr, ptr %15, i32 0, i32 7
  store i32 0, ptr %16, align 8, !tbaa !9
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.npy_arr, ptr %17, i32 0, i32 5
  store i32 0, ptr %18, align 8, !tbaa !12
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.npy_arr, ptr %19, i32 0, i32 6
  store ptr null, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = call noalias ptr @fopen(ptr noundef %21, ptr noundef @.str.6)
  store ptr %22, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %29, label %25

25:                                               ; preds = %1
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.npy_arr, ptr %26, i32 0, i32 7
  store i32 1, ptr %27, align 8, !tbaa !9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %28, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %207

29:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 10, ptr %7) #6
  %30 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call i64 @fread(ptr noundef %30, i64 noundef 1, i64 noundef 10, ptr noundef %31)
  %33 = icmp ne i64 %32, 10
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  br label %200

35:                                               ; preds = %29
  %36 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
  %37 = call i32 @memcmp(ptr noundef %36, ptr noundef @.str.7, i64 noundef 6) #8
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %35
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.npy_arr, ptr %40, i32 0, i32 7
  store i32 2, ptr %41, align 8, !tbaa !9
  br label %190

42:                                               ; preds = %35
  %43 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 6
  %44 = load i8, ptr %43, align 1, !tbaa !14
  %45 = sext i8 %44 to i32
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.npy_arr, ptr %46, i32 0, i32 0
  store i32 %45, ptr %47, align 8, !tbaa !15
  %48 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 7
  %49 = load i8, ptr %48, align 1, !tbaa !14
  %50 = sext i8 %49 to i32
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.npy_arr, ptr %51, i32 0, i32 1
  store i32 %50, ptr %52, align 4, !tbaa !16
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = call zeroext i1 @consume(ptr noundef %53, ptr noundef @.str.8)
  br i1 %54, label %56, label %55

55:                                               ; preds = %42
  br label %200

56:                                               ; preds = %42
  store i8 0, ptr %8, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !19
  br label %57

57:                                               ; preds = %153, %56
  %58 = load i32, ptr %9, align 4, !tbaa !19
  %59 = icmp slt i32 %58, 3
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  store i32 4, ptr %6, align 4
  br label %156

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 128, ptr %10) #6
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %64 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %62, ptr noundef @.str.9, ptr noundef %63)
  %65 = icmp ne i32 %64, 1
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  store i32 7, ptr %6, align 4
  br label %150

67:                                               ; preds = %61
  %68 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %69 = call ptr @strstr(ptr noundef %68, ptr noundef @.str.10) #8
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %89

71:                                               ; preds = %67
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %74 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %72, ptr noundef @.str.9, ptr noundef %73)
  %75 = icmp ne i32 %74, 1
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  store i32 7, ptr %6, align 4
  br label %150

77:                                               ; preds = %71
  %78 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 2
  %79 = load i8, ptr %78, align 2, !tbaa !14
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.npy_arr, ptr %80, i32 0, i32 2
  store i8 %79, ptr %81, align 8, !tbaa !20
  %82 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 3
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.npy_arr, ptr %83, i32 0, i32 3
  %85 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %82, ptr noundef @.str.11, ptr noundef %84) #6
  %86 = icmp ne i32 %85, 1
  br i1 %86, label %87, label %88

87:                                               ; preds = %77
  store i32 7, ptr %6, align 4
  br label %150

88:                                               ; preds = %77
  br label %149

89:                                               ; preds = %67
  %90 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %91 = call ptr @strstr(ptr noundef %90, ptr noundef @.str.12) #8
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %112

93:                                               ; preds = %89
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %96 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %94, ptr noundef @.str.9, ptr noundef %95)
  %97 = icmp ne i32 %96, 1
  br i1 %97, label %98, label %99

98:                                               ; preds = %93
  store i32 7, ptr %6, align 4
  br label %150

99:                                               ; preds = %93
  %100 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %101 = call ptr @strstr(ptr noundef %100, ptr noundef @.str.13) #8
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %104

103:                                              ; preds = %99
  store i8 0, ptr %8, align 1, !tbaa !17
  br label %111

104:                                              ; preds = %99
  %105 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %106 = call ptr @strstr(ptr noundef %105, ptr noundef @.str.14) #8
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %109

108:                                              ; preds = %104
  store i8 1, ptr %8, align 1, !tbaa !17
  br label %110

109:                                              ; preds = %104
  store i32 7, ptr %6, align 4
  br label %150

110:                                              ; preds = %108
  br label %111

111:                                              ; preds = %110, %103
  br label %148

112:                                              ; preds = %89
  %113 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
  %114 = call ptr @strstr(ptr noundef %113, ptr noundef @.str.15) #8
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %146

116:                                              ; preds = %112
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = call zeroext i1 @consume(ptr noundef %117, ptr noundef @.str.16)
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  store i32 7, ptr %6, align 4
  br label %150

120:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  br label %121

121:                                              ; preds = %125, %120
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %122, ptr noundef @.str.17, ptr noundef %11)
  %124 = icmp eq i32 %123, 1
  br i1 %124, label %125, label %138

125:                                              ; preds = %121
  %126 = load i32, ptr %11, align 4, !tbaa !19
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.npy_arr, ptr %127, i32 0, i32 4
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.npy_arr, ptr %129, i32 0, i32 5
  %131 = load i32, ptr %130, align 8, !tbaa !12
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [10 x i32], ptr %128, i64 0, i64 %132
  store i32 %126, ptr %133, align 4, !tbaa !19
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.npy_arr, ptr %134, i32 0, i32 5
  %136 = load i32, ptr %135, align 8, !tbaa !12
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %135, align 8, !tbaa !12
  br label %121, !llvm.loop !21

138:                                              ; preds = %121
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = call zeroext i1 @consume(ptr noundef %139, ptr noundef @.str.18)
  br i1 %140, label %142, label %141

141:                                              ; preds = %138
  store i32 7, ptr %6, align 4
  br label %143

142:                                              ; preds = %138
  store i32 0, ptr %6, align 4
  br label %143

143:                                              ; preds = %142, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %144 = load i32, ptr %6, align 4
  switch i32 %144, label %150 [
    i32 0, label %145
  ]

145:                                              ; preds = %143
  br label %147

146:                                              ; preds = %112
  store i32 7, ptr %6, align 4
  br label %150

147:                                              ; preds = %145
  br label %148

148:                                              ; preds = %147, %111
  br label %149

149:                                              ; preds = %148, %88
  store i32 0, ptr %6, align 4
  br label %150

150:                                              ; preds = %149, %146, %143, %119, %109, %98, %87, %76, %66
  call void @llvm.lifetime.end.p0(i64 128, ptr %10) #6
  %151 = load i32, ptr %6, align 4
  switch i32 %151, label %156 [
    i32 0, label %152
  ]

152:                                              ; preds = %150
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %9, align 4, !tbaa !19
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %9, align 4, !tbaa !19
  br label %57, !llvm.loop !23

156:                                              ; preds = %150, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %157 = load i32, ptr %6, align 4
  switch i32 %157, label %206 [
    i32 4, label %158
    i32 7, label %194
  ]

158:                                              ; preds = %156
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = call zeroext i1 @consume_until(ptr noundef %159, i8 noundef signext 10)
  br i1 %160, label %162, label %161

161:                                              ; preds = %158
  br label %194

162:                                              ; preds = %158
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = call i64 @npy_n_elements(ptr noundef %163)
  store i64 %164, ptr %12, align 8, !tbaa !24
  %165 = load i64, ptr %12, align 8, !tbaa !24
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.npy_arr, ptr %166, i32 0, i32 3
  %168 = load i32, ptr %167, align 4, !tbaa !26
  %169 = sext i32 %168 to i64
  %170 = mul i64 %165, %169
  store i64 %170, ptr %13, align 8, !tbaa !24
  %171 = load i64, ptr %13, align 8, !tbaa !24
  %172 = call noalias ptr @malloc(i64 noundef %171) #7
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.npy_arr, ptr %173, i32 0, i32 6
  store ptr %172, ptr %174, align 8, !tbaa !13
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.npy_arr, ptr %175, i32 0, i32 6
  %177 = load ptr, ptr %176, align 8, !tbaa !13
  %178 = load i64, ptr %13, align 8, !tbaa !24
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = call i64 @fread(ptr noundef %177, i64 noundef 1, i64 noundef %178, ptr noundef %179)
  %181 = load i64, ptr %13, align 8, !tbaa !24
  %182 = icmp ne i64 %180, %181
  br i1 %182, label %183, label %184

183:                                              ; preds = %162
  br label %200

184:                                              ; preds = %162
  %185 = load i8, ptr %8, align 1, !tbaa !17, !range !27, !noundef !28
  %186 = trunc i8 %185 to i1
  br i1 %186, label %187, label %189

187:                                              ; preds = %184
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  call void @transpose_data(ptr noundef %188)
  br label %189

189:                                              ; preds = %187, %184
  br label %190

190:                                              ; preds = %189, %39
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = call i32 @fclose(ptr noundef %191)
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %193, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %206

194:                                              ; preds = %161, %156
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.npy_arr, ptr %195, i32 0, i32 7
  store i32 3, ptr %196, align 8, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = call i32 @fclose(ptr noundef %197)
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %199, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %206

200:                                              ; preds = %183, %55, %34
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.npy_arr, ptr %201, i32 0, i32 7
  store i32 4, ptr %202, align 8, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = call i32 @fclose(ptr noundef %203)
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %205, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %206

206:                                              ; preds = %200, %194, %190, %156
  call void @llvm.lifetime.end.p0(i64 10, ptr %7) #6
  br label %207

207:                                              ; preds = %206, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  %208 = load ptr, ptr %2, align 8
  ret ptr %208
}

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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @consume(ptr noundef, ptr noundef) #1

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strstr(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #5

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @consume_until(ptr noundef, i8 noundef signext) #1

; Function Attrs: nounwind uwtable
declare hidden void @transpose_data(ptr noundef) #1

declare i32 @fclose(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 72}
!10 = !{!"", !11, i64 0, !11, i64 4, !7, i64 8, !11, i64 12, !7, i64 16, !11, i64 56, !6, i64 64, !11, i64 72}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 56}
!13 = !{!10, !6, i64 64}
!14 = !{!7, !7, i64 0}
!15 = !{!10, !11, i64 0}
!16 = !{!10, !11, i64 4}
!17 = !{!18, !18, i64 0}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !7, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!10, !11, i64 12}
!27 = !{i8 0, i8 2}
!28 = !{}


; 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 [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @npy_n_elements(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @npy_load(ptr nocapture noundef readonly %0) local_unnamed_addr #1 {
  %2 = alloca [10 x i8], align 1
  %3 = alloca [128 x i8], align 16
  %4 = alloca i32, align 4
  %5 = tail call noalias dereferenceable_or_null(80) ptr @malloc(i64 noundef 80) #7
  %6 = getelementptr inbounds i8, ptr %5, i64 72
  store i32 0, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %5, i64 56
  store i32 0, ptr %7, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %5, i64 64
  store ptr null, ptr %8, align 8, !tbaa !12
  %9 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.6)
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %10, label %11

10:                                               ; preds = %1
  store i32 1, ptr %6, align 8, !tbaa !5
  br label %136

11:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %2) #8
  %12 = call i64 @fread(ptr noundef nonnull %2, i64 noundef 1, i64 noundef 10, ptr noundef nonnull %9)
  %.not55 = icmp eq i64 %12, 10
  br i1 %.not55, label %13, label %133

13:                                               ; preds = %11
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(6) %2, ptr noundef nonnull dereferenceable(6) @.str.7, i64 6)
  %.not56 = icmp eq i32 %bcmp, 0
  br i1 %.not56, label %15, label %14

14:                                               ; preds = %13
  store i32 2, ptr %6, align 8, !tbaa !5
  br label %134

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %2, i64 6
  %17 = load <2 x i8>, ptr %16, align 1, !tbaa !13
  %18 = sext <2 x i8> %17 to <2 x i32>
  store <2 x i32> %18, ptr %5, align 8, !tbaa !14
  %19 = tail call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.8)
  br i1 %19, label %.preheader, label %133

.preheader:                                       ; preds = %15
  %20 = getelementptr inbounds i8, ptr %3, i64 2
  %21 = getelementptr inbounds i8, ptr %5, i64 8
  %22 = getelementptr inbounds i8, ptr %3, i64 3
  %23 = getelementptr inbounds i8, ptr %5, i64 12
  %24 = getelementptr inbounds i8, ptr %5, i64 16
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #8
  %25 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not57 = icmp eq i32 %25, 1
  br i1 %.not57, label %26, label %.thread79

26:                                               ; preds = %.preheader
  %27 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.10) #9
  %.not58 = icmp eq ptr %27, null
  br i1 %.not58, label %33, label %28

28:                                               ; preds = %26
  %29 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not64 = icmp eq i32 %29, 1
  br i1 %.not64, label %30, label %.thread79

30:                                               ; preds = %28
  %31 = load i8, ptr %20, align 2, !tbaa !13
  store i8 %31, ptr %21, align 8, !tbaa !15
  %32 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %22, ptr noundef nonnull @.str.11, ptr noundef nonnull %23) #8
  %.not65 = icmp eq i32 %32, 1
  br i1 %.not65, label %.thread70, label %.thread79

33:                                               ; preds = %26
  %34 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.12) #9
  %.not59 = icmp eq ptr %34, null
  br i1 %.not59, label %41, label %35

35:                                               ; preds = %33
  %36 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not61 = icmp eq i32 %36, 1
  br i1 %.not61, label %37, label %.thread79

37:                                               ; preds = %35
  %38 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.13) #9
  %.not62 = icmp eq ptr %38, null
  br i1 %.not62, label %39, label %.thread70

39:                                               ; preds = %37
  %40 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.14) #9
  %.not63 = icmp eq ptr %40, null
  br i1 %.not63, label %.thread79, label %.thread70

41:                                               ; preds = %33
  %42 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.15) #9
  %.not60 = icmp eq ptr %42, null
  br i1 %.not60, label %.thread79, label %43

43:                                               ; preds = %41
  %44 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.16)
  br i1 %44, label %45, label %.thread79

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %46 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %47 = icmp eq i32 %46, 1
  br i1 %47, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %45, %.lr.ph
  %48 = load i32, ptr %4, align 4, !tbaa !14
  %49 = load i32, ptr %7, align 8, !tbaa !11
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [10 x i32], ptr %24, i64 0, i64 %50
  store i32 %48, ptr %51, align 4, !tbaa !14
  %52 = load i32, ptr %7, align 8, !tbaa !11
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %7, align 8, !tbaa !11
  %54 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %.lr.ph, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph, %45
  %56 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br i1 %56, label %.thread70, label %122

.thread70:                                        ; preds = %30, %._crit_edge, %37, %39
  %.153 = phi i1 [ false, %30 ], [ false, %._crit_edge ], [ false, %37 ], [ true, %39 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #8
  %57 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not57.1 = icmp eq i32 %57, 1
  br i1 %.not57.1, label %58, label %.thread79

58:                                               ; preds = %.thread70
  %59 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.10) #9
  %.not58.1 = icmp eq ptr %59, null
  br i1 %.not58.1, label %65, label %60

60:                                               ; preds = %58
  %61 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not64.1 = icmp eq i32 %61, 1
  br i1 %.not64.1, label %62, label %.thread79

62:                                               ; preds = %60
  %63 = load i8, ptr %20, align 2, !tbaa !13
  store i8 %63, ptr %21, align 8, !tbaa !15
  %64 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %22, ptr noundef nonnull @.str.11, ptr noundef nonnull %23) #8
  %.not65.1 = icmp eq i32 %64, 1
  br i1 %.not65.1, label %.thread70.1, label %.thread79

65:                                               ; preds = %58
  %66 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.12) #9
  %.not59.1 = icmp eq ptr %66, null
  br i1 %.not59.1, label %73, label %67

67:                                               ; preds = %65
  %68 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not61.1 = icmp eq i32 %68, 1
  br i1 %.not61.1, label %69, label %.thread79

69:                                               ; preds = %67
  %70 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.13) #9
  %.not62.1 = icmp eq ptr %70, null
  br i1 %.not62.1, label %71, label %.thread70.1

71:                                               ; preds = %69
  %72 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.14) #9
  %.not63.1 = icmp eq ptr %72, null
  br i1 %.not63.1, label %.thread79, label %.thread70.1

73:                                               ; preds = %65
  %74 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.15) #9
  %.not60.1 = icmp eq ptr %74, null
  br i1 %.not60.1, label %.thread79, label %75

75:                                               ; preds = %73
  %76 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.16)
  br i1 %76, label %77, label %.thread79

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %78 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %79 = icmp eq i32 %78, 1
  br i1 %79, label %.lr.ph.1, label %._crit_edge.1

.lr.ph.1:                                         ; preds = %77, %.lr.ph.1
  %80 = load i32, ptr %4, align 4, !tbaa !14
  %81 = load i32, ptr %7, align 8, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [10 x i32], ptr %24, i64 0, i64 %82
  store i32 %80, ptr %83, align 4, !tbaa !14
  %84 = load i32, ptr %7, align 8, !tbaa !11
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %7, align 8, !tbaa !11
  %86 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %.lr.ph.1, label %._crit_edge.1, !llvm.loop !16

._crit_edge.1:                                    ; preds = %.lr.ph.1, %77
  %88 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br i1 %88, label %.thread70.1, label %122

.thread70.1:                                      ; preds = %._crit_edge.1, %71, %69, %62
  %.153.1 = phi i1 [ %.153, %62 ], [ %.153, %._crit_edge.1 ], [ false, %69 ], [ true, %71 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #8
  %89 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not57.2 = icmp eq i32 %89, 1
  br i1 %.not57.2, label %90, label %.thread79

90:                                               ; preds = %.thread70.1
  %91 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.10) #9
  %.not58.2 = icmp eq ptr %91, null
  br i1 %.not58.2, label %97, label %92

92:                                               ; preds = %90
  %93 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not64.2 = icmp eq i32 %93, 1
  br i1 %.not64.2, label %94, label %.thread79

94:                                               ; preds = %92
  %95 = load i8, ptr %20, align 2, !tbaa !13
  store i8 %95, ptr %21, align 8, !tbaa !15
  %96 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %22, ptr noundef nonnull @.str.11, ptr noundef nonnull %23) #8
  %.not65.2 = icmp eq i32 %96, 1
  br i1 %.not65.2, label %.thread70.2, label %.thread79

97:                                               ; preds = %90
  %98 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.12) #9
  %.not59.2 = icmp eq ptr %98, null
  br i1 %.not59.2, label %105, label %99

99:                                               ; preds = %97
  %100 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.9, ptr noundef nonnull %3) #8
  %.not61.2 = icmp eq i32 %100, 1
  br i1 %.not61.2, label %101, label %.thread79

101:                                              ; preds = %99
  %102 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.13) #9
  %.not62.2 = icmp eq ptr %102, null
  br i1 %.not62.2, label %103, label %.thread70.2

103:                                              ; preds = %101
  %104 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.14) #9
  %.not63.2 = icmp eq ptr %104, null
  br i1 %.not63.2, label %.thread79, label %.thread70.2

105:                                              ; preds = %97
  %106 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.15) #9
  %.not60.2 = icmp eq ptr %106, null
  br i1 %.not60.2, label %.thread79, label %107

107:                                              ; preds = %105
  %108 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.16)
  br i1 %108, label %109, label %.thread79

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %110 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %.lr.ph.2, label %._crit_edge.2

.lr.ph.2:                                         ; preds = %109, %.lr.ph.2
  %112 = load i32, ptr %4, align 4, !tbaa !14
  %113 = load i32, ptr %7, align 8, !tbaa !11
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [10 x i32], ptr %24, i64 0, i64 %114
  store i32 %112, ptr %115, align 4, !tbaa !14
  %116 = load i32, ptr %7, align 8, !tbaa !11
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %7, align 8, !tbaa !11
  %118 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17, ptr noundef nonnull %4) #8
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %.lr.ph.2, label %._crit_edge.2, !llvm.loop !16

._crit_edge.2:                                    ; preds = %.lr.ph.2, %109
  %120 = call zeroext i1 @consume(ptr noundef nonnull %9, ptr noundef nonnull @.str.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br i1 %120, label %.thread70.2, label %122

.thread70.2:                                      ; preds = %._crit_edge.2, %103, %101, %94
  %.153.2 = phi i1 [ %.153.1, %94 ], [ %.153.1, %._crit_edge.2 ], [ false, %101 ], [ true, %103 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  %121 = call zeroext i1 @consume_until(ptr noundef nonnull %9, i8 noundef signext 10)
  br i1 %121, label %123, label %132

.thread79:                                        ; preds = %107, %105, %103, %99, %94, %92, %.thread70.1, %75, %73, %71, %67, %62, %60, %.thread70, %41, %43, %39, %35, %30, %28, %.preheader
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  br label %132

122:                                              ; preds = %._crit_edge.2, %._crit_edge.1, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  br label %132

123:                                              ; preds = %.thread70.2
  %124 = call i64 @npy_n_elements(ptr noundef nonnull %5)
  %125 = load i32, ptr %23, align 4, !tbaa !18
  %126 = sext i32 %125 to i64
  %127 = mul i64 %124, %126
  %128 = call noalias ptr @malloc(i64 noundef %127) #7
  store ptr %128, ptr %8, align 8, !tbaa !12
  %129 = call i64 @fread(ptr noundef %128, i64 noundef 1, i64 noundef %127, ptr noundef nonnull %9)
  %.not66 = icmp eq i64 %129, %127
  br i1 %.not66, label %130, label %133

130:                                              ; preds = %123
  br i1 %.153.2, label %131, label %134

131:                                              ; preds = %130
  call void @transpose_data(ptr noundef nonnull %5)
  br label %134

132:                                              ; preds = %122, %.thread79, %.thread70.2
  store i32 3, ptr %6, align 8, !tbaa !5
  br label %134

133:                                              ; preds = %123, %15, %11
  store i32 4, ptr %6, align 8, !tbaa !5
  br label %134

134:                                              ; preds = %14, %131, %130, %133, %132
  %135 = call i32 @fclose(ptr noundef nonnull %9)
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %2) #8
  br label %136

136:                                              ; preds = %134, %10
  ret ptr %5
}

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

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @consume(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #5

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

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @consume_until(ptr noundef, i8 noundef signext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @transpose_data(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }

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

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


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