; LLVM IR from guanzhi/GmSSL :: src (x509_crl)

; 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.anon = type { i32, i32, ptr, i64, i64, i64, ptr, i64, ptr, i64 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__FUNCTION__.x509_crl_get_details = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

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

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

declare i32 @asn1_length_is_zero(i64 noundef) #2

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

declare i32 @x509_signed_from_der(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @x509_crl_get_details(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14) #3 {
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i64, align 8
  %37 = alloca %struct.anon, align 8
  %38 = alloca i32, align 4
  store ptr %0, ptr %17, align 8, !tbaa !5
  store i64 %1, ptr %18, align 8, !tbaa !9
  store ptr %2, ptr %19, align 8, !tbaa !5
  store ptr %3, ptr %20, align 8, !tbaa !5
  store ptr %4, ptr %21, align 8, !tbaa !5
  store ptr %5, ptr %22, align 8, !tbaa !5
  store ptr %6, ptr %23, align 8, !tbaa !5
  store ptr %7, ptr %24, align 8, !tbaa !5
  store ptr %8, ptr %25, align 8, !tbaa !5
  store ptr %9, ptr %26, align 8, !tbaa !5
  store ptr %10, ptr %27, align 8, !tbaa !5
  store ptr %11, ptr %28, align 8, !tbaa !5
  store ptr %12, ptr %29, align 8, !tbaa !5
  store ptr %13, ptr %30, align 8, !tbaa !5
  store ptr %14, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %37) #4
  %39 = call i32 @x509_signed_from_der(ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %17, ptr noundef %18)
  %40 = icmp ne i32 %39, 1
  br i1 %40, label %45, label %41

41:                                               ; preds = %15
  %42 = load i64, ptr %18, align 8, !tbaa !9
  %43 = call i32 @asn1_length_is_zero(i64 noundef %42)
  %44 = icmp ne i32 %43, 1
  br i1 %44, label %45, label %51

45:                                               ; preds = %41, %15
  br label %46

46:                                               ; preds = %45
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1552, ptr noundef @__FUNCTION__.x509_crl_get_details) #4
  br label %49

49:                                               ; preds = %46
  br label %50

50:                                               ; preds = %49
  store i32 -1, ptr %16, align 4
  store i32 1, ptr %38, align 4
  br label %163

51:                                               ; preds = %41
  %52 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 0
  %53 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 1
  %54 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 2
  %55 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 3
  %56 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 4
  %57 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 5
  %58 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 6
  %59 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 7
  %60 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 8
  %61 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 9
  %62 = call i32 @x509_tbs_crl_from_der(ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %32, ptr noundef %33)
  %63 = icmp ne i32 %62, 1
  br i1 %63, label %68, label %64

64:                                               ; preds = %51
  %65 = load i64, ptr %33, align 8, !tbaa !9
  %66 = call i32 @asn1_length_is_zero(i64 noundef %65)
  %67 = icmp ne i32 %66, 1
  br i1 %67, label %68, label %74

68:                                               ; preds = %64, %51
  br label %69

69:                                               ; preds = %68
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1562, ptr noundef @__FUNCTION__.x509_crl_get_details) #4
  br label %72

72:                                               ; preds = %69
  br label %73

73:                                               ; preds = %72
  store i32 -1, ptr %16, align 4
  store i32 1, ptr %38, align 4
  br label %163

74:                                               ; preds = %64
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %81

77:                                               ; preds = %74
  %78 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 0
  %79 = load i32, ptr %78, align 8, !tbaa !11
  %80 = load ptr, ptr %19, align 8, !tbaa !5
  store i32 %79, ptr %80, align 4, !tbaa !14
  br label %81

81:                                               ; preds = %77, %74
  %82 = load ptr, ptr %20, align 8, !tbaa !5
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %88

84:                                               ; preds = %81
  %85 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !15
  %87 = load ptr, ptr %20, align 8, !tbaa !5
  store i32 %86, ptr %87, align 4, !tbaa !14
  br label %88

88:                                               ; preds = %84, %81
  %89 = load ptr, ptr %21, align 8, !tbaa !5
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %95

91:                                               ; preds = %88
  %92 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !16
  %94 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %93, ptr %94, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %91, %88
  %96 = load ptr, ptr %22, align 8, !tbaa !5
  %97 = icmp ne ptr %96, null
  br i1 %97, label %98, label %102

98:                                               ; preds = %95
  %99 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 3
  %100 = load i64, ptr %99, align 8, !tbaa !17
  %101 = load ptr, ptr %22, align 8, !tbaa !5
  store i64 %100, ptr %101, align 8, !tbaa !9
  br label %102

102:                                              ; preds = %98, %95
  %103 = load ptr, ptr %23, align 8, !tbaa !5
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %109

105:                                              ; preds = %102
  %106 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 4
  %107 = load i64, ptr %106, align 8, !tbaa !18
  %108 = load ptr, ptr %23, align 8, !tbaa !5
  store i64 %107, ptr %108, align 8, !tbaa !9
  br label %109

109:                                              ; preds = %105, %102
  %110 = load ptr, ptr %24, align 8, !tbaa !5
  %111 = icmp ne ptr %110, null
  br i1 %111, label %112, label %116

112:                                              ; preds = %109
  %113 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 5
  %114 = load i64, ptr %113, align 8, !tbaa !19
  %115 = load ptr, ptr %24, align 8, !tbaa !5
  store i64 %114, ptr %115, align 8, !tbaa !9
  br label %116

116:                                              ; preds = %112, %109
  %117 = load ptr, ptr %25, align 8, !tbaa !5
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %123

119:                                              ; preds = %116
  %120 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 6
  %121 = load ptr, ptr %120, align 8, !tbaa !20
  %122 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %121, ptr %122, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %119, %116
  %124 = load ptr, ptr %26, align 8, !tbaa !5
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %130

126:                                              ; preds = %123
  %127 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 7
  %128 = load i64, ptr %127, align 8, !tbaa !21
  %129 = load ptr, ptr %26, align 8, !tbaa !5
  store i64 %128, ptr %129, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %126, %123
  %131 = load ptr, ptr %27, align 8, !tbaa !5
  %132 = icmp ne ptr %131, null
  br i1 %132, label %133, label %137

133:                                              ; preds = %130
  %134 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 8
  %135 = load ptr, ptr %134, align 8, !tbaa !22
  %136 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %135, ptr %136, align 8, !tbaa !5
  br label %137

137:                                              ; preds = %133, %130
  %138 = load ptr, ptr %28, align 8, !tbaa !5
  %139 = icmp ne ptr %138, null
  br i1 %139, label %140, label %144

140:                                              ; preds = %137
  %141 = getelementptr inbounds %struct.anon, ptr %37, i32 0, i32 9
  %142 = load i64, ptr %141, align 8, !tbaa !23
  %143 = load ptr, ptr %28, align 8, !tbaa !5
  store i64 %142, ptr %143, align 8, !tbaa !9
  br label %144

144:                                              ; preds = %140, %137
  %145 = load ptr, ptr %29, align 8, !tbaa !5
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %150

147:                                              ; preds = %144
  %148 = load i32, ptr %34, align 4, !tbaa !14
  %149 = load ptr, ptr %29, align 8, !tbaa !5
  store i32 %148, ptr %149, align 4, !tbaa !14
  br label %150

150:                                              ; preds = %147, %144
  %151 = load ptr, ptr %30, align 8, !tbaa !5
  %152 = icmp ne ptr %151, null
  br i1 %152, label %153, label %156

153:                                              ; preds = %150
  %154 = load ptr, ptr %35, align 8, !tbaa !5
  %155 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %154, ptr %155, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %153, %150
  %157 = load ptr, ptr %31, align 8, !tbaa !5
  %158 = icmp ne ptr %157, null
  br i1 %158, label %159, label %162

159:                                              ; preds = %156
  %160 = load i64, ptr %36, align 8, !tbaa !9
  %161 = load ptr, ptr %31, align 8, !tbaa !5
  store i64 %160, ptr %161, align 8, !tbaa !9
  br label %162

162:                                              ; preds = %159, %156
  store i32 1, ptr %16, align 4
  store i32 1, ptr %38, align 4
  br label %163

163:                                              ; preds = %162, %73, %50
  call void @llvm.lifetime.end.p0(i64 72, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  %164 = load i32, ptr %16, align 4
  ret i32 %164
}

attributes #0 = { nounwind "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 #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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !10, i64 24}
!19 = !{!12, !10, i64 32}
!20 = !{!12, !6, i64 40}
!21 = !{!12, !10, i64 48}
!22 = !{!12, !6, i64 56}
!23 = !{!12, !10, i64 64}


; 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.anon = type { i32, i32, ptr, i64, i64, i64, ptr, i64, ptr, i64 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__FUNCTION__.x509_crl_get_details = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

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

declare i32 @asn1_length_is_zero(i64 noundef) local_unnamed_addr #2

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

declare i32 @x509_signed_from_der(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @x509_crl_get_details(ptr noundef %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, ptr noundef writeonly %6, ptr noundef writeonly %7, ptr noundef writeonly %8, ptr noundef writeonly %9, ptr noundef writeonly %10, ptr noundef writeonly %11, ptr noundef writeonly %12, ptr noundef writeonly %13, ptr noundef writeonly %14) local_unnamed_addr #3 {
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca %struct.anon, align 8
  store ptr %0, ptr %16, align 8, !tbaa !5
  store i64 %1, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %23) #4
  %24 = call i32 @x509_signed_from_der(ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %16, ptr noundef nonnull %17) #4
  %.not = icmp eq i32 %24, 1
  br i1 %.not, label %25, label %28

25:                                               ; preds = %15
  %26 = load i64, ptr %17, align 8, !tbaa !9
  %27 = call i32 @asn1_length_is_zero(i64 noundef %26) #4
  %.not39 = icmp eq i32 %27, 1
  br i1 %.not39, label %31, label %28

28:                                               ; preds = %15, %25
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1552, ptr noundef nonnull @__FUNCTION__.x509_crl_get_details) #5
  br label %87

31:                                               ; preds = %25
  %32 = getelementptr inbounds i8, ptr %23, i64 4
  %33 = getelementptr inbounds i8, ptr %23, i64 8
  %34 = getelementptr inbounds i8, ptr %23, i64 16
  %35 = getelementptr inbounds i8, ptr %23, i64 24
  %36 = getelementptr inbounds i8, ptr %23, i64 32
  %37 = getelementptr inbounds i8, ptr %23, i64 40
  %38 = getelementptr inbounds i8, ptr %23, i64 48
  %39 = getelementptr inbounds i8, ptr %23, i64 56
  %40 = getelementptr inbounds i8, ptr %23, i64 64
  %41 = call i32 @x509_tbs_crl_from_der(ptr noundef nonnull %23, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, ptr noundef nonnull %40, ptr noundef nonnull %18, ptr noundef nonnull %19)
  %.not40 = icmp eq i32 %41, 1
  br i1 %.not40, label %42, label %45

42:                                               ; preds = %31
  %43 = load i64, ptr %19, align 8, !tbaa !9
  %44 = call i32 @asn1_length_is_zero(i64 noundef %43) #4
  %.not41 = icmp eq i32 %44, 1
  br i1 %.not41, label %48, label %45

45:                                               ; preds = %31, %42
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1562, ptr noundef nonnull @__FUNCTION__.x509_crl_get_details) #5
  br label %87

48:                                               ; preds = %42
  %.not42 = icmp eq ptr %2, null
  br i1 %.not42, label %51, label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %23, align 8, !tbaa !11
  store i32 %50, ptr %2, align 4, !tbaa !14
  br label %51

51:                                               ; preds = %49, %48
  %.not43 = icmp eq ptr %3, null
  br i1 %.not43, label %54, label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %32, align 4, !tbaa !15
  store i32 %53, ptr %3, align 4, !tbaa !14
  br label %54

54:                                               ; preds = %52, %51
  %.not44 = icmp eq ptr %4, null
  br i1 %.not44, label %57, label %55

55:                                               ; preds = %54
  %56 = load ptr, ptr %33, align 8, !tbaa !16
  store ptr %56, ptr %4, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %55, %54
  %.not45 = icmp eq ptr %5, null
  br i1 %.not45, label %60, label %58

58:                                               ; preds = %57
  %59 = load i64, ptr %34, align 8, !tbaa !17
  store i64 %59, ptr %5, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %58, %57
  %.not46 = icmp eq ptr %6, null
  br i1 %.not46, label %63, label %61

61:                                               ; preds = %60
  %62 = load i64, ptr %35, align 8, !tbaa !18
  store i64 %62, ptr %6, align 8, !tbaa !9
  br label %63

63:                                               ; preds = %61, %60
  %.not47 = icmp eq ptr %7, null
  br i1 %.not47, label %66, label %64

64:                                               ; preds = %63
  %65 = load i64, ptr %36, align 8, !tbaa !19
  store i64 %65, ptr %7, align 8, !tbaa !9
  br label %66

66:                                               ; preds = %64, %63
  %.not48 = icmp eq ptr %8, null
  br i1 %.not48, label %69, label %67

67:                                               ; preds = %66
  %68 = load ptr, ptr %37, align 8, !tbaa !20
  store ptr %68, ptr %8, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %67, %66
  %.not49 = icmp eq ptr %9, null
  br i1 %.not49, label %72, label %70

70:                                               ; preds = %69
  %71 = load i64, ptr %38, align 8, !tbaa !21
  store i64 %71, ptr %9, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %70, %69
  %.not50 = icmp eq ptr %10, null
  br i1 %.not50, label %75, label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr %39, align 8, !tbaa !22
  store ptr %74, ptr %10, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %73, %72
  %.not51 = icmp eq ptr %11, null
  br i1 %.not51, label %78, label %76

76:                                               ; preds = %75
  %77 = load i64, ptr %40, align 8, !tbaa !23
  store i64 %77, ptr %11, align 8, !tbaa !9
  br label %78

78:                                               ; preds = %76, %75
  %.not52 = icmp eq ptr %12, null
  br i1 %.not52, label %81, label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %20, align 4, !tbaa !14
  store i32 %80, ptr %12, align 4, !tbaa !14
  br label %81

81:                                               ; preds = %79, %78
  %.not53 = icmp eq ptr %13, null
  br i1 %.not53, label %84, label %82

82:                                               ; preds = %81
  %83 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %83, ptr %13, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %82, %81
  %.not54 = icmp eq ptr %14, null
  br i1 %.not54, label %87, label %85

85:                                               ; preds = %84
  %86 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %86, ptr %14, align 8, !tbaa !9
  br label %87

87:                                               ; preds = %84, %85, %45, %28
  %.0 = phi i32 [ -1, %28 ], [ -1, %45 ], [ 1, %85 ], [ 1, %84 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  ret i32 %.0
}

attributes #0 = { nofree nounwind "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 #4 = { nounwind }
attributes #5 = { cold 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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !10, i64 24}
!19 = !{!12, !10, i64 32}
!20 = !{!12, !6, i64 40}
!21 = !{!12, !10, i64 48}
!22 = !{!12, !6, i64 56}
!23 = !{!12, !10, i64 64}


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