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

; 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.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 }
%struct.image = type { i32, i32, i32, ptr }
%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 }

@thresh = external dso_local global float, align 4
@hier_thresh = external dso_local global float, align 4
@names = external dso_local global ptr, align 8
@net = external dso_local global %struct.network, align 8
@input = external dso_local global ptr, align 8
@nms = external dso_local global float, align 4
@time_t1 = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @draw_bounding_box(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @camera_detector(ptr noundef byval(%struct.image) align 8 %0) #0 {
  %2 = alloca %struct.image, align 8
  %3 = alloca %struct.layer, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #6
  %8 = load i32, ptr getelementptr inbounds (%struct.network, ptr @net, i32 0, i32 29), align 8, !tbaa !5
  %9 = load i32, ptr getelementptr inbounds (%struct.network, ptr @net, i32 0, i32 28), align 4, !tbaa !12
  call void @resize_image(ptr dead_on_unwind writable sret(%struct.image) align 8 %2, ptr noundef byval(%struct.image) align 8 %0, i32 noundef %8, i32 noundef %9)
  call void @llvm.lifetime.start.p0(i64 808, ptr %3) #6
  %10 = load ptr, ptr getelementptr inbounds (%struct.network, ptr @net, i32 0, i32 8), align 8, !tbaa !13
  %11 = load i32, ptr getelementptr inbounds (%struct.network, ptr @net, i32 0, i32 1), align 8, !tbaa !14
  %12 = sub nsw i32 %11, 1
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds %struct.layer, ptr %10, i64 %13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %14, i64 808, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %15 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %16 = load i32, ptr %15, align 4, !tbaa !21
  %17 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %18 = load i32, ptr %17, align 8, !tbaa !23
  %19 = mul nsw i32 %16, %18
  %20 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %21 = load i32, ptr %20, align 8, !tbaa !24
  %22 = mul nsw i32 %19, %21
  %23 = sext i32 %22 to i64
  %24 = call noalias ptr @calloc(i64 noundef %23, i64 noundef 16) #7
  store ptr %24, ptr %5, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %25 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %26 = load i32, ptr %25, align 4, !tbaa !21
  %27 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %28 = load i32, ptr %27, align 8, !tbaa !23
  %29 = mul nsw i32 %26, %28
  %30 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %31 = load i32, ptr %30, align 8, !tbaa !24
  %32 = mul nsw i32 %29, %31
  %33 = sext i32 %32 to i64
  %34 = call noalias ptr @calloc(i64 noundef %33, i64 noundef 8) #7
  store ptr %34, ptr %6, align 8, !tbaa !17
  store i32 0, ptr %4, align 4, !tbaa !16
  br label %35

35:                                               ; preds = %56, %1
  %36 = load i32, ptr %4, align 4, !tbaa !16
  %37 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %38 = load i32, ptr %37, align 4, !tbaa !21
  %39 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %40 = load i32, ptr %39, align 8, !tbaa !23
  %41 = mul nsw i32 %38, %40
  %42 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %43 = load i32, ptr %42, align 8, !tbaa !24
  %44 = mul nsw i32 %41, %43
  %45 = icmp slt i32 %36, %44
  br i1 %45, label %46, label %59

46:                                               ; preds = %35
  %47 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 46
  %48 = load i32, ptr %47, align 4, !tbaa !25
  %49 = add nsw i32 %48, 1
  %50 = sext i32 %49 to i64
  %51 = call noalias ptr @calloc(i64 noundef %50, i64 noundef 8) #7
  %52 = load ptr, ptr %6, align 8, !tbaa !17
  %53 = load i32, ptr %4, align 4, !tbaa !16
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %52, i64 %54
  store ptr %51, ptr %55, align 8, !tbaa !17
  br label %56

56:                                               ; preds = %46
  %57 = load i32, ptr %4, align 4, !tbaa !16
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %4, align 4, !tbaa !16
  br label %35, !llvm.loop !26

59:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %60 = getelementptr inbounds %struct.image, ptr %2, i32 0, i32 3
  %61 = load ptr, ptr %60, align 8, !tbaa !28
  store ptr %61, ptr %7, align 8, !tbaa !17
  %62 = call i64 @clock() #6
  store i64 %62, ptr @time_t1, align 8, !tbaa !19
  %63 = load ptr, ptr %7, align 8, !tbaa !17
  %64 = call ptr @network_predict(ptr noundef byval(%struct.network) align 8 @net, ptr noundef %63)
  %65 = load ptr, ptr @input, align 8, !tbaa !17
  %66 = call i64 @clock() #6
  %67 = load i64, ptr @time_t1, align 8, !tbaa !19
  %68 = sub nsw i64 %66, %67
  %69 = call float @sec(i64 noundef %68)
  %70 = fpext float %69 to double
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %65, double noundef %70)
  %72 = load float, ptr @thresh, align 4, !tbaa !18
  %73 = load ptr, ptr %6, align 8, !tbaa !17
  %74 = load ptr, ptr %5, align 8, !tbaa !17
  %75 = load float, ptr @hier_thresh, align 4, !tbaa !18
  call void @get_region_boxes(ptr noundef byval(%struct.layer) align 8 %3, i32 noundef 1, i32 noundef 1, float noundef %72, ptr noundef %73, ptr noundef %74, i32 noundef 0, ptr noundef null, float noundef %75)
  %76 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 134
  %77 = load ptr, ptr %76, align 8, !tbaa !30
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %96

79:                                               ; preds = %59
  %80 = load float, ptr @nms, align 4, !tbaa !18
  %81 = fcmp une float %80, 0.000000e+00
  br i1 %81, label %82, label %96

82:                                               ; preds = %79
  %83 = load ptr, ptr %5, align 8, !tbaa !17
  %84 = load ptr, ptr %6, align 8, !tbaa !17
  %85 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %86 = load i32, ptr %85, align 4, !tbaa !21
  %87 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %88 = load i32, ptr %87, align 8, !tbaa !23
  %89 = mul nsw i32 %86, %88
  %90 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %91 = load i32, ptr %90, align 8, !tbaa !24
  %92 = mul nsw i32 %89, %91
  %93 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 46
  %94 = load i32, ptr %93, align 4, !tbaa !25
  %95 = load float, ptr @nms, align 4, !tbaa !18
  call void @do_nms_obj(ptr noundef %83, ptr noundef %84, i32 noundef %92, i32 noundef %94, float noundef %95)
  br label %114

96:                                               ; preds = %79, %59
  %97 = load float, ptr @nms, align 4, !tbaa !18
  %98 = fcmp une float %97, 0.000000e+00
  br i1 %98, label %99, label %113

99:                                               ; preds = %96
  %100 = load ptr, ptr %5, align 8, !tbaa !17
  %101 = load ptr, ptr %6, align 8, !tbaa !17
  %102 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %103 = load i32, ptr %102, align 4, !tbaa !21
  %104 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %105 = load i32, ptr %104, align 8, !tbaa !23
  %106 = mul nsw i32 %103, %105
  %107 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %108 = load i32, ptr %107, align 8, !tbaa !24
  %109 = mul nsw i32 %106, %108
  %110 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 46
  %111 = load i32, ptr %110, align 4, !tbaa !25
  %112 = load float, ptr @nms, align 4, !tbaa !18
  call void @do_nms_sort(ptr noundef %100, ptr noundef %101, i32 noundef %109, i32 noundef %111, float noundef %112)
  br label %113

113:                                              ; preds = %99, %96
  br label %114

114:                                              ; preds = %113, %82
  %115 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 1
  %116 = load i32, ptr %115, align 4, !tbaa !31
  %117 = getelementptr inbounds %struct.image, ptr %0, i32 0, i32 0
  %118 = load i32, ptr %117, align 8, !tbaa !32
  %119 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %120 = load i32, ptr %119, align 4, !tbaa !21
  %121 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %122 = load i32, ptr %121, align 8, !tbaa !23
  %123 = mul nsw i32 %120, %122
  %124 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %125 = load i32, ptr %124, align 8, !tbaa !24
  %126 = mul nsw i32 %123, %125
  %127 = load float, ptr @thresh, align 4, !tbaa !18
  %128 = load ptr, ptr %5, align 8, !tbaa !17
  %129 = load ptr, ptr %6, align 8, !tbaa !17
  %130 = load ptr, ptr @names, align 8, !tbaa !17
  %131 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 46
  %132 = load i32, ptr %131, align 4, !tbaa !25
  call void @draw_bounding_box(i32 noundef %116, i32 noundef %118, i32 noundef %126, float noundef %127, ptr noundef %128, ptr noundef %129, ptr noundef %130, i32 noundef %132)
  call void @free_image(ptr noundef byval(%struct.image) align 8 %0)
  call void @free_image(ptr noundef byval(%struct.image) align 8 %2)
  %133 = load ptr, ptr %5, align 8, !tbaa !17
  call void @free(ptr noundef %133) #6
  %134 = load ptr, ptr %6, align 8, !tbaa !17
  %135 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 18
  %136 = load i32, ptr %135, align 4, !tbaa !21
  %137 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 17
  %138 = load i32, ptr %137, align 8, !tbaa !23
  %139 = mul nsw i32 %136, %138
  %140 = getelementptr inbounds %struct.layer, ptr %3, i32 0, i32 23
  %141 = load i32, ptr %140, align 8, !tbaa !24
  %142 = mul nsw i32 %139, %141
  call void @free_ptrs(ptr noundef %134, i32 noundef %142)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 808, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  ret void
}

declare void @resize_image(ptr dead_on_unwind writable sret(%struct.image) align 8, ptr noundef byval(%struct.image) align 8, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #4

; Function Attrs: nounwind
declare i64 @clock() #5

declare ptr @network_predict(ptr noundef byval(%struct.network) align 8, ptr noundef) #3

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

declare float @sec(i64 noundef) #3

declare void @get_region_boxes(ptr noundef byval(%struct.layer) align 8, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, float noundef) #3

declare void @do_nms_obj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) #3

declare void @do_nms_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) #3

declare void @free_image(ptr noundef byval(%struct.image) align 8) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare void @free_ptrs(ptr noundef, i32 noundef) #3

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

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


; 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.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 }
%struct.image = type { i32, i32, i32, ptr }
%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 }

@thresh = external dso_local local_unnamed_addr global float, align 4
@hier_thresh = external dso_local local_unnamed_addr global float, align 4
@names = external dso_local local_unnamed_addr global ptr, align 8
@net = external dso_local global %struct.network, align 8
@input = external dso_local local_unnamed_addr global ptr, align 8
@nms = external dso_local local_unnamed_addr global float, align 4
@time_t1 = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @draw_bounding_box(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @camera_detector(ptr noundef byval(%struct.image) align 8 %0) local_unnamed_addr #0 {
  %2 = alloca %struct.image, align 8
  %3 = alloca %struct.layer, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  %4 = load i32, ptr getelementptr inbounds (i8, ptr @net, i64 144), align 8, !tbaa !5
  %5 = load i32, ptr getelementptr inbounds (i8, ptr @net, i64 140), align 4, !tbaa !12
  call void @resize_image(ptr dead_on_unwind nonnull writable sret(%struct.image) align 8 %2, ptr noundef nonnull byval(%struct.image) align 8 %0, i32 noundef %4, i32 noundef %5) #8
  call void @llvm.lifetime.start.p0(i64 808, ptr nonnull %3) #8
  %6 = load ptr, ptr getelementptr inbounds (i8, ptr @net, i64 40), align 8, !tbaa !13
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @net, i64 8), align 8, !tbaa !14
  %8 = sext i32 %7 to i64
  %9 = getelementptr %struct.layer, ptr %6, i64 %8
  %10 = getelementptr i8, ptr %9, i64 -808
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(808) %3, ptr noundef nonnull align 8 dereferenceable(808) %10, i64 808, i1 false), !tbaa.struct !15
  %11 = getelementptr inbounds i8, ptr %3, i64 100
  %12 = load i32, ptr %11, align 4, !tbaa !21
  %13 = getelementptr inbounds i8, ptr %3, i64 96
  %14 = load i32, ptr %13, align 8, !tbaa !23
  %15 = mul nsw i32 %14, %12
  %16 = getelementptr inbounds i8, ptr %3, i64 120
  %17 = load i32, ptr %16, align 8, !tbaa !24
  %18 = mul nsw i32 %15, %17
  %19 = sext i32 %18 to i64
  %20 = call noalias ptr @calloc(i64 noundef %19, i64 noundef 16) #9
  %21 = call noalias ptr @calloc(i64 noundef %19, i64 noundef 8) #9
  %22 = icmp sgt i32 %18, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %23 = getelementptr inbounds i8, ptr %3, i64 212
  %24 = load i32, ptr %23, align 4, !tbaa !25
  %25 = add nsw i32 %24, 1
  %26 = sext i32 %25 to i64
  %wide.trip.count = zext nneg i32 %18 to i64
  br label %27

27:                                               ; preds = %.lr.ph, %27
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %27 ]
  %28 = call noalias ptr @calloc(i64 noundef %26, i64 noundef 8) #9
  %29 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv
  store ptr %28, ptr %29, align 8, !tbaa !17
  %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 %27, !llvm.loop !26

._crit_edge:                                      ; preds = %27, %1
  %30 = getelementptr inbounds i8, ptr %2, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !28
  %32 = call i64 @clock() #8
  store i64 %32, ptr @time_t1, align 8, !tbaa !19
  %33 = call ptr @network_predict(ptr noundef nonnull byval(%struct.network) align 8 @net, ptr noundef %31) #8
  %34 = load ptr, ptr @input, align 8, !tbaa !17
  %35 = call i64 @clock() #8
  %36 = load i64, ptr @time_t1, align 8, !tbaa !19
  %37 = sub nsw i64 %35, %36
  %38 = call float @sec(i64 noundef %37) #8
  %39 = fpext float %38 to double
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %34, double noundef %39)
  %41 = load float, ptr @thresh, align 4, !tbaa !18
  %42 = load float, ptr @hier_thresh, align 4, !tbaa !18
  call void @get_region_boxes(ptr noundef nonnull byval(%struct.layer) align 8 %3, i32 noundef 1, i32 noundef 1, float noundef %41, ptr noundef %21, ptr noundef %20, i32 noundef 0, ptr noundef null, float noundef %42) #8
  %43 = getelementptr inbounds i8, ptr %3, i64 792
  %44 = load ptr, ptr %43, align 8, !tbaa !30
  %45 = icmp ne ptr %44, null
  %46 = load float, ptr @nms, align 4
  %47 = fcmp une float %46, 0.000000e+00
  %or.cond = select i1 %45, i1 %47, i1 false
  br i1 %or.cond, label %48, label %56

48:                                               ; preds = %._crit_edge
  %49 = load i32, ptr %11, align 4, !tbaa !21
  %50 = load i32, ptr %13, align 8, !tbaa !23
  %51 = mul nsw i32 %50, %49
  %52 = load i32, ptr %16, align 8, !tbaa !24
  %53 = mul nsw i32 %51, %52
  %54 = getelementptr inbounds i8, ptr %3, i64 212
  %55 = load i32, ptr %54, align 4, !tbaa !25
  call void @do_nms_obj(ptr noundef %20, ptr noundef %21, i32 noundef %53, i32 noundef %55, float noundef %46) #8
  br label %65

56:                                               ; preds = %._crit_edge
  br i1 %47, label %57, label %65

57:                                               ; preds = %56
  %58 = load i32, ptr %11, align 4, !tbaa !21
  %59 = load i32, ptr %13, align 8, !tbaa !23
  %60 = mul nsw i32 %59, %58
  %61 = load i32, ptr %16, align 8, !tbaa !24
  %62 = mul nsw i32 %60, %61
  %63 = getelementptr inbounds i8, ptr %3, i64 212
  %64 = load i32, ptr %63, align 4, !tbaa !25
  call void @do_nms_sort(ptr noundef %20, ptr noundef %21, i32 noundef %62, i32 noundef %64, float noundef %46) #8
  br label %65

65:                                               ; preds = %56, %57, %48
  %66 = getelementptr inbounds i8, ptr %0, i64 4
  %67 = load i32, ptr %66, align 4, !tbaa !31
  %68 = load i32, ptr %0, align 8, !tbaa !32
  %69 = load i32, ptr %11, align 4, !tbaa !21
  %70 = load i32, ptr %13, align 8, !tbaa !23
  %71 = mul nsw i32 %70, %69
  %72 = load i32, ptr %16, align 8, !tbaa !24
  %73 = mul nsw i32 %71, %72
  %74 = load float, ptr @thresh, align 4, !tbaa !18
  %75 = load ptr, ptr @names, align 8, !tbaa !17
  %76 = getelementptr inbounds i8, ptr %3, i64 212
  %77 = load i32, ptr %76, align 4, !tbaa !25
  call void @draw_bounding_box(i32 noundef %67, i32 noundef %68, i32 noundef %73, float noundef %74, ptr noundef %20, ptr noundef %21, ptr noundef %75, i32 noundef %77)
  call void @free_image(ptr noundef nonnull byval(%struct.image) align 8 %0) #8
  call void @free_image(ptr noundef nonnull byval(%struct.image) align 8 %2) #8
  call void @free(ptr noundef %20) #8
  %78 = load i32, ptr %11, align 4, !tbaa !21
  %79 = load i32, ptr %13, align 8, !tbaa !23
  %80 = mul nsw i32 %79, %78
  %81 = load i32, ptr %16, align 8, !tbaa !24
  %82 = mul nsw i32 %80, %81
  call void @free_ptrs(ptr noundef %21, i32 noundef %82) #8
  call void @llvm.lifetime.end.p0(i64 808, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  ret void
}

declare void @resize_image(ptr dead_on_unwind writable sret(%struct.image) align 8, ptr noundef byval(%struct.image) align 8, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #5

declare ptr @network_predict(ptr noundef byval(%struct.network) align 8, ptr noundef) local_unnamed_addr #3

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

declare float @sec(i64 noundef) local_unnamed_addr #3

declare void @get_region_boxes(ptr noundef byval(%struct.layer) align 8, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, float noundef) local_unnamed_addr #3

declare void @do_nms_obj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #3

declare void @do_nms_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #3

declare void @free_image(ptr noundef byval(%struct.image) align 8) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

declare void @free_ptrs(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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


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