; LLVM IR from corentinartaud/graphics :: ThirdParty/FreeImage-3170/Source/LibJPEG (jcparam)

; 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_compress_struct = type { ptr, ptr, ptr, ptr, i8, i32, ptr, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x i32], [4 x ptr], [4 x ptr], [16 x i8], [16 x i8], [16 x i8], i32, ptr, i8, i8, i8, i8, i8, i32, i32, i32, i32, i8, i8, i8, i8, i16, i16, i8, i32, i32, i8, i32, i32, i32, i32, i32, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.jpeg_error_mgr = type { ptr, ptr, ptr, ptr, ptr, i32, %union.anon, i32, i64, ptr, i32, ptr, i32, i32 }
%union.anon = type { [8 x i32], [48 x i8] }
%struct.jpeg_memory_mgr = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64 }

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @jpeg_set_quality(ptr noundef, i32 noundef, i8 noundef zeroext) #1

; Function Attrs: nounwind uwtable
define dso_local void @jpeg_set_defaults(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %4, i32 0, i32 5
  %6 = load i32, ptr %5, align 4, !tbaa !9
  %7 = icmp ne i32 %6, 100
  br i1 %7, label %8, label %27

8:                                                ; preds = %1
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 0
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %12 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %11, i32 0, i32 5
  store i32 21, ptr %12, align 8, !tbaa !15
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %13, i32 0, i32 5
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %16, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %18, i32 0, i32 6
  %20 = getelementptr inbounds [8 x i32], ptr %19, i64 0, i64 0
  store i32 %15, ptr %20, align 4, !tbaa !18
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8, !tbaa !19
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  call void %25(ptr noundef %26)
  br label %27

27:                                               ; preds = %8, %1
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %28, i32 0, i32 19
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %42

32:                                               ; preds = %27
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %33, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = getelementptr inbounds %struct.jpeg_memory_mgr, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = call ptr %37(ptr noundef %38, i32 noundef 0, i64 noundef 960)
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %40, i32 0, i32 19
  store ptr %39, ptr %41, align 8, !tbaa !20
  br label %42

42:                                               ; preds = %32, %27
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %43, i32 0, i32 12
  store i32 1, ptr %44, align 8, !tbaa !24
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %45, i32 0, i32 13
  store i32 1, ptr %46, align 4, !tbaa !25
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %47, i32 0, i32 16
  store i32 8, ptr %48, align 8, !tbaa !26
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  call void @jpeg_set_quality(ptr noundef %49, i32 noundef 75, i8 noundef zeroext 1)
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  call void @std_huff_tables(ptr noundef %50)
  store i32 0, ptr %3, align 4, !tbaa !27
  br label %51

51:                                               ; preds = %70, %42
  %52 = load i32, ptr %3, align 4, !tbaa !27
  %53 = icmp slt i32 %52, 16
  br i1 %53, label %54, label %73

54:                                               ; preds = %51
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %55, i32 0, i32 24
  %57 = load i32, ptr %3, align 4, !tbaa !27
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %58
  store i8 0, ptr %59, align 1, !tbaa !18
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %60, i32 0, i32 25
  %62 = load i32, ptr %3, align 4, !tbaa !27
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [16 x i8], ptr %61, i64 0, i64 %63
  store i8 1, ptr %64, align 1, !tbaa !18
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %65, i32 0, i32 26
  %67 = load i32, ptr %3, align 4, !tbaa !27
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [16 x i8], ptr %66, i64 0, i64 %68
  store i8 5, ptr %69, align 1, !tbaa !18
  br label %70

70:                                               ; preds = %54
  %71 = load i32, ptr %3, align 4, !tbaa !27
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %3, align 4, !tbaa !27
  br label %51, !llvm.loop !28

73:                                               ; preds = %51
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %74, i32 0, i32 28
  store ptr null, ptr %75, align 8, !tbaa !30
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %76, i32 0, i32 27
  store i32 0, ptr %77, align 8, !tbaa !31
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %78, i32 0, i32 29
  store i8 0, ptr %79, align 8, !tbaa !32
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %80, i32 0, i32 16
  %82 = load i32, ptr %81, align 8, !tbaa !26
  %83 = icmp sgt i32 %82, 8
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 1, i32 0
  %86 = trunc i32 %85 to i8
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %87, i32 0, i32 30
  store i8 %86, ptr %88, align 1, !tbaa !33
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %89, i32 0, i32 31
  store i8 0, ptr %90, align 2, !tbaa !34
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %91, i32 0, i32 32
  store i8 0, ptr %92, align 1, !tbaa !35
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %93, i32 0, i32 33
  store i8 1, ptr %94, align 4, !tbaa !36
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %95, i32 0, i32 34
  store i32 0, ptr %96, align 8, !tbaa !37
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %97, i32 0, i32 35
  store i32 0, ptr %98, align 4, !tbaa !38
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %99, i32 0, i32 36
  store i32 0, ptr %100, align 8, !tbaa !39
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %101, i32 0, i32 37
  store i32 0, ptr %102, align 4, !tbaa !40
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %103, i32 0, i32 39
  store i8 1, ptr %104, align 1, !tbaa !41
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %105, i32 0, i32 40
  store i8 1, ptr %106, align 2, !tbaa !42
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %107, i32 0, i32 41
  store i8 0, ptr %108, align 1, !tbaa !43
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %109, i32 0, i32 42
  store i16 1, ptr %110, align 4, !tbaa !44
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %111, i32 0, i32 43
  store i16 1, ptr %112, align 2, !tbaa !45
  %113 = load ptr, ptr %2, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %113, i32 0, i32 45
  store i32 0, ptr %114, align 4, !tbaa !46
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  call void @jpeg_default_colorspace(ptr noundef %115)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @jpeg_default_colorspace(ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 36}
!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, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !6, i64 104, !7, i64 112, !7, i64 144, !7, i64 160, !7, i64 192, !7, i64 224, !7, i64 240, !7, i64 256, !11, i64 272, !6, i64 280, !7, i64 288, !7, i64 289, !7, i64 290, !7, i64 291, !7, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !7, i64 312, !7, i64 313, !7, i64 314, !7, i64 315, !13, i64 316, !13, i64 318, !7, i64 320, !11, i64 324, !11, i64 328, !7, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !7, i64 360, !11, i64 392, !11, i64 396, !11, i64 400, !7, i64 404, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !6, i64 464, !11, 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, !11, i64 560}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!16, !11, i64 40}
!16 = !{!"jpeg_error_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !7, i64 44, !11, i64 124, !17, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !11, i64 164}
!17 = !{!"long", !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!16, !6, i64 0}
!20 = !{!10, !6, i64 104}
!21 = !{!10, !6, i64 8}
!22 = !{!23, !6, i64 0}
!23 = !{!"jpeg_memory_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !17, i64 96}
!24 = !{!10, !11, i64 72}
!25 = !{!10, !11, i64 76}
!26 = !{!10, !11, i64 88}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!10, !6, i64 280}
!31 = !{!10, !11, i64 272}
!32 = !{!10, !7, i64 288}
!33 = !{!10, !7, i64 289}
!34 = !{!10, !7, i64 290}
!35 = !{!10, !7, i64 291}
!36 = !{!10, !7, i64 292}
!37 = !{!10, !11, i64 296}
!38 = !{!10, !11, i64 300}
!39 = !{!10, !11, i64 304}
!40 = !{!10, !11, i64 308}
!41 = !{!10, !7, i64 313}
!42 = !{!10, !7, i64 314}
!43 = !{!10, !7, i64 315}
!44 = !{!10, !13, i64 316}
!45 = !{!10, !13, i64 318}
!46 = !{!10, !11, i64 324}


; 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
declare dso_local void @jpeg_set_quality(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @jpeg_set_defaults(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 36
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %3, 100
  br i1 %.not, label %10, label %4

4:                                                ; preds = %1
  %5 = load ptr, ptr %0, align 8, !tbaa !13
  %6 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 21, ptr %6, align 8, !tbaa !14
  %7 = getelementptr inbounds i8, ptr %5, i64 44
  store i32 %3, ptr %7, align 4, !tbaa !17
  %8 = load ptr, ptr %0, align 8, !tbaa !13
  %9 = load ptr, ptr %8, align 8, !tbaa !18
  tail call void %9(ptr noundef nonnull %0) #2
  br label %10

10:                                               ; preds = %4, %1
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = load ptr, ptr %11, align 8, !tbaa !19
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %19

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !20
  %17 = load ptr, ptr %16, align 8, !tbaa !21
  %18 = tail call ptr %17(ptr noundef nonnull %0, i32 noundef 0, i64 noundef 960) #2
  store ptr %18, ptr %11, align 8, !tbaa !19
  br label %19

19:                                               ; preds = %14, %10
  %20 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 1, ptr %20, align 8, !tbaa !23
  %21 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 1, ptr %21, align 4, !tbaa !24
  %22 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 8, ptr %22, align 8, !tbaa !25
  tail call void @jpeg_set_quality(ptr noundef nonnull %0, i32 noundef 75, i8 noundef zeroext 1)
  tail call void @std_huff_tables(ptr noundef nonnull %0)
  %23 = getelementptr inbounds i8, ptr %0, i64 224
  %24 = getelementptr inbounds i8, ptr %0, i64 240
  %25 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %23, i8 0, i64 16, i1 false), !tbaa !17
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %24, i8 1, i64 16, i1 false), !tbaa !17
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %25, i8 5, i64 16, i1 false), !tbaa !17
  %26 = getelementptr inbounds i8, ptr %0, i64 280
  store ptr null, ptr %26, align 8, !tbaa !26
  %27 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %27, align 8, !tbaa !27
  %28 = getelementptr inbounds i8, ptr %0, i64 288
  store i8 0, ptr %28, align 8, !tbaa !28
  %29 = load i32, ptr %22, align 8, !tbaa !25
  %30 = icmp sgt i32 %29, 8
  %31 = zext i1 %30 to i8
  %32 = getelementptr inbounds i8, ptr %0, i64 289
  store i8 %31, ptr %32, align 1, !tbaa !29
  %33 = getelementptr inbounds i8, ptr %0, i64 290
  store i8 0, ptr %33, align 2, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %0, i64 291
  store i8 0, ptr %34, align 1, !tbaa !31
  %35 = getelementptr inbounds i8, ptr %0, i64 292
  store i8 1, ptr %35, align 4, !tbaa !32
  %36 = getelementptr inbounds i8, ptr %0, i64 296
  %37 = getelementptr inbounds i8, ptr %0, i64 313
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %36, i8 0, i64 16, i1 false)
  store i8 1, ptr %37, align 1, !tbaa !33
  %38 = getelementptr inbounds i8, ptr %0, i64 314
  store i8 1, ptr %38, align 2, !tbaa !34
  %39 = getelementptr inbounds i8, ptr %0, i64 315
  store i8 0, ptr %39, align 1, !tbaa !35
  %40 = getelementptr inbounds i8, ptr %0, i64 316
  store i16 1, ptr %40, align 4, !tbaa !36
  %41 = getelementptr inbounds i8, ptr %0, i64 318
  store i16 1, ptr %41, align 2, !tbaa !37
  %42 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 0, ptr %42, align 4, !tbaa !38
  tail call void @jpeg_default_colorspace(ptr noundef nonnull %0)
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @jpeg_default_colorspace(ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !10, i64 36}
!6 = !{!"jpeg_compress_struct", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !8, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !11, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !7, i64 104, !8, i64 112, !8, i64 144, !8, i64 160, !8, i64 192, !8, i64 224, !8, i64 240, !8, i64 256, !10, i64 272, !7, i64 280, !8, i64 288, !8, i64 289, !8, i64 290, !8, i64 291, !8, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !8, i64 312, !8, i64 313, !8, i64 314, !8, i64 315, !12, i64 316, !12, i64 318, !8, i64 320, !10, i64 324, !10, i64 328, !8, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !8, i64 360, !10, i64 392, !10, i64 396, !10, i64 400, !8, i64 404, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !7, i64 464, !10, 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, !10, i64 560}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !10, i64 40}
!15 = !{!"jpeg_error_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !8, i64 44, !10, i64 124, !16, i64 128, !7, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 164}
!16 = !{!"long", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !7, i64 0}
!19 = !{!6, !7, i64 104}
!20 = !{!6, !7, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"jpeg_memory_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !16, i64 88, !16, i64 96}
!23 = !{!6, !10, i64 72}
!24 = !{!6, !10, i64 76}
!25 = !{!6, !10, i64 88}
!26 = !{!6, !7, i64 280}
!27 = !{!6, !10, i64 272}
!28 = !{!6, !8, i64 288}
!29 = !{!6, !8, i64 289}
!30 = !{!6, !8, i64 290}
!31 = !{!6, !8, i64 291}
!32 = !{!6, !8, i64 292}
!33 = !{!6, !8, i64 313}
!34 = !{!6, !8, i64 314}
!35 = !{!6, !8, i64 315}
!36 = !{!6, !12, i64 316}
!37 = !{!6, !12, i64 318}
!38 = !{!6, !10, i64 324}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass