; LLVM IR from LeoVen/C-Macro-Collections :: tests (types)

; 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.hashmultiset0_fval = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.hashmultiset0 = type { ptr, i64, i64, i64, double, i32, ptr, ptr }
%struct.hashmultiset0_entry = type { ptr, i64, i64, 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @hms0_new_custom(i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i64 @hms0_impl_calculate_size(i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @hms0_free(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @hms0_impl_insert_and_return(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @hms0_resize(ptr noundef %0, i64 noundef %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca %struct.hashmultiset0_fval, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.hashmultiset0, ptr %15, i32 0, i32 5
  store i32 0, ptr %16, align 8, !tbaa !11
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.hashmultiset0, ptr %17, i32 0, i32 1
  %19 = load i64, ptr %18, align 8, !tbaa !15
  %20 = load i64, ptr %5, align 8, !tbaa !9
  %21 = icmp eq i64 %19, %20
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  br label %167

23:                                               ; preds = %2
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.hashmultiset0, ptr %24, i32 0, i32 1
  %26 = load i64, ptr %25, align 8, !tbaa !15
  %27 = uitofp i64 %26 to double
  %28 = load i64, ptr %5, align 8, !tbaa !9
  %29 = uitofp i64 %28 to double
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.hashmultiset0, ptr %30, i32 0, i32 4
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = fdiv double %29, %32
  %34 = fcmp ogt double %27, %33
  br i1 %34, label %35, label %36

35:                                               ; preds = %23
  br label %167

36:                                               ; preds = %23
  %37 = load i64, ptr %5, align 8, !tbaa !9
  %38 = uitofp i64 %37 to double
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.hashmultiset0, ptr %39, i32 0, i32 4
  %41 = load double, ptr %40, align 8, !tbaa !16
  %42 = fmul double 0x43F0000000000000, %41
  %43 = fcmp oge double %38, %42
  br i1 %43, label %44, label %47

44:                                               ; preds = %36
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.hashmultiset0, ptr %45, i32 0, i32 5
  store i32 7, ptr %46, align 8, !tbaa !11
  store i1 false, ptr %3, align 1
  br label %168

47:                                               ; preds = %36
  %48 = load i64, ptr %5, align 8, !tbaa !9
  %49 = call i64 @hms0_impl_calculate_size(i64 noundef %48)
  store i64 %49, ptr %6, align 8, !tbaa !9
  %50 = load i64, ptr %6, align 8, !tbaa !9
  %51 = uitofp i64 %50 to double
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.hashmultiset0, ptr %52, i32 0, i32 2
  %54 = load i64, ptr %53, align 8, !tbaa !17
  %55 = uitofp i64 %54 to double
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.hashmultiset0, ptr %56, i32 0, i32 4
  %58 = load double, ptr %57, align 8, !tbaa !16
  %59 = fdiv double %55, %58
  %60 = fcmp olt double %51, %59
  br i1 %60, label %61, label %64

61:                                               ; preds = %47
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.hashmultiset0, ptr %62, i32 0, i32 5
  store i32 4, ptr %63, align 8, !tbaa !11
  store i1 false, ptr %3, align 1
  br label %168

64:                                               ; preds = %47
  %65 = load i64, ptr %5, align 8, !tbaa !9
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.hashmultiset0, ptr %66, i32 0, i32 4
  %68 = load double, ptr %67, align 8, !tbaa !16
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.hashmultiset0, ptr %69, i32 0, i32 6
  %71 = load ptr, ptr %70, align 8, !tbaa !18
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.hashmultiset0, ptr %72, i32 0, i32 7
  %74 = load ptr, ptr %73, align 8, !tbaa !19
  %75 = call ptr @hms0_new_custom(i64 noundef %65, double noundef %68, ptr noundef %71, ptr noundef %74, ptr noundef null)
  store ptr %75, ptr %7, align 8, !tbaa !5
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %81, label %78

78:                                               ; preds = %64
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.hashmultiset0, ptr %79, i32 0, i32 5
  store i32 7, ptr %80, align 8, !tbaa !11
  store i1 false, ptr %3, align 1
  br label %168

81:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %120, %81
  %83 = load i64, ptr %8, align 8, !tbaa !9
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.hashmultiset0, ptr %84, i32 0, i32 1
  %86 = load i64, ptr %85, align 8, !tbaa !15
  %87 = icmp ult i64 %83, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %123

89:                                               ; preds = %82
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.hashmultiset0, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = load i64, ptr %8, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %92, i64 %93
  %95 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %94, i32 0, i32 3
  %96 = load i32, ptr %95, align 8, !tbaa !21
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %98, label %119

98:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.hashmultiset0, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = load i64, ptr %8, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %101, i64 %102
  %104 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !23
  store ptr %105, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.hashmultiset0, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !20
  %109 = load i64, ptr %8, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %108, i64 %109
  %111 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %110, i32 0, i32 1
  %112 = load i64, ptr %111, align 8, !tbaa !24
  store i64 %112, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = call ptr @hms0_impl_insert_and_return(ptr noundef %113, ptr noundef %114, ptr noundef null)
  store ptr %115, ptr %11, align 8, !tbaa !5
  %116 = load i64, ptr %10, align 8, !tbaa !9
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %117, i32 0, i32 1
  store i64 %116, ptr %118, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %119

119:                                              ; preds = %98, %89
  br label %120

120:                                              ; preds = %119
  %121 = load i64, ptr %8, align 8, !tbaa !9
  %122 = add i64 %121, 1
  store i64 %122, ptr %8, align 8, !tbaa !9
  br label %82, !llvm.loop !25

123:                                              ; preds = %88
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.hashmultiset0, ptr %124, i32 0, i32 2
  %126 = load i64, ptr %125, align 8, !tbaa !17
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.hashmultiset0, ptr %127, i32 0, i32 2
  %129 = load i64, ptr %128, align 8, !tbaa !17
  %130 = icmp ne i64 %126, %129
  br i1 %130, label %131, label %135

131:                                              ; preds = %123
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  call void @hms0_free(ptr noundef %132)
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.hashmultiset0, ptr %133, i32 0, i32 5
  store i32 7, ptr %134, align 8, !tbaa !11
  store i1 false, ptr %3, align 1
  br label %168

135:                                              ; preds = %123
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.hashmultiset0, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !20
  store ptr %138, ptr %12, align 8, !tbaa !5
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.hashmultiset0, ptr %139, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !20
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.hashmultiset0, ptr %142, i32 0, i32 0
  store ptr %141, ptr %143, align 8, !tbaa !20
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.hashmultiset0, ptr %145, i32 0, i32 0
  store ptr %144, ptr %146, align 8, !tbaa !20
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.hashmultiset0, ptr %147, i32 0, i32 1
  %149 = load i64, ptr %148, align 8, !tbaa !15
  store i64 %149, ptr %13, align 8, !tbaa !9
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.hashmultiset0, ptr %150, i32 0, i32 1
  %152 = load i64, ptr %151, align 8, !tbaa !15
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.hashmultiset0, ptr %153, i32 0, i32 1
  store i64 %152, ptr %154, align 8, !tbaa !15
  %155 = load i64, ptr %13, align 8, !tbaa !9
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.hashmultiset0, ptr %156, i32 0, i32 1
  store i64 %155, ptr %157, align 8, !tbaa !15
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 48, i1 false)
  %158 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 0
  %159 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 1
  %160 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 2
  %161 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 3
  %162 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 4
  %163 = getelementptr inbounds %struct.hashmultiset0_fval, ptr %14, i32 0, i32 5
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.hashmultiset0, ptr %164, i32 0, i32 6
  store ptr %14, ptr %165, align 8, !tbaa !18
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  call void @hms0_free(ptr noundef %166)
  br label %167

167:                                              ; preds = %135, %35, %22
  store i1 true, ptr %3, align 1
  br label %168

168:                                              ; preds = %167, %131, %78, %61, %44
  %169 = load i1, ptr %3, align 1
  ret i1 %169
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !14, i64 40}
!12 = !{!"hashmultiset0", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40, !6, i64 48, !6, i64 56}
!13 = !{!"double", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !10, i64 8}
!16 = !{!12, !13, i64 32}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !6, i64 48}
!19 = !{!12, !6, i64 56}
!20 = !{!12, !6, i64 0}
!21 = !{!22, !14, i64 24}
!22 = !{!"hashmultiset0_entry", !6, i64 0, !10, i64 8, !10, i64 16, !14, i64 24}
!23 = !{!22, !6, i64 0}
!24 = !{!22, !10, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; 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.hashmultiset0_fval = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.hashmultiset0_entry = type { ptr, i64, i64, i32 }

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @hms0_new_custom(i64 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i64 @hms0_impl_calculate_size(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden ptr @hms0_impl_insert_and_return(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @hms0_resize(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #1 {
  %3 = alloca %struct.hashmultiset0_fval, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 0, ptr %4, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !13
  %7 = icmp eq i64 %6, %1
  br i1 %7, label %63, label %8

8:                                                ; preds = %2
  %9 = uitofp i64 %6 to double
  %10 = uitofp i64 %1 to double
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load double, ptr %11, align 8, !tbaa !14
  %13 = fdiv double %10, %12
  %14 = fcmp olt double %13, %9
  br i1 %14, label %63, label %15

15:                                               ; preds = %8
  %16 = fmul double %12, 0x43F0000000000000
  %17 = fcmp ugt double %16, %10
  br i1 %17, label %19, label %18

18:                                               ; preds = %15
  store i32 7, ptr %4, align 8, !tbaa !5
  br label %63

19:                                               ; preds = %15
  %20 = tail call i64 @hms0_impl_calculate_size(i64 noundef %1)
  %21 = uitofp i64 %20 to double
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = load i64, ptr %22, align 8, !tbaa !15
  %24 = uitofp i64 %23 to double
  %25 = load double, ptr %11, align 8, !tbaa !14
  %26 = fdiv double %24, %25
  %27 = fcmp ogt double %26, %21
  br i1 %27, label %28, label %29

28:                                               ; preds = %19
  store i32 4, ptr %4, align 8, !tbaa !5
  br label %63

29:                                               ; preds = %19
  %30 = getelementptr inbounds i8, ptr %0, i64 48
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = getelementptr inbounds i8, ptr %0, i64 56
  %33 = load ptr, ptr %32, align 8, !tbaa !17
  %34 = tail call ptr @hms0_new_custom(i64 noundef %1, double noundef %25, ptr noundef %31, ptr noundef %33, ptr noundef null)
  %.not = icmp eq ptr %34, null
  br i1 %.not, label %36, label %.preheader

.preheader:                                       ; preds = %29
  %35 = load i64, ptr %5, align 8, !tbaa !13
  %.not55 = icmp eq i64 %35, 0
  br i1 %.not55, label %._crit_edge, label %.lr.ph

36:                                               ; preds = %29
  store i32 7, ptr %4, align 8, !tbaa !5
  br label %63

._crit_edge:                                      ; preds = %52, %.preheader
  %.lcssa = phi i64 [ 0, %.preheader ], [ %53, %52 ]
  %37 = load i64, ptr %22, align 8, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %34, i64 16
  %39 = load i64, ptr %38, align 8, !tbaa !15
  %.not53 = icmp eq i64 %37, %39
  br i1 %.not53, label %57, label %56

.lr.ph:                                           ; preds = %.preheader, %52
  %40 = phi i64 [ %53, %52 ], [ %35, %.preheader ]
  %.04954 = phi i64 [ %54, %52 ], [ 0, %.preheader ]
  %41 = load ptr, ptr %0, align 8, !tbaa !18
  %42 = getelementptr inbounds %struct.hashmultiset0_entry, ptr %41, i64 %.04954
  %43 = getelementptr inbounds i8, ptr %42, i64 24
  %44 = load i32, ptr %43, align 8, !tbaa !19
  %45 = icmp eq i32 %44, 1
  br i1 %45, label %46, label %52

46:                                               ; preds = %.lr.ph
  %47 = load ptr, ptr %42, align 8, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %42, i64 8
  %49 = load i64, ptr %48, align 8, !tbaa !22
  %50 = tail call ptr @hms0_impl_insert_and_return(ptr noundef nonnull %34, ptr noundef %47, ptr noundef null)
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  store i64 %49, ptr %51, align 8, !tbaa !22
  %.pre = load i64, ptr %5, align 8, !tbaa !13
  br label %52

52:                                               ; preds = %.lr.ph, %46
  %53 = phi i64 [ %40, %.lr.ph ], [ %.pre, %46 ]
  %54 = add nuw i64 %.04954, 1
  %55 = icmp ult i64 %54, %53
  br i1 %55, label %.lr.ph, label %._crit_edge, !llvm.loop !23

56:                                               ; preds = %._crit_edge
  tail call void @hms0_free(ptr noundef nonnull %34)
  store i32 7, ptr %4, align 8, !tbaa !5
  br label %63

57:                                               ; preds = %._crit_edge
  %58 = load ptr, ptr %0, align 8, !tbaa !18
  %59 = load ptr, ptr %34, align 8, !tbaa !18
  store ptr %59, ptr %0, align 8, !tbaa !18
  store ptr %58, ptr %34, align 8, !tbaa !18
  %60 = getelementptr inbounds i8, ptr %34, i64 8
  %61 = load i64, ptr %60, align 8, !tbaa !13
  store i64 %61, ptr %5, align 8, !tbaa !13
  store i64 %.lcssa, ptr %60, align 8, !tbaa !13
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %3, i8 0, i64 48, i1 false)
  %62 = getelementptr inbounds i8, ptr %34, i64 48
  store ptr %3, ptr %62, align 8, !tbaa !16
  call void @hms0_free(ptr noundef nonnull %34)
  br label %63

63:                                               ; preds = %57, %2, %8, %56, %36, %28, %18
  %.0 = phi i1 [ false, %18 ], [ false, %28 ], [ false, %56 ], [ false, %36 ], [ true, %8 ], [ true, %2 ], [ true, %57 ]
  ret i1 %.0
}

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

!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, !12, i64 40}
!6 = !{!"hashmultiset0", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !12, i64 40, !7, i64 48, !7, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !11, i64 32}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !7, i64 48}
!17 = !{!6, !7, i64 56}
!18 = !{!6, !7, i64 0}
!19 = !{!20, !12, i64 24}
!20 = !{!"hashmultiset0_entry", !7, i64 0, !10, i64 8, !10, i64 16, !12, i64 24}
!21 = !{!20, !7, i64 0}
!22 = !{!20, !10, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass