; 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.143 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.144 = 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: 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @save_weights_upto(ptr noundef byval(%struct.network) align 8 %0, ptr noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %struct.layer, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %1, ptr %4, align 8, !tbaa !5
  store i32 %2, ptr %5, align 4, !tbaa !9
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.143, ptr noundef %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call noalias ptr @fopen(ptr noundef %17, ptr noundef @.str.144)
  store ptr %18, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %23, label %21

21:                                               ; preds = %3
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @file_error(ptr noundef %22)
  br label %23

23:                                               ; preds = %21, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call i64 @fwrite(ptr noundef %7, i64 noundef 4, i64 noundef 1, ptr noundef %24)
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call i64 @fwrite(ptr noundef %8, i64 noundef 4, i64 noundef 1, ptr noundef %26)
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call i64 @fwrite(ptr noundef %9, i64 noundef 4, i64 noundef 1, ptr noundef %28)
  %30 = getelementptr inbounds %struct.network, ptr %0, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call i64 @fwrite(ptr noundef %31, i64 noundef 4, i64 noundef 1, ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %156, %23
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = getelementptr inbounds %struct.network, ptr %0, i32 0, i32 1
  %37 = load i32, ptr %36, align 8, !tbaa !14
  %38 = icmp slt i32 %35, %37
  br i1 %38, label %39, label %43

39:                                               ; preds = %34
  %40 = load i32, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = icmp slt i32 %40, %41
  br label %43

43:                                               ; preds = %39, %34
  %44 = phi i1 [ false, %34 ], [ %42, %39 ]
  br i1 %44, label %45, label %159

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 808, ptr %11) #5
  %46 = getelementptr inbounds %struct.network, ptr %0, i32 0, i32 8
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds %struct.layer, ptr %47, i64 %49
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %50, i64 808, i1 false), !tbaa.struct !16
  %51 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !20
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %56

54:                                               ; preds = %45
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %11, ptr noundef %55)
  br label %56

56:                                               ; preds = %54, %45
  %57 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %58 = load i32, ptr %57, align 8, !tbaa !20
  %59 = icmp eq i32 %58, 2
  br i1 %59, label %60, label %62

60:                                               ; preds = %56
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %11, ptr noundef %61)
  br label %62

62:                                               ; preds = %60, %56
  %63 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %65 = icmp eq i32 %64, 18
  br i1 %65, label %66, label %68

66:                                               ; preds = %62
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_batchnorm_weights(ptr noundef byval(%struct.layer) align 8 %11, ptr noundef %67)
  br label %68

68:                                               ; preds = %66, %62
  %69 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %70 = load i32, ptr %69, align 8, !tbaa !20
  %71 = icmp eq i32 %70, 15
  br i1 %71, label %72, label %82

72:                                               ; preds = %68
  %73 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 119
  %74 = load ptr, ptr %73, align 8, !tbaa !22
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %74, ptr noundef %75)
  %76 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 120
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %77, ptr noundef %78)
  %79 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 121
  %80 = load ptr, ptr %79, align 8, !tbaa !24
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %80, ptr noundef %81)
  br label %82

82:                                               ; preds = %72, %68
  %83 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %84 = load i32, ptr %83, align 8, !tbaa !20
  %85 = icmp eq i32 %84, 16
  br i1 %85, label %86, label %105

86:                                               ; preds = %82
  %87 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 128
  %88 = load ptr, ptr %87, align 8, !tbaa !25
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %88, ptr noundef %89)
  %90 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 130
  %91 = load ptr, ptr %90, align 8, !tbaa !26
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %91, ptr noundef %92)
  %93 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 132
  %94 = load ptr, ptr %93, align 8, !tbaa !27
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %94, ptr noundef %95)
  %96 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 129
  %97 = load ptr, ptr %96, align 8, !tbaa !28
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %97, ptr noundef %98)
  %99 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 131
  %100 = load ptr, ptr %99, align 8, !tbaa !29
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %100, ptr noundef %101)
  %102 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 133
  %103 = load ptr, ptr %102, align 8, !tbaa !30
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %103, ptr noundef %104)
  br label %105

105:                                              ; preds = %86, %82
  %106 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !20
  %108 = icmp eq i32 %107, 17
  br i1 %108, label %109, label %119

109:                                              ; preds = %105
  %110 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 119
  %111 = load ptr, ptr %110, align 8, !tbaa !22
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %111, ptr noundef %112)
  %113 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 120
  %114 = load ptr, ptr %113, align 8, !tbaa !23
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %114, ptr noundef %115)
  %116 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 121
  %117 = load ptr, ptr %116, align 8, !tbaa !24
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %117, ptr noundef %118)
  br label %119

119:                                              ; preds = %109, %105
  %120 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !20
  %122 = icmp eq i32 %121, 12
  br i1 %122, label %123, label %155

123:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %124 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 21
  %125 = load i32, ptr %124, align 8, !tbaa !31
  %126 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 20
  %127 = load i32, ptr %126, align 4, !tbaa !32
  %128 = mul nsw i32 %125, %127
  store i32 %128, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %129 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 26
  %130 = load i32, ptr %129, align 4, !tbaa !33
  %131 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 26
  %132 = load i32, ptr %131, align 4, !tbaa !33
  %133 = mul nsw i32 %130, %132
  %134 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 19
  %135 = load i32, ptr %134, align 8, !tbaa !34
  %136 = mul nsw i32 %133, %135
  %137 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 23
  %138 = load i32, ptr %137, align 8, !tbaa !35
  %139 = mul nsw i32 %136, %138
  %140 = load i32, ptr %12, align 4, !tbaa !9
  %141 = mul nsw i32 %139, %140
  store i32 %141, ptr %13, align 4, !tbaa !9
  %142 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 93
  %143 = load ptr, ptr %142, align 8, !tbaa !36
  %144 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 15
  %145 = load i32, ptr %144, align 8, !tbaa !37
  %146 = sext i32 %145 to i64
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = call i64 @fwrite(ptr noundef %143, i64 noundef 4, i64 noundef %146, ptr noundef %147)
  %149 = getelementptr inbounds %struct.layer, ptr %11, i32 0, i32 97
  %150 = load ptr, ptr %149, align 8, !tbaa !38
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = call i64 @fwrite(ptr noundef %150, i64 noundef 4, i64 noundef %152, ptr noundef %153)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %155

155:                                              ; preds = %123, %119
  call void @llvm.lifetime.end.p0(i64 808, ptr %11) #5
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %10, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %10, align 4, !tbaa !9
  br label %34, !llvm.loop !39

159:                                              ; preds = %43
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = call i32 @fclose(ptr noundef %160)
  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 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  ret void
}

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 0}
!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, !6, i64 672}
!23 = !{!21, !6, i64 680}
!24 = !{!21, !6, i64 688}
!25 = !{!21, !6, i64 744}
!26 = !{!21, !6, i64 760}
!27 = !{!21, !6, i64 776}
!28 = !{!21, !6, i64 752}
!29 = !{!21, !6, i64 768}
!30 = !{!21, !6, i64 784}
!31 = !{!21, !10, i64 112}
!32 = !{!21, !10, i64 108}
!33 = !{!21, !10, i64 132}
!34 = !{!21, !10, i64 104}
!35 = !{!21, !10, i64 120}
!36 = !{!21, !6, i64 464}
!37 = !{!21, !10, i64 88}
!38 = !{!21, !6, i64 496}
!39 = distinct !{!39, !40}
!40 = !{!"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 }
%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 local_unnamed_addr global ptr, align 8
@.str.143 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.144 = 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: 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: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @save_weights_upto(ptr nocapture noundef readonly byval(%struct.network) align 8 %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.143, ptr noundef %1) #6
  %10 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.144)
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %11, label %12

11:                                               ; preds = %3
  tail call void @file_error(ptr noundef %1) #7
  br label %12

12:                                               ; preds = %11, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !9
  %13 = call i64 @fwrite(ptr noundef nonnull %4, i64 noundef 4, i64 noundef 1, ptr noundef %10)
  %14 = call i64 @fwrite(ptr noundef nonnull %5, i64 noundef 4, i64 noundef 1, ptr noundef %10)
  %15 = call i64 @fwrite(ptr noundef nonnull %6, i64 noundef 4, i64 noundef 1, ptr noundef %10)
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = tail call i64 @fwrite(ptr noundef %17, i64 noundef 4, i64 noundef 1, ptr noundef %10)
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = load i32, ptr %19, align 8, !tbaa !14
  %invariant.smin = tail call i32 @llvm.smin.i32(i32 %2, i32 %20)
  %21 = icmp sgt i32 %invariant.smin, 0
  br i1 %21, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %12
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %7, i64 672
  %25 = getelementptr inbounds i8, ptr %7, i64 680
  %26 = getelementptr inbounds i8, ptr %7, i64 688
  %27 = getelementptr inbounds i8, ptr %7, i64 744
  %28 = getelementptr inbounds i8, ptr %7, i64 760
  %29 = getelementptr inbounds i8, ptr %7, i64 776
  %30 = getelementptr inbounds i8, ptr %7, i64 752
  %31 = getelementptr inbounds i8, ptr %7, i64 768
  %32 = getelementptr inbounds i8, ptr %7, i64 784
  %33 = getelementptr inbounds i8, ptr %7, i64 112
  %34 = getelementptr inbounds i8, ptr %7, i64 108
  %35 = getelementptr inbounds i8, ptr %7, i64 132
  %36 = getelementptr inbounds i8, ptr %7, i64 104
  %37 = getelementptr inbounds i8, ptr %7, i64 120
  %38 = getelementptr inbounds i8, ptr %7, i64 464
  %39 = getelementptr inbounds i8, ptr %7, i64 88
  %40 = getelementptr inbounds i8, ptr %7, i64 496
  %wide.trip.count = zext nneg i32 %invariant.smin to i64
  br label %41

41:                                               ; preds = %.lr.ph, %99
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %99 ]
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %7) #7
  %42 = getelementptr inbounds %struct.layer, ptr %23, 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) %42, i64 808, i1 false), !tbaa.struct !16
  %43 = load i32, ptr %7, align 8, !tbaa !20
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %41
  tail call void @save_convolutional_weights(ptr noundef nonnull byval(%struct.layer) align 8 %42, ptr noundef %10)
  %.pr = load i32, ptr %7, align 8, !tbaa !20
  br label %46

46:                                               ; preds = %45, %41
  %47 = phi i32 [ %.pr, %45 ], [ %43, %41 ]
  %48 = icmp eq i32 %47, 2
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  tail call void @save_connected_weights(ptr noundef nonnull byval(%struct.layer) align 8 %7, ptr noundef %10)
  %.pre = load i32, ptr %7, align 8, !tbaa !20
  br label %50

50:                                               ; preds = %49, %46
  %51 = phi i32 [ %.pre, %49 ], [ %47, %46 ]
  %52 = icmp eq i32 %51, 18
  br i1 %52, label %53, label %54

53:                                               ; preds = %50
  tail call void @save_batchnorm_weights(ptr noundef nonnull byval(%struct.layer) align 8 %7, ptr noundef %10)
  %.pr32 = load i32, ptr %7, align 8, !tbaa !20
  br label %54

54:                                               ; preds = %53, %50
  %55 = phi i32 [ %.pr32, %53 ], [ %51, %50 ]
  %56 = icmp eq i32 %55, 15
  br i1 %56, label %57, label %61

57:                                               ; preds = %54
  %58 = load ptr, ptr %24, align 8, !tbaa !22
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %58, ptr noundef %10)
  %59 = load ptr, ptr %25, align 8, !tbaa !23
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %59, ptr noundef %10)
  %60 = load ptr, ptr %26, align 8, !tbaa !24
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %60, ptr noundef %10)
  %.pre36 = load i32, ptr %7, align 8, !tbaa !20
  br label %61

61:                                               ; preds = %57, %54
  %62 = phi i32 [ %.pre36, %57 ], [ %55, %54 ]
  %63 = icmp eq i32 %62, 16
  br i1 %63, label %64, label %71

64:                                               ; preds = %61
  %65 = load ptr, ptr %27, align 8, !tbaa !25
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %65, ptr noundef %10)
  %66 = load ptr, ptr %28, align 8, !tbaa !26
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %66, ptr noundef %10)
  %67 = load ptr, ptr %29, align 8, !tbaa !27
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %67, ptr noundef %10)
  %68 = load ptr, ptr %30, align 8, !tbaa !28
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %68, ptr noundef %10)
  %69 = load ptr, ptr %31, align 8, !tbaa !29
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %69, ptr noundef %10)
  %70 = load ptr, ptr %32, align 8, !tbaa !30
  tail call void @save_connected_weights(ptr noundef byval(%struct.layer) align 8 %70, ptr noundef %10)
  %.pr33 = load i32, ptr %7, align 8, !tbaa !20
  br label %71

71:                                               ; preds = %64, %61
  %72 = phi i32 [ %.pr33, %64 ], [ %62, %61 ]
  %73 = icmp eq i32 %72, 17
  br i1 %73, label %74, label %78

74:                                               ; preds = %71
  %75 = load ptr, ptr %24, align 8, !tbaa !22
  tail call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %75, ptr noundef %10)
  %76 = load ptr, ptr %25, align 8, !tbaa !23
  tail call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %76, ptr noundef %10)
  %77 = load ptr, ptr %26, align 8, !tbaa !24
  tail call void @save_convolutional_weights(ptr noundef byval(%struct.layer) align 8 %77, ptr noundef %10)
  %.pre37 = load i32, ptr %7, align 8, !tbaa !20
  br label %78

78:                                               ; preds = %74, %71
  %79 = phi i32 [ %.pre37, %74 ], [ %72, %71 ]
  %80 = icmp eq i32 %79, 12
  br i1 %80, label %81, label %99

81:                                               ; preds = %78
  %82 = load i32, ptr %33, align 8, !tbaa !31
  %83 = load i32, ptr %34, align 4, !tbaa !32
  %84 = load i32, ptr %35, align 4, !tbaa !33
  %85 = load i32, ptr %36, align 8, !tbaa !34
  %86 = load i32, ptr %37, align 8, !tbaa !35
  %87 = mul i32 %83, %82
  %88 = mul i32 %87, %84
  %89 = mul i32 %88, %84
  %90 = mul i32 %89, %85
  %91 = mul i32 %90, %86
  %92 = load ptr, ptr %38, align 8, !tbaa !36
  %93 = load i32, ptr %39, align 8, !tbaa !37
  %94 = sext i32 %93 to i64
  %95 = tail call i64 @fwrite(ptr noundef %92, i64 noundef 4, i64 noundef %94, ptr noundef %10)
  %96 = load ptr, ptr %40, align 8, !tbaa !38
  %97 = sext i32 %91 to i64
  %98 = tail call i64 @fwrite(ptr noundef %96, i64 noundef 4, i64 noundef %97, ptr noundef %10)
  br label %99

99:                                               ; preds = %81, %78
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %7) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %41, !llvm.loop !39

._crit_edge:                                      ; preds = %99, %12
  %100 = tail call i32 @fclose(ptr noundef %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  ret void
}

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { cold nounwind }
attributes #7 = { 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 0}
!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, !6, i64 672}
!23 = !{!21, !6, i64 680}
!24 = !{!21, !6, i64 688}
!25 = !{!21, !6, i64 744}
!26 = !{!21, !6, i64 760}
!27 = !{!21, !6, i64 776}
!28 = !{!21, !6, i64 752}
!29 = !{!21, !6, i64 768}
!30 = !{!21, !6, i64 784}
!31 = !{!21, !10, i64 112}
!32 = !{!21, !10, i64 108}
!33 = !{!21, !10, i64 132}
!34 = !{!21, !10, i64 104}
!35 = !{!21, !10, i64 120}
!36 = !{!21, !6, i64 464}
!37 = !{!21, !10, i64 88}
!38 = !{!21, !6, i64 496}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}


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