; LLVM IR from Shah-Shishir/Codeforces-Solutions :: 245B. Internet Address (main)

; 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@str = external dso_local global [55 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  br label %9

9:                                                ; preds = %202, %0
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @str)
  %11 = icmp ne i32 %10, -1
  br i1 %11, label %12, label %204

12:                                               ; preds = %9
  %13 = call i64 @strlen(ptr noundef @str) #7
  %14 = trunc i64 %13 to i32
  store i32 %14, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %15 = load i8, ptr @str, align 16, !tbaa !9
  %16 = sext i8 %15 to i32
  %17 = icmp eq i32 %16, 104
  br i1 %17, label %18, label %25

18:                                               ; preds = %12
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.1)
          to label %20 unwind label %21

20:                                               ; preds = %18
  br label %28

21:                                               ; preds = %199, %129, %113, %108, %80, %70, %54, %25, %18
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %6, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %7, align 4
  br label %203

25:                                               ; preds = %12
  %26 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.2)
          to label %27 unwind label %21

27:                                               ; preds = %25
  br label %28

28:                                               ; preds = %27, %20
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sub nsw i32 %29, 2
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %31
  %33 = load i8, ptr %32, align 1, !tbaa !9
  %34 = sext i8 %33 to i32
  %35 = icmp eq i32 %34, 114
  br i1 %35, label %36, label %83

36:                                               ; preds = %28
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sub nsw i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = sext i8 %41 to i32
  %43 = icmp eq i32 %42, 117
  br i1 %43, label %44, label %83

44:                                               ; preds = %36
  %45 = load i8, ptr @str, align 16, !tbaa !9
  %46 = sext i8 %45 to i32
  %47 = icmp eq i32 %46, 104
  br i1 %47, label %48, label %64

48:                                               ; preds = %44
  store i32 4, ptr %3, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %60, %48
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = sub nsw i32 %51, 2
  %53 = icmp slt i32 %50, %52
  br i1 %53, label %54, label %63

54:                                               ; preds = %49
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %56
  %58 = load i8, ptr %57, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %58)
          to label %59 unwind label %21

59:                                               ; preds = %54
  br label %60

60:                                               ; preds = %59
  %61 = load i32, ptr %3, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %3, align 4, !tbaa !5
  br label %49, !llvm.loop !10

63:                                               ; preds = %49
  br label %80

64:                                               ; preds = %44
  store i32 3, ptr %3, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %76, %64
  %66 = load i32, ptr %3, align 4, !tbaa !5
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = sub nsw i32 %67, 2
  %69 = icmp slt i32 %66, %68
  br i1 %69, label %70, label %79

70:                                               ; preds = %65
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %72
  %74 = load i8, ptr %73, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %74)
          to label %75 unwind label %21

75:                                               ; preds = %70
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %3, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %3, align 4, !tbaa !5
  br label %65, !llvm.loop !12

79:                                               ; preds = %65
  br label %80

80:                                               ; preds = %79, %63
  %81 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.3)
          to label %82 unwind label %21

82:                                               ; preds = %80
  br label %199

83:                                               ; preds = %36, %28
  store i32 0, ptr %4, align 4, !tbaa !5
  %84 = load i8, ptr @str, align 16, !tbaa !9
  %85 = sext i8 %84 to i32
  %86 = icmp eq i32 %85, 104
  br i1 %86, label %87, label %139

87:                                               ; preds = %83
  store i32 4, ptr %3, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %120, %87
  %89 = load i32, ptr %3, align 4, !tbaa !5
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = sub nsw i32 %90, 1
  %92 = icmp slt i32 %89, %91
  br i1 %92, label %93, label %123

93:                                               ; preds = %88
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !9
  %98 = sext i8 %97 to i32
  %99 = icmp eq i32 %98, 114
  br i1 %99, label %100, label %113

100:                                              ; preds = %93
  %101 = load i32, ptr %3, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %103
  %105 = load i8, ptr %104, align 1, !tbaa !9
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 117
  br i1 %107, label %108, label %113

108:                                              ; preds = %100
  %109 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.4)
          to label %110 unwind label %21

110:                                              ; preds = %108
  %111 = load i32, ptr %3, align 4, !tbaa !5
  %112 = add nsw i32 %111, 2
  store i32 %112, ptr %4, align 4, !tbaa !5
  br label %123

113:                                              ; preds = %100, %93
  %114 = load i32, ptr %3, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %115
  %117 = load i8, ptr %116, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %117)
          to label %118 unwind label %21

118:                                              ; preds = %113
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %3, align 4, !tbaa !5
  br label %88, !llvm.loop !13

123:                                              ; preds = %110, %88
  %124 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %124, ptr %3, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %135, %123
  %126 = load i32, ptr %3, align 4, !tbaa !5
  %127 = load i32, ptr %2, align 4, !tbaa !5
  %128 = icmp slt i32 %126, %127
  br i1 %128, label %129, label %138

129:                                              ; preds = %125
  %130 = load i32, ptr %3, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %131
  %133 = load i8, ptr %132, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %133)
          to label %134 unwind label %21

134:                                              ; preds = %129
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %3, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %3, align 4, !tbaa !5
  br label %125, !llvm.loop !14

138:                                              ; preds = %125
  br label %198

139:                                              ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  store i8 0, ptr %8, align 1, !tbaa !15
  store i32 3, ptr %3, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %179, %139
  %141 = load i32, ptr %3, align 4, !tbaa !5
  %142 = load i32, ptr %2, align 4, !tbaa !5
  %143 = sub nsw i32 %142, 1
  %144 = icmp slt i32 %141, %143
  br i1 %144, label %145, label %182

145:                                              ; preds = %140
  %146 = load i32, ptr %3, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %147
  %149 = load i8, ptr %148, align 1, !tbaa !9
  %150 = sext i8 %149 to i32
  %151 = icmp eq i32 %150, 114
  br i1 %151, label %152, label %172

152:                                              ; preds = %145
  %153 = load i32, ptr %3, align 4, !tbaa !5
  %154 = add nsw i32 %153, 1
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %155
  %157 = load i8, ptr %156, align 1, !tbaa !9
  %158 = sext i8 %157 to i32
  %159 = icmp eq i32 %158, 117
  br i1 %159, label %160, label %172

160:                                              ; preds = %152
  %161 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %172

163:                                              ; preds = %160
  %164 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.4)
          to label %165 unwind label %168

165:                                              ; preds = %163
  %166 = load i32, ptr %3, align 4, !tbaa !5
  %167 = add nsw i32 %166, 2
  store i32 %167, ptr %4, align 4, !tbaa !5
  br label %182

168:                                              ; preds = %188, %172, %163
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  br label %203

172:                                              ; preds = %160, %152, %145
  store i8 1, ptr %8, align 1, !tbaa !15
  %173 = load i32, ptr %3, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %174
  %176 = load i8, ptr %175, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %176)
          to label %177 unwind label %168

177:                                              ; preds = %172
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %3, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %3, align 4, !tbaa !5
  br label %140, !llvm.loop !19

182:                                              ; preds = %165, %140
  %183 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %183, ptr %3, align 4, !tbaa !5
  br label %184

184:                                              ; preds = %194, %182
  %185 = load i32, ptr %3, align 4, !tbaa !5
  %186 = load i32, ptr %2, align 4, !tbaa !5
  %187 = icmp slt i32 %185, %186
  br i1 %187, label %188, label %197

188:                                              ; preds = %184
  %189 = load i32, ptr %3, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %190
  %192 = load i8, ptr %191, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %192)
          to label %193 unwind label %168

193:                                              ; preds = %188
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %3, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %3, align 4, !tbaa !5
  br label %184, !llvm.loop !20

197:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  br label %198

198:                                              ; preds = %197, %138
  br label %199

199:                                              ; preds = %198, %82
  %200 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %201 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %200)
          to label %202 unwind label %21

202:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  br label %9, !llvm.loop !21

203:                                              ; preds = %168, %21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %205

204:                                              ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  ret i32 0

205:                                              ; preds = %203
  %206 = load ptr, ptr %6, align 8
  %207 = load i32, ptr %7, align 4
  %208 = insertvalue { ptr, i32 } poison, ptr %206, 0
  %209 = insertvalue { ptr, i32 } %208, i32 %207, 1
  resume { ptr, i32 } %209
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5 align 2

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

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

attributes #0 = { mustprogress norecurse 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 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 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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { nounwind }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
!21 = distinct !{!21, !11}


; 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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@str = external dso_local global [55 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @str)
  %.not83 = icmp eq i32 %2, -1
  br i1 %.not83, label %._crit_edge, label %.lr.ph84

.lr.ph84:                                         ; preds = %0, %.loopexit49
  %3 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @str) #6
  %4 = trunc i64 %3 to i32
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %5 = load i8, ptr @str, align 16, !tbaa !5
  %6 = icmp eq i8 %5, 104
  %7 = select i1 %6, ptr @.str.1, ptr @.str.2
  %8 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %7)
          to label %9 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.loopexit43:                                      ; preds = %.lr.ph82
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %.lr.ph80
  %lpad.loopexit46 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.lr.ph78
  %lpad.loopexit50 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %55
  %lpad.loopexit54 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %.lr.ph84, %50, %.loopexit
  %lpad.loopexit.split-lp55 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

9:                                                ; preds = %.lr.ph84
  %10 = add nsw i32 %4, -2
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %11
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = icmp eq i8 %13, 114
  br i1 %14, label %15, label %33

15:                                               ; preds = %9
  %16 = shl i64 %3, 32
  %sext = add i64 %16, -4294967296
  %17 = ashr exact i64 %sext, 32
  %18 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %17
  %19 = load i8, ptr %18, align 1, !tbaa !5
  %20 = icmp eq i8 %19, 117
  br i1 %20, label %21, label %33

21:                                               ; preds = %15
  %22 = load i8, ptr @str, align 16, !tbaa !5
  %23 = icmp eq i8 %22, 104
  br i1 %23, label %.preheader, label %.preheader44

.preheader44:                                     ; preds = %21
  %24 = icmp sgt i32 %4, 5
  br i1 %24, label %.lr.ph80.preheader, label %.loopexit

.lr.ph80.preheader:                               ; preds = %.preheader44
  %wide.trip.count111 = zext nneg i32 %10 to i64
  br label %.lr.ph80

.preheader:                                       ; preds = %21
  %25 = icmp sgt i32 %4, 6
  br i1 %25, label %.lr.ph82.preheader, label %.loopexit

.lr.ph82.preheader:                               ; preds = %.preheader
  %wide.trip.count116 = zext nneg i32 %10 to i64
  br label %.lr.ph82

.lr.ph82:                                         ; preds = %.lr.ph82.preheader, %28
  %indvars.iv113 = phi i64 [ 4, %.lr.ph82.preheader ], [ %indvars.iv.next114, %28 ]
  %26 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv113
  %27 = load i8, ptr %26, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %27)
          to label %28 unwind label %.loopexit43

28:                                               ; preds = %.lr.ph82
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %exitcond117.not = icmp eq i64 %indvars.iv.next114, %wide.trip.count116
  br i1 %exitcond117.not, label %.loopexit, label %.lr.ph82, !llvm.loop !8

.lr.ph80:                                         ; preds = %.lr.ph80.preheader, %31
  %indvars.iv108 = phi i64 [ 3, %.lr.ph80.preheader ], [ %indvars.iv.next109, %31 ]
  %29 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv108
  %30 = load i8, ptr %29, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %30)
          to label %31 unwind label %.loopexit.split-lp.loopexit

31:                                               ; preds = %.lr.ph80
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond112.not = icmp eq i64 %indvars.iv.next109, %wide.trip.count111
  br i1 %exitcond112.not, label %.loopexit, label %.lr.ph80, !llvm.loop !10

.loopexit:                                        ; preds = %31, %28, %.preheader44, %.preheader
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.3)
          to label %.loopexit49 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

33:                                               ; preds = %15, %9
  %34 = load i8, ptr @str, align 16, !tbaa !5
  %35 = icmp eq i8 %34, 104
  br i1 %35, label %.preheader52, label %.preheader62

.preheader62:                                     ; preds = %33
  %36 = icmp sgt i32 %4, 4
  br i1 %36, label %.lr.ph.preheader, label %.loopexit63

.lr.ph.preheader:                                 ; preds = %.preheader62
  %37 = add i64 %3, 4294967295
  %wide.trip.count = and i64 %37, 4294967295
  %38 = load i8, ptr getelementptr inbounds (i8, ptr @str, i64 3), align 1, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %38)
          to label %39 unwind label %.loopexit.split-lp59.loopexit.loopexit.split-lp

39:                                               ; preds = %.lr.ph.preheader
  %exitcond.peel.not = icmp eq i64 %wide.trip.count, 4
  br i1 %exitcond.peel.not, label %.loopexit63, label %.lr.ph

.preheader52:                                     ; preds = %33
  %40 = icmp sgt i32 %4, 5
  br i1 %40, label %.lr.ph76.preheader, label %.loopexit53

.lr.ph76.preheader:                               ; preds = %.preheader52
  %41 = add i64 %3, 4294967295
  %wide.trip.count101 = and i64 %41, 4294967295
  br label %.lr.ph76

.lr.ph76:                                         ; preds = %.lr.ph76.preheader, %56
  %indvars.iv98 = phi i64 [ 4, %.lr.ph76.preheader ], [ %indvars.iv.next99, %56 ]
  %42 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv98
  %43 = load i8, ptr %42, align 1, !tbaa !5
  %44 = icmp eq i8 %43, 114
  br i1 %44, label %45, label %55

45:                                               ; preds = %.lr.ph76
  %46 = add nuw nsw i64 %indvars.iv98, 1
  %47 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %46
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = icmp eq i8 %48, 117
  br i1 %49, label %50, label %55

50:                                               ; preds = %45
  %51 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.4)
          to label %52 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

52:                                               ; preds = %50
  %53 = trunc nuw nsw i64 %indvars.iv98 to i32
  %54 = add nuw nsw i32 %53, 2
  br label %.loopexit53

55:                                               ; preds = %45, %.lr.ph76
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %43)
          to label %56 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

56:                                               ; preds = %55
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %exitcond102.not = icmp eq i64 %indvars.iv.next99, %wide.trip.count101
  br i1 %exitcond102.not, label %.loopexit53, label %.lr.ph76, !llvm.loop !11

.loopexit53:                                      ; preds = %56, %.preheader52, %52
  %.038 = phi i32 [ %54, %52 ], [ 0, %.preheader52 ], [ 0, %56 ]
  %57 = icmp slt i32 %.038, %4
  br i1 %57, label %.lr.ph78.preheader, label %.loopexit49

.lr.ph78.preheader:                               ; preds = %.loopexit53
  %58 = sext i32 %.038 to i64
  br label %.lr.ph78

.lr.ph78:                                         ; preds = %.lr.ph78.preheader, %61
  %indvars.iv103 = phi i64 [ %58, %.lr.ph78.preheader ], [ %indvars.iv.next104, %61 ]
  %59 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv103
  %60 = load i8, ptr %59, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %60)
          to label %61 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

61:                                               ; preds = %.lr.ph78
  %indvars.iv.next104 = add nsw i64 %indvars.iv103, 1
  %lftr.wideiv106 = trunc i64 %indvars.iv.next104 to i32
  %exitcond107.not = icmp eq i32 %lftr.wideiv106, %4
  br i1 %exitcond107.not, label %.loopexit49, label %.lr.ph78, !llvm.loop !12

.lr.ph:                                           ; preds = %39, %74
  %indvars.iv = phi i64 [ %indvars.iv.next, %74 ], [ 4, %39 ]
  %62 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv
  %63 = load i8, ptr %62, align 1, !tbaa !5
  %64 = icmp eq i8 %63, 114
  br i1 %64, label %65, label %73

65:                                               ; preds = %.lr.ph
  %66 = add nuw nsw i64 %indvars.iv, 1
  %67 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !5
  %.not119 = icmp eq i8 %68, 117
  br i1 %.not119, label %.loopexit92, label %73

.loopexit92:                                      ; preds = %65
  %69 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.4)
          to label %70 unwind label %.loopexit.split-lp59.loopexit.split-lp

70:                                               ; preds = %.loopexit92
  %71 = trunc nuw nsw i64 %indvars.iv to i32
  %72 = add nuw nsw i32 %71, 2
  br label %.loopexit63

.loopexit58:                                      ; preds = %.lr.ph74
  %lpad.loopexit60 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp59.loopexit.loopexit:           ; preds = %73
  %lpad.loopexit93 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp59.loopexit.loopexit.split-lp:  ; preds = %.lr.ph.preheader
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp59.loopexit.split-lp:           ; preds = %.loopexit92
  %lpad.loopexit.split-lp65 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

73:                                               ; preds = %65, %.lr.ph
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %63)
          to label %74 unwind label %.loopexit.split-lp59.loopexit.loopexit

74:                                               ; preds = %73
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit63, label %.lr.ph, !llvm.loop !13

.loopexit63:                                      ; preds = %74, %39, %.preheader62, %70
  %.1 = phi i32 [ %72, %70 ], [ 0, %.preheader62 ], [ 0, %39 ], [ 0, %74 ]
  %75 = icmp slt i32 %.1, %4
  br i1 %75, label %.lr.ph74.preheader, label %.loopexit49

.lr.ph74.preheader:                               ; preds = %.loopexit63
  %76 = sext i32 %.1 to i64
  br label %.lr.ph74

.lr.ph74:                                         ; preds = %.lr.ph74.preheader, %79
  %indvars.iv94 = phi i64 [ %76, %.lr.ph74.preheader ], [ %indvars.iv.next95, %79 ]
  %77 = getelementptr inbounds [55 x i8], ptr @str, i64 0, i64 %indvars.iv94
  %78 = load i8, ptr %77, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %78)
          to label %79 unwind label %.loopexit58

79:                                               ; preds = %.lr.ph74
  %indvars.iv.next95 = add nsw i64 %indvars.iv94, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next95 to i32
  %exitcond97.not = icmp eq i32 %lftr.wideiv, %4
  br i1 %exitcond97.not, label %.loopexit49, label %.lr.ph74, !llvm.loop !15

.loopexit49:                                      ; preds = %79, %61, %.loopexit63, %.loopexit53, %.loopexit
  %80 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %80)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  %82 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @str)
  %.not = icmp eq i32 %82, -1
  br i1 %.not, label %._crit_edge, label %.lr.ph84, !llvm.loop !16

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp59.loopexit.loopexit, %.loopexit.split-lp59.loopexit.loopexit.split-lp, %.loopexit58, %.loopexit.split-lp59.loopexit.split-lp, %.loopexit43, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit
  %.pn = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit43 ], [ %lpad.loopexit46, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit50, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit54, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp55, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit60, %.loopexit58 ], [ %lpad.loopexit.split-lp65, %.loopexit.split-lp59.loopexit.split-lp ], [ %lpad.loopexit93, %.loopexit.split-lp59.loopexit.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp59.loopexit.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn

._crit_edge:                                      ; preds = %.loopexit49, %0
  ret i32 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: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

attributes #0 = { mustprogress norecurse 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { nounwind willreturn memory(read) }
attributes #7 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9, !14}
!14 = !{!"llvm.loop.peeled.count", i32 1}
!15 = distinct !{!15, !9}
!16 = distinct !{!16, !9}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass