; LLVM IR from openxrlab/xrsfm :: 3rdparty/apriltag/common (pjpeg)

; 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.pjpeg_decode_state = type { i32, i32, i32, ptr, i32, i32, [4 x [65536 x %struct.pjpeg_huffman_code]], [4 x i32], [4 x [64 x i8]], i32, ptr, i32, i32, i32, i32 }
%struct.pjpeg_huffman_code = type { i8, i8 }
%struct.pjpeg_component = type { i32, i32, i32, ptr, i8, i8, i8, i8, i8, i8 }
%struct.pjpeg = type { i32, i32, i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [82 x i8], align 1
@mjpeg_dht = external hidden global [420 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.pjpeg_create_from_buffer = external hidden unnamed_addr constant [67 x i8], align 1

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

19:                                               ; preds = %4
  %20 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 3
  store ptr @mjpeg_dht, ptr %20, align 8, !tbaa !11
  %21 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 4
  store i32 420, ptr %21, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %22 = call i32 @pjpeg_decode_buffer(ptr noundef %10)
  store i32 %22, ptr %11, align 4, !tbaa !9
  %23 = load i32, ptr %11, align 4, !tbaa !9
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %19
  br label %27

26:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 880, ptr noundef @__PRETTY_FUNCTION__.pjpeg_create_from_buffer) #7
  unreachable

27:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %28

28:                                               ; preds = %27, %4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 3
  store ptr %29, ptr %30, align 8, !tbaa !11
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 4
  store i32 %31, ptr %32, align 8, !tbaa !13
  %33 = load i32, ptr %8, align 4, !tbaa !9
  %34 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 5
  store i32 %33, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %35 = call i32 @pjpeg_decode_buffer(ptr noundef %10)
  store i32 %35, ptr %12, align 4, !tbaa !9
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %41

38:                                               ; preds = %28
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %39, ptr %40, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %38, %28
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %65

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %59, %44
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 9
  %48 = load i32, ptr %47, align 8, !tbaa !15
  %49 = icmp slt i32 %46, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %62

51:                                               ; preds = %45
  %52 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 10
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = load i32, ptr %13, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds %struct.pjpeg_component, ptr %53, i64 %55
  %57 = getelementptr inbounds %struct.pjpeg_component, ptr %56, i32 0, i32 3
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  call void @free(ptr noundef %58) #6
  br label %59

59:                                               ; preds = %51
  %60 = load i32, ptr %13, align 4, !tbaa !9
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %13, align 4, !tbaa !9
  br label %45, !llvm.loop !19

62:                                               ; preds = %50
  %63 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 10
  %64 = load ptr, ptr %63, align 8, !tbaa !16
  call void @free(ptr noundef %64) #6
  store ptr null, ptr %5, align 8
  store i32 1, ptr %14, align 4
  br label %84

65:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %66 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 24) #8
  store ptr %66, ptr %15, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !21
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.pjpeg, ptr %69, i32 0, i32 1
  store i32 %68, ptr %70, align 4, !tbaa !22
  %71 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 2
  %72 = load i32, ptr %71, align 8, !tbaa !24
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.pjpeg, ptr %73, i32 0, i32 2
  store i32 %72, ptr %74, align 8, !tbaa !25
  %75 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 9
  %76 = load i32, ptr %75, align 8, !tbaa !15
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.pjpeg, ptr %77, i32 0, i32 3
  store i32 %76, ptr %78, align 4, !tbaa !26
  %79 = getelementptr inbounds %struct.pjpeg_decode_state, ptr %10, i32 0, i32 10
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = load ptr, ptr %15, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.pjpeg, ptr %81, i32 0, i32 4
  store ptr %80, ptr %82, align 8, !tbaa !27
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %83, ptr %5, align 8
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %84

84:                                               ; preds = %65, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 524624, ptr %10) #6
  %85 = load ptr, ptr %5, align 8
  ret ptr %85
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @pjpeg_decode_buffer(ptr noundef) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"pjpeg_decode_state", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !7, i64 32, !7, i64 524320, !7, i64 524336, !10, i64 524592, !6, i64 524600, !10, i64 524608, !10, i64 524612, !10, i64 524616, !10, i64 524620}
!13 = !{!12, !10, i64 24}
!14 = !{!12, !10, i64 28}
!15 = !{!12, !10, i64 524592}
!16 = !{!12, !6, i64 524600}
!17 = !{!18, !6, i64 16}
!18 = !{!"pjpeg_component", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !7, i64 26, !7, i64 27, !7, i64 28, !7, i64 29}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !10, i64 4}
!22 = !{!23, !10, i64 4}
!23 = !{!"pjpeg", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16}
!24 = !{!12, !10, i64 8}
!25 = !{!23, !10, i64 8}
!26 = !{!23, !10, i64 12}
!27 = !{!23, !6, i64 16}


; 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.pjpeg_decode_state = type { i32, i32, i32, ptr, i32, i32, [4 x [65536 x %struct.pjpeg_huffman_code]], [4 x i32], [4 x [64 x i8]], i32, ptr, i32, i32, i32, i32 }
%struct.pjpeg_huffman_code = type { i8, i8 }
%struct.pjpeg_component = type { i32, i32, i32, ptr, i8, i8, i8, i8, i8, i8 }

@.str.1 = external hidden unnamed_addr constant [82 x i8], align 1
@mjpeg_dht = external hidden global [420 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.pjpeg_create_from_buffer = external hidden unnamed_addr constant [67 x i8], align 1

; 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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @pjpeg_create_from_buffer(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #3 {
  %5 = alloca %struct.pjpeg_decode_state, align 8
  call void @llvm.lifetime.start.p0(i64 524624, ptr nonnull %5) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(524624) %5, i8 0, i64 524624, i1 false)
  %6 = and i32 %2, 2
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %13, label %7

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr @mjpeg_dht, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %5, i64 24
  store i32 420, ptr %9, align 8, !tbaa !11
  %10 = call i32 @pjpeg_decode_buffer(ptr noundef nonnull %5)
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %13, label %12

12:                                               ; preds = %7
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 880, ptr noundef nonnull @__PRETTY_FUNCTION__.pjpeg_create_from_buffer) #7
  unreachable

13:                                               ; preds = %7, %4
  %14 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr %0, ptr %14, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %5, i64 24
  store i32 %1, ptr %15, align 8, !tbaa !11
  %16 = getelementptr inbounds i8, ptr %5, i64 28
  store i32 %2, ptr %16, align 4, !tbaa !12
  %17 = call i32 @pjpeg_decode_buffer(ptr noundef nonnull %5)
  %.not19 = icmp eq ptr %3, null
  br i1 %.not19, label %19, label %18

18:                                               ; preds = %13
  store i32 %17, ptr %3, align 4, !tbaa !13
  br label %19

19:                                               ; preds = %18, %13
  %.not20 = icmp eq i32 %17, 0
  br i1 %.not20, label %33, label %.preheader

.preheader:                                       ; preds = %19
  %20 = getelementptr inbounds i8, ptr %5, i64 524592
  %21 = load i32, ptr %20, align 8, !tbaa !14
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %23 = getelementptr inbounds i8, ptr %5, i64 524600
  br label %26

._crit_edge:                                      ; preds = %26, %.preheader
  %24 = getelementptr inbounds i8, ptr %5, i64 524600
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  call void @free(ptr noundef %25) #6
  br label %44

26:                                               ; preds = %.lr.ph, %26
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %26 ]
  %27 = load ptr, ptr %23, align 8, !tbaa !15
  %28 = getelementptr inbounds %struct.pjpeg_component, ptr %27, i64 %indvars.iv, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !16
  call void @free(ptr noundef %29) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %30 = load i32, ptr %20, align 8, !tbaa !14
  %31 = sext i32 %30 to i64
  %32 = icmp slt i64 %indvars.iv.next, %31
  br i1 %32, label %26, label %._crit_edge, !llvm.loop !18

33:                                               ; preds = %19
  %34 = call noalias dereferenceable_or_null(24) ptr @calloc(i64 noundef 1, i64 noundef 24) #8
  %35 = getelementptr inbounds i8, ptr %5, i64 4
  %36 = getelementptr inbounds i8, ptr %34, i64 4
  %37 = load <2 x i32>, ptr %35, align 4, !tbaa !13
  store <2 x i32> %37, ptr %36, align 4, !tbaa !13
  %38 = getelementptr inbounds i8, ptr %5, i64 524592
  %39 = load i32, ptr %38, align 8, !tbaa !14
  %40 = getelementptr inbounds i8, ptr %34, i64 12
  store i32 %39, ptr %40, align 4, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %5, i64 524600
  %42 = load ptr, ptr %41, align 8, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %34, i64 16
  store ptr %42, ptr %43, align 8, !tbaa !22
  br label %44

44:                                               ; preds = %33, %._crit_edge
  %.0 = phi ptr [ null, %._crit_edge ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 524624, ptr nonnull %5) #6
  ret ptr %.0
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @pjpeg_decode_buffer(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind allocsize(0,1) }

!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 = !{!"pjpeg_decode_state", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !8, i64 32, !8, i64 524320, !8, i64 524336, !7, i64 524592, !10, i64 524600, !7, i64 524608, !7, i64 524612, !7, i64 524616, !7, i64 524620}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !7, i64 28}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 524592}
!15 = !{!6, !10, i64 524600}
!16 = !{!17, !10, i64 16}
!17 = !{!"pjpeg_component", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !8, i64 24, !8, i64 25, !8, i64 26, !8, i64 27, !8, i64 28, !8, i64 29}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 12}
!21 = !{!"pjpeg", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!22 = !{!21, !10, i64 16}


; Effective O3 passes: GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass