; LLVM IR from specinfo-ua/UAPKI :: library/uapkif/src/asn1 (constr_SET_OF)

; 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.asn_TYPE_descriptor_s = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, ptr }
%struct.asn_anonymous_set_ = type { ptr, i32, i32, ptr }
%struct.asn_TYPE_member_s = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

; 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: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SET_OF_print(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %20, i32 0, i32 17
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %22, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %23, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %33, label %26

26:                                               ; preds = %5
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = call i32 %27(ptr noundef @.str.8, i64 noundef 8, ptr noundef %28)
  %30 = icmp slt i32 %29, 0
  %31 = zext i1 %30 to i64
  %32 = select i1 %30, i32 -1, i32 0
  store i32 %32, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %158

33:                                               ; preds = %5
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = call i64 @strlen(ptr noundef %40) #4
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = call i32 %34(ptr noundef %37, i64 noundef %41, ptr noundef %42)
  %44 = icmp slt i32 %43, 0
  br i1 %44, label %50, label %45

45:                                               ; preds = %33
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call i32 %46(ptr noundef @.str.9, i64 noundef 6, ptr noundef %47)
  %49 = icmp slt i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %45, %33
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %158

51:                                               ; preds = %45
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %119, %51
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.asn_anonymous_set_, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !14
  %57 = icmp slt i32 %53, %56
  br i1 %57, label %58, label %122

58:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.asn_anonymous_set_, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !16
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds ptr, ptr %61, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  store ptr %65, ptr %17, align 8, !tbaa !5
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %69, label %68

68:                                               ; preds = %58
  store i32 4, ptr %16, align 4
  br label %116

69:                                               ; preds = %58
  br label %70

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = call i32 %71(ptr noundef @.str.2, i64 noundef 1, ptr noundef %72)
  %74 = icmp slt i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %70
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %92

76:                                               ; preds = %70
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %88, %76
  %78 = load i32, ptr %18, align 4, !tbaa !9
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %81, label %91

81:                                               ; preds = %77
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = call i32 %82(ptr noundef @.str.3, i64 noundef 4, ptr noundef %83)
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %81
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %92

87:                                               ; preds = %81
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %18, align 4, !tbaa !9
  br label %77, !llvm.loop !17

91:                                               ; preds = %77
  store i32 0, ptr %16, align 4
  br label %92

92:                                               ; preds = %91, %86, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  %93 = load i32, ptr %16, align 4
  switch i32 %93, label %116 [
    i32 0, label %94
  ]

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %97, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !19
  %100 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %99, i32 0, i32 3
  %101 = load ptr, ptr %100, align 8, !tbaa !21
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %102, i32 0, i32 5
  %104 = load ptr, ptr %103, align 8, !tbaa !19
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = call i32 %101(ptr noundef %104, ptr noundef %105, i32 noundef %107, ptr noundef %108, ptr noundef %109)
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load i32, ptr %14, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %96
  %114 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %114, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %116

115:                                              ; preds = %96
  store i32 0, ptr %16, align 4
  br label %116

116:                                              ; preds = %115, %113, %92, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  %117 = load i32, ptr %16, align 4
  switch i32 %117, label %158 [
    i32 0, label %118
    i32 4, label %119
  ]

118:                                              ; preds = %116
  br label %119

119:                                              ; preds = %118, %116
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %15, align 4, !tbaa !9
  br label %52, !llvm.loop !22

122:                                              ; preds = %52
  %123 = load i32, ptr %9, align 4, !tbaa !9
  %124 = add nsw i32 %123, -1
  store i32 %124, ptr %9, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = call i32 %126(ptr noundef @.str.2, i64 noundef 1, ptr noundef %127)
  %129 = icmp slt i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %125
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %147

131:                                              ; preds = %125
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %143, %131
  %133 = load i32, ptr %19, align 4, !tbaa !9
  %134 = load i32, ptr %9, align 4, !tbaa !9
  %135 = icmp slt i32 %133, %134
  br i1 %135, label %136, label %146

136:                                              ; preds = %132
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = call i32 %137(ptr noundef @.str.3, i64 noundef 4, ptr noundef %138)
  %140 = icmp slt i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %136
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %147

142:                                              ; preds = %136
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %19, align 4, !tbaa !9
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %19, align 4, !tbaa !9
  br label %132, !llvm.loop !23

146:                                              ; preds = %132
  store i32 0, ptr %16, align 4
  br label %147

147:                                              ; preds = %146, %141, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  %148 = load i32, ptr %16, align 4
  switch i32 %148, label %158 [
    i32 0, label %149
  ]

149:                                              ; preds = %147
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = call i32 %152(ptr noundef @.str.10, i64 noundef 1, ptr noundef %153)
  %155 = icmp slt i32 %154, 0
  %156 = zext i1 %155 to i64
  %157 = select i1 %155, i32 -1, i32 0
  store i32 %157, ptr %6, align 4
  store i32 1, ptr %16, align 4
  br label %158

158:                                              ; preds = %151, %147, %116, %50, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %159 = load i32, ptr %6, align 4
  ret i32 %159
}

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

!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 136}
!12 = !{!"asn_TYPE_descriptor_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, 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, !10, i64 104, !6, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152}
!13 = !{!12, !6, i64 0}
!14 = !{!15, !10, i64 8}
!15 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!16 = !{!15, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !6, i64 24}
!20 = !{!"asn_TYPE_member_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!21 = !{!12, !6, i64 24}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


; 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.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @SET_OF_print(ptr nocapture noundef readonly %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = getelementptr inbounds i8, ptr %0, i64 136
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %8, label %10

8:                                                ; preds = %5
  %9 = tail call i32 %3(ptr noundef nonnull @.str.8, i64 noundef 8, ptr noundef %4) #2
  %.lobit = ashr i32 %9, 31
  br label %.thread61

10:                                               ; preds = %5
  %11 = load ptr, ptr %0, align 8, !tbaa !11
  %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %11) #3
  %13 = tail call i32 %3(ptr noundef %11, i64 noundef %12, ptr noundef %4) #2
  %14 = icmp slt i32 %13, 0
  br i1 %14, label %.thread61, label %15

15:                                               ; preds = %10
  %16 = tail call i32 %3(ptr noundef nonnull @.str.9, i64 noundef 6, ptr noundef %4) #2
  %17 = icmp slt i32 %16, 0
  br i1 %17, label %.thread61, label %.preheader70

.preheader70:                                     ; preds = %15
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load i32, ptr %18, align 8, !tbaa !12
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph74, label %._crit_edge75

.lr.ph74:                                         ; preds = %.preheader70
  %21 = icmp sgt i32 %2, 0
  %22 = getelementptr inbounds i8, ptr %7, i64 24
  %23 = add nsw i32 %2, 1
  br i1 %21, label %.lr.ph74.split.us, label %.lr.ph74.split

.lr.ph74.split.us:                                ; preds = %.lr.ph74, %select.unfold.us
  %24 = phi i32 [ %35, %select.unfold.us ], [ %19, %.lr.ph74 ]
  %indvars.iv83 = phi i64 [ %indvars.iv.next84, %select.unfold.us ], [ 0, %.lr.ph74 ]
  %25 = load ptr, ptr %1, align 8, !tbaa !14
  %26 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv83
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %.not56.us = icmp eq ptr %27, null
  br i1 %.not56.us, label %select.unfold.us, label %28

28:                                               ; preds = %.lr.ph74.split.us
  %29 = tail call i32 %3(ptr noundef nonnull @.str.2, i64 noundef 1, ptr noundef %4) #2
  %30 = icmp slt i32 %29, 0
  br i1 %30, label %.thread61, label %.preheader68.us

31:                                               ; preds = %.preheader68.us
  %32 = add nuw nsw i32 %.04672.us, 1
  %exitcond.not = icmp eq i32 %32, %2
  br i1 %exitcond.not, label %._crit_edge.us, label %.preheader68.us, !llvm.loop !16

.preheader68.us:                                  ; preds = %28, %31
  %.04672.us = phi i32 [ %32, %31 ], [ 0, %28 ]
  %33 = tail call i32 %3(ptr noundef nonnull @.str.3, i64 noundef 4, ptr noundef %4) #2
  %34 = icmp slt i32 %33, 0
  br i1 %34, label %.thread61, label %31

select.unfold.us:                                 ; preds = %._crit_edge.us.select.unfold.us_crit_edge, %.lr.ph74.split.us
  %35 = phi i32 [ %.pre87, %._crit_edge.us.select.unfold.us_crit_edge ], [ %24, %.lr.ph74.split.us ]
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 1
  %36 = sext i32 %35 to i64
  %37 = icmp slt i64 %indvars.iv.next84, %36
  br i1 %37, label %.lr.ph74.split.us, label %._crit_edge75, !llvm.loop !18

._crit_edge.us:                                   ; preds = %31
  %38 = load ptr, ptr %22, align 8, !tbaa !19
  %39 = getelementptr inbounds i8, ptr %38, i64 24
  %40 = load ptr, ptr %39, align 8, !tbaa !21
  %41 = tail call i32 %40(ptr noundef %38, ptr noundef nonnull %27, i32 noundef %23, ptr noundef %3, ptr noundef %4) #2
  %.not57.us = icmp eq i32 %41, 0
  br i1 %.not57.us, label %._crit_edge.us.select.unfold.us_crit_edge, label %.thread61

._crit_edge.us.select.unfold.us_crit_edge:        ; preds = %._crit_edge.us
  %.pre87 = load i32, ptr %18, align 8, !tbaa !12
  br label %select.unfold.us

.lr.ph74.split:                                   ; preds = %.lr.ph74, %select.unfold
  %42 = phi i32 [ %53, %select.unfold ], [ %19, %.lr.ph74 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %select.unfold ], [ 0, %.lr.ph74 ]
  %43 = load ptr, ptr %1, align 8, !tbaa !14
  %44 = getelementptr inbounds ptr, ptr %43, i64 %indvars.iv
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %.not56 = icmp eq ptr %45, null
  br i1 %.not56, label %select.unfold, label %46

46:                                               ; preds = %.lr.ph74.split
  %47 = tail call i32 %3(ptr noundef nonnull @.str.2, i64 noundef 1, ptr noundef %4) #2
  %48 = icmp slt i32 %47, 0
  br i1 %48, label %.thread61, label %.preheader68

.preheader68:                                     ; preds = %46
  %49 = load ptr, ptr %22, align 8, !tbaa !19
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  %52 = tail call i32 %51(ptr noundef %49, ptr noundef nonnull %45, i32 noundef %23, ptr noundef %3, ptr noundef %4) #2
  %.not57 = icmp eq i32 %52, 0
  br i1 %.not57, label %.preheader68.select.unfold_crit_edge, label %.thread61

.preheader68.select.unfold_crit_edge:             ; preds = %.preheader68
  %.pre = load i32, ptr %18, align 8, !tbaa !12
  br label %select.unfold

select.unfold:                                    ; preds = %.preheader68.select.unfold_crit_edge, %.lr.ph74.split
  %53 = phi i32 [ %.pre, %.preheader68.select.unfold_crit_edge ], [ %42, %.lr.ph74.split ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %54 = sext i32 %53 to i64
  %55 = icmp slt i64 %indvars.iv.next, %54
  br i1 %55, label %.lr.ph74.split, label %._crit_edge75, !llvm.loop !18

._crit_edge75:                                    ; preds = %select.unfold, %select.unfold.us, %.preheader70
  %56 = tail call i32 %3(ptr noundef nonnull @.str.2, i64 noundef 1, ptr noundef %4) #2
  %57 = icmp slt i32 %56, 0
  br i1 %57, label %.thread61, label %.preheader

.preheader:                                       ; preds = %._crit_edge75
  %58 = icmp sgt i32 %2, 1
  br i1 %58, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %59 = add nsw i32 %2, -2
  br label %.lr.ph

60:                                               ; preds = %.lr.ph
  %61 = add nuw nsw i32 %.076, 1
  %exitcond86.not = icmp eq i32 %.076, %59
  br i1 %exitcond86.not, label %._crit_edge, label %.lr.ph, !llvm.loop !22

.lr.ph:                                           ; preds = %.lr.ph.preheader, %60
  %.076 = phi i32 [ %61, %60 ], [ 0, %.lr.ph.preheader ]
  %62 = tail call i32 %3(ptr noundef nonnull @.str.3, i64 noundef 4, ptr noundef %4) #2
  %63 = icmp slt i32 %62, 0
  br i1 %63, label %.thread61, label %60

._crit_edge:                                      ; preds = %60, %.preheader
  %64 = tail call i32 %3(ptr noundef nonnull @.str.10, i64 noundef 1, ptr noundef %4) #2
  %.lobit55 = ashr i32 %64, 31
  br label %.thread61

.thread61:                                        ; preds = %.preheader68, %46, %._crit_edge.us, %28, %.preheader68.us, %.lr.ph, %._crit_edge75, %10, %15, %._crit_edge, %8
  %.4 = phi i32 [ %.lobit55, %._crit_edge ], [ %.lobit, %8 ], [ -1, %15 ], [ -1, %10 ], [ -1, %._crit_edge75 ], [ -1, %.lr.ph ], [ -1, %.preheader68.us ], [ -1, %28 ], [ %41, %._crit_edge.us ], [ -1, %46 ], [ %52, %.preheader68 ]
  ret i32 %.4
}

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

!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 136}
!6 = !{!"asn_TYPE_descriptor_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !10, i64 120, !7, i64 128, !7, i64 136, !10, i64 144, !7, i64 152}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!14 = !{!13, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!20, !7, i64 24}
!20 = !{!"asn_TYPE_member_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!21 = !{!6, !7, i64 24}
!22 = distinct !{!22, !17}


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