; LLVM IR from facebookresearch/habitat-sim :: src/deps/basis-universal/encoder/jpgd.ll (ZN4jpgd12jpeg_decoder5allocEmb)

; 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], i32, [4 x i8], 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, i32, [4 x i8], [8 x ptr], [4 x ptr], [4 x ptr], i32, [4 x i32], [4 x i8], ptr, i32, i32, [64 x i8], [8320 x i8], [64 x i8], i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], ptr, [10 x i32], ptr, ptr, [256 x i32], [256 x i32], [256 x i32], [256 x i32], ptr, ptr, i32, i32, i8, i8, i8, [5 x i8] }>
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%"struct.jpgd::jpeg_decoder::mem_block" = type { ptr, i64, i64, [1 x i8] }

; 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(13523), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13523) %0, i64 noundef %1, i1 noundef zeroext %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  %12 = zext i1 %2 to i8
  store i8 %12, ptr %6, align 1, !tbaa !11
  %13 = load ptr, ptr %4, align 8
  %14 = load i64, ptr %5, align 8, !tbaa !9
  %15 = icmp ugt i64 %14, 1
  br i1 %15, label %16, label %18

16:                                               ; preds = %3
  %17 = load i64, ptr %5, align 8, !tbaa !9
  br label %19

18:                                               ; preds = %3
  br label %19

19:                                               ; preds = %18, %16
  %20 = phi i64 [ %17, %16 ], [ 1, %18 ]
  %21 = add i64 %20, 3
  %22 = and i64 %21, -4
  store i64 %22, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %23 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %13, i32 0, i32 3
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  store ptr %24, ptr %8, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %53, %19
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 2, ptr %9, align 4
  br label %57

29:                                               ; preds = %25
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %30, i32 0, i32 1
  %32 = load i64, ptr %31, align 8, !tbaa !17
  %33 = load i64, ptr %5, align 8, !tbaa !9
  %34 = add i64 %32, %33
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %35, i32 0, i32 2
  %37 = load i64, ptr %36, align 8, !tbaa !19
  %38 = icmp ule i64 %34, %37
  br i1 %38, label %39, label %52

39:                                               ; preds = %29
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %40, i32 0, i32 3
  %42 = getelementptr inbounds [1 x i8], ptr %41, i64 0, i64 0
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %43, i32 0, i32 1
  %45 = load i64, ptr %44, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %42, i64 %45
  store ptr %46, ptr %7, align 8, !tbaa !5
  %47 = load i64, ptr %5, align 8, !tbaa !9
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8, !tbaa !17
  %51 = add i64 %50, %47
  store i64 %51, ptr %49, align 8, !tbaa !17
  store i32 2, ptr %9, align 4
  br label %57

52:                                               ; preds = %29
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  store ptr %56, ptr %8, align 8, !tbaa !5
  br label %25, !llvm.loop !21

57:                                               ; preds = %39, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %99, label %61

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %62 = load i64, ptr %5, align 8, !tbaa !9
  %63 = trunc i64 %62 to i32
  %64 = add nsw i32 %63, 2047
  %65 = and i32 %64, -2048
  %66 = icmp sgt i32 32512, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %61
  br label %73

68:                                               ; preds = %61
  %69 = load i64, ptr %5, align 8, !tbaa !9
  %70 = trunc i64 %69 to i32
  %71 = add nsw i32 %70, 2047
  %72 = and i32 %71, -2048
  br label %73

73:                                               ; preds = %68, %67
  %74 = phi i32 [ 32512, %67 ], [ %72, %68 ]
  store i32 %74, ptr %10, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %75 = load i32, ptr %10, align 4, !tbaa !23
  %76 = sext i32 %75 to i64
  %77 = add i64 32, %76
  %78 = call noundef ptr @_ZN4jpgdL11jpgd_mallocEm(i64 noundef %77)
  store ptr %78, ptr %11, align 8, !tbaa !5
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %82, label %81

81:                                               ; preds = %73
  call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13523) %13, i32 noundef -225) #6
  unreachable

82:                                               ; preds = %73
  %83 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %13, i32 0, i32 3
  %84 = load ptr, ptr %83, align 8, !tbaa !13
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %85, i32 0, i32 0
  store ptr %84, ptr %86, align 8, !tbaa !20
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.jpgd::jpeg_decoder", ptr %13, i32 0, i32 3
  store ptr %87, ptr %88, align 8, !tbaa !13
  %89 = load i64, ptr %5, align 8, !tbaa !9
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %90, i32 0, i32 1
  store i64 %89, ptr %91, align 8, !tbaa !17
  %92 = load i32, ptr %10, align 4, !tbaa !23
  %93 = sext i32 %92 to i64
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %94, i32 0, i32 2
  store i64 %93, ptr %95, align 8, !tbaa !19
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.jpgd::jpeg_decoder::mem_block", ptr %96, i32 0, i32 3
  %98 = getelementptr inbounds [1 x i8], ptr %97, i64 0, i64 0
  store ptr %98, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %99

99:                                               ; preds = %82, %58
  %100 = load i8, ptr %6, align 1, !tbaa !11, !range !24, !noundef !25
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %105

102:                                              ; preds = %99
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %103, i8 0, i64 %104, i1 false)
  br label %105

105:                                              ; preds = %102, %99
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret ptr %106
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4jpgdL11jpgd_mallocEm(i64 noundef) #3

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

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 = { inlinehint 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
attributes #6 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 208}
!14 = !{!"_ZTSN4jpgd12jpeg_decoderE", !7, i64 0, !15, i64 200, !6, i64 208, !15, i64 216, !15, i64 220, !6, i64 224, !15, i64 232, !7, i64 236, !7, i64 248, !7, i64 312, !7, i64 376, !15, i64 408, !15, i64 412, !7, i64 416, !7, i64 432, !7, i64 448, !7, i64 464, !7, i64 480, !7, i64 496, !15, i64 512, !7, i64 516, !7, i64 532, !7, i64 548, !15, i64 564, !15, i64 568, !15, i64 572, !15, i64 576, !15, i64 580, !15, i64 584, !15, i64 588, !15, i64 592, !15, i64 596, !15, i64 600, !7, i64 604, !15, i64 644, !15, i64 648, !15, i64 652, !15, i64 656, !15, i64 660, !15, i64 664, !7, i64 672, !7, i64 736, !7, i64 768, !15, i64 800, !7, i64 804, !6, i64 824, !15, i64 832, !15, i64 836, !7, i64 840, !7, i64 904, !7, i64 9224, !15, i64 9288, !15, i64 9292, !15, i64 9296, !15, i64 9300, !15, i64 9304, !15, i64 9308, !15, i64 9312, !15, i64 9316, !7, i64 9320, !6, i64 9336, !7, i64 9344, !6, i64 9384, !6, i64 9392, !7, i64 9400, !7, i64 10424, !7, i64 11448, !7, i64 12472, !6, i64 13496, !6, i64 13504, !16, i64 13512, !15, i64 13516, !12, i64 13520, !12, i64 13521, !12, i64 13522}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN4jpgd11jpgd_statusE", !7, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"_ZTSN4jpgd12jpeg_decoder9mem_blockE", !6, i64 0, !10, i64 8, !10, i64 16, !7, i64 24}
!19 = !{!18, !10, i64 16}
!20 = !{!18, !6, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!15, !15, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}


; 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(13523), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN4jpgd12jpeg_decoder5allocEmb(ptr noundef nonnull align 8 dereferenceable(13523) %0, i64 noundef %1, i1 noundef zeroext %2) local_unnamed_addr #1 align 2 {
  %4 = tail call i64 @llvm.umax.i64(i64 %1, i64 1)
  %5 = add i64 %4, 3
  %6 = and i64 %5, -4
  %7 = getelementptr inbounds i8, ptr %0, i64 208
  br label %8

8:                                                ; preds = %9, %3
  %.027.in = phi ptr [ %7, %3 ], [ %.027, %9 ]
  %.027 = load ptr, ptr %.027.in, align 8, !tbaa !5
  %.not = icmp eq ptr %.027, null
  br i1 %.not, label %19, label %9

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %.027, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !9
  %12 = add i64 %11, %6
  %13 = getelementptr inbounds i8, ptr %.027, i64 16
  %14 = load i64, ptr %13, align 8, !tbaa !12
  %.not30 = icmp ugt i64 %12, %14
  br i1 %.not30, label %8, label %15, !llvm.loop !13

15:                                               ; preds = %9
  %16 = getelementptr inbounds i8, ptr %.027, i64 8
  %17 = getelementptr inbounds i8, ptr %.027, i64 24
  %18 = getelementptr inbounds i8, ptr %17, i64 %11
  store i64 %12, ptr %16, align 8, !tbaa !9
  br label %33

19:                                               ; preds = %8
  %20 = trunc i64 %6 to i32
  %21 = add nsw i32 %20, 2047
  %22 = and i32 %21, -2048
  %23 = tail call i32 @llvm.smax.i32(i32 %22, i32 32512)
  %24 = zext nneg i32 %23 to i64
  %25 = or disjoint i64 %24, 32
  %26 = tail call noundef ptr @_ZN4jpgdL11jpgd_mallocEm(i64 noundef %25)
  %.not32 = icmp eq ptr %26, null
  br i1 %.not32, label %27, label %28

27:                                               ; preds = %19
  tail call void @_ZN4jpgd12jpeg_decoder13stop_decodingENS_11jpgd_statusE(ptr noundef nonnull align 8 dereferenceable(13523) %0, i32 noundef -225) #5
  unreachable

28:                                               ; preds = %19
  %29 = load ptr, ptr %7, align 8, !tbaa !15
  store ptr %29, ptr %26, align 8, !tbaa !20
  store ptr %26, ptr %7, align 8, !tbaa !15
  %30 = getelementptr inbounds i8, ptr %26, i64 8
  store i64 %6, ptr %30, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %26, i64 16
  store i64 %24, ptr %31, align 8, !tbaa !12
  %32 = getelementptr inbounds i8, ptr %26, i64 24
  br label %33

33:                                               ; preds = %15, %28
  %.1 = phi ptr [ %18, %15 ], [ %32, %28 ]
  br i1 %2, label %34, label %35

34:                                               ; preds = %33
  tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %.1, i8 0, i64 %6, i1 false)
  br label %35

35:                                               ; preds = %34, %33
  ret ptr %.1
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4jpgdL11jpgd_mallocEm(i64 noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

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 = { inlinehint 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 8}
!10 = !{!"_ZTSN4jpgd12jpeg_decoder9mem_blockE", !6, i64 0, !11, i64 8, !11, i64 16, !7, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 208}
!16 = !{!"_ZTSN4jpgd12jpeg_decoderE", !7, i64 0, !17, i64 200, !6, i64 208, !17, i64 216, !17, i64 220, !6, i64 224, !17, i64 232, !7, i64 236, !7, i64 248, !7, i64 312, !7, i64 376, !17, i64 408, !17, i64 412, !7, i64 416, !7, i64 432, !7, i64 448, !7, i64 464, !7, i64 480, !7, i64 496, !17, i64 512, !7, i64 516, !7, i64 532, !7, i64 548, !17, i64 564, !17, i64 568, !17, i64 572, !17, i64 576, !17, i64 580, !17, i64 584, !17, i64 588, !17, i64 592, !17, i64 596, !17, i64 600, !7, i64 604, !17, i64 644, !17, i64 648, !17, i64 652, !17, i64 656, !17, i64 660, !17, i64 664, !7, i64 672, !7, i64 736, !7, i64 768, !17, i64 800, !7, i64 804, !6, i64 824, !17, i64 832, !17, i64 836, !7, i64 840, !7, i64 904, !7, i64 9224, !17, i64 9288, !17, i64 9292, !17, i64 9296, !17, i64 9300, !17, i64 9304, !17, i64 9308, !17, i64 9312, !17, i64 9316, !7, i64 9320, !6, i64 9336, !7, i64 9344, !6, i64 9384, !6, i64 9392, !7, i64 9400, !7, i64 10424, !7, i64 11448, !7, i64 12472, !6, i64 13496, !6, i64 13504, !18, i64 13512, !17, i64 13516, !19, i64 13520, !19, i64 13521, !19, i64 13522}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4jpgd11jpgd_statusE", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!10, !6, i64 0}


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