; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/modules/juce_graphics/image_formats/jpglib (execute)

; 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.jpeg_decompress_struct = type { ptr, ptr, ptr, ptr, i8, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, i8, i8, i32, i8, i8, i8, i32, i8, i32, i8, i8, i8, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x ptr], [4 x ptr], i32, ptr, i8, i8, [16 x i8], [16 x i8], [16 x i8], i32, i8, i8, i8, i8, i16, i16, i8, i8, i8, ptr, i32, i32, i32, i32, ptr, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.jpeg_compress_struct = type { ptr, ptr, ptr, ptr, i8, i32, ptr, i32, i32, i32, i32, double, i32, i32, i32, ptr, [4 x ptr], [4 x ptr], [4 x ptr], [16 x i8], [16 x i8], [16 x i8], i32, ptr, i8, i8, i8, i8, i32, i32, i32, i32, i8, i8, i8, i8, i16, i16, i8, i32, i8, i32, i32, i32, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.jpeg_marker_struct = type { ptr, i8, i32, i32, ptr }

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

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

; Function Attrs: nounwind uwtable
define dso_local void @jcopy_markers_execute(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %8, i32 0, i32 60
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  store ptr %10, ptr %7, align 8, !tbaa !5
  br label %11

11:                                               ; preds = %142, %3
  %12 = load ptr, ptr %7, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %146

14:                                               ; preds = %11
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %15, i32 0, i32 32
  %17 = load i8, ptr %16, align 4, !tbaa !15
  %18 = zext i8 %17 to i32
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %72

20:                                               ; preds = %14
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %21, i32 0, i32 1
  %23 = load i8, ptr %22, align 8, !tbaa !17
  %24 = zext i8 %23 to i32
  %25 = icmp eq i32 %24, 224
  br i1 %25, label %26, label %72

26:                                               ; preds = %20
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !19
  %30 = icmp uge i32 %29, 5
  br i1 %30, label %31, label %72

31:                                               ; preds = %26
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %32, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %34, i64 0
  %36 = load i8, ptr %35, align 1, !tbaa !21
  %37 = zext i8 %36 to i32
  %38 = icmp eq i32 %37, 74
  br i1 %38, label %39, label %72

39:                                               ; preds = %31
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %40, i32 0, i32 4
  %42 = load ptr, ptr %41, align 8, !tbaa !20
  %43 = getelementptr inbounds i8, ptr %42, i64 1
  %44 = load i8, ptr %43, align 1, !tbaa !21
  %45 = zext i8 %44 to i32
  %46 = icmp eq i32 %45, 70
  br i1 %46, label %47, label %72

47:                                               ; preds = %39
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !20
  %51 = getelementptr inbounds i8, ptr %50, i64 2
  %52 = load i8, ptr %51, align 1, !tbaa !21
  %53 = zext i8 %52 to i32
  %54 = icmp eq i32 %53, 73
  br i1 %54, label %55, label %72

55:                                               ; preds = %47
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %56, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !20
  %59 = getelementptr inbounds i8, ptr %58, i64 3
  %60 = load i8, ptr %59, align 1, !tbaa !21
  %61 = zext i8 %60 to i32
  %62 = icmp eq i32 %61, 70
  br i1 %62, label %63, label %72

63:                                               ; preds = %55
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !20
  %67 = getelementptr inbounds i8, ptr %66, i64 4
  %68 = load i8, ptr %67, align 1, !tbaa !21
  %69 = zext i8 %68 to i32
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %63
  br label %142

72:                                               ; preds = %63, %55, %47, %39, %31, %26, %20, %14
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %73, i32 0, i32 38
  %75 = load i8, ptr %74, align 4, !tbaa !22
  %76 = zext i8 %75 to i32
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %130

78:                                               ; preds = %72
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %79, i32 0, i32 1
  %81 = load i8, ptr %80, align 8, !tbaa !17
  %82 = zext i8 %81 to i32
  %83 = icmp eq i32 %82, 238
  br i1 %83, label %84, label %130

84:                                               ; preds = %78
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %85, i32 0, i32 3
  %87 = load i32, ptr %86, align 8, !tbaa !19
  %88 = icmp uge i32 %87, 5
  br i1 %88, label %89, label %130

89:                                               ; preds = %84
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %90, i32 0, i32 4
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = getelementptr inbounds i8, ptr %92, i64 0
  %94 = load i8, ptr %93, align 1, !tbaa !21
  %95 = zext i8 %94 to i32
  %96 = icmp eq i32 %95, 65
  br i1 %96, label %97, label %130

97:                                               ; preds = %89
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  %101 = getelementptr inbounds i8, ptr %100, i64 1
  %102 = load i8, ptr %101, align 1, !tbaa !21
  %103 = zext i8 %102 to i32
  %104 = icmp eq i32 %103, 100
  br i1 %104, label %105, label %130

105:                                              ; preds = %97
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %106, i32 0, i32 4
  %108 = load ptr, ptr %107, align 8, !tbaa !20
  %109 = getelementptr inbounds i8, ptr %108, i64 2
  %110 = load i8, ptr %109, align 1, !tbaa !21
  %111 = zext i8 %110 to i32
  %112 = icmp eq i32 %111, 111
  br i1 %112, label %113, label %130

113:                                              ; preds = %105
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %114, i32 0, i32 4
  %116 = load ptr, ptr %115, align 8, !tbaa !20
  %117 = getelementptr inbounds i8, ptr %116, i64 3
  %118 = load i8, ptr %117, align 1, !tbaa !21
  %119 = zext i8 %118 to i32
  %120 = icmp eq i32 %119, 98
  br i1 %120, label %121, label %130

121:                                              ; preds = %113
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %122, i32 0, i32 4
  %124 = load ptr, ptr %123, align 8, !tbaa !20
  %125 = getelementptr inbounds i8, ptr %124, i64 4
  %126 = load i8, ptr %125, align 1, !tbaa !21
  %127 = zext i8 %126 to i32
  %128 = icmp eq i32 %127, 101
  br i1 %128, label %129, label %130

129:                                              ; preds = %121
  br label %142

130:                                              ; preds = %121, %113, %105, %97, %89, %84, %78, %72
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %132, i32 0, i32 1
  %134 = load i8, ptr %133, align 8, !tbaa !17
  %135 = zext i8 %134 to i32
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %136, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !20
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %139, i32 0, i32 3
  %141 = load i32, ptr %140, align 8, !tbaa !19
  call void @jpeg_write_marker(ptr noundef %131, i32 noundef %135, ptr noundef %138, i32 noundef %141)
  br label %142

142:                                              ; preds = %130, %129, %71
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.jpeg_marker_struct, ptr %143, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8, !tbaa !23
  store ptr %145, ptr %7, align 8, !tbaa !5
  br label %11, !llvm.loop !24

146:                                              ; preds = %11
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  ret void
}

declare void @jpeg_write_marker(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 368}
!12 = !{!"jpeg_decompress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !13, i64 80, !7, i64 88, !7, i64 89, !10, i64 92, !7, i64 96, !7, i64 97, !7, i64 98, !10, i64 100, !7, i64 104, !10, i64 108, !7, i64 112, !7, i64 113, !7, i64 114, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !6, i64 144, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !6, i64 176, !7, i64 184, !7, i64 216, !7, i64 248, !10, i64 280, !6, i64 288, !7, i64 296, !7, i64 297, !7, i64 298, !7, i64 314, !7, i64 330, !10, i64 348, !7, i64 352, !7, i64 353, !7, i64 354, !7, i64 355, !14, i64 356, !14, i64 358, !7, i64 360, !7, i64 361, !7, i64 362, !6, i64 368, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !6, i64 392, !10, i64 400, !7, i64 408, !10, i64 440, !10, i64 444, !10, i64 448, !7, i64 452, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !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}
!13 = !{!"double", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!16, !7, i64 276}
!16 = !{!"jpeg_compress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !13, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !6, i64 88, !7, i64 96, !7, i64 128, !7, i64 160, !7, i64 192, !7, i64 208, !7, i64 224, !10, i64 240, !6, i64 248, !7, i64 256, !7, i64 257, !7, i64 258, !7, i64 259, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !7, i64 276, !7, i64 277, !7, i64 278, !7, i64 279, !14, i64 280, !14, i64 282, !7, i64 284, !10, i64 288, !7, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !7, i64 312, !10, i64 344, !10, i64 348, !10, i64 352, !7, i64 356, !10, i64 396, !10, i64 400, !10, i64 404, !10, 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, !10, i64 496}
!17 = !{!18, !7, i64 8}
!18 = !{!"jpeg_marker_struct", !6, i64 0, !7, i64 8, !10, i64 12, !10, i64 16, !6, i64 24}
!19 = !{!18, !10, i64 16}
!20 = !{!18, !6, i64 24}
!21 = !{!7, !7, i64 0}
!22 = !{!16, !7, i64 284}
!23 = !{!18, !6, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"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"

; Function Attrs: nounwind uwtable
define dso_local void @jcopy_markers_execute(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 368
  %.025 = load ptr, ptr %4, align 8, !tbaa !5
  %.not26 = icmp eq ptr %.025, null
  br i1 %.not26, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %5 = getelementptr inbounds i8, ptr %1, i64 276
  %6 = getelementptr inbounds i8, ptr %1, i64 284
  br label %7

7:                                                ; preds = %.lr.ph, %72
  %.027 = phi ptr [ %.025, %.lr.ph ], [ %.0, %72 ]
  %8 = load i8, ptr %5, align 4, !tbaa !9
  %.not23 = icmp eq i8 %8, 0
  br i1 %.not23, label %38, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %.027, i64 8
  %11 = load i8, ptr %10, align 8, !tbaa !14
  %12 = icmp eq i8 %11, -32
  br i1 %12, label %13, label %38

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %.027, i64 16
  %15 = load i32, ptr %14, align 8, !tbaa !16
  %16 = icmp ugt i32 %15, 4
  br i1 %16, label %17, label %38

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %.027, i64 24
  %19 = load ptr, ptr %18, align 8, !tbaa !17
  %20 = load i8, ptr %19, align 1, !tbaa !18
  %21 = icmp eq i8 %20, 74
  br i1 %21, label %22, label %38

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %19, i64 1
  %24 = load i8, ptr %23, align 1, !tbaa !18
  %25 = icmp eq i8 %24, 70
  br i1 %25, label %26, label %38

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %19, i64 2
  %28 = load i8, ptr %27, align 1, !tbaa !18
  %29 = icmp eq i8 %28, 73
  br i1 %29, label %30, label %38

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %19, i64 3
  %32 = load i8, ptr %31, align 1, !tbaa !18
  %33 = icmp eq i8 %32, 70
  br i1 %33, label %34, label %38

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %19, i64 4
  %36 = load i8, ptr %35, align 1, !tbaa !18
  %37 = icmp eq i8 %36, 0
  br i1 %37, label %72, label %38

38:                                               ; preds = %34, %30, %26, %22, %17, %13, %9, %7
  %39 = load i8, ptr %6, align 4, !tbaa !19
  %.not24 = icmp ne i8 %39, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.027, i64 8
  %.pre = load i8, ptr %.phi.trans.insert, align 8, !tbaa !14
  %40 = icmp eq i8 %.pre, -18
  %or.cond = select i1 %.not24, i1 %40, i1 false
  br i1 %or.cond, label %41, label %._crit_edge28

41:                                               ; preds = %38
  %42 = getelementptr inbounds i8, ptr %.027, i64 16
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = icmp ugt i32 %43, 4
  br i1 %44, label %45, label %._crit_edge28

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %.027, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !17
  %48 = load i8, ptr %47, align 1, !tbaa !18
  %49 = icmp eq i8 %48, 65
  br i1 %49, label %50, label %._crit_edge28

50:                                               ; preds = %45
  %51 = getelementptr inbounds i8, ptr %47, i64 1
  %52 = load i8, ptr %51, align 1, !tbaa !18
  %53 = icmp eq i8 %52, 100
  br i1 %53, label %54, label %._crit_edge28

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %47, i64 2
  %56 = load i8, ptr %55, align 1, !tbaa !18
  %57 = icmp eq i8 %56, 111
  br i1 %57, label %58, label %._crit_edge28

58:                                               ; preds = %54
  %59 = getelementptr inbounds i8, ptr %47, i64 3
  %60 = load i8, ptr %59, align 1, !tbaa !18
  %61 = icmp eq i8 %60, 98
  br i1 %61, label %62, label %._crit_edge28

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %47, i64 4
  %64 = load i8, ptr %63, align 1, !tbaa !18
  %65 = icmp eq i8 %64, 101
  br i1 %65, label %72, label %._crit_edge28

._crit_edge28:                                    ; preds = %38, %62, %58, %54, %50, %45, %41
  %66 = phi i8 [ -18, %62 ], [ -18, %58 ], [ -18, %54 ], [ -18, %50 ], [ -18, %45 ], [ -18, %41 ], [ %.pre, %38 ]
  %67 = zext i8 %66 to i32
  %68 = getelementptr inbounds i8, ptr %.027, i64 24
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = getelementptr inbounds i8, ptr %.027, i64 16
  %71 = load i32, ptr %70, align 8, !tbaa !16
  tail call void @jpeg_write_marker(ptr noundef nonnull %1, i32 noundef %67, ptr noundef %69, i32 noundef %71) #2
  br label %72

72:                                               ; preds = %62, %34, %._crit_edge28
  %.0 = load ptr, ptr %.027, align 8, !tbaa !5
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %._crit_edge, label %7, !llvm.loop !20

._crit_edge:                                      ; preds = %72, %3
  ret void
}

declare void @jpeg_write_marker(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !7, i64 276}
!10 = !{!"jpeg_compress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !12, i64 64, !11, i64 72, !11, i64 76, !11, i64 80, !6, i64 88, !7, i64 96, !7, i64 128, !7, i64 160, !7, i64 192, !7, i64 208, !7, i64 224, !11, i64 240, !6, i64 248, !7, i64 256, !7, i64 257, !7, i64 258, !7, i64 259, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !7, i64 276, !7, i64 277, !7, i64 278, !7, i64 279, !13, i64 280, !13, i64 282, !7, i64 284, !11, i64 288, !7, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !7, i64 312, !11, i64 344, !11, i64 348, !11, i64 352, !7, i64 356, !11, i64 396, !11, i64 400, !11, i64 404, !11, 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, !11, i64 496}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"jpeg_marker_struct", !6, i64 0, !7, i64 8, !11, i64 12, !11, i64 16, !6, i64 24}
!16 = !{!15, !11, i64 16}
!17 = !{!15, !6, i64 24}
!18 = !{!7, !7, i64 0}
!19 = !{!10, !7, i64 284}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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