; LLVM IR from NVIDIA/DALI :: dali/operators/decoder/jpeg/jpeg_mem.ll (ZN4dali4jpeg12GetImageInfoEPKviPiS3_S3_)

; 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, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x ptr], [4 x ptr], i32, ptr, i32, i32, i32, [16 x i8], [16 x i8], [16 x i8], i32, i32, i8, i8, i8, i16, i16, i32, i8, i32, ptr, i32, i32, i32, i32, i32, ptr, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%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.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali4jpeg12GetImageInfoEPKviPiS3_S3_(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.jpeg_decompress_struct, align 8
  %13 = alloca %struct.jpeg_error_mgr, align 8
  %14 = alloca [1 x %struct.__jmp_buf_tag], align 16
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %16 = load ptr, ptr %9, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %20

18:                                               ; preds = %5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %18, %5
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %25

23:                                               ; preds = %20
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %23, %20
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %30

28:                                               ; preds = %25
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %28, %25
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %36, label %33

33:                                               ; preds = %30
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %37

36:                                               ; preds = %33, %30
  store i1 false, ptr %6, align 1
  br label %76

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 656, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 656, i1 false)
  call void @llvm.lifetime.start.p0(i64 168, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr %14) #5
  %38 = call ptr @jpeg_std_error(ptr noundef %13)
  %39 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 0
  store ptr %38, ptr %39, align 8, !tbaa !11
  %40 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 3
  store ptr %14, ptr %40, align 8, !tbaa !18
  %41 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %13, i32 0, i32 0
  store ptr @_ZN4dali4jpeg10CatchErrorEP18jpeg_common_struct, ptr %41, align 8, !tbaa !19
  call void @jpeg_CreateDecompress(ptr noundef %12, i32 noundef 80, i64 noundef 656)
  %42 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %14, i64 0, i64 0
  %43 = call i32 @_setjmp(ptr noundef %42) #6
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %37
  call void @jpeg_destroy_decompress(ptr noundef %12)
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %75

46:                                               ; preds = %37
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  call void @_ZN4dali4jpeg6SetSrcEP22jpeg_decompress_structPKvmb(ptr noundef %12, ptr noundef %47, i64 noundef %49, i1 noundef zeroext false)
  %50 = call i32 @jpeg_read_header(ptr noundef %12, i32 noundef 1)
  %51 = icmp ne i32 %50, 1
  br i1 %51, label %52, label %53

52:                                               ; preds = %46
  call void @jpeg_destroy_decompress(ptr noundef %12)
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %75

53:                                               ; preds = %46
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %60

56:                                               ; preds = %53
  %57 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 7
  %58 = load i32, ptr %57, align 8, !tbaa !22
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %58, ptr %59, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %56, %53
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %67

63:                                               ; preds = %60
  %64 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 8
  %65 = load i32, ptr %64, align 4, !tbaa !23
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 %65, ptr %66, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %63, %60
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %74

70:                                               ; preds = %67
  %71 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 9
  %72 = load i32, ptr %71, align 8, !tbaa !24
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %72, ptr %73, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %70, %67
  call void @jpeg_destroy_decompress(ptr noundef %12)
  store i1 true, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %75

75:                                               ; preds = %74, %52, %45
  call void @llvm.lifetime.end.p0(i64 200, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 656, ptr %12) #5
  br label %76

76:                                               ; preds = %75, %36
  %77 = load i1, ptr %6, align 1
  ret i1 %77
}

declare ptr @jpeg_std_error(ptr noundef) #3

declare void @_ZN4dali4jpeg10CatchErrorEP18jpeg_common_struct(ptr noundef) #3

declare void @jpeg_CreateDecompress(ptr noundef, i32 noundef, i64 noundef) #3

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) #4

declare void @jpeg_destroy_decompress(ptr noundef) #3

declare void @_ZN4dali4jpeg6SetSrcEP22jpeg_decompress_structPKvmb(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext) #3

declare i32 @jpeg_read_header(ptr noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress 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 #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 returns_twice "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 }
attributes #6 = { nounwind returns_twice }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS22jpeg_decompress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !13, i64 60, !13, i64 64, !10, i64 68, !10, i64 72, !14, i64 80, !10, i64 88, !10, i64 92, !15, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !16, 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, !6, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !6, i64 192, !7, i64 200, !7, i64 232, !7, i64 264, !10, i64 296, !6, i64 304, !10, i64 312, !10, i64 316, !10, i64 320, !7, i64 324, !7, i64 340, !7, i64 356, !10, i64 372, !10, i64 376, !7, i64 380, !7, i64 381, !7, i64 382, !17, i64 384, !17, i64 386, !10, i64 388, !7, i64 392, !10, i64 396, !6, i64 400, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !6, i64 432, !10, i64 440, !7, i64 448, !10, i64 480, !10, i64 484, !10, i64 488, !7, i64 492, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !6, i64 552, !10, i64 560, !10, i64 564, !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}
!13 = !{!"_ZTS13J_COLOR_SPACE", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTS12J_DCT_METHOD", !7, i64 0}
!16 = !{!"_ZTS13J_DITHER_MODE", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!12, !6, i64 24}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTS14jpeg_error_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !7, i64 44, !10, i64 124, !21, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !10, i64 164}
!21 = !{!"long", !7, i64 0}
!22 = !{!12, !10, i64 48}
!23 = !{!12, !10, i64 52}
!24 = !{!12, !10, i64 56}


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

; 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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4dali4jpeg12GetImageInfoEPKviPiS3_S3_(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4) local_unnamed_addr #2 {
  %6 = alloca %struct.jpeg_decompress_struct, align 8
  %7 = alloca %struct.jpeg_error_mgr, align 8
  %8 = alloca [1 x %struct.__jmp_buf_tag], align 16
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %10, label %9

9:                                                ; preds = %5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %9, %5
  %.not25 = icmp eq ptr %3, null
  br i1 %.not25, label %12, label %11

11:                                               ; preds = %10
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %11, %10
  %.not26 = icmp eq ptr %4, null
  br i1 %.not26, label %14, label %13

13:                                               ; preds = %12
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %13, %12
  %15 = icmp eq i32 %1, 0
  %16 = icmp eq ptr %0, null
  %or.cond = or i1 %16, %15
  br i1 %or.cond, label %38, label %17

17:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 656, ptr nonnull %6) #5
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(656) %18, i8 0, i64 648, i1 false)
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %8) #5
  %19 = call ptr @jpeg_std_error(ptr noundef nonnull %7)
  store ptr %19, ptr %6, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %6, i64 24
  store ptr %8, ptr %20, align 8, !tbaa !17
  store ptr @_ZN4dali4jpeg10CatchErrorEP18jpeg_common_struct, ptr %7, align 8, !tbaa !18
  call void @jpeg_CreateDecompress(ptr noundef nonnull %6, i32 noundef 80, i64 noundef 656)
  %21 = call i32 @_setjmp(ptr noundef nonnull %8) #6
  %.not27 = icmp eq i32 %21, 0
  br i1 %.not27, label %22, label %37

22:                                               ; preds = %17
  %23 = sext i32 %1 to i64
  call void @_ZN4dali4jpeg6SetSrcEP22jpeg_decompress_structPKvmb(ptr noundef nonnull %6, ptr noundef nonnull %0, i64 noundef %23, i1 noundef zeroext false)
  %24 = call i32 @jpeg_read_header(ptr noundef nonnull %6, i32 noundef 1)
  %.not28 = icmp eq i32 %24, 1
  br i1 %.not28, label %25, label %37

25:                                               ; preds = %22
  br i1 %.not, label %29, label %26

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %6, i64 48
  %28 = load i32, ptr %27, align 8, !tbaa !21
  store i32 %28, ptr %2, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %26, %25
  br i1 %.not25, label %33, label %30

30:                                               ; preds = %29
  %31 = getelementptr inbounds i8, ptr %6, i64 52
  %32 = load i32, ptr %31, align 4, !tbaa !22
  store i32 %32, ptr %3, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %30, %29
  br i1 %.not26, label %37, label %34

34:                                               ; preds = %33
  %35 = getelementptr inbounds i8, ptr %6, i64 56
  %36 = load i32, ptr %35, align 8, !tbaa !23
  store i32 %36, ptr %4, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %33, %34, %22, %17
  %.0 = phi i1 [ false, %17 ], [ false, %22 ], [ true, %34 ], [ true, %33 ]
  call void @jpeg_destroy_decompress(ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 656, ptr nonnull %6) #5
  br label %38

38:                                               ; preds = %14, %37
  %.1 = phi i1 [ %.0, %37 ], [ false, %14 ]
  ret i1 %.1
}

declare ptr @jpeg_std_error(ptr noundef) local_unnamed_addr #3

declare void @_ZN4dali4jpeg10CatchErrorEP18jpeg_common_struct(ptr noundef) #3

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

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) local_unnamed_addr #4

declare void @jpeg_destroy_decompress(ptr noundef) local_unnamed_addr #3

declare void @_ZN4dali4jpeg6SetSrcEP22jpeg_decompress_structPKvmb(ptr noundef, ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #3

declare i32 @jpeg_read_header(ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress 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 #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 returns_twice "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 }
attributes #6 = { nounwind returns_twice }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS22jpeg_decompress_struct", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !11, i64 40, !6, i64 48, !6, i64 52, !6, i64 56, !12, i64 60, !12, i64 64, !6, i64 68, !6, i64 72, !13, i64 80, !6, i64 88, !6, i64 92, !14, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !15, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !6, i64 128, !6, i64 132, !6, i64 136, !6, i64 140, !6, i64 144, !6, i64 148, !6, i64 152, !6, i64 156, !11, i64 160, !6, i64 168, !6, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !11, i64 192, !7, i64 200, !7, i64 232, !7, i64 264, !6, i64 296, !11, i64 304, !6, i64 312, !6, i64 316, !6, i64 320, !7, i64 324, !7, i64 340, !7, i64 356, !6, i64 372, !6, i64 376, !7, i64 380, !7, i64 381, !7, i64 382, !16, i64 384, !16, i64 386, !6, i64 388, !7, i64 392, !6, i64 396, !11, i64 400, !6, i64 408, !6, i64 412, !6, i64 416, !6, i64 420, !6, i64 424, !11, i64 432, !6, i64 440, !7, i64 448, !6, i64 480, !6, i64 484, !6, i64 488, !7, i64 492, !6, i64 532, !6, i64 536, !6, i64 540, !6, i64 544, !6, i64 548, !11, i64 552, !6, i64 560, !6, i64 564, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"_ZTS13J_COLOR_SPACE", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS12J_DCT_METHOD", !7, i64 0}
!15 = !{!"_ZTS13J_DITHER_MODE", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!10, !11, i64 24}
!18 = !{!19, !11, i64 0}
!19 = !{!"_ZTS14jpeg_error_mgr", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !6, i64 40, !7, i64 44, !6, i64 124, !20, i64 128, !11, i64 136, !6, i64 144, !11, i64 152, !6, i64 160, !6, i64 164}
!20 = !{!"long", !7, i64 0}
!21 = !{!10, !6, i64 48}
!22 = !{!10, !6, i64 52}
!23 = !{!10, !6, i64 56}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass