; LLVM IR from mkazhdan/DMG :: Util/PNG (pngset)

; 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.png_info_struct = type { i64, i64, i64, i64, ptr, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, [8 x i8], float, i8, i32, i32, ptr, %struct.png_time_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, %struct.png_color_16_struct, i64, i64, i8, i64, i64, i8, ptr, float, float, float, float, float, float, float, float, ptr, i64, i64, ptr, ptr, i8, i8, i64, ptr, i64, ptr, ptr, i64, i8, ptr, i64, i8, double, double, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.png_time_struct = type { i16, i8, i8, i8, i8, i8 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }

@.str = external hidden unnamed_addr constant [53 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @png_set_cHRM(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) #0 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store double %2, ptr %13, align 8, !tbaa !9
  store double %3, ptr %14, align 8, !tbaa !9
  store double %4, ptr %15, align 8, !tbaa !9
  store double %5, ptr %16, align 8, !tbaa !9
  store double %6, ptr %17, align 8, !tbaa !9
  store double %7, ptr %18, align 8, !tbaa !9
  store double %8, ptr %19, align 8, !tbaa !9
  store double %9, ptr %20, align 8, !tbaa !9
  %21 = load ptr, ptr %11, align 8, !tbaa !5
  %22 = icmp eq ptr %21, null
  br i1 %22, label %26, label %23

23:                                               ; preds = %10
  %24 = load ptr, ptr %12, align 8, !tbaa !5
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %27

26:                                               ; preds = %23, %10
  br label %182

27:                                               ; preds = %23
  %28 = load double, ptr %13, align 8, !tbaa !9
  %29 = fcmp une double %28, 0.000000e+00
  br i1 %29, label %53, label %30

30:                                               ; preds = %27
  %31 = load double, ptr %14, align 8, !tbaa !9
  %32 = fcmp une double %31, 0.000000e+00
  br i1 %32, label %53, label %33

33:                                               ; preds = %30
  %34 = load double, ptr %15, align 8, !tbaa !9
  %35 = fcmp une double %34, 0.000000e+00
  br i1 %35, label %53, label %36

36:                                               ; preds = %33
  %37 = load double, ptr %16, align 8, !tbaa !9
  %38 = fcmp une double %37, 0.000000e+00
  br i1 %38, label %53, label %39

39:                                               ; preds = %36
  %40 = load double, ptr %17, align 8, !tbaa !9
  %41 = fcmp une double %40, 0.000000e+00
  br i1 %41, label %53, label %42

42:                                               ; preds = %39
  %43 = load double, ptr %18, align 8, !tbaa !9
  %44 = fcmp une double %43, 0.000000e+00
  br i1 %44, label %53, label %45

45:                                               ; preds = %42
  %46 = load double, ptr %19, align 8, !tbaa !9
  %47 = fcmp une double %46, 0.000000e+00
  br i1 %47, label %53, label %48

48:                                               ; preds = %45
  %49 = load double, ptr %20, align 8, !tbaa !9
  %50 = fcmp une double %49, 0.000000e+00
  br i1 %50, label %53, label %51

51:                                               ; preds = %48
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  call void @png_warning(ptr noundef %52, ptr noundef @.str)
  br label %182

53:                                               ; preds = %48, %45, %42, %39, %36, %33, %30, %27
  %54 = load double, ptr %13, align 8, !tbaa !9
  %55 = fcmp olt double %54, 0.000000e+00
  br i1 %55, label %77, label %56

56:                                               ; preds = %53
  %57 = load double, ptr %14, align 8, !tbaa !9
  %58 = fcmp olt double %57, 0.000000e+00
  br i1 %58, label %77, label %59

59:                                               ; preds = %56
  %60 = load double, ptr %15, align 8, !tbaa !9
  %61 = fcmp olt double %60, 0.000000e+00
  br i1 %61, label %77, label %62

62:                                               ; preds = %59
  %63 = load double, ptr %16, align 8, !tbaa !9
  %64 = fcmp olt double %63, 0.000000e+00
  br i1 %64, label %77, label %65

65:                                               ; preds = %62
  %66 = load double, ptr %17, align 8, !tbaa !9
  %67 = fcmp olt double %66, 0.000000e+00
  br i1 %67, label %77, label %68

68:                                               ; preds = %65
  %69 = load double, ptr %18, align 8, !tbaa !9
  %70 = fcmp olt double %69, 0.000000e+00
  br i1 %70, label %77, label %71

71:                                               ; preds = %68
  %72 = load double, ptr %19, align 8, !tbaa !9
  %73 = fcmp olt double %72, 0.000000e+00
  br i1 %73, label %77, label %74

74:                                               ; preds = %71
  %75 = load double, ptr %20, align 8, !tbaa !9
  %76 = fcmp olt double %75, 0.000000e+00
  br i1 %76, label %77, label %79

77:                                               ; preds = %74, %71, %68, %65, %62, %59, %56, %53
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  call void @png_warning(ptr noundef %78, ptr noundef @.str.1)
  br label %182

79:                                               ; preds = %74
  %80 = load double, ptr %13, align 8, !tbaa !9
  %81 = fcmp ogt double %80, 0x40D4F8B51EB851EC
  br i1 %81, label %103, label %82

82:                                               ; preds = %79
  %83 = load double, ptr %14, align 8, !tbaa !9
  %84 = fcmp ogt double %83, 0x40D4F8B51EB851EC
  br i1 %84, label %103, label %85

85:                                               ; preds = %82
  %86 = load double, ptr %15, align 8, !tbaa !9
  %87 = fcmp ogt double %86, 0x40D4F8B51EB851EC
  br i1 %87, label %103, label %88

88:                                               ; preds = %85
  %89 = load double, ptr %16, align 8, !tbaa !9
  %90 = fcmp ogt double %89, 0x40D4F8B51EB851EC
  br i1 %90, label %103, label %91

91:                                               ; preds = %88
  %92 = load double, ptr %17, align 8, !tbaa !9
  %93 = fcmp ogt double %92, 0x40D4F8B51EB851EC
  br i1 %93, label %103, label %94

94:                                               ; preds = %91
  %95 = load double, ptr %18, align 8, !tbaa !9
  %96 = fcmp ogt double %95, 0x40D4F8B51EB851EC
  br i1 %96, label %103, label %97

97:                                               ; preds = %94
  %98 = load double, ptr %19, align 8, !tbaa !9
  %99 = fcmp ogt double %98, 0x40D4F8B51EB851EC
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = load double, ptr %20, align 8, !tbaa !9
  %102 = fcmp ogt double %101, 0x40D4F8B51EB851EC
  br i1 %102, label %103, label %105

103:                                              ; preds = %100, %97, %94, %91, %88, %85, %82, %79
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  call void @png_warning(ptr noundef %104, ptr noundef @.str.2)
  br label %182

105:                                              ; preds = %100
  %106 = load double, ptr %13, align 8, !tbaa !9
  %107 = fptrunc double %106 to float
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.png_info_struct, ptr %108, i32 0, i32 33
  store float %107, ptr %109, align 8, !tbaa !11
  %110 = load double, ptr %14, align 8, !tbaa !9
  %111 = fptrunc double %110 to float
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.png_info_struct, ptr %112, i32 0, i32 34
  store float %111, ptr %113, align 4, !tbaa !20
  %114 = load double, ptr %15, align 8, !tbaa !9
  %115 = fptrunc double %114 to float
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.png_info_struct, ptr %116, i32 0, i32 35
  store float %115, ptr %117, align 8, !tbaa !21
  %118 = load double, ptr %16, align 8, !tbaa !9
  %119 = fptrunc double %118 to float
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.png_info_struct, ptr %120, i32 0, i32 36
  store float %119, ptr %121, align 4, !tbaa !22
  %122 = load double, ptr %17, align 8, !tbaa !9
  %123 = fptrunc double %122 to float
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.png_info_struct, ptr %124, i32 0, i32 37
  store float %123, ptr %125, align 8, !tbaa !23
  %126 = load double, ptr %18, align 8, !tbaa !9
  %127 = fptrunc double %126 to float
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.png_info_struct, ptr %128, i32 0, i32 38
  store float %127, ptr %129, align 4, !tbaa !24
  %130 = load double, ptr %19, align 8, !tbaa !9
  %131 = fptrunc double %130 to float
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.png_info_struct, ptr %132, i32 0, i32 39
  store float %131, ptr %133, align 8, !tbaa !25
  %134 = load double, ptr %20, align 8, !tbaa !9
  %135 = fptrunc double %134 to float
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.png_info_struct, ptr %136, i32 0, i32 40
  store float %135, ptr %137, align 4, !tbaa !26
  %138 = load double, ptr %13, align 8, !tbaa !9
  %139 = call double @llvm.fmuladd.f64(double %138, double 1.000000e+05, double 5.000000e-01)
  %140 = fptosi double %139 to i64
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.png_info_struct, ptr %141, i32 0, i32 64
  store i64 %140, ptr %142, align 8, !tbaa !27
  %143 = load double, ptr %14, align 8, !tbaa !9
  %144 = call double @llvm.fmuladd.f64(double %143, double 1.000000e+05, double 5.000000e-01)
  %145 = fptosi double %144 to i64
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.png_info_struct, ptr %146, i32 0, i32 65
  store i64 %145, ptr %147, align 8, !tbaa !28
  %148 = load double, ptr %15, align 8, !tbaa !9
  %149 = call double @llvm.fmuladd.f64(double %148, double 1.000000e+05, double 5.000000e-01)
  %150 = fptosi double %149 to i64
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.png_info_struct, ptr %151, i32 0, i32 66
  store i64 %150, ptr %152, align 8, !tbaa !29
  %153 = load double, ptr %16, align 8, !tbaa !9
  %154 = call double @llvm.fmuladd.f64(double %153, double 1.000000e+05, double 5.000000e-01)
  %155 = fptosi double %154 to i64
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.png_info_struct, ptr %156, i32 0, i32 67
  store i64 %155, ptr %157, align 8, !tbaa !30
  %158 = load double, ptr %17, align 8, !tbaa !9
  %159 = call double @llvm.fmuladd.f64(double %158, double 1.000000e+05, double 5.000000e-01)
  %160 = fptosi double %159 to i64
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.png_info_struct, ptr %161, i32 0, i32 68
  store i64 %160, ptr %162, align 8, !tbaa !31
  %163 = load double, ptr %18, align 8, !tbaa !9
  %164 = call double @llvm.fmuladd.f64(double %163, double 1.000000e+05, double 5.000000e-01)
  %165 = fptosi double %164 to i64
  %166 = load ptr, ptr %12, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.png_info_struct, ptr %166, i32 0, i32 69
  store i64 %165, ptr %167, align 8, !tbaa !32
  %168 = load double, ptr %19, align 8, !tbaa !9
  %169 = call double @llvm.fmuladd.f64(double %168, double 1.000000e+05, double 5.000000e-01)
  %170 = fptosi double %169 to i64
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.png_info_struct, ptr %171, i32 0, i32 70
  store i64 %170, ptr %172, align 8, !tbaa !33
  %173 = load double, ptr %20, align 8, !tbaa !9
  %174 = call double @llvm.fmuladd.f64(double %173, double 1.000000e+05, double 5.000000e-01)
  %175 = fptosi double %174 to i64
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.png_info_struct, ptr %176, i32 0, i32 71
  store i64 %175, ptr %177, align 8, !tbaa !34
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.png_info_struct, ptr %178, i32 0, i32 2
  %180 = load i64, ptr %179, align 8, !tbaa !35
  %181 = or i64 %180, 4
  store i64 %181, ptr %179, align 8, !tbaa !35
  br label %182

182:                                              ; preds = %105, %103, %77, %51, %26
  ret void
}

declare void @png_warning(ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"double", !7, i64 0}
!11 = !{!12, !15, i64 192}
!12 = !{!"png_info_struct", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !7, i64 47, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52, !15, i64 60, !7, i64 64, !16, i64 68, !16, i64 72, !6, i64 80, !17, i64 88, !18, i64 96, !6, i64 104, !19, i64 112, !19, i64 122, !13, i64 136, !13, i64 144, !7, i64 152, !13, i64 160, !13, i64 168, !7, i64 176, !6, i64 184, !15, i64 192, !15, i64 196, !15, i64 200, !15, i64 204, !15, i64 208, !15, i64 212, !15, i64 216, !15, i64 220, !6, i64 224, !13, i64 232, !13, i64 240, !6, i64 248, !6, i64 256, !7, i64 264, !7, i64 265, !13, i64 272, !6, i64 280, !13, i64 288, !6, i64 296, !6, i64 304, !13, i64 312, !7, i64 320, !6, i64 328, !13, i64 336, !7, i64 344, !10, i64 352, !10, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456}
!13 = !{!"long", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"png_time_struct", !14, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6}
!18 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!19 = !{!"png_color_16_struct", !7, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!20 = !{!12, !15, i64 196}
!21 = !{!12, !15, i64 200}
!22 = !{!12, !15, i64 204}
!23 = !{!12, !15, i64 208}
!24 = !{!12, !15, i64 212}
!25 = !{!12, !15, i64 216}
!26 = !{!12, !15, i64 220}
!27 = !{!12, !13, i64 400}
!28 = !{!12, !13, i64 408}
!29 = !{!12, !13, i64 416}
!30 = !{!12, !13, i64 424}
!31 = !{!12, !13, i64 432}
!32 = !{!12, !13, i64 440}
!33 = !{!12, !13, i64 448}
!34 = !{!12, !13, i64 456}
!35 = !{!12, !13, 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"

@.str = external hidden unnamed_addr constant [53 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @png_set_cHRM(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) local_unnamed_addr #0 {
  %11 = icmp eq ptr %0, null
  %12 = icmp eq ptr %1, null
  %or.cond = or i1 %11, %12
  br i1 %or.cond, label %73, label %13

13:                                               ; preds = %10
  %14 = insertelement <8 x double> poison, double %2, i64 0
  %15 = insertelement <8 x double> %14, double %3, i64 1
  %16 = insertelement <8 x double> %15, double %4, i64 2
  %17 = insertelement <8 x double> %16, double %5, i64 3
  %18 = insertelement <8 x double> %17, double %6, i64 4
  %19 = insertelement <8 x double> %18, double %7, i64 5
  %20 = insertelement <8 x double> %19, double %8, i64 6
  %21 = insertelement <8 x double> %20, double %9, i64 7
  %22 = fcmp une <8 x double> %21, zeroinitializer
  %23 = bitcast <8 x i1> %22 to i8
  %.not = icmp eq i8 %23, 0
  br i1 %.not, label %24, label %25

24:                                               ; preds = %13
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
  br label %73

25:                                               ; preds = %13
  %26 = fcmp olt <8 x double> %21, zeroinitializer
  %27 = bitcast <8 x i1> %26 to i8
  %.not107 = icmp eq i8 %27, 0
  br i1 %.not107, label %29, label %28

28:                                               ; preds = %25
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3
  br label %73

29:                                               ; preds = %25
  %30 = fcmp ogt <8 x double> %21, <double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC, double 0x40D4F8B51EB851EC>
  %31 = bitcast <8 x i1> %30 to i8
  %.not108 = icmp eq i8 %31, 0
  br i1 %.not108, label %33, label %32

32:                                               ; preds = %29
  tail call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #3
  br label %73

33:                                               ; preds = %29
  %34 = insertelement <4 x double> poison, double %2, i64 0
  %35 = insertelement <4 x double> %34, double %3, i64 1
  %36 = insertelement <4 x double> %35, double %4, i64 2
  %37 = insertelement <4 x double> %36, double %5, i64 3
  %38 = fptrunc <4 x double> %37 to <4 x float>
  %39 = getelementptr inbounds i8, ptr %1, i64 192
  store <4 x float> %38, ptr %39, align 8, !tbaa !5
  %40 = insertelement <4 x double> poison, double %6, i64 0
  %41 = insertelement <4 x double> %40, double %7, i64 1
  %42 = insertelement <4 x double> %41, double %8, i64 2
  %43 = insertelement <4 x double> %42, double %9, i64 3
  %44 = fptrunc <4 x double> %43 to <4 x float>
  %45 = getelementptr inbounds i8, ptr %1, i64 208
  store <4 x float> %44, ptr %45, align 8, !tbaa !5
  %46 = tail call double @llvm.fmuladd.f64(double %2, double 1.000000e+05, double 5.000000e-01)
  %47 = fptosi double %46 to i64
  %48 = getelementptr inbounds i8, ptr %1, i64 400
  store i64 %47, ptr %48, align 8, !tbaa !9
  %49 = tail call double @llvm.fmuladd.f64(double %3, double 1.000000e+05, double 5.000000e-01)
  %50 = fptosi double %49 to i64
  %51 = getelementptr inbounds i8, ptr %1, i64 408
  store i64 %50, ptr %51, align 8, !tbaa !19
  %52 = tail call double @llvm.fmuladd.f64(double %4, double 1.000000e+05, double 5.000000e-01)
  %53 = fptosi double %52 to i64
  %54 = getelementptr inbounds i8, ptr %1, i64 416
  store i64 %53, ptr %54, align 8, !tbaa !20
  %55 = tail call double @llvm.fmuladd.f64(double %5, double 1.000000e+05, double 5.000000e-01)
  %56 = fptosi double %55 to i64
  %57 = getelementptr inbounds i8, ptr %1, i64 424
  store i64 %56, ptr %57, align 8, !tbaa !21
  %58 = tail call double @llvm.fmuladd.f64(double %6, double 1.000000e+05, double 5.000000e-01)
  %59 = fptosi double %58 to i64
  %60 = getelementptr inbounds i8, ptr %1, i64 432
  store i64 %59, ptr %60, align 8, !tbaa !22
  %61 = tail call double @llvm.fmuladd.f64(double %7, double 1.000000e+05, double 5.000000e-01)
  %62 = fptosi double %61 to i64
  %63 = getelementptr inbounds i8, ptr %1, i64 440
  store i64 %62, ptr %63, align 8, !tbaa !23
  %64 = tail call double @llvm.fmuladd.f64(double %8, double 1.000000e+05, double 5.000000e-01)
  %65 = fptosi double %64 to i64
  %66 = getelementptr inbounds i8, ptr %1, i64 448
  store i64 %65, ptr %66, align 8, !tbaa !24
  %67 = tail call double @llvm.fmuladd.f64(double %9, double 1.000000e+05, double 5.000000e-01)
  %68 = fptosi double %67 to i64
  %69 = getelementptr inbounds i8, ptr %1, i64 456
  store i64 %68, ptr %69, align 8, !tbaa !25
  %70 = getelementptr inbounds i8, ptr %1, i64 16
  %71 = load i64, ptr %70, align 8, !tbaa !26
  %72 = or i64 %71, 4
  store i64 %72, ptr %70, align 8, !tbaa !26
  br label %73

73:                                               ; preds = %10, %33, %32, %28, %24
  ret void
}

declare void @png_warning(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 400}
!10 = !{!"png_info_struct", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !13, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !7, i64 47, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52, !6, i64 60, !7, i64 64, !14, i64 68, !14, i64 72, !12, i64 80, !15, i64 88, !16, i64 96, !12, i64 104, !17, i64 112, !17, i64 122, !11, i64 136, !11, i64 144, !7, i64 152, !11, i64 160, !11, i64 168, !7, i64 176, !12, i64 184, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !6, i64 220, !12, i64 224, !11, i64 232, !11, i64 240, !12, i64 248, !12, i64 256, !7, i64 264, !7, i64 265, !11, i64 272, !12, i64 280, !11, i64 288, !12, i64 296, !12, i64 304, !11, i64 312, !7, i64 320, !12, i64 328, !11, i64 336, !7, i64 344, !18, i64 352, !18, i64 360, !12, i64 368, !12, i64 376, !12, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"png_time_struct", !13, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6}
!16 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!17 = !{!"png_color_16_struct", !7, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8}
!18 = !{!"double", !7, i64 0}
!19 = !{!10, !11, i64 408}
!20 = !{!10, !11, i64 416}
!21 = !{!10, !11, i64 424}
!22 = !{!10, !11, i64 432}
!23 = !{!10, !11, i64 440}
!24 = !{!10, !11, i64 448}
!25 = !{!10, !11, i64 456}
!26 = !{!10, !11, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalDCEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass