; 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.mz_zip_archive_file_stat = type { i32, i64, i16, i16, i16, i16, i32, i64, i64, i16, i32, i64, i32, i32, i32, i32, [512 x i8], [512 x i8], i64 }
%struct.mz_zip_archive = type { i64, i64, i32, i32, i32, i32, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.mz_zip_internal_state_tag = type { %struct.mz_zip_array, %struct.mz_zip_array, %struct.mz_zip_array, i32, i32, i32, ptr, i64, ptr, i64, i64 }
%struct.mz_zip_array = 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: alwaysinline nounwind uwtable
declare hidden i32 @mz_zip_set_error(ptr noundef, i32 noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mz_zip_validate_archive(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.mz_zip_archive_file_stat, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %33

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.mz_zip_archive, ptr %14, i32 0, i32 15
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %33

18:                                               ; preds = %13
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.mz_zip_archive, ptr %19, i32 0, i32 7
  %21 = load ptr, ptr %20, align 8, !tbaa !14
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %33

23:                                               ; preds = %18
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.mz_zip_archive, ptr %24, i32 0, i32 8
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %33

28:                                               ; preds = %23
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.mz_zip_archive, ptr %29, i32 0, i32 11
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = icmp ne ptr %31, null
  br i1 %32, label %36, label %33

33:                                               ; preds = %28, %23, %18, %13, %2
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call i32 @mz_zip_set_error(ptr noundef %34, i32 noundef 24)
  store i32 %35, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

36:                                               ; preds = %28
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.mz_zip_archive, ptr %37, i32 0, i32 15
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  store ptr %39, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.mz_zip_internal_state_tag, ptr %40, i32 0, i32 4
  %42 = load i32, ptr %41, align 4, !tbaa !17
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %61, label %44

44:                                               ; preds = %36
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.mz_zip_archive, ptr %45, i32 0, i32 2
  %47 = load i32, ptr %46, align 8, !tbaa !20
  %48 = icmp ugt i32 %47, 65535
  br i1 %48, label %49, label %52

49:                                               ; preds = %44
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = call i32 @mz_zip_set_error(ptr noundef %50, i32 noundef 29)
  store i32 %51, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

52:                                               ; preds = %44
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.mz_zip_archive, ptr %53, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !21
  %56 = icmp ugt i64 %55, 4294967295
  br i1 %56, label %57, label %60

57:                                               ; preds = %52
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = call i32 @mz_zip_set_error(ptr noundef %58, i32 noundef 29)
  store i32 %59, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

60:                                               ; preds = %52
  br label %71

61:                                               ; preds = %36
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.mz_zip_internal_state_tag, ptr %62, i32 0, i32 0
  %64 = getelementptr inbounds %struct.mz_zip_array, ptr %63, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !22
  %66 = icmp uge i64 %65, 4294967295
  br i1 %66, label %67, label %70

67:                                               ; preds = %61
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = call i32 @mz_zip_set_error(ptr noundef %68, i32 noundef 29)
  store i32 %69, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

70:                                               ; preds = %61
  br label %71

71:                                               ; preds = %70, %60
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %114, %71
  %73 = load i32, ptr %7, align 4, !tbaa !9
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.mz_zip_archive, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !20
  %77 = icmp ult i32 %73, %76
  br i1 %77, label %78, label %117

78:                                               ; preds = %72
  %79 = load i32, ptr %5, align 4, !tbaa !9
  %80 = and i32 4096, %79
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %106

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 1112, ptr %10) #3
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = call i32 @mz_zip_reader_file_stat(ptr noundef %83, i32 noundef %84, ptr noundef %10)
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %88, label %87

87:                                               ; preds = %82
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %103

88:                                               ; preds = %82
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.mz_zip_archive_file_stat, ptr %10, i32 0, i32 16
  %91 = getelementptr inbounds [512 x i8], ptr %90, i64 0, i64 0
  %92 = call i32 @mz_zip_reader_locate_file_v2(ptr noundef %89, ptr noundef %91, ptr noundef null, i32 noundef 0, ptr noundef %9)
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %95, label %94

94:                                               ; preds = %88
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %103

95:                                               ; preds = %88
  %96 = load i32, ptr %9, align 4, !tbaa !9
  %97 = load i32, ptr %7, align 4, !tbaa !9
  %98 = icmp ne i32 %96, %97
  br i1 %98, label %99, label %102

99:                                               ; preds = %95
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = call i32 @mz_zip_set_error(ptr noundef %100, i32 noundef 30)
  store i32 %101, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %103

102:                                              ; preds = %95
  store i32 0, ptr %8, align 4
  br label %103

103:                                              ; preds = %102, %99, %94, %87
  call void @llvm.lifetime.end.p0(i64 1112, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  %104 = load i32, ptr %8, align 4
  switch i32 %104, label %118 [
    i32 0, label %105
  ]

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105, %78
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = load i32, ptr %5, align 4, !tbaa !9
  %110 = call i32 @mz_zip_validate_file(ptr noundef %107, i32 noundef %108, i32 noundef %109)
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %113, label %112

112:                                              ; preds = %106
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

113:                                              ; preds = %106
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %7, align 4, !tbaa !9
  %116 = add i32 %115, 1
  store i32 %116, ptr %7, align 4, !tbaa !9
  br label %72, !llvm.loop !23

117:                                              ; preds = %72
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %118

118:                                              ; preds = %117, %112, %103, %67, %57, %49, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %119 = load i32, ptr %3, align 4
  ret i32 %119
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 104}
!12 = !{!"", !13, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !13, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 40}
!15 = !{!12, !6, i64 48}
!16 = !{!12, !6, i64 72}
!17 = !{!18, !10, i64 100}
!18 = !{!"mz_zip_internal_state_tag", !19, i64 0, !19, i64 32, !19, i64 64, !10, i64 96, !10, i64 100, !10, i64 104, !6, i64 112, !13, i64 120, !6, i64 128, !13, i64 136, !13, i64 144}
!19 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !10, i64 24}
!20 = !{!12, !10, i64 16}
!21 = !{!12, !13, i64 0}
!22 = !{!18, !13, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"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.mz_zip_archive_file_stat = type { i32, i64, i16, i16, i16, i16, i32, i64, i64, i16, i32, i64, i32, i32, i32, i32, [512 x i8], [512 x i8], i64 }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @mz_zip_reader_locate_file_v2(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @mz_zip_reader_file_stat(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @mz_zip_validate_file(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @mz_zip_validate_archive(ptr noundef %0, i32 noundef %1) local_unnamed_addr #2 {
  %3 = alloca i32, align 4
  %4 = alloca %struct.mz_zip_archive_file_stat, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %17, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not31 = icmp eq ptr %7, null
  br i1 %.not31, label %17, label %8

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %.not32 = icmp eq ptr %10, null
  br i1 %.not32, label %17, label %11

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %0, i64 48
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %.not33 = icmp eq ptr %13, null
  br i1 %.not33, label %17, label %14

14:                                               ; preds = %11
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  %.not34 = icmp eq ptr %16, null
  br i1 %.not34, label %17, label %19

17:                                               ; preds = %14, %11, %8, %5, %2
  %18 = tail call i32 @mz_zip_set_error(ptr noundef %0, i32 noundef 24)
  br label %.loopexit

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %7, i64 100
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %.not35 = icmp eq i32 %21, 0
  br i1 %.not35, label %22, label %33

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %0, i64 16
  %24 = load i32, ptr %23, align 8, !tbaa !18
  %25 = icmp ugt i32 %24, 65535
  br i1 %25, label %26, label %28

26:                                               ; preds = %22
  %27 = tail call i32 @mz_zip_set_error(ptr noundef nonnull %0, i32 noundef 29)
  br label %.loopexit

28:                                               ; preds = %22
  %29 = load i64, ptr %0, align 8, !tbaa !19
  %30 = icmp ugt i64 %29, 4294967295
  br i1 %30, label %31, label %39

31:                                               ; preds = %28
  %32 = tail call i32 @mz_zip_set_error(ptr noundef nonnull %0, i32 noundef 29)
  br label %.loopexit

33:                                               ; preds = %19
  %34 = getelementptr inbounds i8, ptr %7, i64 8
  %35 = load i64, ptr %34, align 8, !tbaa !20
  %36 = icmp ugt i64 %35, 4294967294
  br i1 %36, label %37, label %._crit_edge

._crit_edge:                                      ; preds = %33
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 16
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !18
  br label %39

37:                                               ; preds = %33
  %38 = tail call i32 @mz_zip_set_error(ptr noundef nonnull %0, i32 noundef 29)
  br label %.loopexit

39:                                               ; preds = %._crit_edge, %28
  %40 = phi i32 [ %.pre, %._crit_edge ], [ %24, %28 ]
  %41 = getelementptr inbounds i8, ptr %0, i64 16
  %.not47 = icmp eq i32 %40, 0
  br i1 %.not47, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %39
  %42 = and i32 %1, 4096
  %.not36 = icmp eq i32 %42, 0
  %43 = getelementptr inbounds i8, ptr %4, i64 80
  br i1 %.not36, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %45
  %.02743.us = phi i32 [ %46, %45 ], [ 0, %.lr.ph ]
  %44 = tail call i32 @mz_zip_validate_file(ptr noundef nonnull %0, i32 noundef %.02743.us, i32 noundef %1)
  %.not40.us = icmp eq i32 %44, 0
  br i1 %.not40.us, label %.loopexit, label %45

45:                                               ; preds = %.lr.ph.split.us
  %46 = add nuw i32 %.02743.us, 1
  %47 = load i32, ptr %41, align 8, !tbaa !18
  %48 = icmp ult i32 %46, %47
  br i1 %48, label %.lr.ph.split.us, label %.loopexit, !llvm.loop !21

49:                                               ; preds = %60
  %50 = add nuw i32 %.02743, 1
  %51 = load i32, ptr %41, align 8, !tbaa !18
  %52 = icmp ult i32 %50, %51
  br i1 %52, label %.lr.ph.split, label %.loopexit, !llvm.loop !21

.lr.ph.split:                                     ; preds = %.lr.ph, %49
  %.02743 = phi i32 [ %50, %49 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 1112, ptr nonnull %4) #3
  %53 = call i32 @mz_zip_reader_file_stat(ptr noundef nonnull %0, i32 noundef %.02743, ptr noundef nonnull %4)
  %.not37 = icmp eq i32 %53, 0
  br i1 %.not37, label %.thread, label %54

54:                                               ; preds = %.lr.ph.split
  %55 = call i32 @mz_zip_reader_locate_file_v2(ptr noundef nonnull %0, ptr noundef nonnull %43, ptr noundef null, i32 noundef 0, ptr noundef nonnull %3)
  %.not38 = icmp eq i32 %55, 0
  br i1 %.not38, label %.thread, label %56

56:                                               ; preds = %54
  %57 = load i32, ptr %3, align 4, !tbaa !23
  %.not39 = icmp eq i32 %57, %.02743
  br i1 %.not39, label %60, label %58

58:                                               ; preds = %56
  %59 = call i32 @mz_zip_set_error(ptr noundef nonnull %0, i32 noundef 30)
  br label %.thread

.thread:                                          ; preds = %.lr.ph.split, %54, %58
  %.1.ph = phi i32 [ %59, %58 ], [ 0, %54 ], [ 0, %.lr.ph.split ]
  call void @llvm.lifetime.end.p0(i64 1112, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  br label %.loopexit

60:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 1112, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  %61 = call i32 @mz_zip_validate_file(ptr noundef nonnull %0, i32 noundef %.02743, i32 noundef %1)
  %.not40 = icmp eq i32 %61, 0
  br i1 %.not40, label %.loopexit, label %49

.loopexit:                                        ; preds = %60, %49, %.lr.ph.split.us, %45, %39, %.thread, %37, %31, %26, %17
  %.3 = phi i32 [ %38, %37 ], [ %27, %26 ], [ %32, %31 ], [ %18, %17 ], [ %.1.ph, %.thread ], [ 1, %39 ], [ 0, %.lr.ph.split.us ], [ 1, %45 ], [ 0, %60 ], [ 1, %49 ]
  ret i32 %.3
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 = { 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, !11, i64 104}
!6 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !7, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 40}
!13 = !{!6, !11, i64 48}
!14 = !{!6, !11, i64 72}
!15 = !{!16, !10, i64 100}
!16 = !{!"mz_zip_internal_state_tag", !17, i64 0, !17, i64 32, !17, i64 64, !10, i64 96, !10, i64 100, !10, i64 104, !11, i64 112, !7, i64 120, !11, i64 128, !7, i64 136, !7, i64 144}
!17 = !{!"", !11, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!18 = !{!6, !10, i64 16}
!19 = !{!6, !7, i64 0}
!20 = !{!16, !7, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!10, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass