; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_stacktrace_printer)

; 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.__sanitizer::AddressInfo" = type { i64, ptr, i64, ptr, i64, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZN11__sanitizerL14kDefaultFormatE = external hidden constant [17 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [58 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer11RenderFrameEPNS_20InternalScopedStringEPKciRKNS_11AddressInfoEbS3_S3_(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, i1 noundef zeroext %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  %16 = zext i1 %4 to i8
  store i8 %16, ptr %12, align 1, !tbaa !11
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %17 = load ptr, ptr %9, align 8, !tbaa !5
  %18 = call noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef %17, ptr noundef @.str)
  %19 = icmp eq i32 0, %18
  br i1 %19, label %20, label %21

20:                                               ; preds = %7
  store ptr @_ZN11__sanitizerL14kDefaultFormatE, ptr %9, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %20, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %22, ptr %15, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %221, %21
  %24 = load ptr, ptr %15, align 8, !tbaa !5
  %25 = load i8, ptr %24, align 1, !tbaa !13
  %26 = sext i8 %25 to i32
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %29, label %28

28:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %224

29:                                               ; preds = %23
  %30 = load ptr, ptr %15, align 8, !tbaa !5
  %31 = load i8, ptr %30, align 1, !tbaa !13
  %32 = sext i8 %31 to i32
  %33 = icmp ne i32 %32, 37
  br i1 %33, label %34, label %39

34:                                               ; preds = %29
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = load ptr, ptr %15, align 8, !tbaa !5
  %37 = load i8, ptr %36, align 1, !tbaa !13
  %38 = sext i8 %37 to i32
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef @.str.1, i32 noundef %38)
  br label %221

39:                                               ; preds = %29
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i32 1
  store ptr %41, ptr %15, align 8, !tbaa !5
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = load i8, ptr %42, align 1, !tbaa !13
  %44 = sext i8 %43 to i32
  switch i32 %44, label %213 [
    i32 37, label %45
    i32 110, label %47
    i32 112, label %50
    i32 109, label %55
    i32 111, label %62
    i32 102, label %67
    i32 113, label %74
    i32 115, label %87
    i32 108, label %94
    i32 99, label %99
    i32 70, label %104
    i32 83, label %132
    i32 76, label %146
    i32 77, label %183
  ]

45:                                               ; preds = %39
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef @.str.2)
  br label %220

47:                                               ; preds = %39
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = load i32, ptr %10, align 4, !tbaa !9
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef @.str.3, i32 noundef %49)
  br label %220

50:                                               ; preds = %39
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %52, i32 0, i32 0
  %54 = load i64, ptr %53, align 8, !tbaa !14
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef @.str.4, i64 noundef %54)
  br label %220

55:                                               ; preds = %39
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = call noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef %59, ptr noundef %60)
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef @.str.5, ptr noundef %61)
  br label %220

62:                                               ; preds = %39
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %64, i32 0, i32 2
  %66 = load i64, ptr %65, align 8, !tbaa !18
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef @.str.4, i64 noundef %66)
  br label %220

67:                                               ; preds = %39
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = call noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef %71, ptr noundef %72)
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef @.str.5, ptr noundef %73)
  br label %220

74:                                               ; preds = %39
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %76, i32 0, i32 4
  %78 = load i64, ptr %77, align 8, !tbaa !20
  %79 = icmp ne i64 %78, -1
  br i1 %79, label %80, label %84

80:                                               ; preds = %74
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %81, i32 0, i32 4
  %83 = load i64, ptr %82, align 8, !tbaa !20
  br label %85

84:                                               ; preds = %74
  br label %85

85:                                               ; preds = %84, %80
  %86 = phi i64 [ %83, %80 ], [ 0, %84 ]
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef @.str.4, i64 noundef %86)
  br label %220

87:                                               ; preds = %39
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %89, i32 0, i32 5
  %91 = load ptr, ptr %90, align 8, !tbaa !21
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = call noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef %91, ptr noundef %92)
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef @.str.5, ptr noundef %93)
  br label %220

94:                                               ; preds = %39
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %96, i32 0, i32 6
  %98 = load i32, ptr %97, align 8, !tbaa !22
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef @.str.6, i32 noundef %98)
  br label %220

99:                                               ; preds = %39
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %101, i32 0, i32 7
  %103 = load i32, ptr %102, align 4, !tbaa !23
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef @.str.6, i32 noundef %103)
  br label %220

104:                                              ; preds = %39
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %105, i32 0, i32 3
  %107 = load ptr, ptr %106, align 8, !tbaa !19
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %131

109:                                              ; preds = %104
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %111, i32 0, i32 3
  %113 = load ptr, ptr %112, align 8, !tbaa !19
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = call noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef %113, ptr noundef %114)
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %110, ptr noundef @.str.7, ptr noundef %115)
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %116, i32 0, i32 5
  %118 = load ptr, ptr %117, align 8, !tbaa !21
  %119 = icmp ne ptr %118, null
  br i1 %119, label %130, label %120

120:                                              ; preds = %109
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %121, i32 0, i32 4
  %123 = load i64, ptr %122, align 8, !tbaa !20
  %124 = icmp ne i64 %123, -1
  br i1 %124, label %125, label %130

125:                                              ; preds = %120
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %127, i32 0, i32 4
  %129 = load i64, ptr %128, align 8, !tbaa !20
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr noundef @.str.8, i64 noundef %129)
  br label %130

130:                                              ; preds = %125, %120, %109
  br label %131

131:                                              ; preds = %130, %104
  br label %220

132:                                              ; preds = %39
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %134, i32 0, i32 5
  %136 = load ptr, ptr %135, align 8, !tbaa !21
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %137, i32 0, i32 6
  %139 = load i32, ptr %138, align 8, !tbaa !22
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %140, i32 0, i32 7
  %142 = load i32, ptr %141, align 4, !tbaa !23
  %143 = load i8, ptr %12, align 1, !tbaa !11, !range !24, !noundef !25
  %144 = trunc i8 %143 to i1
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef %133, ptr noundef %136, i32 noundef %139, i32 noundef %142, i1 noundef zeroext %144, ptr noundef %145)
  br label %220

146:                                              ; preds = %39
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %147, i32 0, i32 5
  %149 = load ptr, ptr %148, align 8, !tbaa !21
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %165

151:                                              ; preds = %146
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %153, i32 0, i32 5
  %155 = load ptr, ptr %154, align 8, !tbaa !21
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %156, i32 0, i32 6
  %158 = load i32, ptr %157, align 8, !tbaa !22
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %159, i32 0, i32 7
  %161 = load i32, ptr %160, align 4, !tbaa !23
  %162 = load i8, ptr %12, align 1, !tbaa !11, !range !24, !noundef !25
  %163 = trunc i8 %162 to i1
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef %152, ptr noundef %155, i32 noundef %158, i32 noundef %161, i1 noundef zeroext %163, ptr noundef %164)
  br label %182

165:                                              ; preds = %146
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %166, i32 0, i32 1
  %168 = load ptr, ptr %167, align 8, !tbaa !17
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %179

170:                                              ; preds = %165
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %172, i32 0, i32 1
  %174 = load ptr, ptr %173, align 8, !tbaa !17
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %175, i32 0, i32 2
  %177 = load i64, ptr %176, align 8, !tbaa !18
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN11__sanitizer20RenderModuleLocationEPNS_20InternalScopedStringEPKcmS3_(ptr noundef %171, ptr noundef %174, i64 noundef %177, ptr noundef %178)
  br label %181

179:                                              ; preds = %165
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %180, ptr noundef @.str.9)
  br label %181

181:                                              ; preds = %179, %170
  br label %182

182:                                              ; preds = %181, %151
  br label %220

183:                                              ; preds = %39
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %184, i32 0, i32 0
  %186 = load i64, ptr %185, align 8, !tbaa !14
  %187 = and i64 %186, 1152921504606846976
  %188 = icmp ne i64 %187, 0
  br i1 %188, label %189, label %190

189:                                              ; preds = %183
  br label %212

190:                                              ; preds = %183
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %191, i32 0, i32 1
  %193 = load ptr, ptr %192, align 8, !tbaa !17
  %194 = icmp ne ptr %193, null
  br i1 %194, label %195, label %205

195:                                              ; preds = %190
  %196 = load ptr, ptr %8, align 8, !tbaa !5
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %197, i32 0, i32 1
  %199 = load ptr, ptr %198, align 8, !tbaa !17
  %200 = call noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef %199)
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %201, i32 0, i32 2
  %203 = load i64, ptr %202, align 8, !tbaa !18
  %204 = inttoptr i64 %203 to ptr
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef @.str.10, ptr noundef %200, ptr noundef %204)
  br label %211

205:                                              ; preds = %190
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load ptr, ptr %11, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.__sanitizer::AddressInfo", ptr %207, i32 0, i32 0
  %209 = load i64, ptr %208, align 8, !tbaa !14
  %210 = inttoptr i64 %209 to ptr
  call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %206, ptr noundef @.str.11, ptr noundef %210)
  br label %211

211:                                              ; preds = %205, %195
  br label %212

212:                                              ; preds = %211, %189
  br label %220

213:                                              ; preds = %39
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  %215 = load i8, ptr %214, align 1, !tbaa !13
  %216 = sext i8 %215 to i32
  %217 = load ptr, ptr %15, align 8, !tbaa !5
  %218 = load i8, ptr %217, align 1, !tbaa !13
  %219 = sext i8 %218 to i32
  call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.12, i32 noundef %216, i32 noundef %219)
  call void @_ZN11__sanitizer3DieEv() #5
  unreachable

220:                                              ; preds = %212, %182, %132, %131, %99, %94, %87, %85, %67, %62, %55, %50, %47, %45
  br label %221

221:                                              ; preds = %220, %34
  %222 = load ptr, ptr %15, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i32 1
  store ptr %223, ptr %15, align 8, !tbaa !5
  br label %23, !llvm.loop !26

224:                                              ; preds = %28
  ret void
}

declare noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef, ptr noundef) #1

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

declare void @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ...) #1

declare noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20RenderModuleLocationEPNS_20InternalScopedStringEPKcmS3_(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #0

declare noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef) #1

declare void @_ZN11__sanitizer6ReportEPKcz(ptr noundef, ...) #1

; Function Attrs: noreturn
declare void @_ZN11__sanitizer3DieEv() #3

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

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

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN11__sanitizer11AddressInfoE", !16, i64 0, !6, i64 8, !16, i64 16, !6, i64 24, !16, i64 32, !6, i64 40, !10, i64 48, !10, i64 52}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !6, i64 8}
!18 = !{!15, !16, i64 16}
!19 = !{!15, !6, i64 24}
!20 = !{!15, !16, i64 32}
!21 = !{!15, !6, i64 40}
!22 = !{!15, !10, i64 48}
!23 = !{!15, !10, i64 52}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = distinct !{!26, !27}
!27 = !{!"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"

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZN11__sanitizerL14kDefaultFormatE = external hidden local_unnamed_addr constant [17 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [58 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer11RenderFrameEPNS_20InternalScopedStringEPKciRKNS_11AddressInfoEbS3_S3_(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(56) %3, i1 noundef zeroext %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
  %8 = tail call noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef %1, ptr noundef nonnull @.str)
  %9 = icmp eq i32 %8, 0
  %spec.select = select i1 %9, ptr @_ZN11__sanitizerL14kDefaultFormatE, ptr %1
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  %11 = getelementptr inbounds i8, ptr %3, i64 16
  %12 = getelementptr inbounds i8, ptr %3, i64 40
  %13 = getelementptr inbounds i8, ptr %3, i64 48
  %14 = getelementptr inbounds i8, ptr %3, i64 52
  %15 = getelementptr inbounds i8, ptr %3, i64 24
  %16 = getelementptr inbounds i8, ptr %3, i64 32
  br label %17

17:                                               ; preds = %81, %7
  %.0 = phi ptr [ %spec.select, %7 ], [ %82, %81 ]
  %18 = load i8, ptr %.0, align 1, !tbaa !5
  switch i8 %18, label %20 [
    i8 0, label %19
    i8 37, label %22
  ]

19:                                               ; preds = %17
  ret void

20:                                               ; preds = %17
  %21 = sext i8 %18 to i32
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.1, i32 noundef %21)
  br label %81

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %.0, i64 1
  %24 = load i8, ptr %23, align 1, !tbaa !5
  switch i8 %24, label %79 [
    i8 37, label %25
    i8 110, label %26
    i8 112, label %27
    i8 109, label %29
    i8 111, label %32
    i8 102, label %34
    i8 113, label %37
    i8 115, label %39
    i8 108, label %42
    i8 99, label %44
    i8 70, label %46
    i8 83, label %54
    i8 76, label %58
    i8 77, label %68
  ]

25:                                               ; preds = %22
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.2)
  br label %81

26:                                               ; preds = %22
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.3, i32 noundef %2)
  br label %81

27:                                               ; preds = %22
  %28 = load i64, ptr %3, align 8, !tbaa !8
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.4, i64 noundef %28)
  br label %81

29:                                               ; preds = %22
  %30 = load ptr, ptr %10, align 8, !tbaa !13
  %31 = tail call noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef %30, ptr noundef %5)
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.5, ptr noundef %31)
  br label %81

32:                                               ; preds = %22
  %33 = load i64, ptr %11, align 8, !tbaa !14
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.4, i64 noundef %33)
  br label %81

34:                                               ; preds = %22
  %35 = load ptr, ptr %15, align 8, !tbaa !15
  %36 = tail call noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef %35, ptr noundef %6)
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.5, ptr noundef %36)
  br label %81

37:                                               ; preds = %22
  %38 = load i64, ptr %16, align 8, !tbaa !16
  %.not83 = icmp eq i64 %38, -1
  %spec.select84 = select i1 %.not83, i64 0, i64 %38
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.4, i64 noundef %spec.select84)
  br label %81

39:                                               ; preds = %22
  %40 = load ptr, ptr %12, align 8, !tbaa !17
  %41 = tail call noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef %40, ptr noundef %5)
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.5, ptr noundef %41)
  br label %81

42:                                               ; preds = %22
  %43 = load i32, ptr %13, align 8, !tbaa !18
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.6, i32 noundef %43)
  br label %81

44:                                               ; preds = %22
  %45 = load i32, ptr %14, align 4, !tbaa !19
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.6, i32 noundef %45)
  br label %81

46:                                               ; preds = %22
  %47 = load ptr, ptr %15, align 8, !tbaa !15
  %.not80 = icmp eq ptr %47, null
  br i1 %.not80, label %81, label %48

48:                                               ; preds = %46
  %49 = tail call noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef nonnull %47, ptr noundef %6)
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.7, ptr noundef %49)
  %50 = load ptr, ptr %12, align 8, !tbaa !17
  %.not81 = icmp eq ptr %50, null
  br i1 %.not81, label %51, label %81

51:                                               ; preds = %48
  %52 = load i64, ptr %16, align 8, !tbaa !16
  %.not82 = icmp eq i64 %52, -1
  br i1 %.not82, label %81, label %53

53:                                               ; preds = %51
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.8, i64 noundef %52)
  br label %81

54:                                               ; preds = %22
  %55 = load ptr, ptr %12, align 8, !tbaa !17
  %56 = load i32, ptr %13, align 8, !tbaa !18
  %57 = load i32, ptr %14, align 4, !tbaa !19
  tail call void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef %0, ptr noundef %55, i32 noundef %56, i32 noundef %57, i1 noundef zeroext %4, ptr noundef %5)
  br label %81

58:                                               ; preds = %22
  %59 = load ptr, ptr %12, align 8, !tbaa !17
  %.not78 = icmp eq ptr %59, null
  br i1 %.not78, label %63, label %60

60:                                               ; preds = %58
  %61 = load i32, ptr %13, align 8, !tbaa !18
  %62 = load i32, ptr %14, align 4, !tbaa !19
  tail call void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef %0, ptr noundef nonnull %59, i32 noundef %61, i32 noundef %62, i1 noundef zeroext %4, ptr noundef %5)
  br label %81

63:                                               ; preds = %58
  %64 = load ptr, ptr %10, align 8, !tbaa !13
  %.not79 = icmp eq ptr %64, null
  br i1 %.not79, label %67, label %65

65:                                               ; preds = %63
  %66 = load i64, ptr %11, align 8, !tbaa !14
  tail call void @_ZN11__sanitizer20RenderModuleLocationEPNS_20InternalScopedStringEPKcmS3_(ptr noundef %0, ptr noundef nonnull %64, i64 noundef %66, ptr noundef %5)
  br label %81

67:                                               ; preds = %63
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.9)
  br label %81

68:                                               ; preds = %22
  %69 = load i64, ptr %3, align 8, !tbaa !8
  %70 = and i64 %69, 1152921504606846976
  %.not76 = icmp eq i64 %70, 0
  br i1 %.not76, label %71, label %81

71:                                               ; preds = %68
  %72 = load ptr, ptr %10, align 8, !tbaa !13
  %.not77 = icmp eq ptr %72, null
  br i1 %.not77, label %77, label %73

73:                                               ; preds = %71
  %74 = tail call noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef nonnull %72)
  %75 = load i64, ptr %11, align 8, !tbaa !14
  %76 = inttoptr i64 %75 to ptr
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.10, ptr noundef %74, ptr noundef %76)
  br label %81

77:                                               ; preds = %71
  %78 = inttoptr i64 %69 to ptr
  tail call void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull @.str.11, ptr noundef %78)
  br label %81

79:                                               ; preds = %22
  %80 = sext i8 %24 to i32
  tail call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.12, i32 noundef %80, i32 noundef %80)
  tail call void @_ZN11__sanitizer3DieEv() #3
  unreachable

81:                                               ; preds = %25, %26, %27, %29, %32, %34, %37, %39, %42, %44, %54, %48, %51, %53, %46, %65, %67, %60, %73, %77, %68, %20
  %.1 = phi ptr [ %.0, %20 ], [ %23, %68 ], [ %23, %73 ], [ %23, %77 ], [ %23, %60 ], [ %23, %65 ], [ %23, %67 ], [ %23, %54 ], [ %23, %48 ], [ %23, %53 ], [ %23, %51 ], [ %23, %46 ], [ %23, %44 ], [ %23, %42 ], [ %23, %39 ], [ %23, %37 ], [ %23, %34 ], [ %23, %32 ], [ %23, %29 ], [ %23, %27 ], [ %23, %26 ], [ %23, %25 ]
  %82 = getelementptr inbounds i8, ptr %.1, i64 1
  br label %17, !llvm.loop !20
}

declare noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ...) local_unnamed_addr #1

declare noundef ptr @_ZN11__sanitizer15StripPathPrefixEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN11__sanitizerL17StripFunctionNameEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20RenderSourceLocationEPNS_20InternalScopedStringEPKciibS3_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20RenderModuleLocationEPNS_20InternalScopedStringEPKcmS3_(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef) local_unnamed_addr #1

declare void @_ZN11__sanitizer6ReportEPKcz(ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: noreturn
declare void @_ZN11__sanitizer3DieEv() local_unnamed_addr #2

attributes #0 = { 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 #1 = { "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 = { noreturn "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 = { noreturn }

!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 = !{!9, !10, i64 0}
!9 = !{!"_ZTSN11__sanitizer11AddressInfoE", !10, i64 0, !11, i64 8, !10, i64 16, !11, i64 24, !10, i64 32, !11, i64 40, !12, i64 48, !12, i64 52}
!10 = !{!"long", !6, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!"int", !6, i64 0}
!13 = !{!9, !11, i64 8}
!14 = !{!9, !10, i64 16}
!15 = !{!9, !11, i64 24}
!16 = !{!9, !10, i64 32}
!17 = !{!9, !11, i64 40}
!18 = !{!9, !12, i64 48}
!19 = !{!9, !12, i64 52}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass