; LLVM IR from drohmer/cgp :: library/third_party/src/jpeg/jpgd.ll (ZN4jpgd12jpeg_decoder10init_frameEv)

; 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"

%"class.jpgd::jpeg_decoder" = type <{ [1 x %struct.__jmp_buf_tag], ptr, i32, i32, ptr, i32, [8 x i8], [4 x i8], [8 x ptr], [8 x ptr], [4 x ptr], i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [4 x i32], [4 x i32], [4 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, [8 x ptr], [4 x ptr], [4 x ptr], i32, [4 x i32], [4 x i8], ptr, i32, i32, i8, [128 x i8], [8320 x i8], [128 x i8], [3 x i8], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i32, [4 x i32], [4 x i8], ptr, [10 x i32], ptr, [256 x i32], [256 x i32], [256 x i32], [256 x i32], ptr, ptr, i32, i8, [3 x i8], i32, [4 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: mustprogress noreturn uwtable
declare dso_local void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652), i64 noundef, i1 noundef zeroext) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4jpgd12jpeg_decoder15create_look_upsEv(ptr noundef nonnull align 8 dereferenceable(13652)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4jpgd12jpeg_decoder10init_frameEv(ptr noundef nonnull align 8 dereferenceable(13652) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %5 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 12
  %6 = load i32, ptr %5, align 4, !tbaa !9
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %24

8:                                                ; preds = %1
  %9 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %10 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
  %11 = load i32, ptr %10, align 8, !tbaa !14
  %12 = icmp ne i32 %11, 1
  br i1 %12, label %18, label %13

13:                                               ; preds = %8
  %14 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %15 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %16 = load i32, ptr %15, align 8, !tbaa !14
  %17 = icmp ne i32 %16, 1
  br i1 %17, label %18, label %19

18:                                               ; preds = %13, %8
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %4, i32 noundef -231) #5
  unreachable

19:                                               ; preds = %13
  %20 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  store i32 0, ptr %20, align 8, !tbaa !15
  %21 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  store i32 1, ptr %21, align 4, !tbaa !16
  %22 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  store i32 8, ptr %22, align 4, !tbaa !17
  %23 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  store i32 8, ptr %23, align 8, !tbaa !18
  br label %116

24:                                               ; preds = %1
  %25 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 12
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 3
  br i1 %27, label %28, label %114

28:                                               ; preds = %24
  %29 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %30 = getelementptr inbounds [4 x i32], ptr %29, i64 0, i64 1
  %31 = load i32, ptr %30, align 4, !tbaa !14
  %32 = icmp ne i32 %31, 1
  br i1 %32, label %48, label %33

33:                                               ; preds = %28
  %34 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %35 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 1
  %36 = load i32, ptr %35, align 4, !tbaa !14
  %37 = icmp ne i32 %36, 1
  br i1 %37, label %48, label %38

38:                                               ; preds = %33
  %39 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %40 = getelementptr inbounds [4 x i32], ptr %39, i64 0, i64 2
  %41 = load i32, ptr %40, align 8, !tbaa !14
  %42 = icmp ne i32 %41, 1
  br i1 %42, label %48, label %43

43:                                               ; preds = %38
  %44 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %45 = getelementptr inbounds [4 x i32], ptr %44, i64 0, i64 2
  %46 = load i32, ptr %45, align 8, !tbaa !14
  %47 = icmp ne i32 %46, 1
  br i1 %47, label %48, label %49

48:                                               ; preds = %43, %38, %33, %28
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %4, i32 noundef -231) #5
  unreachable

49:                                               ; preds = %43
  %50 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %51 = getelementptr inbounds [4 x i32], ptr %50, i64 0, i64 0
  %52 = load i32, ptr %51, align 8, !tbaa !14
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %54, label %64

54:                                               ; preds = %49
  %55 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %56 = getelementptr inbounds [4 x i32], ptr %55, i64 0, i64 0
  %57 = load i32, ptr %56, align 8, !tbaa !14
  %58 = icmp eq i32 %57, 1
  br i1 %58, label %59, label %64

59:                                               ; preds = %54
  %60 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  store i32 1, ptr %60, align 8, !tbaa !15
  %61 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  store i32 3, ptr %61, align 4, !tbaa !16
  %62 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  store i32 8, ptr %62, align 4, !tbaa !17
  %63 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  store i32 8, ptr %63, align 8, !tbaa !18
  br label %113

64:                                               ; preds = %54, %49
  %65 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %66 = getelementptr inbounds [4 x i32], ptr %65, i64 0, i64 0
  %67 = load i32, ptr %66, align 8, !tbaa !14
  %68 = icmp eq i32 %67, 2
  br i1 %68, label %69, label %79

69:                                               ; preds = %64
  %70 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %71 = getelementptr inbounds [4 x i32], ptr %70, i64 0, i64 0
  %72 = load i32, ptr %71, align 8, !tbaa !14
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %74, label %79

74:                                               ; preds = %69
  %75 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  store i32 2, ptr %75, align 8, !tbaa !15
  %76 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  store i32 4, ptr %76, align 4, !tbaa !16
  %77 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  store i32 16, ptr %77, align 4, !tbaa !17
  %78 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  store i32 8, ptr %78, align 8, !tbaa !18
  br label %112

79:                                               ; preds = %69, %64
  %80 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %81 = getelementptr inbounds [4 x i32], ptr %80, i64 0, i64 0
  %82 = load i32, ptr %81, align 8, !tbaa !14
  %83 = icmp eq i32 %82, 1
  br i1 %83, label %84, label %94

84:                                               ; preds = %79
  %85 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %86 = getelementptr inbounds [4 x i32], ptr %85, i64 0, i64 0
  %87 = load i32, ptr %86, align 8, !tbaa !14
  %88 = icmp eq i32 %87, 2
  br i1 %88, label %89, label %94

89:                                               ; preds = %84
  %90 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  store i32 3, ptr %90, align 8, !tbaa !15
  %91 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  store i32 4, ptr %91, align 4, !tbaa !16
  %92 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  store i32 8, ptr %92, align 4, !tbaa !17
  %93 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  store i32 16, ptr %93, align 8, !tbaa !18
  br label %111

94:                                               ; preds = %84, %79
  %95 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %96 = getelementptr inbounds [4 x i32], ptr %95, i64 0, i64 0
  %97 = load i32, ptr %96, align 8, !tbaa !14
  %98 = icmp eq i32 %97, 2
  br i1 %98, label %99, label %109

99:                                               ; preds = %94
  %100 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %101 = getelementptr inbounds [4 x i32], ptr %100, i64 0, i64 0
  %102 = load i32, ptr %101, align 8, !tbaa !14
  %103 = icmp eq i32 %102, 2
  br i1 %103, label %104, label %109

104:                                              ; preds = %99
  %105 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  store i32 4, ptr %105, align 8, !tbaa !15
  %106 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  store i32 6, ptr %106, align 4, !tbaa !16
  %107 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  store i32 16, ptr %107, align 4, !tbaa !17
  %108 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  store i32 16, ptr %108, align 8, !tbaa !18
  br label %110

109:                                              ; preds = %99, %94
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %4, i32 noundef -231) #5
  unreachable

110:                                              ; preds = %104
  br label %111

111:                                              ; preds = %110, %89
  br label %112

112:                                              ; preds = %111, %74
  br label %113

113:                                              ; preds = %112, %59
  br label %115

114:                                              ; preds = %24
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %4, i32 noundef -232) #5
  unreachable

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115, %19
  %117 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 2
  %118 = load i32, ptr %117, align 8, !tbaa !19
  %119 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  %120 = load i32, ptr %119, align 4, !tbaa !17
  %121 = sub nsw i32 %120, 1
  %122 = add nsw i32 %118, %121
  %123 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 27
  %124 = load i32, ptr %123, align 4, !tbaa !17
  %125 = sdiv i32 %122, %124
  %126 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 58
  store i32 %125, ptr %126, align 8, !tbaa !20
  %127 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 3
  %128 = load i32, ptr %127, align 4, !tbaa !21
  %129 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  %130 = load i32, ptr %129, align 8, !tbaa !18
  %131 = sub nsw i32 %130, 1
  %132 = add nsw i32 %128, %131
  %133 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 28
  %134 = load i32, ptr %133, align 8, !tbaa !18
  %135 = sdiv i32 %132, %134
  %136 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 65
  store i32 %135, ptr %136, align 8, !tbaa !22
  %137 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  %138 = load i32, ptr %137, align 8, !tbaa !15
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %142

140:                                              ; preds = %116
  %141 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 38
  store i32 1, ptr %141, align 4, !tbaa !23
  br label %144

142:                                              ; preds = %116
  %143 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 38
  store i32 4, ptr %143, align 4, !tbaa !23
  br label %144

144:                                              ; preds = %142, %140
  %145 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 2
  %146 = load i32, ptr %145, align 8, !tbaa !19
  %147 = add nsw i32 %146, 15
  %148 = and i32 %147, 65520
  %149 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 38
  %150 = load i32, ptr %149, align 4, !tbaa !23
  %151 = mul nsw i32 %148, %150
  %152 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 37
  store i32 %151, ptr %152, align 8, !tbaa !24
  %153 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 2
  %154 = load i32, ptr %153, align 8, !tbaa !19
  %155 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 38
  %156 = load i32, ptr %155, align 4, !tbaa !23
  %157 = mul nsw i32 %154, %156
  %158 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 36
  store i32 %157, ptr %158, align 4, !tbaa !25
  %159 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 37
  %160 = load i32, ptr %159, align 8, !tbaa !24
  %161 = sext i32 %160 to i64
  %162 = call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %4, i64 noundef %161, i1 noundef zeroext true)
  %163 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 75
  store ptr %162, ptr %163, align 8, !tbaa !26
  %164 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  %165 = load i32, ptr %164, align 8, !tbaa !15
  %166 = icmp eq i32 %165, 3
  br i1 %166, label %171, label %167

167:                                              ; preds = %144
  %168 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 11
  %169 = load i32, ptr %168, align 8, !tbaa !15
  %170 = icmp eq i32 %169, 4
  br i1 %170, label %171, label %177

171:                                              ; preds = %167, %144
  %172 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 37
  %173 = load i32, ptr %172, align 8, !tbaa !24
  %174 = sext i32 %173 to i64
  %175 = call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %4, i64 noundef %174, i1 noundef zeroext true)
  %176 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 76
  store ptr %175, ptr %176, align 8, !tbaa !27
  br label %177

177:                                              ; preds = %171, %167
  %178 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 58
  %179 = load i32, ptr %178, align 8, !tbaa !20
  %180 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  %181 = load i32, ptr %180, align 4, !tbaa !16
  %182 = mul nsw i32 %179, %181
  %183 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 30
  store i32 %182, ptr %183, align 8, !tbaa !28
  %184 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 30
  %185 = load i32, ptr %184, align 8, !tbaa !28
  %186 = icmp sgt i32 %185, 8192
  br i1 %186, label %187, label %188

187:                                              ; preds = %177
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %4, i32 noundef -228) #5
  unreachable

188:                                              ; preds = %177
  %189 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  %190 = load i32, ptr %189, align 4, !tbaa !16
  %191 = mul nsw i32 %190, 64
  %192 = sext i32 %191 to i64
  %193 = mul i64 %192, 2
  %194 = call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %4, i64 noundef %193, i1 noundef zeroext false)
  %195 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 68
  store ptr %194, ptr %195, align 8, !tbaa !29
  store i32 0, ptr %3, align 4, !tbaa !14
  br label %196

196:                                              ; preds = %206, %188
  %197 = load i32, ptr %3, align 4, !tbaa !14
  %198 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 59
  %199 = load i32, ptr %198, align 4, !tbaa !16
  %200 = icmp slt i32 %197, %199
  br i1 %200, label %201, label %209

201:                                              ; preds = %196
  %202 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 69
  %203 = load i32, ptr %3, align 4, !tbaa !14
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [10 x i32], ptr %202, i64 0, i64 %204
  store i32 64, ptr %205, align 4, !tbaa !14
  br label %206

206:                                              ; preds = %201
  %207 = load i32, ptr %3, align 4, !tbaa !14
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %3, align 4, !tbaa !14
  br label %196, !llvm.loop !30

209:                                              ; preds = %196
  %210 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 13
  %211 = getelementptr inbounds [4 x i32], ptr %210, i64 0, i64 0
  %212 = load i32, ptr %211, align 8, !tbaa !14
  %213 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 14
  %214 = getelementptr inbounds [4 x i32], ptr %213, i64 0, i64 0
  %215 = load i32, ptr %214, align 8, !tbaa !14
  %216 = mul nsw i32 %212, %215
  %217 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 62
  store i32 %216, ptr %217, align 8, !tbaa !32
  %218 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 62
  %219 = load i32, ptr %218, align 8, !tbaa !32
  %220 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 12
  %221 = load i32, ptr %220, align 4, !tbaa !9
  %222 = mul nsw i32 %219, %221
  %223 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 60
  store i32 %222, ptr %223, align 8, !tbaa !33
  %224 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 58
  %225 = load i32, ptr %224, align 8, !tbaa !20
  %226 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 60
  %227 = load i32, ptr %226, align 8, !tbaa !33
  %228 = mul nsw i32 %225, %227
  %229 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 61
  store i32 %228, ptr %229, align 4, !tbaa !34
  %230 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 63
  store i8 0, ptr %230, align 4, !tbaa !35
  %231 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 60
  %232 = load i32, ptr %231, align 8, !tbaa !33
  %233 = icmp eq i32 %232, 12
  %234 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 63
  %235 = zext i1 %233 to i8
  store i8 %235, ptr %234, align 4, !tbaa !35
  %236 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 63
  %237 = load i8, ptr %236, align 4, !tbaa !35, !range !36, !noundef !37
  %238 = trunc i8 %237 to i1
  br i1 %238, label %239, label %246

239:                                              ; preds = %209
  %240 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 61
  %241 = load i32, ptr %240, align 4, !tbaa !34
  %242 = mul nsw i32 %241, 64
  %243 = sext i32 %242 to i64
  %244 = call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %4, i64 noundef %243, i1 noundef zeroext false)
  %245 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 70
  store ptr %244, ptr %245, align 8, !tbaa !38
  br label %253

246:                                              ; preds = %209
  %247 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 30
  %248 = load i32, ptr %247, align 8, !tbaa !28
  %249 = mul nsw i32 %248, 64
  %250 = sext i32 %249 to i64
  %251 = call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %4, i64 noundef %250, i1 noundef zeroext false)
  %252 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 70
  store ptr %251, ptr %252, align 8, !tbaa !38
  br label %253

253:                                              ; preds = %246, %239
  %254 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 3
  %255 = load i32, ptr %254, align 4, !tbaa !21
  %256 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 34
  store i32 %255, ptr %256, align 4, !tbaa !39
  %257 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %4, i32 0, i32 35
  store i32 0, ptr %257, align 8, !tbaa !40
  call void @_ZN4jpgd12jpeg_decoder15create_look_upsEv(ptr noundef nonnull align 8 dereferenceable(13652) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress noreturn 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 = { 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 = { mustprogress 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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, !11, i64 404}
!10 = !{!"_ZTSN4jpgd12jpeg_decoderE", !7, i64 0, !6, i64 200, !11, i64 208, !11, i64 212, !6, i64 216, !11, i64 224, !7, i64 228, !7, i64 240, !7, i64 304, !7, i64 368, !11, i64 400, !11, i64 404, !7, i64 408, !7, i64 424, !7, i64 440, !7, i64 456, !7, i64 472, !7, i64 488, !11, i64 504, !7, i64 508, !7, i64 524, !7, i64 540, !11, i64 556, !11, i64 560, !11, i64 564, !11, i64 568, !11, i64 572, !11, i64 576, !11, i64 580, !11, i64 584, !11, i64 588, !11, i64 592, !7, i64 596, !11, i64 636, !11, i64 640, !11, i64 644, !11, i64 648, !11, i64 652, !7, i64 656, !7, i64 720, !7, i64 752, !11, i64 784, !7, i64 788, !6, i64 808, !11, i64 816, !11, i64 820, !12, i64 824, !7, i64 825, !7, i64 953, !7, i64 9273, !11, i64 9404, !11, i64 9408, !11, i64 9412, !11, i64 9416, !11, i64 9420, !11, i64 9424, !11, i64 9428, !11, i64 9432, !11, i64 9436, !11, i64 9440, !12, i64 9444, !11, i64 9448, !7, i64 9452, !6, i64 9472, !7, i64 9480, !6, i64 9520, !7, i64 9528, !7, i64 10552, !7, i64 11576, !7, i64 12600, !6, i64 13624, !6, i64 13632, !13, i64 13640, !12, i64 13644, !11, i64 13648}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN4jpgd11jpgd_statusE", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 400}
!16 = !{!10, !11, i64 9428}
!17 = !{!10, !11, i64 572}
!18 = !{!10, !11, i64 576}
!19 = !{!10, !11, i64 208}
!20 = !{!10, !11, i64 9424}
!21 = !{!10, !11, i64 212}
!22 = !{!10, !11, i64 9448}
!23 = !{!10, !11, i64 652}
!24 = !{!10, !11, i64 648}
!25 = !{!10, !11, i64 644}
!26 = !{!10, !6, i64 13624}
!27 = !{!10, !6, i64 13632}
!28 = !{!10, !11, i64 584}
!29 = !{!10, !6, i64 9472}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 9440}
!33 = !{!10, !11, i64 9432}
!34 = !{!10, !11, i64 9436}
!35 = !{!10, !12, i64 9444}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!10, !6, i64 9520}
!39 = !{!10, !11, i64 636}
!40 = !{!10, !11, i64 640}


; 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: mustprogress noreturn uwtable
declare dso_local void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652), i64 noundef, i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4jpgd12jpeg_decoder15create_look_upsEv(ptr noundef nonnull align 8 dereferenceable(13652)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4jpgd12jpeg_decoder10init_frameEv(ptr noundef nonnull align 8 dereferenceable(13652) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 404
  %3 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %3, label %34 [
    i32 1, label %4
    i32 3, label %10
  ]

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 408
  %6 = load i32, ptr %5, align 8, !tbaa !13
  %.not8 = icmp eq i32 %6, 1
  %7 = getelementptr inbounds i8, ptr %0, i64 424
  %8 = load i32, ptr %7, align 8
  %.not9 = icmp eq i32 %8, 1
  %or.cond = select i1 %.not8, i1 %.not9, i1 false
  br i1 %or.cond, label %35, label %9

9:                                                ; preds = %4
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %0, i32 noundef -231) #3
  unreachable

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 408
  %12 = getelementptr inbounds i8, ptr %0, i64 412
  %13 = load i32, ptr %12, align 4, !tbaa !13
  %.not = icmp eq i32 %13, 1
  br i1 %.not, label %14, label %21

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 428
  %16 = load i32, ptr %15, align 4, !tbaa !13
  %.not5 = icmp eq i32 %16, 1
  %17 = getelementptr inbounds i8, ptr %0, i64 416
  %18 = load i32, ptr %17, align 8
  %.not6 = icmp eq i32 %18, 1
  %or.cond12 = select i1 %.not5, i1 %.not6, i1 false
  %19 = getelementptr inbounds i8, ptr %0, i64 432
  %20 = load i32, ptr %19, align 8
  %.not7 = icmp eq i32 %20, 1
  %or.cond14 = select i1 %or.cond12, i1 %.not7, i1 false
  br i1 %or.cond14, label %22, label %21

21:                                               ; preds = %14, %10
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %0, i32 noundef -231) #3
  unreachable

22:                                               ; preds = %14
  %23 = getelementptr inbounds i8, ptr %0, i64 424
  %24 = load i32, ptr %11, align 8, !tbaa !13
  %25 = icmp eq i32 %24, 1
  %26 = load i32, ptr %23, align 8
  %27 = icmp eq i32 %26, 1
  %or.cond16 = select i1 %25, i1 %27, i1 false
  br i1 %or.cond16, label %35, label %28

28:                                               ; preds = %22
  %29 = icmp eq i32 %24, 2
  %or.cond18 = select i1 %29, i1 %27, i1 false
  br i1 %or.cond18, label %35, label %30

30:                                               ; preds = %28
  %31 = icmp eq i32 %26, 2
  %or.cond20 = select i1 %25, i1 %31, i1 false
  br i1 %or.cond20, label %35, label %32

32:                                               ; preds = %30
  %or.cond22 = select i1 %29, i1 %31, i1 false
  br i1 %or.cond22, label %35, label %33

33:                                               ; preds = %32
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %0, i32 noundef -231) #3
  unreachable

34:                                               ; preds = %1
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %0, i32 noundef -232) #3
  unreachable

35:                                               ; preds = %32, %30, %28, %22, %4
  %.sink32 = phi i32 [ 0, %4 ], [ 1, %22 ], [ 2, %28 ], [ 3, %30 ], [ 4, %32 ]
  %.sink30 = phi i32 [ 1, %4 ], [ 3, %22 ], [ 4, %28 ], [ 4, %30 ], [ 6, %32 ]
  %.sink28 = phi i32 [ 8, %4 ], [ 8, %22 ], [ 16, %28 ], [ 8, %30 ], [ 16, %32 ]
  %.sink26 = phi i32 [ 8, %4 ], [ 8, %22 ], [ 8, %28 ], [ 16, %30 ], [ 16, %32 ]
  %.sink = phi i32 [ 1, %4 ], [ 4, %22 ], [ 4, %28 ], [ 4, %30 ], [ 4, %32 ]
  %36 = getelementptr inbounds i8, ptr %0, i64 400
  store i32 %.sink32, ptr %36, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %0, i64 9428
  store i32 %.sink30, ptr %37, align 4, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %0, i64 572
  store i32 %.sink28, ptr %38, align 4, !tbaa !16
  %39 = getelementptr inbounds i8, ptr %0, i64 576
  store i32 %.sink26, ptr %39, align 8, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %0, i64 208
  %41 = load i32, ptr %40, align 8, !tbaa !18
  %42 = add i32 %41, -1
  %43 = add i32 %42, %.sink28
  %44 = sdiv i32 %43, %.sink28
  %45 = getelementptr inbounds i8, ptr %0, i64 9424
  store i32 %44, ptr %45, align 8, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %0, i64 212
  %47 = load i32, ptr %46, align 4, !tbaa !20
  %48 = add i32 %47, -1
  %49 = add i32 %48, %.sink26
  %50 = sdiv i32 %49, %.sink26
  %51 = getelementptr inbounds i8, ptr %0, i64 9448
  store i32 %50, ptr %51, align 8, !tbaa !21
  %52 = getelementptr inbounds i8, ptr %0, i64 400
  %53 = getelementptr inbounds i8, ptr %0, i64 652
  store i32 %.sink, ptr %53, align 4
  %54 = add nsw i32 %41, 15
  %55 = and i32 %54, 65520
  %56 = mul nuw nsw i32 %.sink, %55
  %57 = getelementptr inbounds i8, ptr %0, i64 648
  store i32 %56, ptr %57, align 8, !tbaa !22
  %58 = mul nsw i32 %.sink, %41
  %59 = getelementptr inbounds i8, ptr %0, i64 644
  store i32 %58, ptr %59, align 4, !tbaa !23
  %60 = zext nneg i32 %56 to i64
  %61 = tail call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %0, i64 noundef %60, i1 noundef zeroext true)
  %62 = getelementptr inbounds i8, ptr %0, i64 13624
  store ptr %61, ptr %62, align 8, !tbaa !24
  %63 = load i32, ptr %52, align 8, !tbaa !14
  %.off = add i32 %63, -3
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %64, label %69

64:                                               ; preds = %35
  %65 = load i32, ptr %57, align 8, !tbaa !22
  %66 = sext i32 %65 to i64
  %67 = tail call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %0, i64 noundef %66, i1 noundef zeroext true)
  %68 = getelementptr inbounds i8, ptr %0, i64 13632
  store ptr %67, ptr %68, align 8, !tbaa !25
  br label %69

69:                                               ; preds = %35, %64
  %70 = load i32, ptr %45, align 8, !tbaa !19
  %71 = getelementptr inbounds i8, ptr %0, i64 9428
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = mul nsw i32 %72, %70
  %74 = getelementptr inbounds i8, ptr %0, i64 584
  store i32 %73, ptr %74, align 8, !tbaa !26
  %75 = icmp sgt i32 %73, 8192
  br i1 %75, label %76, label %77

76:                                               ; preds = %69
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13652) %0, i32 noundef -228) #3
  unreachable

77:                                               ; preds = %69
  %78 = shl nsw i32 %72, 6
  %79 = sext i32 %78 to i64
  %80 = shl nsw i64 %79, 1
  %81 = tail call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %0, i64 noundef %80, i1 noundef zeroext false)
  %82 = getelementptr inbounds i8, ptr %0, i64 9472
  store ptr %81, ptr %82, align 8, !tbaa !27
  %83 = load i32, ptr %71, align 4, !tbaa !15
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %77
  %85 = getelementptr inbounds i8, ptr %0, i64 9480
  %wide.trip.count = zext nneg i32 %83 to i64
  %min.iters.check = icmp ult i32 %83, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %86 = getelementptr inbounds [10 x i32], ptr %85, i64 0, i64 %index
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  store <4 x i32> <i32 64, i32 64, i32 64, i32 64>, ptr %86, align 8, !tbaa !13
  store <4 x i32> <i32 64, i32 64, i32 64, i32 64>, ptr %87, align 8, !tbaa !13
  %index.next = add nuw i64 %index, 8
  %88 = icmp eq i64 %index.next, %n.vec
  br i1 %88, label %middle.block, label %vector.body, !llvm.loop !28

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %89 = getelementptr inbounds [10 x i32], ptr %85, i64 0, i64 %indvars.iv
  store i32 64, ptr %89, align 4, !tbaa !13
  %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 %scalar.ph, !llvm.loop !32

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %77
  %90 = getelementptr inbounds i8, ptr %0, i64 408
  %91 = load i32, ptr %90, align 8, !tbaa !13
  %92 = getelementptr inbounds i8, ptr %0, i64 424
  %93 = load i32, ptr %92, align 8, !tbaa !13
  %94 = mul nsw i32 %93, %91
  %95 = getelementptr inbounds i8, ptr %0, i64 9440
  store i32 %94, ptr %95, align 8, !tbaa !33
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = mul nsw i32 %96, %94
  %98 = getelementptr inbounds i8, ptr %0, i64 9432
  store i32 %97, ptr %98, align 8, !tbaa !34
  %99 = load i32, ptr %45, align 8, !tbaa !19
  %100 = mul nsw i32 %99, %97
  %101 = getelementptr inbounds i8, ptr %0, i64 9436
  store i32 %100, ptr %101, align 4, !tbaa !35
  %102 = getelementptr inbounds i8, ptr %0, i64 9444
  %103 = icmp eq i32 %97, 12
  %104 = zext i1 %103 to i8
  store i8 %104, ptr %102, align 4, !tbaa !36
  %105 = load i32, ptr %74, align 8
  %.sink36 = select i1 %103, i32 %100, i32 %105
  %106 = shl nsw i32 %.sink36, 6
  %107 = sext i32 %106 to i64
  %108 = tail call noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13652) %0, i64 noundef %107, i1 noundef zeroext false)
  %109 = getelementptr inbounds i8, ptr %0, i64 9520
  store ptr %108, ptr %109, align 8
  %110 = load i32, ptr %46, align 4, !tbaa !20
  %111 = getelementptr inbounds i8, ptr %0, i64 636
  store i32 %110, ptr %111, align 4, !tbaa !37
  %112 = getelementptr inbounds i8, ptr %0, i64 640
  store i32 0, ptr %112, align 8, !tbaa !38
  tail call void @_ZN4jpgd12jpeg_decoder15create_look_upsEv(ptr noundef nonnull align 8 dereferenceable(13652) %0)
  ret void
}

attributes #0 = { mustprogress noreturn 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 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 = { mustprogress 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 #3 = { noreturn }

!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 404}
!6 = !{!"_ZTSN4jpgd12jpeg_decoderE", !7, i64 0, !9, i64 200, !10, i64 208, !10, i64 212, !9, i64 216, !10, i64 224, !7, i64 228, !7, i64 240, !7, i64 304, !7, i64 368, !10, i64 400, !10, i64 404, !7, i64 408, !7, i64 424, !7, i64 440, !7, i64 456, !7, i64 472, !7, i64 488, !10, i64 504, !7, i64 508, !7, i64 524, !7, i64 540, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !7, i64 596, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !7, i64 656, !7, i64 720, !7, i64 752, !10, i64 784, !7, i64 788, !9, i64 808, !10, i64 816, !10, i64 820, !11, i64 824, !7, i64 825, !7, i64 953, !7, i64 9273, !10, i64 9404, !10, i64 9408, !10, i64 9412, !10, i64 9416, !10, i64 9420, !10, i64 9424, !10, i64 9428, !10, i64 9432, !10, i64 9436, !10, i64 9440, !11, i64 9444, !10, i64 9448, !7, i64 9452, !9, i64 9472, !7, i64 9480, !9, i64 9520, !7, i64 9528, !7, i64 10552, !7, i64 11576, !7, i64 12600, !9, i64 13624, !9, i64 13632, !12, i64 13640, !11, i64 13644, !10, i64 13648}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN4jpgd11jpgd_statusE", !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 400}
!15 = !{!6, !10, i64 9428}
!16 = !{!6, !10, i64 572}
!17 = !{!6, !10, i64 576}
!18 = !{!6, !10, i64 208}
!19 = !{!6, !10, i64 9424}
!20 = !{!6, !10, i64 212}
!21 = !{!6, !10, i64 9448}
!22 = !{!6, !10, i64 648}
!23 = !{!6, !10, i64 644}
!24 = !{!6, !9, i64 13624}
!25 = !{!6, !9, i64 13632}
!26 = !{!6, !10, i64 584}
!27 = !{!6, !9, i64 9472}
!28 = distinct !{!28, !29, !30, !31}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!"llvm.loop.isvectorized", i32 1}
!31 = !{!"llvm.loop.unroll.runtime.disable"}
!32 = distinct !{!32, !29, !31, !30}
!33 = !{!6, !10, i64 9440}
!34 = !{!6, !10, i64 9432}
!35 = !{!6, !10, i64 9436}
!36 = !{!6, !11, i64 9444}
!37 = !{!6, !10, i64 636}
!38 = !{!6, !10, i64 640}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass