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

; 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.LodePNGInfo = type { i32, i32, i32, %struct.LodePNGColorMode, i32, i32, i32, i32, i64, ptr, ptr, i64, ptr, ptr, ptr, ptr, i32, %struct.LodePNGTime, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, [3 x ptr], [3 x i64] }
%struct.LodePNGColorMode = type { i32, i32, ptr, i64, i32, i32, i32, i32 }
%struct.LodePNGTime = type { i32, i32, i32, i32, i32, 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: mustprogress nounwind uwtable
declare dso_local void @_Z23lodepng_color_mode_initP16LodePNGColorMode(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL18lodepng_assign_iccP11LodePNGInfoPKcPKhj(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL25LodePNGUnknownChunks_initP11LodePNGInfo(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20lodepng_info_cleanupP11LodePNGInfo(ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z17lodepng_info_copyP11LodePNGInfoPKS_(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z20lodepng_info_cleanupP11LodePNGInfo(ptr noundef %12)
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %13, i64 312, i1 false), !tbaa.struct !9
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.LodePNGInfo, ptr %15, i32 0, i32 3
  call void @_Z23lodepng_color_mode_initP16LodePNGColorMode(ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.LodePNGInfo, ptr %17, i32 0, i32 3
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.LodePNGInfo, ptr %19, i32 0, i32 3
  %21 = call noundef i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr noundef %18, ptr noundef %20)
  store i32 %21, ptr %6, align 4, !tbaa !10
  %22 = load i32, ptr %6, align 4, !tbaa !10
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %2
  %25 = load i32, ptr %6, align 4, !tbaa !10
  store i32 %25, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %27

26:                                               ; preds = %2
  store i32 0, ptr %7, align 4
  br label %27

27:                                               ; preds = %26, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %28 = load i32, ptr %7, align 4
  switch i32 %28, label %91 [
    i32 0, label %29
    i32 1, label %89
  ]

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call noundef i32 @_ZL16LodePNGText_copyP11LodePNGInfoPKS_(ptr noundef %30, ptr noundef %31)
  store i32 %32, ptr %8, align 4, !tbaa !10
  %33 = load i32, ptr %8, align 4, !tbaa !10
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %29
  %36 = load i32, ptr %8, align 4, !tbaa !10
  store i32 %36, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %38

37:                                               ; preds = %29
  store i32 0, ptr %7, align 4
  br label %38

38:                                               ; preds = %37, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %39 = load i32, ptr %7, align 4
  switch i32 %39, label %91 [
    i32 0, label %40
    i32 1, label %89
  ]

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call noundef i32 @_ZL17LodePNGIText_copyP11LodePNGInfoPKS_(ptr noundef %41, ptr noundef %42)
  store i32 %43, ptr %9, align 4, !tbaa !10
  %44 = load i32, ptr %9, align 4, !tbaa !10
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %48

46:                                               ; preds = %40
  %47 = load i32, ptr %9, align 4, !tbaa !10
  store i32 %47, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %49

48:                                               ; preds = %40
  store i32 0, ptr %7, align 4
  br label %49

49:                                               ; preds = %48, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %50 = load i32, ptr %7, align 4
  switch i32 %50, label %91 [
    i32 0, label %51
    i32 1, label %89
  ]

51:                                               ; preds = %49
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.LodePNGInfo, ptr %52, i32 0, i32 35
  %54 = load i32, ptr %53, align 8, !tbaa !17
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %76

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.LodePNGInfo, ptr %58, i32 0, i32 36
  %60 = load ptr, ptr %59, align 8, !tbaa !21
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.LodePNGInfo, ptr %61, i32 0, i32 37
  %63 = load ptr, ptr %62, align 8, !tbaa !22
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.LodePNGInfo, ptr %64, i32 0, i32 38
  %66 = load i32, ptr %65, align 8, !tbaa !23
  %67 = call noundef i32 @_ZL18lodepng_assign_iccP11LodePNGInfoPKcPKhj(ptr noundef %57, ptr noundef %60, ptr noundef %63, i32 noundef %66)
  store i32 %67, ptr %10, align 4, !tbaa !10
  %68 = load i32, ptr %10, align 4, !tbaa !10
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %56
  %71 = load i32, ptr %10, align 4, !tbaa !10
  store i32 %71, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %73

72:                                               ; preds = %56
  store i32 0, ptr %7, align 4
  br label %73

73:                                               ; preds = %72, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %74 = load i32, ptr %7, align 4
  switch i32 %74, label %91 [
    i32 0, label %75
    i32 1, label %89
  ]

75:                                               ; preds = %73
  br label %76

76:                                               ; preds = %75, %51
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL25LodePNGUnknownChunks_initP11LodePNGInfo(ptr noundef %77)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = call noundef i32 @_ZL25LodePNGUnknownChunks_copyP11LodePNGInfoPKS_(ptr noundef %78, ptr noundef %79)
  store i32 %80, ptr %11, align 4, !tbaa !10
  %81 = load i32, ptr %11, align 4, !tbaa !10
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %85

83:                                               ; preds = %76
  %84 = load i32, ptr %11, align 4, !tbaa !10
  store i32 %84, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %86

85:                                               ; preds = %76
  store i32 0, ptr %7, align 4
  br label %86

86:                                               ; preds = %85, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %87 = load i32, ptr %7, align 4
  switch i32 %87, label %91 [
    i32 0, label %88
    i32 1, label %89
  ]

88:                                               ; preds = %86
  store i32 0, ptr %3, align 4
  br label %89

89:                                               ; preds = %88, %86, %73, %49, %38, %27
  %90 = load i32, ptr %3, align 4
  ret i32 %90

91:                                               ; preds = %86, %73, %49, %38, %27
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16LodePNGText_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL17LodePNGIText_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL25LodePNGUnknownChunks_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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++ TBAA"}
!9 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 16, i64 4, !12, i64 20, i64 4, !10, i64 24, i64 8, !5, i64 32, i64 8, !14, i64 40, i64 4, !10, i64 44, i64 4, !10, i64 48, i64 4, !10, i64 52, i64 4, !10, i64 56, i64 4, !10, i64 60, i64 4, !10, i64 64, i64 4, !10, i64 68, i64 4, !10, i64 72, i64 8, !14, i64 80, i64 8, !5, i64 88, i64 8, !5, i64 96, i64 8, !14, i64 104, i64 8, !5, i64 112, i64 8, !5, i64 120, i64 8, !5, i64 128, i64 8, !5, i64 136, i64 4, !10, i64 140, i64 4, !10, i64 144, i64 4, !10, i64 148, i64 4, !10, i64 152, i64 4, !10, i64 156, i64 4, !10, i64 160, i64 4, !10, i64 164, i64 4, !10, i64 168, i64 4, !10, i64 172, i64 4, !10, i64 176, i64 4, !10, i64 180, i64 4, !10, i64 184, i64 4, !10, i64 188, i64 4, !10, i64 192, i64 4, !10, i64 196, i64 4, !10, i64 200, i64 4, !10, i64 204, i64 4, !10, i64 208, i64 4, !10, i64 212, i64 4, !10, i64 216, i64 4, !10, i64 220, i64 4, !10, i64 224, i64 4, !10, i64 228, i64 4, !10, i64 232, i64 4, !10, i64 240, i64 8, !5, i64 248, i64 8, !5, i64 256, i64 4, !10, i64 264, i64 24, !16, i64 288, i64 24, !16}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTS16LodePNGColorType", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !11, i64 232}
!18 = !{!"_ZTS11LodePNGInfo", !11, i64 0, !11, i64 4, !11, i64 8, !19, i64 16, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !15, i64 72, !6, i64 80, !6, i64 88, !15, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !11, i64 136, !20, i64 140, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !6, i64 240, !6, i64 248, !11, i64 256, !7, i64 264, !7, i64 288}
!19 = !{!"_ZTS16LodePNGColorMode", !13, i64 0, !11, i64 4, !6, i64 8, !15, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36}
!20 = !{!"_ZTS11LodePNGTime", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!21 = !{!18, !6, i64 240}
!22 = !{!18, !6, i64 248}
!23 = !{!18, !11, i64 256}


; 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 nounwind uwtable
declare dso_local void @_Z23lodepng_color_mode_initP16LodePNGColorMode(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL18lodepng_assign_iccP11LodePNGInfoPKcPKhj(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL25LodePNGUnknownChunks_initP11LodePNGInfo(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20lodepng_info_cleanupP11LodePNGInfo(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z17lodepng_info_copyP11LodePNGInfoPKS_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  tail call void @_Z20lodepng_info_cleanupP11LodePNGInfo(ptr noundef %0)
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(312) %1, i64 312, i1 false), !tbaa.struct !5
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_Z23lodepng_color_mode_initP16LodePNGColorMode(ptr noundef nonnull %3)
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  %5 = tail call noundef i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr noundef nonnull %3, ptr noundef nonnull %4)
  %.not.not = icmp eq i32 %5, 0
  br i1 %.not.not, label %6, label %23

6:                                                ; preds = %2
  %7 = tail call noundef i32 @_ZL16LodePNGText_copyP11LodePNGInfoPKS_(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %.not41.not = icmp eq i32 %7, 0
  br i1 %.not41.not, label %8, label %23

8:                                                ; preds = %6
  %9 = tail call noundef i32 @_ZL17LodePNGIText_copyP11LodePNGInfoPKS_(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %.not42.not = icmp eq i32 %9, 0
  br i1 %.not42.not, label %10, label %23

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %1, i64 232
  %12 = load i32, ptr %11, align 8, !tbaa !17
  %.not43 = icmp eq i32 %12, 0
  br i1 %.not43, label %21, label %13

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %1, i64 240
  %15 = load ptr, ptr %14, align 8, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %1, i64 248
  %17 = load ptr, ptr %16, align 8, !tbaa !22
  %18 = getelementptr inbounds i8, ptr %1, i64 256
  %19 = load i32, ptr %18, align 8, !tbaa !23
  %20 = tail call noundef i32 @_ZL18lodepng_assign_iccP11LodePNGInfoPKcPKhj(ptr noundef nonnull %0, ptr noundef %15, ptr noundef %17, i32 noundef %19)
  %.not44.not = icmp eq i32 %20, 0
  br i1 %.not44.not, label %21, label %23

21:                                               ; preds = %13, %10
  tail call void @_ZL25LodePNGUnknownChunks_initP11LodePNGInfo(ptr noundef nonnull %0)
  %22 = tail call noundef i32 @_ZL25LodePNGUnknownChunks_copyP11LodePNGInfoPKS_(ptr noundef nonnull %0, ptr noundef nonnull %1)
  br label %23

23:                                               ; preds = %21, %13, %8, %6, %2
  %.6 = phi i32 [ %5, %2 ], [ %7, %6 ], [ %9, %8 ], [ %20, %13 ], [ %22, %21 ]
  ret i32 %.6
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16LodePNGText_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL17LodePNGIText_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL25LodePNGUnknownChunks_copyP11LodePNGInfoPKS_(ptr noundef, ptr noundef) local_unnamed_addr #0

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

!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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 16, i64 4, !10, i64 20, i64 4, !6, i64 24, i64 8, !12, i64 32, i64 8, !14, i64 40, i64 4, !6, i64 44, i64 4, !6, i64 48, i64 4, !6, i64 52, i64 4, !6, i64 56, i64 4, !6, i64 60, i64 4, !6, i64 64, i64 4, !6, i64 68, i64 4, !6, i64 72, i64 8, !14, i64 80, i64 8, !12, i64 88, i64 8, !12, i64 96, i64 8, !14, i64 104, i64 8, !12, i64 112, i64 8, !12, i64 120, i64 8, !12, i64 128, i64 8, !12, i64 136, i64 4, !6, i64 140, i64 4, !6, i64 144, i64 4, !6, i64 148, i64 4, !6, i64 152, i64 4, !6, i64 156, i64 4, !6, i64 160, i64 4, !6, i64 164, i64 4, !6, i64 168, i64 4, !6, i64 172, i64 4, !6, i64 176, i64 4, !6, i64 180, i64 4, !6, i64 184, i64 4, !6, i64 188, i64 4, !6, i64 192, i64 4, !6, i64 196, i64 4, !6, i64 200, i64 4, !6, i64 204, i64 4, !6, i64 208, i64 4, !6, i64 212, i64 4, !6, i64 216, i64 4, !6, i64 220, i64 4, !6, i64 224, i64 4, !6, i64 228, i64 4, !6, i64 232, i64 4, !6, i64 240, i64 8, !12, i64 248, i64 8, !12, i64 256, i64 4, !6, i64 264, i64 24, !16, i64 288, i64 24, !16}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTS16LodePNGColorType", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !7, i64 232}
!18 = !{!"_ZTS11LodePNGInfo", !7, i64 0, !7, i64 4, !7, i64 8, !19, i64 16, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !15, i64 72, !13, i64 80, !13, i64 88, !15, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !7, i64 136, !20, i64 140, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !13, i64 240, !13, i64 248, !7, i64 256, !8, i64 264, !8, i64 288}
!19 = !{!"_ZTS16LodePNGColorMode", !11, i64 0, !7, i64 4, !13, i64 8, !15, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!20 = !{!"_ZTS11LodePNGTime", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!21 = !{!18, !13, i64 240}
!22 = !{!18, !13, i64 248}
!23 = !{!18, !7, i64 256}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass