; LLVM IR from JayXon/Leanify :: lib/mozjpeg (jdhuff)

; 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.bitread_working_state = type { ptr, i64, i64, i32, ptr }
%struct.d_derived_tbl = type { [18 x i64], [18 x i64], ptr, [256 x i32] }
%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, [16 x i8], [16 x i8], [16 x i8], i32, i32, i8, i8, i8, i16, i16, i32, i8, i32, 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_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.JHUFF_TBL = type { [17 x i8], [256 x i8], i32 }

; 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 i32 @jpeg_fill_bit_buffer(ptr noundef, i64 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @jpeg_huff_decode(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #1 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !11
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  %15 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %15, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  %16 = load i32, ptr %9, align 4, !tbaa !11
  %17 = load i32, ptr %12, align 4, !tbaa !11
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %19, label %34

19:                                               ; preds = %5
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = load i64, ptr %8, align 8, !tbaa !9
  %22 = load i32, ptr %9, align 4, !tbaa !11
  %23 = load i32, ptr %12, align 4, !tbaa !11
  %24 = call i32 @jpeg_fill_bit_buffer(ptr noundef %20, i64 noundef %21, i32 noundef %22, i32 noundef %23)
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %19
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %132

27:                                               ; preds = %19
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.bitread_working_state, ptr %28, i32 0, i32 2
  %30 = load i64, ptr %29, align 8, !tbaa !13
  store i64 %30, ptr %8, align 8, !tbaa !9
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.bitread_working_state, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 8, !tbaa !15
  store i32 %33, ptr %9, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %27, %5
  %35 = load i64, ptr %8, align 8, !tbaa !9
  %36 = load i32, ptr %12, align 4, !tbaa !11
  %37 = load i32, ptr %9, align 4, !tbaa !11
  %38 = sub nsw i32 %37, %36
  store i32 %38, ptr %9, align 4, !tbaa !11
  %39 = zext i32 %38 to i64
  %40 = lshr i64 %35, %39
  %41 = trunc i64 %40 to i32
  %42 = load i32, ptr %12, align 4, !tbaa !11
  %43 = shl i32 1, %42
  %44 = sub nsw i32 %43, 1
  %45 = and i32 %41, %44
  %46 = sext i32 %45 to i64
  store i64 %46, ptr %13, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %75, %34
  %48 = load i64, ptr %13, align 8, !tbaa !9
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.d_derived_tbl, ptr %49, i32 0, i32 0
  %51 = load i32, ptr %12, align 4, !tbaa !11
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [18 x i64], ptr %50, i64 0, i64 %52
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = icmp sgt i64 %48, %54
  br i1 %55, label %56, label %88

56:                                               ; preds = %47
  %57 = load i64, ptr %13, align 8, !tbaa !9
  %58 = shl i64 %57, 1
  store i64 %58, ptr %13, align 8, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !11
  %60 = icmp slt i32 %59, 1
  br i1 %60, label %61, label %75

61:                                               ; preds = %56
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load i64, ptr %8, align 8, !tbaa !9
  %64 = load i32, ptr %9, align 4, !tbaa !11
  %65 = call i32 @jpeg_fill_bit_buffer(ptr noundef %62, i64 noundef %63, i32 noundef %64, i32 noundef 1)
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %132

68:                                               ; preds = %61
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.bitread_working_state, ptr %69, i32 0, i32 2
  %71 = load i64, ptr %70, align 8, !tbaa !13
  store i64 %71, ptr %8, align 8, !tbaa !9
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.bitread_working_state, ptr %72, i32 0, i32 3
  %74 = load i32, ptr %73, align 8, !tbaa !15
  store i32 %74, ptr %9, align 4, !tbaa !11
  br label %75

75:                                               ; preds = %68, %56
  %76 = load i64, ptr %8, align 8, !tbaa !9
  %77 = load i32, ptr %9, align 4, !tbaa !11
  %78 = sub nsw i32 %77, 1
  store i32 %78, ptr %9, align 4, !tbaa !11
  %79 = zext i32 %78 to i64
  %80 = lshr i64 %76, %79
  %81 = trunc i64 %80 to i32
  %82 = and i32 %81, 1
  %83 = sext i32 %82 to i64
  %84 = load i64, ptr %13, align 8, !tbaa !9
  %85 = or i64 %84, %83
  store i64 %85, ptr %13, align 8, !tbaa !9
  %86 = load i32, ptr %12, align 4, !tbaa !11
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %12, align 4, !tbaa !11
  br label %47, !llvm.loop !16

88:                                               ; preds = %47
  %89 = load i64, ptr %8, align 8, !tbaa !9
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.bitread_working_state, ptr %90, i32 0, i32 2
  store i64 %89, ptr %91, align 8, !tbaa !13
  %92 = load i32, ptr %9, align 4, !tbaa !11
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.bitread_working_state, ptr %93, i32 0, i32 3
  store i32 %92, ptr %94, align 8, !tbaa !15
  %95 = load i32, ptr %12, align 4, !tbaa !11
  %96 = icmp sgt i32 %95, 16
  br i1 %96, label %97, label %114

97:                                               ; preds = %88
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.bitread_working_state, ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !18
  %101 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !19
  %103 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %102, i32 0, i32 5
  store i32 118, ptr %103, align 8, !tbaa !23
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.bitread_working_state, ptr %104, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  %107 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !19
  %109 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %108, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !25
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.bitread_working_state, ptr %111, i32 0, i32 4
  %113 = load ptr, ptr %112, align 8, !tbaa !18
  call void %110(ptr noundef %113, i32 noundef -1)
  store i32 0, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %132

114:                                              ; preds = %88
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.d_derived_tbl, ptr %115, i32 0, i32 2
  %117 = load ptr, ptr %116, align 8, !tbaa !26
  %118 = getelementptr inbounds %struct.JHUFF_TBL, ptr %117, i32 0, i32 1
  %119 = load i64, ptr %13, align 8, !tbaa !9
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.d_derived_tbl, ptr %120, i32 0, i32 1
  %122 = load i32, ptr %12, align 4, !tbaa !11
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [18 x i64], ptr %121, i64 0, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !9
  %126 = add nsw i64 %119, %125
  %127 = trunc i64 %126 to i32
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [256 x i8], ptr %118, i64 0, i64 %128
  %130 = load i8, ptr %129, align 1, !tbaa !28
  %131 = zext i8 %130 to i32
  store i32 %131, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %132

132:                                              ; preds = %114, %97, %67, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  %133 = load i32, ptr %6, align 4
  ret i32 %133
}

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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !6, i64 32}
!15 = !{!14, !12, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !6, i64 32}
!19 = !{!20, !6, i64 0}
!20 = !{!"jpeg_decompress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 36, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !21, i64 80, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !6, i64 160, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !6, i64 192, !7, i64 200, !7, i64 232, !7, i64 264, !12, i64 296, !6, i64 304, !12, i64 312, !12, i64 316, !7, i64 320, !7, i64 336, !7, i64 352, !12, i64 368, !12, i64 372, !7, i64 376, !7, i64 377, !7, i64 378, !22, i64 380, !22, i64 382, !12, i64 384, !7, i64 388, !12, i64 392, !6, i64 400, !12, i64 408, !12, i64 412, !12, i64 416, !12, i64 420, !6, i64 424, !12, i64 432, !7, i64 440, !12, i64 472, !12, i64 476, !12, i64 480, !7, i64 484, !12, i64 524, !12, i64 528, !12, i64 532, !12, i64 536, !12, i64 540, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624}
!21 = !{!"double", !7, i64 0}
!22 = !{!"short", !7, i64 0}
!23 = !{!24, !12, i64 40}
!24 = !{!"jpeg_error_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !7, i64 44, !12, i64 124, !10, i64 128, !6, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !12, i64 164}
!25 = !{!24, !6, i64 8}
!26 = !{!27, !6, i64 288}
!27 = !{!"", !7, i64 0, !7, i64 144, !6, i64 288, !7, i64 296}
!28 = !{!7, !7, 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"

; Function Attrs: nounwind uwtable
declare dso_local i32 @jpeg_fill_bit_buffer(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 256) i32 @jpeg_huff_decode(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = icmp slt i32 %2, %4
  br i1 %6, label %7, label %14

7:                                                ; preds = %5
  %8 = tail call i32 @jpeg_fill_bit_buffer(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %4)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.loopexit, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load i32, ptr %12, align 8, !tbaa !12
  br label %14

14:                                               ; preds = %9, %5
  %.042 = phi i32 [ %13, %9 ], [ %2, %5 ]
  %.041 = phi i64 [ %11, %9 ], [ %1, %5 ]
  %15 = sub nsw i32 %.042, %4
  %16 = zext nneg i32 %15 to i64
  %17 = lshr i64 %.041, %16
  %18 = trunc i64 %17 to i32
  %notmask = shl nsw i32 -1, %4
  %19 = xor i32 %notmask, -1
  %20 = and i32 %18, %19
  %21 = zext nneg i32 %20 to i64
  %22 = sext i32 %4 to i64
  %23 = getelementptr inbounds [18 x i64], ptr %3, i64 0, i64 %22
  %24 = load i64, ptr %23, align 8, !tbaa !13
  %25 = icmp slt i64 %24, %21
  br i1 %25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  br label %28

28:                                               ; preds = %.lr.ph, %36
  %indvars.iv = phi i64 [ %22, %.lr.ph ], [ %indvars.iv.next, %36 ]
  %.057 = phi i64 [ %21, %.lr.ph ], [ %41, %36 ]
  %.155 = phi i64 [ %.041, %.lr.ph ], [ %.2, %36 ]
  %.14354 = phi i32 [ %15, %.lr.ph ], [ %37, %36 ]
  %29 = shl i64 %.057, 1
  %30 = icmp slt i32 %.14354, 1
  br i1 %30, label %31, label %36

31:                                               ; preds = %28
  %32 = tail call i32 @jpeg_fill_bit_buffer(ptr noundef %0, i64 noundef %.155, i32 noundef %.14354, i32 noundef 1)
  %.not48 = icmp eq i32 %32, 0
  br i1 %.not48, label %.loopexit, label %33

33:                                               ; preds = %31
  %34 = load i64, ptr %26, align 8, !tbaa !5
  %35 = load i32, ptr %27, align 8, !tbaa !12
  br label %36

36:                                               ; preds = %33, %28
  %.244 = phi i32 [ %35, %33 ], [ %.14354, %28 ]
  %.2 = phi i64 [ %34, %33 ], [ %.155, %28 ]
  %37 = add nsw i32 %.244, -1
  %38 = zext nneg i32 %37 to i64
  %39 = lshr i64 %.2, %38
  %40 = and i64 %39, 1
  %41 = or disjoint i64 %40, %29
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %42 = getelementptr inbounds [18 x i64], ptr %3, i64 0, i64 %indvars.iv.next
  %43 = load i64, ptr %42, align 8, !tbaa !13
  %44 = icmp sgt i64 %41, %43
  br i1 %44, label %28, label %._crit_edge.loopexit, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %36
  %45 = trunc nsw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %14
  %.143.lcssa = phi i32 [ %15, %14 ], [ %37, %._crit_edge.loopexit ]
  %.1.lcssa = phi i64 [ %.041, %14 ], [ %.2, %._crit_edge.loopexit ]
  %.039.lcssa = phi i32 [ %4, %14 ], [ %45, %._crit_edge.loopexit ]
  %.0.lcssa = phi i64 [ %21, %14 ], [ %41, %._crit_edge.loopexit ]
  %.lcssa = phi i64 [ %22, %14 ], [ %indvars.iv.next, %._crit_edge.loopexit ]
  %46 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %.1.lcssa, ptr %46, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %.143.lcssa, ptr %47, align 8, !tbaa !12
  %48 = icmp sgt i32 %.039.lcssa, 16
  br i1 %48, label %49, label %56

49:                                               ; preds = %._crit_edge
  %50 = getelementptr inbounds i8, ptr %0, i64 32
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = load ptr, ptr %51, align 8, !tbaa !17
  %53 = getelementptr inbounds i8, ptr %52, i64 40
  store i32 118, ptr %53, align 8, !tbaa !21
  %54 = getelementptr inbounds i8, ptr %52, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !23
  tail call void %55(ptr noundef nonnull %51, i32 noundef -1) #1
  br label %.loopexit

56:                                               ; preds = %._crit_edge
  %57 = getelementptr inbounds i8, ptr %3, i64 288
  %58 = load ptr, ptr %57, align 8, !tbaa !24
  %59 = getelementptr inbounds i8, ptr %58, i64 17
  %60 = getelementptr inbounds i8, ptr %3, i64 144
  %61 = getelementptr inbounds [18 x i64], ptr %60, i64 0, i64 %.lcssa
  %62 = load i64, ptr %61, align 8, !tbaa !13
  %63 = add nsw i64 %62, %.0.lcssa
  %sext = shl i64 %63, 32
  %64 = ashr exact i64 %sext, 32
  %65 = getelementptr inbounds [256 x i8], ptr %59, i64 0, i64 %64
  %66 = load i8, ptr %65, align 1, !tbaa !26
  %67 = zext i8 %66 to i32
  br label %.loopexit

.loopexit:                                        ; preds = %31, %7, %56, %49
  %.040 = phi i32 [ 0, %49 ], [ %67, %56 ], [ -1, %7 ], [ -1, %31 ]
  ret i32 %.040
}

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 = { 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 16}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!10, !10, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !7, i64 32}
!17 = !{!18, !7, i64 0}
!18 = !{!"jpeg_decompress_struct", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !11, i64 36, !7, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !19, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !7, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !7, i64 192, !8, i64 200, !8, i64 232, !8, i64 264, !11, i64 296, !7, i64 304, !11, i64 312, !11, i64 316, !8, i64 320, !8, i64 336, !8, i64 352, !11, i64 368, !11, i64 372, !8, i64 376, !8, i64 377, !8, i64 378, !20, i64 380, !20, i64 382, !11, i64 384, !8, i64 388, !11, i64 392, !7, i64 400, !11, i64 408, !11, i64 412, !11, i64 416, !11, i64 420, !7, i64 424, !11, i64 432, !8, i64 440, !11, i64 472, !11, i64 476, !11, i64 480, !8, i64 484, !11, i64 524, !11, i64 528, !11, i64 532, !11, i64 536, !11, i64 540, !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}
!19 = !{!"double", !8, i64 0}
!20 = !{!"short", !8, i64 0}
!21 = !{!22, !11, i64 40}
!22 = !{!"jpeg_error_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !8, i64 44, !11, i64 124, !10, i64 128, !7, i64 136, !11, i64 144, !7, i64 152, !11, i64 160, !11, i64 164}
!23 = !{!22, !7, i64 8}
!24 = !{!25, !7, i64 288}
!25 = !{!"", !8, i64 0, !8, i64 144, !7, i64 288, !8, i64 296}
!26 = !{!8, !8, i64 0}


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