; LLVM IR from hans-ob1/neural_cam_ros :: src/detector (parser)

; 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.layer = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, i32, float, float, float, float, float, float, float, i32, i32, float, i32, i32, i32, i32, float, float, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.network = type { ptr, i32, i32, ptr, float, i32, float, float, ptr, i32, ptr, i32, float, float, float, float, i32, i32, i32, ptr, ptr, i32, i32, i32, float, float, float, i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, ptr }

@stderr = external global ptr, align 8
@.str.145 = external hidden unnamed_addr constant [27 x i8], align 1
@stdout = external global ptr, align 8
@.str.146 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [7 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: 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) #1

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

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

declare void @file_error(ptr noundef) #3

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @load_connected_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @load_batchnorm_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @load_weights_upto(ptr noundef %0, ptr noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %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 %struct.layer, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.145, ptr noundef %18) #5
  %20 = load ptr, ptr @stdout, align 8, !tbaa !5
  %21 = call i32 @fflush(ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call noalias ptr @fopen(ptr noundef %22, ptr noundef @.str.146)
  store ptr %23, ptr %7, align 8, !tbaa !5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %28, label %26

26:                                               ; preds = %3
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  call void @file_error(ptr noundef %27)
  br label %28

28:                                               ; preds = %26, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = call i64 @fread(ptr noundef %8, i64 noundef 4, i64 noundef 1, ptr noundef %29)
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call i64 @fread(ptr noundef %9, i64 noundef 4, i64 noundef 1, ptr noundef %31)
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = call i64 @fread(ptr noundef %10, i64 noundef 4, i64 noundef 1, ptr noundef %33)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.network, ptr %35, i32 0, i32 3
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = call i64 @fread(ptr noundef %37, i64 noundef 4, i64 noundef 1, ptr noundef %38)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = icmp sgt i32 %40, 1000
  br i1 %41, label %45, label %42

42:                                               ; preds = %28
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = icmp sgt i32 %43, 1000
  br label %45

45:                                               ; preds = %42, %28
  %46 = phi i1 [ true, %28 ], [ %44, %42 ]
  %47 = zext i1 %46 to i32
  store i32 %47, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %190, %45
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.network, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !14
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %54, label %58

54:                                               ; preds = %48
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = icmp slt i32 %55, %56
  br label %58

58:                                               ; preds = %54, %48
  %59 = phi i1 [ false, %48 ], [ %57, %54 ]
  br i1 %59, label %60, label %193

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 808, ptr %13) #5
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.network, ptr %61, i32 0, i32 8
  %63 = load ptr, ptr %62, align 8, !tbaa !15
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %struct.layer, ptr %63, i64 %65
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %66, i64 808, i1 false), !tbaa.struct !16
  %67 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 73
  %68 = load i32, ptr %67, align 8, !tbaa !20
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %60
  store i32 4, ptr %14, align 4
  br label %187

71:                                               ; preds = %60
  %72 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !22
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %77

75:                                               ; preds = %71
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %13, ptr noundef %76)
  br label %77

77:                                               ; preds = %75, %71
  %78 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %79 = load i32, ptr %78, align 8, !tbaa !22
  %80 = icmp eq i32 %79, 2
  br i1 %80, label %81, label %84

81:                                               ; preds = %77
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %13, ptr noundef %82, i32 noundef %83)
  br label %84

84:                                               ; preds = %81, %77
  %85 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %86 = load i32, ptr %85, align 8, !tbaa !22
  %87 = icmp eq i32 %86, 18
  br i1 %87, label %88, label %90

88:                                               ; preds = %84
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  call void @load_batchnorm_weights(ptr noundef byval(%struct.layer) align 8 %13, ptr noundef %89)
  br label %90

90:                                               ; preds = %88, %84
  %91 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %92 = load i32, ptr %91, align 8, !tbaa !22
  %93 = icmp eq i32 %92, 17
  br i1 %93, label %94, label %104

94:                                               ; preds = %90
  %95 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 119
  %96 = load ptr, ptr %95, align 8, !tbaa !23
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %96, ptr noundef %97)
  %98 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 120
  %99 = load ptr, ptr %98, align 8, !tbaa !24
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %99, ptr noundef %100)
  %101 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 121
  %102 = load ptr, ptr %101, align 8, !tbaa !25
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %102, ptr noundef %103)
  br label %104

104:                                              ; preds = %94, %90
  %105 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %106 = load i32, ptr %105, align 8, !tbaa !22
  %107 = icmp eq i32 %106, 15
  br i1 %107, label %108, label %121

108:                                              ; preds = %104
  %109 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 119
  %110 = load ptr, ptr %109, align 8, !tbaa !23
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %110, ptr noundef %111, i32 noundef %112)
  %113 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 120
  %114 = load ptr, ptr %113, align 8, !tbaa !24
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %114, ptr noundef %115, i32 noundef %116)
  %117 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 121
  %118 = load ptr, ptr %117, align 8, !tbaa !25
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %118, ptr noundef %119, i32 noundef %120)
  br label %121

121:                                              ; preds = %108, %104
  %122 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %123 = load i32, ptr %122, align 8, !tbaa !22
  %124 = icmp eq i32 %123, 16
  br i1 %124, label %125, label %150

125:                                              ; preds = %121
  %126 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 128
  %127 = load ptr, ptr %126, align 8, !tbaa !26
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %127, ptr noundef %128, i32 noundef %129)
  %130 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 130
  %131 = load ptr, ptr %130, align 8, !tbaa !27
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %131, ptr noundef %132, i32 noundef %133)
  %134 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 132
  %135 = load ptr, ptr %134, align 8, !tbaa !28
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %135, ptr noundef %136, i32 noundef %137)
  %138 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 129
  %139 = load ptr, ptr %138, align 8, !tbaa !29
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %139, ptr noundef %140, i32 noundef %141)
  %142 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 131
  %143 = load ptr, ptr %142, align 8, !tbaa !30
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %143, ptr noundef %144, i32 noundef %145)
  %146 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 133
  %147 = load ptr, ptr %146, align 8, !tbaa !31
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = load i32, ptr %11, align 4, !tbaa !9
  call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %147, ptr noundef %148, i32 noundef %149)
  br label %150

150:                                              ; preds = %125, %121
  %151 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 0
  %152 = load i32, ptr %151, align 8, !tbaa !22
  %153 = icmp eq i32 %152, 12
  br i1 %153, label %154, label %186

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %155 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 21
  %156 = load i32, ptr %155, align 8, !tbaa !32
  %157 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 20
  %158 = load i32, ptr %157, align 4, !tbaa !33
  %159 = mul nsw i32 %156, %158
  store i32 %159, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %160 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 26
  %161 = load i32, ptr %160, align 4, !tbaa !34
  %162 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 26
  %163 = load i32, ptr %162, align 4, !tbaa !34
  %164 = mul nsw i32 %161, %163
  %165 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 19
  %166 = load i32, ptr %165, align 8, !tbaa !35
  %167 = mul nsw i32 %164, %166
  %168 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 23
  %169 = load i32, ptr %168, align 8, !tbaa !36
  %170 = mul nsw i32 %167, %169
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = mul nsw i32 %170, %171
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 93
  %174 = load ptr, ptr %173, align 8, !tbaa !37
  %175 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 15
  %176 = load i32, ptr %175, align 8, !tbaa !38
  %177 = sext i32 %176 to i64
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = call i64 @fread(ptr noundef %174, i64 noundef 4, i64 noundef %177, ptr noundef %178)
  %180 = getelementptr inbounds %struct.layer, ptr %13, i32 0, i32 97
  %181 = load ptr, ptr %180, align 8, !tbaa !39
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = call i64 @fread(ptr noundef %181, i64 noundef 4, i64 noundef %183, ptr noundef %184)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %186

186:                                              ; preds = %154, %150
  store i32 0, ptr %14, align 4
  br label %187

187:                                              ; preds = %186, %70
  call void @llvm.lifetime.end.p0(i64 808, ptr %13) #5
  %188 = load i32, ptr %14, align 4
  switch i32 %188, label %198 [
    i32 0, label %189
    i32 4, label %190
  ]

189:                                              ; preds = %187
  br label %190

190:                                              ; preds = %189, %187
  %191 = load i32, ptr %12, align 4, !tbaa !9
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %12, align 4, !tbaa !9
  br label %48, !llvm.loop !40

193:                                              ; preds = %58
  %194 = load ptr, ptr @stderr, align 8, !tbaa !5
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.147) #5
  %196 = load ptr, ptr %7, align 8, !tbaa !5
  %197 = call i32 @fclose(ptr noundef %196)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void

198:                                              ; preds = %187
  unreachable
}

declare i32 @fflush(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"network", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !13, i64 24, !10, i64 28, !13, i64 32, !13, i64 36, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !6, i64 96, !6, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !10, i64 180, !6, i64 184}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !6, i64 40}
!16 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 8, !5, i64 40, i64 8, !5, i64 48, i64 8, !5, i64 56, i64 8, !5, i64 64, i64 4, !9, i64 68, i64 4, !9, i64 72, i64 4, !9, i64 76, i64 4, !9, i64 80, i64 4, !9, i64 84, i64 4, !9, i64 88, i64 4, !9, i64 92, i64 4, !9, i64 96, i64 4, !9, i64 100, i64 4, !9, i64 104, i64 4, !9, i64 108, i64 4, !9, i64 112, i64 4, !9, i64 116, i64 4, !9, i64 120, i64 4, !9, i64 124, i64 4, !9, i64 128, i64 4, !9, i64 132, i64 4, !9, i64 136, i64 4, !9, i64 140, i64 4, !9, i64 144, i64 4, !9, i64 148, i64 4, !9, i64 152, i64 4, !9, i64 156, i64 4, !9, i64 160, i64 4, !9, i64 164, i64 4, !9, i64 168, i64 4, !9, i64 172, i64 4, !9, i64 176, i64 4, !9, i64 180, i64 4, !17, i64 184, i64 4, !17, i64 188, i64 4, !17, i64 192, i64 4, !17, i64 196, i64 4, !17, i64 200, i64 4, !17, i64 204, i64 4, !17, i64 208, i64 4, !9, i64 212, i64 4, !9, i64 216, i64 4, !9, i64 220, i64 4, !9, i64 224, i64 4, !9, i64 228, i64 4, !9, i64 232, i64 4, !9, i64 236, i64 4, !9, i64 240, i64 4, !9, i64 244, i64 4, !9, i64 248, i64 4, !9, i64 252, i64 4, !9, i64 256, i64 4, !17, i64 260, i64 4, !17, i64 264, i64 4, !17, i64 268, i64 4, !9, i64 272, i64 4, !17, i64 276, i64 4, !17, i64 280, i64 4, !17, i64 284, i64 4, !17, i64 288, i64 4, !17, i64 292, i64 4, !17, i64 296, i64 4, !17, i64 300, i64 4, !9, i64 304, i64 4, !9, i64 308, i64 4, !17, i64 312, i64 4, !9, i64 316, i64 4, !9, i64 320, i64 4, !9, i64 324, i64 4, !9, i64 328, i64 4, !17, i64 332, i64 4, !17, i64 336, i64 4, !17, i64 344, i64 8, !5, i64 352, i64 8, !5, i64 360, i64 8, !5, i64 368, i64 8, !5, i64 376, i64 8, !5, i64 384, i64 8, !5, i64 392, i64 8, !5, i64 400, i64 8, !5, i64 408, i64 8, !5, i64 416, i64 8, !5, i64 424, i64 8, !5, i64 432, i64 8, !5, i64 440, i64 8, !5, i64 448, i64 8, !5, i64 456, i64 8, !5, i64 464, i64 8, !5, i64 472, i64 8, !5, i64 480, i64 8, !5, i64 488, i64 8, !5, i64 496, i64 8, !5, i64 504, i64 8, !5, i64 512, i64 8, !5, i64 520, i64 8, !5, i64 528, i64 8, !5, i64 536, i64 8, !5, i64 544, i64 8, !5, i64 552, i64 8, !5, i64 560, i64 8, !5, i64 568, i64 8, !5, i64 576, i64 8, !5, i64 584, i64 8, !5, i64 592, i64 8, !5, i64 600, i64 8, !5, i64 608, i64 8, !5, i64 616, i64 8, !5, i64 624, i64 8, !5, i64 632, i64 8, !5, i64 640, i64 8, !5, i64 648, i64 8, !5, i64 656, i64 8, !5, i64 664, i64 8, !5, i64 672, i64 8, !5, i64 680, i64 8, !5, i64 688, i64 8, !5, i64 696, i64 8, !5, i64 704, i64 8, !5, i64 712, i64 8, !5, i64 720, i64 8, !5, i64 728, i64 8, !5, i64 736, i64 8, !5, i64 744, i64 8, !5, i64 752, i64 8, !5, i64 760, i64 8, !5, i64 768, i64 8, !5, i64 776, i64 8, !5, i64 784, i64 8, !5, i64 792, i64 8, !5, i64 800, i64 8, !18}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !10, i64 320}
!21 = !{!"layer", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !13, i64 256, !13, i64 260, !13, i64 264, !10, i64 268, !13, i64 272, !13, i64 276, !13, i64 280, !13, i64 284, !13, i64 288, !13, i64 292, !13, i64 296, !10, i64 300, !10, i64 304, !13, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !13, i64 328, !13, i64 332, !13, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !19, i64 800}
!22 = !{!21, !10, i64 0}
!23 = !{!21, !6, i64 672}
!24 = !{!21, !6, i64 680}
!25 = !{!21, !6, i64 688}
!26 = !{!21, !6, i64 744}
!27 = !{!21, !6, i64 760}
!28 = !{!21, !6, i64 776}
!29 = !{!21, !6, i64 752}
!30 = !{!21, !6, i64 768}
!31 = !{!21, !6, i64 784}
!32 = !{!21, !10, i64 112}
!33 = !{!21, !10, i64 108}
!34 = !{!21, !10, i64 132}
!35 = !{!21, !10, i64 104}
!36 = !{!21, !10, i64 120}
!37 = !{!21, !6, i64 464}
!38 = !{!21, !10, i64 88}
!39 = !{!21, !6, i64 496}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.145 = external hidden unnamed_addr constant [27 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.146 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [7 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: mustprogress 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) #1

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

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

declare void @file_error(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @load_connected_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @load_batchnorm_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @load_weights_upto(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #4 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.layer, align 8
  %8 = load ptr, ptr @stderr, align 8, !tbaa !5
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.145, ptr noundef %1) #5
  %10 = load ptr, ptr @stdout, align 8, !tbaa !5
  %11 = tail call i32 @fflush(ptr noundef %10)
  %12 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.146)
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %13, label %14

13:                                               ; preds = %3
  tail call void @file_error(ptr noundef %1) #6
  br label %14

14:                                               ; preds = %13, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %15 = call i64 @fread(ptr noundef nonnull %4, i64 noundef 4, i64 noundef 1, ptr noundef %12)
  %16 = call i64 @fread(ptr noundef nonnull %5, i64 noundef 4, i64 noundef 1, ptr noundef %12)
  %17 = call i64 @fread(ptr noundef nonnull %6, i64 noundef 4, i64 noundef 1, ptr noundef %12)
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = tail call i64 @fread(ptr noundef %19, i64 noundef 4, i64 noundef 1, ptr noundef %12)
  %21 = load i32, ptr %4, align 4, !tbaa !13
  %22 = icmp sgt i32 %21, 1000
  %23 = load i32, ptr %5, align 4
  %24 = icmp sgt i32 %23, 1000
  %25 = select i1 %22, i1 true, i1 %24
  %26 = zext i1 %25 to i32
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !14
  %29 = icmp sgt i32 %28, 0
  %30 = icmp sgt i32 %2, 0
  %31 = and i1 %30, %29
  br i1 %31, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %32 = getelementptr inbounds i8, ptr %0, i64 40
  %33 = getelementptr inbounds i8, ptr %7, i64 320
  %34 = getelementptr inbounds i8, ptr %7, i64 672
  %35 = getelementptr inbounds i8, ptr %7, i64 680
  %36 = getelementptr inbounds i8, ptr %7, i64 688
  %37 = getelementptr inbounds i8, ptr %7, i64 744
  %38 = getelementptr inbounds i8, ptr %7, i64 760
  %39 = getelementptr inbounds i8, ptr %7, i64 776
  %40 = getelementptr inbounds i8, ptr %7, i64 752
  %41 = getelementptr inbounds i8, ptr %7, i64 768
  %42 = getelementptr inbounds i8, ptr %7, i64 784
  %43 = getelementptr inbounds i8, ptr %7, i64 112
  %44 = getelementptr inbounds i8, ptr %7, i64 108
  %45 = getelementptr inbounds i8, ptr %7, i64 132
  %46 = getelementptr inbounds i8, ptr %7, i64 104
  %47 = getelementptr inbounds i8, ptr %7, i64 120
  %48 = getelementptr inbounds i8, ptr %7, i64 464
  %49 = getelementptr inbounds i8, ptr %7, i64 88
  %50 = getelementptr inbounds i8, ptr %7, i64 496
  %51 = zext nneg i32 %2 to i64
  br label %52

52:                                               ; preds = %.lr.ph, %113
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %113 ]
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %7) #6
  %53 = load ptr, ptr %32, align 8, !tbaa !15
  %54 = getelementptr inbounds %struct.layer, ptr %53, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(808) %7, ptr noundef nonnull align 8 dereferenceable(808) %54, i64 808, i1 false), !tbaa.struct !16
  %55 = load i32, ptr %33, align 8, !tbaa !20
  %.not45 = icmp eq i32 %55, 0
  br i1 %.not45, label %56, label %113

56:                                               ; preds = %52
  %57 = load i32, ptr %7, align 8, !tbaa !22
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %56
  tail call void @load_convolutional_weights(ptr noundef nonnull byval(%struct.layer) align 8 %54, ptr noundef %12)
  %.pr = load i32, ptr %7, align 8, !tbaa !22
  br label %60

60:                                               ; preds = %59, %56
  %61 = phi i32 [ %.pr, %59 ], [ %57, %56 ]
  %62 = icmp eq i32 %61, 2
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  tail call void @load_connected_weights(ptr noundef nonnull byval(%struct.layer) align 8 %7, ptr noundef %12, i32 noundef %26)
  %.pre = load i32, ptr %7, align 8, !tbaa !22
  br label %64

64:                                               ; preds = %63, %60
  %65 = phi i32 [ %.pre, %63 ], [ %61, %60 ]
  %66 = icmp eq i32 %65, 18
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  tail call void @load_batchnorm_weights(ptr noundef nonnull byval(%struct.layer) align 8 %7, ptr noundef %12)
  %.pr46 = load i32, ptr %7, align 8, !tbaa !22
  br label %68

68:                                               ; preds = %67, %64
  %69 = phi i32 [ %.pr46, %67 ], [ %65, %64 ]
  %70 = icmp eq i32 %69, 17
  br i1 %70, label %71, label %75

71:                                               ; preds = %68
  %72 = load ptr, ptr %34, align 8, !tbaa !23
  tail call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %72, ptr noundef %12)
  %73 = load ptr, ptr %35, align 8, !tbaa !24
  tail call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %73, ptr noundef %12)
  %74 = load ptr, ptr %36, align 8, !tbaa !25
  tail call void @load_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %74, ptr noundef %12)
  %.pre50 = load i32, ptr %7, align 8, !tbaa !22
  br label %75

75:                                               ; preds = %71, %68
  %76 = phi i32 [ %.pre50, %71 ], [ %69, %68 ]
  %77 = icmp eq i32 %76, 15
  br i1 %77, label %78, label %82

78:                                               ; preds = %75
  %79 = load ptr, ptr %34, align 8, !tbaa !23
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %79, ptr noundef %12, i32 noundef %26)
  %80 = load ptr, ptr %35, align 8, !tbaa !24
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %80, ptr noundef %12, i32 noundef %26)
  %81 = load ptr, ptr %36, align 8, !tbaa !25
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %81, ptr noundef %12, i32 noundef %26)
  %.pr47 = load i32, ptr %7, align 8, !tbaa !22
  br label %82

82:                                               ; preds = %78, %75
  %83 = phi i32 [ %.pr47, %78 ], [ %76, %75 ]
  %84 = icmp eq i32 %83, 16
  br i1 %84, label %85, label %92

85:                                               ; preds = %82
  %86 = load ptr, ptr %37, align 8, !tbaa !26
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %86, ptr noundef %12, i32 noundef %26)
  %87 = load ptr, ptr %38, align 8, !tbaa !27
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %87, ptr noundef %12, i32 noundef %26)
  %88 = load ptr, ptr %39, align 8, !tbaa !28
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %88, ptr noundef %12, i32 noundef %26)
  %89 = load ptr, ptr %40, align 8, !tbaa !29
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %89, ptr noundef %12, i32 noundef %26)
  %90 = load ptr, ptr %41, align 8, !tbaa !30
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %90, ptr noundef %12, i32 noundef %26)
  %91 = load ptr, ptr %42, align 8, !tbaa !31
  tail call void @load_connected_weights(ptr noundef byval(%struct.layer) align 8 %91, ptr noundef %12, i32 noundef %26)
  %.pre51 = load i32, ptr %7, align 8, !tbaa !22
  br label %92

92:                                               ; preds = %85, %82
  %93 = phi i32 [ %.pre51, %85 ], [ %83, %82 ]
  %94 = icmp eq i32 %93, 12
  br i1 %94, label %95, label %113

95:                                               ; preds = %92
  %96 = load i32, ptr %43, align 8, !tbaa !32
  %97 = load i32, ptr %44, align 4, !tbaa !33
  %98 = load i32, ptr %45, align 4, !tbaa !34
  %99 = load i32, ptr %46, align 8, !tbaa !35
  %100 = load i32, ptr %47, align 8, !tbaa !36
  %101 = mul i32 %97, %96
  %102 = mul i32 %101, %98
  %103 = mul i32 %102, %98
  %104 = mul i32 %103, %99
  %105 = mul i32 %104, %100
  %106 = load ptr, ptr %48, align 8, !tbaa !37
  %107 = load i32, ptr %49, align 8, !tbaa !38
  %108 = sext i32 %107 to i64
  %109 = tail call i64 @fread(ptr noundef %106, i64 noundef 4, i64 noundef %108, ptr noundef %12)
  %110 = load ptr, ptr %50, align 8, !tbaa !39
  %111 = sext i32 %105 to i64
  %112 = tail call i64 @fread(ptr noundef %110, i64 noundef 4, i64 noundef %111, ptr noundef %12)
  br label %113

113:                                              ; preds = %92, %95, %52
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %7) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %114 = load i32, ptr %27, align 8, !tbaa !14
  %115 = sext i32 %114 to i64
  %116 = icmp slt i64 %indvars.iv.next, %115
  %117 = icmp ult i64 %indvars.iv.next, %51
  %118 = and i1 %117, %116
  br i1 %118, label %52, label %._crit_edge, !llvm.loop !40

._crit_edge:                                      ; preds = %113, %14
  %119 = load ptr, ptr @stderr, align 8, !tbaa !5
  %120 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef nonnull @.str.147) #5
  %121 = tail call i32 @fclose(ptr noundef %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 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 = { cold nounwind }
attributes #6 = { 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 = !{!10, !6, i64 16}
!10 = !{!"network", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !12, i64 24, !11, i64 28, !12, i64 32, !12, i64 36, !6, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !6, i64 96, !6, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !11, i64 180, !6, i64 184}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !6, i64 40}
!16 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 8, !5, i64 40, i64 8, !5, i64 48, i64 8, !5, i64 56, i64 8, !5, i64 64, i64 4, !13, i64 68, i64 4, !13, i64 72, i64 4, !13, i64 76, i64 4, !13, i64 80, i64 4, !13, i64 84, i64 4, !13, i64 88, i64 4, !13, i64 92, i64 4, !13, i64 96, i64 4, !13, i64 100, i64 4, !13, i64 104, i64 4, !13, i64 108, i64 4, !13, i64 112, i64 4, !13, i64 116, i64 4, !13, i64 120, i64 4, !13, i64 124, i64 4, !13, i64 128, i64 4, !13, i64 132, i64 4, !13, i64 136, i64 4, !13, i64 140, i64 4, !13, i64 144, i64 4, !13, i64 148, i64 4, !13, i64 152, i64 4, !13, i64 156, i64 4, !13, i64 160, i64 4, !13, i64 164, i64 4, !13, i64 168, i64 4, !13, i64 172, i64 4, !13, i64 176, i64 4, !13, i64 180, i64 4, !17, i64 184, i64 4, !17, i64 188, i64 4, !17, i64 192, i64 4, !17, i64 196, i64 4, !17, i64 200, i64 4, !17, i64 204, i64 4, !17, i64 208, i64 4, !13, i64 212, i64 4, !13, i64 216, i64 4, !13, i64 220, i64 4, !13, i64 224, i64 4, !13, i64 228, i64 4, !13, i64 232, i64 4, !13, i64 236, i64 4, !13, i64 240, i64 4, !13, i64 244, i64 4, !13, i64 248, i64 4, !13, i64 252, i64 4, !13, i64 256, i64 4, !17, i64 260, i64 4, !17, i64 264, i64 4, !17, i64 268, i64 4, !13, i64 272, i64 4, !17, i64 276, i64 4, !17, i64 280, i64 4, !17, i64 284, i64 4, !17, i64 288, i64 4, !17, i64 292, i64 4, !17, i64 296, i64 4, !17, i64 300, i64 4, !13, i64 304, i64 4, !13, i64 308, i64 4, !17, i64 312, i64 4, !13, i64 316, i64 4, !13, i64 320, i64 4, !13, i64 324, i64 4, !13, i64 328, i64 4, !17, i64 332, i64 4, !17, i64 336, i64 4, !17, i64 344, i64 8, !5, i64 352, i64 8, !5, i64 360, i64 8, !5, i64 368, i64 8, !5, i64 376, i64 8, !5, i64 384, i64 8, !5, i64 392, i64 8, !5, i64 400, i64 8, !5, i64 408, i64 8, !5, i64 416, i64 8, !5, i64 424, i64 8, !5, i64 432, i64 8, !5, i64 440, i64 8, !5, i64 448, i64 8, !5, i64 456, i64 8, !5, i64 464, i64 8, !5, i64 472, i64 8, !5, i64 480, i64 8, !5, i64 488, i64 8, !5, i64 496, i64 8, !5, i64 504, i64 8, !5, i64 512, i64 8, !5, i64 520, i64 8, !5, i64 528, i64 8, !5, i64 536, i64 8, !5, i64 544, i64 8, !5, i64 552, i64 8, !5, i64 560, i64 8, !5, i64 568, i64 8, !5, i64 576, i64 8, !5, i64 584, i64 8, !5, i64 592, i64 8, !5, i64 600, i64 8, !5, i64 608, i64 8, !5, i64 616, i64 8, !5, i64 624, i64 8, !5, i64 632, i64 8, !5, i64 640, i64 8, !5, i64 648, i64 8, !5, i64 656, i64 8, !5, i64 664, i64 8, !5, i64 672, i64 8, !5, i64 680, i64 8, !5, i64 688, i64 8, !5, i64 696, i64 8, !5, i64 704, i64 8, !5, i64 712, i64 8, !5, i64 720, i64 8, !5, i64 728, i64 8, !5, i64 736, i64 8, !5, i64 744, i64 8, !5, i64 752, i64 8, !5, i64 760, i64 8, !5, i64 768, i64 8, !5, i64 776, i64 8, !5, i64 784, i64 8, !5, i64 792, i64 8, !5, i64 800, i64 8, !18}
!17 = !{!12, !12, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !11, i64 320}
!21 = !{!"layer", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !11, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292, !12, i64 296, !11, i64 300, !11, i64 304, !12, i64 308, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !19, i64 800}
!22 = !{!21, !11, i64 0}
!23 = !{!21, !6, i64 672}
!24 = !{!21, !6, i64 680}
!25 = !{!21, !6, i64 688}
!26 = !{!21, !6, i64 744}
!27 = !{!21, !6, i64 760}
!28 = !{!21, !6, i64 776}
!29 = !{!21, !6, i64 752}
!30 = !{!21, !6, i64 768}
!31 = !{!21, !6, i64 784}
!32 = !{!21, !11, i64 112}
!33 = !{!21, !11, i64 108}
!34 = !{!21, !11, i64 132}
!35 = !{!21, !11, i64 104}
!36 = !{!21, !11, i64 120}
!37 = !{!21, !6, i64 464}
!38 = !{!21, !11, i64 88}
!39 = !{!21, !6, i64 496}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}


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