; LLVM IR from taichi-dev/taichi :: taichi/common (miniz)

; 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.tdefl_compressor = type { ptr, ptr, i32, [2 x i32], i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, ptr, i64, i64, [33025 x i8], [3 x [288 x i16]], [3 x [288 x i16]], [3 x [288 x i8]], [65536 x i8], [32768 x i16], [32768 x i16], [85196 x i8] }

; Function Attrs: nounwind uwtable
define dso_local i32 @tdefl_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %9 = load ptr, ptr %6, align 8, !tbaa !5
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.tdefl_compressor, ptr %10, i32 0, i32 0
  store ptr %9, ptr %11, align 8, !tbaa !11
  %12 = load ptr, ptr %7, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.tdefl_compressor, ptr %13, i32 0, i32 1
  store ptr %12, ptr %14, align 8, !tbaa !14
  %15 = load i32, ptr %8, align 4, !tbaa !9
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.tdefl_compressor, ptr %16, i32 0, i32 2
  store i32 %15, ptr %17, align 8, !tbaa !15
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = and i32 %18, 4095
  %20 = add nsw i32 %19, 2
  %21 = sdiv i32 %20, 3
  %22 = add nsw i32 1, %21
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.tdefl_compressor, ptr %23, i32 0, i32 3
  %25 = getelementptr inbounds [2 x i32], ptr %24, i64 0, i64 0
  store i32 %22, ptr %25, align 4, !tbaa !9
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = and i32 %26, 16384
  %28 = icmp ne i32 %27, 0
  %29 = zext i1 %28 to i32
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.tdefl_compressor, ptr %30, i32 0, i32 4
  store i32 %29, ptr %31, align 4, !tbaa !16
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = and i32 %32, 4095
  %34 = ashr i32 %33, 2
  %35 = add nsw i32 %34, 2
  %36 = sdiv i32 %35, 3
  %37 = add nsw i32 1, %36
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.tdefl_compressor, ptr %38, i32 0, i32 3
  %40 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 1
  store i32 %37, ptr %40, align 4, !tbaa !9
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = and i32 %41, 32768
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %48, label %44

44:                                               ; preds = %4
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.tdefl_compressor, ptr %45, i32 0, i32 41
  %47 = getelementptr inbounds [32768 x i16], ptr %46, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 2 %47, i8 0, i64 65536, i1 false)
  br label %48

48:                                               ; preds = %44, %4
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.tdefl_compressor, ptr %49, i32 0, i32 16
  store i32 0, ptr %50, align 4, !tbaa !17
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.tdefl_compressor, ptr %51, i32 0, i32 15
  store i32 0, ptr %52, align 8, !tbaa !18
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.tdefl_compressor, ptr %53, i32 0, i32 14
  store i32 0, ptr %54, align 4, !tbaa !19
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.tdefl_compressor, ptr %55, i32 0, i32 8
  store i32 0, ptr %56, align 4, !tbaa !20
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.tdefl_compressor, ptr %57, i32 0, i32 7
  store i32 0, ptr %58, align 8, !tbaa !21
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.tdefl_compressor, ptr %59, i32 0, i32 6
  store i32 0, ptr %60, align 4, !tbaa !22
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.tdefl_compressor, ptr %61, i32 0, i32 25
  store i32 0, ptr %62, align 8, !tbaa !23
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.tdefl_compressor, ptr %63, i32 0, i32 17
  store i32 0, ptr %64, align 8, !tbaa !24
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.tdefl_compressor, ptr %65, i32 0, i32 24
  store i32 0, ptr %66, align 4, !tbaa !25
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.tdefl_compressor, ptr %67, i32 0, i32 23
  store i32 0, ptr %68, align 8, !tbaa !26
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.tdefl_compressor, ptr %69, i32 0, i32 22
  store i32 0, ptr %70, align 4, !tbaa !27
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.tdefl_compressor, ptr %71, i32 0, i32 21
  store i32 0, ptr %72, align 8, !tbaa !28
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.tdefl_compressor, ptr %73, i32 0, i32 39
  %75 = getelementptr inbounds [65536 x i8], ptr %74, i64 0, i64 0
  %76 = getelementptr inbounds i8, ptr %75, i64 1
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.tdefl_compressor, ptr %77, i32 0, i32 9
  store ptr %76, ptr %78, align 8, !tbaa !29
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.tdefl_compressor, ptr %79, i32 0, i32 39
  %81 = getelementptr inbounds [65536 x i8], ptr %80, i64 0, i64 0
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.tdefl_compressor, ptr %82, i32 0, i32 10
  store ptr %81, ptr %83, align 8, !tbaa !30
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.tdefl_compressor, ptr %84, i32 0, i32 10
  %86 = load ptr, ptr %85, align 8, !tbaa !30
  store i8 0, ptr %86, align 1, !tbaa !31
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.tdefl_compressor, ptr %87, i32 0, i32 13
  store i32 8, ptr %88, align 8, !tbaa !32
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.tdefl_compressor, ptr %89, i32 0, i32 42
  %91 = getelementptr inbounds [85196 x i8], ptr %90, i64 0, i64 0
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.tdefl_compressor, ptr %92, i32 0, i32 11
  store ptr %91, ptr %93, align 8, !tbaa !33
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.tdefl_compressor, ptr %94, i32 0, i32 42
  %96 = getelementptr inbounds [85196 x i8], ptr %95, i64 0, i64 0
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.tdefl_compressor, ptr %97, i32 0, i32 12
  store ptr %96, ptr %98, align 8, !tbaa !34
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.tdefl_compressor, ptr %99, i32 0, i32 26
  store i32 0, ptr %100, align 4, !tbaa !35
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.tdefl_compressor, ptr %101, i32 0, i32 20
  store i32 0, ptr %102, align 4, !tbaa !36
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.tdefl_compressor, ptr %103, i32 0, i32 19
  store i32 0, ptr %104, align 8, !tbaa !37
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.tdefl_compressor, ptr %105, i32 0, i32 18
  store i32 0, ptr %106, align 4, !tbaa !38
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.tdefl_compressor, ptr %107, i32 0, i32 5
  store i32 1, ptr %108, align 8, !tbaa !39
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.tdefl_compressor, ptr %109, i32 0, i32 27
  store ptr null, ptr %110, align 8, !tbaa !40
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.tdefl_compressor, ptr %111, i32 0, i32 28
  store ptr null, ptr %112, align 8, !tbaa !41
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.tdefl_compressor, ptr %113, i32 0, i32 29
  store ptr null, ptr %114, align 8, !tbaa !42
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.tdefl_compressor, ptr %115, i32 0, i32 30
  store ptr null, ptr %116, align 8, !tbaa !43
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.tdefl_compressor, ptr %117, i32 0, i32 31
  store i32 0, ptr %118, align 8, !tbaa !44
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.tdefl_compressor, ptr %119, i32 0, i32 32
  store ptr null, ptr %120, align 8, !tbaa !45
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.tdefl_compressor, ptr %121, i32 0, i32 33
  store i64 0, ptr %122, align 8, !tbaa !46
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.tdefl_compressor, ptr %123, i32 0, i32 34
  store i64 0, ptr %124, align 8, !tbaa !47
  %125 = load i32, ptr %8, align 4, !tbaa !9
  %126 = and i32 %125, 32768
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %132, label %128

128:                                              ; preds = %48
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.tdefl_compressor, ptr %129, i32 0, i32 35
  %131 = getelementptr inbounds [33025 x i8], ptr %130, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 8 %131, i8 0, i64 33025, i1 false)
  br label %132

132:                                              ; preds = %128, %48
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.tdefl_compressor, ptr %133, i32 0, i32 36
  %135 = getelementptr inbounds [3 x [288 x i16]], ptr %134, i64 0, i64 0
  %136 = getelementptr inbounds [288 x i16], ptr %135, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 2 %136, i8 0, i64 576, i1 false)
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.tdefl_compressor, ptr %137, i32 0, i32 36
  %139 = getelementptr inbounds [3 x [288 x i16]], ptr %138, i64 0, i64 1
  %140 = getelementptr inbounds [288 x i16], ptr %139, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 2 %140, i8 0, i64 64, i1 false)
  ret i32 0
}

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

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

!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 0}
!12 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !7, i64 20, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !13, i64 184, !13, i64 192, !7, i64 200, !7, i64 33226, !7, i64 34954, !7, i64 36682, !7, i64 37546, !7, i64 103082, !7, i64 168618, !7, i64 234154}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !10, i64 16}
!16 = !{!12, !10, i64 28}
!17 = !{!12, !10, i64 92}
!18 = !{!12, !10, i64 88}
!19 = !{!12, !10, i64 84}
!20 = !{!12, !10, i64 44}
!21 = !{!12, !10, i64 40}
!22 = !{!12, !10, i64 36}
!23 = !{!12, !10, i64 128}
!24 = !{!12, !10, i64 96}
!25 = !{!12, !10, i64 124}
!26 = !{!12, !10, i64 120}
!27 = !{!12, !10, i64 116}
!28 = !{!12, !10, i64 112}
!29 = !{!12, !6, i64 48}
!30 = !{!12, !6, i64 56}
!31 = !{!7, !7, i64 0}
!32 = !{!12, !10, i64 80}
!33 = !{!12, !6, i64 64}
!34 = !{!12, !6, i64 72}
!35 = !{!12, !10, i64 132}
!36 = !{!12, !10, i64 108}
!37 = !{!12, !10, i64 104}
!38 = !{!12, !10, i64 100}
!39 = !{!12, !10, i64 32}
!40 = !{!12, !6, i64 136}
!41 = !{!12, !6, i64 144}
!42 = !{!12, !6, i64 152}
!43 = !{!12, !6, i64 160}
!44 = !{!12, !10, i64 168}
!45 = !{!12, !6, i64 176}
!46 = !{!12, !13, i64 184}
!47 = !{!12, !13, i64 192}


; 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 nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local noundef i32 @tdefl_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
  store ptr %1, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %2, ptr %5, align 8, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %3, ptr %6, align 8, !tbaa !13
  %7 = and i32 %3, 4095
  %8 = trunc nuw nsw i32 %7 to i16
  %.lhs.trunc = add nuw nsw i16 %8, 2
  %9 = udiv i16 %.lhs.trunc, 3
  %narrow = add nuw nsw i16 %9, 1
  %10 = zext nneg i16 %narrow to i32
  %11 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 %10, ptr %11, align 4, !tbaa !14
  %12 = lshr i32 %3, 14
  %.lobit = and i32 %12, 1
  %13 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %.lobit, ptr %13, align 4, !tbaa !15
  %14 = lshr i32 %7, 2
  %15 = trunc nuw nsw i32 %14 to i16
  %.lhs.trunc52 = add nuw nsw i16 %15, 2
  %16 = udiv i16 %.lhs.trunc52, 3
  %narrow54 = add nuw nsw i16 %16, 1
  %17 = zext nneg i16 %narrow54 to i32
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %17, ptr %18, align 4, !tbaa !14
  %19 = and i32 %3, 32768
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %20, label %22

20:                                               ; preds = %4
  %21 = getelementptr inbounds i8, ptr %0, i64 168618
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(65536) %21, i8 0, i64 65536, i1 false)
  br label %22

22:                                               ; preds = %20, %4
  %23 = getelementptr inbounds i8, ptr %0, i64 84
  %24 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 0, ptr %24, align 4, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 0, ptr %25, align 8, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 0, ptr %26, align 4, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %0, i64 112
  %28 = getelementptr inbounds i8, ptr %0, i64 37546
  %29 = getelementptr inbounds i8, ptr %0, i64 37547
  %30 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %23, i8 0, i64 16, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %27, i8 0, i64 20, i1 false)
  store ptr %29, ptr %30, align 8, !tbaa !19
  %31 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %28, ptr %31, align 8, !tbaa !20
  store i8 0, ptr %28, align 1, !tbaa !21
  %32 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 8, ptr %32, align 8, !tbaa !22
  %33 = getelementptr inbounds i8, ptr %0, i64 234154
  %34 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %33, ptr %34, align 8, !tbaa !23
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %33, ptr %35, align 8, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 0, ptr %36, align 4, !tbaa !25
  %37 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 0, ptr %37, align 4, !tbaa !26
  %38 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 0, ptr %38, align 8, !tbaa !27
  %39 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 0, ptr %39, align 4, !tbaa !28
  %40 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 1, ptr %40, align 8, !tbaa !29
  %41 = getelementptr inbounds i8, ptr %0, i64 136
  %42 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %41, i8 0, i64 36, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %42, i8 0, i64 24, i1 false)
  br i1 %.not, label %43, label %45

43:                                               ; preds = %22
  %44 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(33025) %44, i8 0, i64 33025, i1 false)
  br label %45

45:                                               ; preds = %43, %22
  %46 = getelementptr inbounds i8, ptr %0, i64 33226
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(640) %46, i8 0, i64 640, i1 false)
  ret i32 0
}

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

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

!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, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !8, i64 20, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !10, i64 168, !7, i64 176, !11, i64 184, !11, i64 192, !8, i64 200, !8, i64 33226, !8, i64 34954, !8, i64 36682, !8, i64 37546, !8, i64 103082, !8, i64 168618, !8, i64 234154}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 28}
!16 = !{!6, !10, i64 44}
!17 = !{!6, !10, i64 40}
!18 = !{!6, !10, i64 36}
!19 = !{!6, !7, i64 48}
!20 = !{!6, !7, i64 56}
!21 = !{!8, !8, i64 0}
!22 = !{!6, !10, i64 80}
!23 = !{!6, !7, i64 64}
!24 = !{!6, !7, i64 72}
!25 = !{!6, !10, i64 132}
!26 = !{!6, !10, i64 108}
!27 = !{!6, !10, i64 104}
!28 = !{!6, !10, i64 100}
!29 = !{!6, !10, i64 32}


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