; LLVM IR from tezc/sc :: string (str_test)

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

@.str.4 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__.test5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [44 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

declare ptr @sc_str_create(ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare i64 @sc_str_len(ptr noundef) #1

declare void @sc_str_destroy(ptr noundef) #1

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

declare zeroext i1 @sc_str_set(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @test5() #4 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %3 = call ptr @sc_str_create(ptr noundef @.str.33)
  store ptr %3, ptr %1, align 8, !tbaa !5
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str.33) #6
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %7, label %8

7:                                                ; preds = %0
  br label %9

8:                                                ; preds = %0
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.4, i32 noundef 423, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

9:                                                ; preds = %7
  %10 = load ptr, ptr %1, align 8, !tbaa !5
  %11 = call i64 @sc_str_len(ptr noundef %10)
  %12 = icmp eq i64 %11, 4
  br i1 %12, label %13, label %14

13:                                               ; preds = %9
  br label %15

14:                                               ; preds = %9
  call void @__assert_fail(ptr noundef @.str.35, ptr noundef @.str.4, i32 noundef 424, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

15:                                               ; preds = %13
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = call ptr @sc_str_dup(ptr noundef %16)
  store ptr %17, ptr %2, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.33) #6
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %15
  br label %23

22:                                               ; preds = %15
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str.4, i32 noundef 426, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

23:                                               ; preds = %21
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = call i64 @sc_str_len(ptr noundef %24)
  %26 = icmp eq i64 %25, 4
  br i1 %26, label %27, label %28

27:                                               ; preds = %23
  br label %29

28:                                               ; preds = %23
  call void @__assert_fail(ptr noundef @.str.37, ptr noundef @.str.4, i32 noundef 427, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

29:                                               ; preds = %27
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = call i32 @strcmp(ptr noundef %30, ptr noundef %31) #6
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  br label %36

35:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.38, ptr noundef @.str.4, i32 noundef 428, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

36:                                               ; preds = %34
  call void @sc_str_destroy(ptr noundef %2)
  %37 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.39)
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.39) #6
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %41, label %42

41:                                               ; preds = %36
  br label %43

42:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str.4, i32 noundef 432, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

43:                                               ; preds = %41
  %44 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.41, i32 noundef 3)
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.42) #6
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %43
  br label %50

49:                                               ; preds = %43
  call void @__assert_fail(ptr noundef @.str.43, ptr noundef @.str.4, i32 noundef 434, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

50:                                               ; preds = %48
  %51 = call zeroext i1 @sc_str_append(ptr noundef %1, ptr noundef @.str.44)
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.45) #6
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %50
  br label %57

56:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.46, ptr noundef @.str.4, i32 noundef 436, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

57:                                               ; preds = %55
  %58 = load ptr, ptr %1, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %64

60:                                               ; preds = %57
  %61 = load ptr, ptr %1, align 8, !tbaa !5
  %62 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.47, ptr noundef %61, i32 noundef 7)
  %63 = zext i1 %62 to i32
  br label %67

64:                                               ; preds = %57
  %65 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.48, i32 noundef 7)
  %66 = zext i1 %65 to i32
  br label %67

67:                                               ; preds = %64, %60
  %68 = phi i32 [ %63, %60 ], [ %66, %64 ]
  %69 = load ptr, ptr %1, align 8, !tbaa !5
  %70 = call i32 @strcmp(ptr noundef %69, ptr noundef @.str.49) #6
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %67
  br label %74

73:                                               ; preds = %67
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str.4, i32 noundef 438, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

74:                                               ; preds = %72
  %75 = call zeroext i1 @sc_str_substring(ptr noundef %1, i32 noundef 0, i32 noundef 4)
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.33) #6
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %74
  br label %81

80:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.4, i32 noundef 440, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

81:                                               ; preds = %79
  %82 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.51)
  %83 = load ptr, ptr %1, align 8, !tbaa !5
  %84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.9) #6
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %81
  br label %88

87:                                               ; preds = %81
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.4, i32 noundef 442, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

88:                                               ; preds = %86
  %89 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.53)
  %90 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.54)
  %91 = load ptr, ptr %1, align 8, !tbaa !5
  %92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.55) #6
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %88
  br label %96

95:                                               ; preds = %88
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str.4, i32 noundef 445, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

96:                                               ; preds = %94
  %97 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.57)
  %98 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.58, ptr noundef @.str.8)
  %99 = load ptr, ptr %1, align 8, !tbaa !5
  %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.59) #6
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %96
  br label %104

103:                                              ; preds = %96
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str.4, i32 noundef 449, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

104:                                              ; preds = %102
  %105 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.33, ptr noundef @.str.61)
  %106 = load ptr, ptr %1, align 8, !tbaa !5
  %107 = call i32 @strcmp(ptr noundef %106, ptr noundef @.str.62) #6
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %104
  br label %111

110:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.4, i32 noundef 451, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

111:                                              ; preds = %109
  %112 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.8, ptr noundef @.str.9)
  %113 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.64, ptr noundef @.str.9)
  %114 = load ptr, ptr %1, align 8, !tbaa !5
  %115 = call i32 @strcmp(ptr noundef %114, ptr noundef @.str.65) #6
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %111
  br label %119

118:                                              ; preds = %111
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str.4, i32 noundef 454, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

119:                                              ; preds = %117
  %120 = load ptr, ptr %1, align 8, !tbaa !5
  %121 = call i64 @sc_str_len(ptr noundef %120)
  %122 = icmp eq i64 %121, 12
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  br label %125

124:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.67, ptr noundef @.str.4, i32 noundef 455, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

125:                                              ; preds = %123
  %126 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.68, ptr noundef @.str.69)
  br i1 %126, label %127, label %128

127:                                              ; preds = %125
  br label %129

128:                                              ; preds = %125
  call void @__assert_fail(ptr noundef @.str.70, ptr noundef @.str.4, i32 noundef 456, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

129:                                              ; preds = %127
  %130 = load ptr, ptr %1, align 8, !tbaa !5
  %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str.65) #6
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %129
  br label %135

134:                                              ; preds = %129
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str.4, i32 noundef 457, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

135:                                              ; preds = %133
  %136 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.69, ptr noundef @.str.71)
  br i1 %136, label %137, label %138

137:                                              ; preds = %135
  br label %139

138:                                              ; preds = %135
  call void @__assert_fail(ptr noundef @.str.72, ptr noundef @.str.4, i32 noundef 458, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

139:                                              ; preds = %137
  %140 = load ptr, ptr %1, align 8, !tbaa !5
  %141 = call i32 @strcmp(ptr noundef %140, ptr noundef @.str.73) #6
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %139
  br label %145

144:                                              ; preds = %139
  call void @__assert_fail(ptr noundef @.str.74, ptr noundef @.str.4, i32 noundef 459, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

145:                                              ; preds = %143
  %146 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.75, ptr noundef @.str.9)
  br i1 %146, label %147, label %148

147:                                              ; preds = %145
  br label %149

148:                                              ; preds = %145
  call void @__assert_fail(ptr noundef @.str.76, ptr noundef @.str.4, i32 noundef 460, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

149:                                              ; preds = %147
  %150 = load ptr, ptr %1, align 8, !tbaa !5
  %151 = call i32 @strcmp(ptr noundef %150, ptr noundef @.str.9) #6
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %149
  br label %155

154:                                              ; preds = %149
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.4, i32 noundef 461, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

155:                                              ; preds = %153
  call void @sc_str_destroy(ptr noundef %1)
  %156 = call ptr @sc_str_create(ptr noundef @.str.77)
  store ptr %156, ptr %1, align 8, !tbaa !5
  %157 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.78)
  %158 = load ptr, ptr %1, align 8, !tbaa !5
  %159 = call i32 @strcmp(ptr noundef %158, ptr noundef @.str.79) #6
  %160 = icmp eq i32 %159, 0
  br i1 %160, label %161, label %162

161:                                              ; preds = %155
  br label %163

162:                                              ; preds = %155
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str.4, i32 noundef 466, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

163:                                              ; preds = %161
  %164 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.81)
  %165 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.78)
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = call i32 @strcmp(ptr noundef %166, ptr noundef @.str.81) #6
  %168 = icmp eq i32 %167, 0
  br i1 %168, label %169, label %170

169:                                              ; preds = %163
  br label %171

170:                                              ; preds = %163
  call void @__assert_fail(ptr noundef @.str.82, ptr noundef @.str.4, i32 noundef 469, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

171:                                              ; preds = %169
  %172 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.81)
  %173 = load ptr, ptr %1, align 8, !tbaa !5
  %174 = call i32 @strcmp(ptr noundef %173, ptr noundef @.str.9) #6
  %175 = icmp eq i32 %174, 0
  br i1 %175, label %176, label %177

176:                                              ; preds = %171
  br label %178

177:                                              ; preds = %171
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.4, i32 noundef 471, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

178:                                              ; preds = %176
  %179 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.83)
  %180 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.84)
  call void @sc_str_destroy(ptr noundef %1)
  %181 = call ptr @sc_str_create(ptr noundef @.str.85)
  store ptr %181, ptr %1, align 8, !tbaa !5
  %182 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.64)
  %183 = load ptr, ptr %1, align 8, !tbaa !5
  %184 = call i32 @strcmp(ptr noundef %183, ptr noundef @.str.86) #6
  %185 = icmp eq i32 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %178
  br label %188

187:                                              ; preds = %178
  call void @__assert_fail(ptr noundef @.str.87, ptr noundef @.str.4, i32 noundef 479, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

188:                                              ; preds = %186
  %189 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.64, ptr noundef @.str.9)
  %190 = load ptr, ptr %1, align 8, !tbaa !5
  %191 = call i32 @strcmp(ptr noundef %190, ptr noundef @.str.88) #6
  %192 = icmp eq i32 %191, 0
  br i1 %192, label %193, label %194

193:                                              ; preds = %188
  br label %195

194:                                              ; preds = %188
  call void @__assert_fail(ptr noundef @.str.89, ptr noundef @.str.4, i32 noundef 481, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

195:                                              ; preds = %193
  call void @sc_str_destroy(ptr noundef %1)
  %196 = call ptr @sc_str_create(ptr noundef @.str.88)
  store ptr %196, ptr %1, align 8, !tbaa !5
  %197 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.90, ptr noundef @.str.91)
  %198 = load ptr, ptr %1, align 8, !tbaa !5
  %199 = call i32 @strcmp(ptr noundef %198, ptr noundef @.str.92) #6
  %200 = icmp eq i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %195
  br label %203

202:                                              ; preds = %195
  call void @__assert_fail(ptr noundef @.str.93, ptr noundef @.str.4, i32 noundef 486, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

203:                                              ; preds = %201
  call void @sc_str_destroy(ptr noundef %1)
  %204 = call ptr @sc_str_create(ptr noundef null)
  store ptr %204, ptr %1, align 8, !tbaa !5
  %205 = load ptr, ptr %1, align 8, !tbaa !5
  %206 = icmp ne ptr %205, null
  br i1 %206, label %207, label %211

207:                                              ; preds = %203
  %208 = load ptr, ptr %1, align 8, !tbaa !5
  %209 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.94, ptr noundef %208, ptr noundef @.str.95)
  %210 = zext i1 %209 to i32
  br label %214

211:                                              ; preds = %203
  %212 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.96, ptr noundef @.str.95)
  %213 = zext i1 %212 to i32
  br label %214

214:                                              ; preds = %211, %207
  %215 = phi i32 [ %210, %207 ], [ %213, %211 ]
  %216 = icmp eq i32 %215, 1
  br i1 %216, label %217, label %218

217:                                              ; preds = %214
  br label %219

218:                                              ; preds = %214
  call void @__assert_fail(ptr noundef @.str.97, ptr noundef @.str.4, i32 noundef 490, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

219:                                              ; preds = %217
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = call i32 @strcmp(ptr noundef %220, ptr noundef @.str.95) #6
  %222 = icmp eq i32 %221, 0
  br i1 %222, label %223, label %224

223:                                              ; preds = %219
  br label %225

224:                                              ; preds = %219
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.4, i32 noundef 491, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

225:                                              ; preds = %223
  call void @sc_str_destroy(ptr noundef %1)
  %226 = call ptr @sc_str_create(ptr noundef null)
  store ptr %226, ptr %1, align 8, !tbaa !5
  %227 = call zeroext i1 @sc_str_append(ptr noundef %1, ptr noundef @.str.95)
  %228 = load ptr, ptr %1, align 8, !tbaa !5
  %229 = call i32 @strcmp(ptr noundef %228, ptr noundef @.str.95) #6
  %230 = icmp eq i32 %229, 0
  br i1 %230, label %231, label %232

231:                                              ; preds = %225
  br label %233

232:                                              ; preds = %225
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.4, i32 noundef 496, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

233:                                              ; preds = %231
  call void @sc_str_destroy(ptr noundef %1)
  %234 = call ptr @sc_str_create(ptr noundef null)
  store ptr %234, ptr %1, align 8, !tbaa !5
  %235 = call zeroext i1 @sc_str_trim(ptr noundef %1, ptr noundef @.str.12)
  %236 = zext i1 %235 to i32
  %237 = icmp eq i32 %236, 1
  br i1 %237, label %238, label %239

238:                                              ; preds = %233
  br label %240

239:                                              ; preds = %233
  call void @__assert_fail(ptr noundef @.str.99, ptr noundef @.str.4, i32 noundef 500, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

240:                                              ; preds = %238
  %241 = load ptr, ptr %1, align 8, !tbaa !5
  %242 = icmp eq ptr %241, null
  br i1 %242, label %243, label %244

243:                                              ; preds = %240
  br label %245

244:                                              ; preds = %240
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str.4, i32 noundef 501, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

245:                                              ; preds = %243
  %246 = call zeroext i1 @sc_str_replace(ptr noundef %1, ptr noundef @.str.81, ptr noundef @.str.12)
  %247 = zext i1 %246 to i32
  %248 = icmp eq i32 %247, 1
  br i1 %248, label %249, label %250

249:                                              ; preds = %245
  br label %251

250:                                              ; preds = %245
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.4, i32 noundef 502, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

251:                                              ; preds = %249
  %252 = load ptr, ptr %1, align 8, !tbaa !5
  %253 = icmp eq ptr %252, null
  br i1 %253, label %254, label %255

254:                                              ; preds = %251
  br label %256

255:                                              ; preds = %251
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str.4, i32 noundef 503, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

256:                                              ; preds = %254
  %257 = call zeroext i1 @sc_str_substring(ptr noundef %1, i32 noundef 0, i32 noundef 0)
  %258 = zext i1 %257 to i32
  %259 = icmp eq i32 %258, 0
  br i1 %259, label %260, label %261

260:                                              ; preds = %256
  br label %262

261:                                              ; preds = %256
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str.4, i32 noundef 504, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

262:                                              ; preds = %260
  %263 = load ptr, ptr %1, align 8, !tbaa !5
  %264 = icmp eq ptr %263, null
  br i1 %264, label %265, label %266

265:                                              ; preds = %262
  br label %267

266:                                              ; preds = %262
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str.4, i32 noundef 505, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

267:                                              ; preds = %265
  %268 = load ptr, ptr %1, align 8, !tbaa !5
  %269 = call ptr @sc_str_dup(ptr noundef %268)
  %270 = icmp eq ptr %269, null
  br i1 %270, label %271, label %272

271:                                              ; preds = %267
  br label %273

272:                                              ; preds = %267
  call void @__assert_fail(ptr noundef @.str.103, ptr noundef @.str.4, i32 noundef 506, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

273:                                              ; preds = %271
  %274 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.95)
  %275 = zext i1 %274 to i32
  %276 = icmp eq i32 %275, 1
  br i1 %276, label %277, label %278

277:                                              ; preds = %273
  br label %279

278:                                              ; preds = %273
  call void @__assert_fail(ptr noundef @.str.104, ptr noundef @.str.4, i32 noundef 507, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

279:                                              ; preds = %277
  %280 = load ptr, ptr %1, align 8, !tbaa !5
  %281 = call i32 @strcmp(ptr noundef %280, ptr noundef @.str.95) #6
  %282 = icmp eq i32 %281, 0
  br i1 %282, label %283, label %284

283:                                              ; preds = %279
  br label %285

284:                                              ; preds = %279
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.4, i32 noundef 508, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

285:                                              ; preds = %283
  call void @sc_str_destroy(ptr noundef %1)
  %286 = call ptr @sc_str_create(ptr noundef null)
  store ptr %286, ptr %1, align 8, !tbaa !5
  %287 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef %1, ptr noundef @.str.96, ptr noundef @.str.95)
  %288 = zext i1 %287 to i32
  %289 = icmp eq i32 %288, 1
  br i1 %289, label %290, label %291

290:                                              ; preds = %285
  br label %292

291:                                              ; preds = %285
  call void @__assert_fail(ptr noundef @.str.105, ptr noundef @.str.4, i32 noundef 512, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

292:                                              ; preds = %290
  %293 = load ptr, ptr %1, align 8, !tbaa !5
  %294 = call i32 @strcmp(ptr noundef %293, ptr noundef @.str.95) #6
  %295 = icmp eq i32 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %292
  br label %298

297:                                              ; preds = %292
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.4, i32 noundef 513, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

298:                                              ; preds = %296
  call void @sc_str_destroy(ptr noundef %1)
  %299 = call ptr @sc_str_create(ptr noundef null)
  store ptr %299, ptr %1, align 8, !tbaa !5
  %300 = call zeroext i1 @sc_str_set(ptr noundef %1, ptr noundef @.str.95)
  %301 = zext i1 %300 to i32
  %302 = icmp eq i32 %301, 1
  br i1 %302, label %303, label %304

303:                                              ; preds = %298
  br label %305

304:                                              ; preds = %298
  call void @__assert_fail(ptr noundef @.str.104, ptr noundef @.str.4, i32 noundef 517, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

305:                                              ; preds = %303
  %306 = load ptr, ptr %1, align 8, !tbaa !5
  %307 = call i32 @strcmp(ptr noundef %306, ptr noundef @.str.95) #6
  %308 = icmp eq i32 %307, 0
  br i1 %308, label %309, label %310

309:                                              ; preds = %305
  br label %311

310:                                              ; preds = %305
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.4, i32 noundef 518, ptr noundef @__PRETTY_FUNCTION__.test5) #7
  unreachable

311:                                              ; preds = %309
  call void @sc_str_destroy(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

declare ptr @sc_str_dup(ptr noundef) #1

declare zeroext i1 @sc_str_set_fmt(ptr noundef, ptr noundef, ...) #1

declare zeroext i1 @sc_str_append(ptr noundef, ptr noundef) #1

declare zeroext i1 @sc_str_substring(ptr noundef, i32 noundef, i32 noundef) #1

declare zeroext i1 @sc_str_trim(ptr noundef, ptr noundef) #1

declare zeroext i1 @sc_str_replace(ptr noundef, ptr noundef, ptr noundef) #1

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; 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.4 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__.test5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [44 x i8], align 1

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

declare ptr @sc_str_create(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare i64 @sc_str_len(ptr noundef) local_unnamed_addr #1

declare void @sc_str_destroy(ptr noundef) local_unnamed_addr #1

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

declare zeroext i1 @sc_str_set(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @test5() local_unnamed_addr #4 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %3 = tail call ptr @sc_str_create(ptr noundef nonnull @.str.33) #5
  store ptr %3, ptr %1, align 8, !tbaa !5
  %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.33) #6
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %7, label %6

6:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.4, i32 noundef 423, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

7:                                                ; preds = %0
  %8 = tail call i64 @sc_str_len(ptr noundef %3) #5
  %9 = icmp eq i64 %8, 4
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.4, i32 noundef 424, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

11:                                               ; preds = %7
  %12 = tail call ptr @sc_str_dup(ptr noundef %3) #5
  store ptr %12, ptr %2, align 8, !tbaa !5
  %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(1) @.str.33) #6
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.4, i32 noundef 426, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

16:                                               ; preds = %11
  %17 = tail call i64 @sc_str_len(ptr noundef %12) #5
  %18 = icmp eq i64 %17, 4
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.4, i32 noundef 427, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

20:                                               ; preds = %16
  %21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %12) #6
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  tail call void @__assert_fail(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.4, i32 noundef 428, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

24:                                               ; preds = %20
  call void @sc_str_destroy(ptr noundef nonnull %2) #5
  %25 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.39) #5
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) @.str.39) #6
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  call void @__assert_fail(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.4, i32 noundef 432, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

30:                                               ; preds = %24
  %31 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.41, i32 noundef 3) #5
  %32 = load ptr, ptr %1, align 8, !tbaa !5
  %33 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %32, ptr noundef nonnull dereferenceable(1) @.str.42) #6
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %36, label %35

35:                                               ; preds = %30
  call void @__assert_fail(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.4, i32 noundef 434, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

36:                                               ; preds = %30
  %37 = call zeroext i1 @sc_str_append(ptr noundef nonnull %1, ptr noundef nonnull @.str.44) #5
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %38, ptr noundef nonnull dereferenceable(1) @.str.45) #6
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %42, label %41

41:                                               ; preds = %36
  call void @__assert_fail(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.4, i32 noundef 436, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

42:                                               ; preds = %36
  %.not = icmp eq ptr %38, null
  br i1 %.not, label %45, label %43

43:                                               ; preds = %42
  %44 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.47, ptr noundef nonnull %38, i32 noundef 7) #5
  br label %47

45:                                               ; preds = %42
  %46 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.48, i32 noundef 7) #5
  br label %47

47:                                               ; preds = %45, %43
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %48, ptr noundef nonnull dereferenceable(1) @.str.49) #6
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.4, i32 noundef 438, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

52:                                               ; preds = %47
  %53 = call zeroext i1 @sc_str_substring(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 4) #5
  %54 = load ptr, ptr %1, align 8, !tbaa !5
  %55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.33) #6
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %58, label %57

57:                                               ; preds = %52
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.4, i32 noundef 440, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

58:                                               ; preds = %52
  %59 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.51) #5
  %60 = load ptr, ptr %1, align 8, !tbaa !5
  %61 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %60, ptr noundef nonnull dereferenceable(1) @.str.9) #6
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %64, label %63

63:                                               ; preds = %58
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.4, i32 noundef 442, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

64:                                               ; preds = %58
  %65 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.53) #5
  %66 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.54) #5
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %67, ptr noundef nonnull dereferenceable(1) @.str.55) #6
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %71, label %70

70:                                               ; preds = %64
  call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.4, i32 noundef 445, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

71:                                               ; preds = %64
  %72 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.57) #5
  %73 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.8) #5
  %74 = load ptr, ptr %1, align 8, !tbaa !5
  %75 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %74, ptr noundef nonnull dereferenceable(1) @.str.59) #6
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %71
  call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.4, i32 noundef 449, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

78:                                               ; preds = %71
  %79 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.61) #5
  %80 = load ptr, ptr %1, align 8, !tbaa !5
  %81 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %80, ptr noundef nonnull dereferenceable(1) @.str.62) #6
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %84, label %83

83:                                               ; preds = %78
  call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.4, i32 noundef 451, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

84:                                               ; preds = %78
  %85 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9) #5
  %86 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.9) #5
  %87 = load ptr, ptr %1, align 8, !tbaa !5
  %88 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %87, ptr noundef nonnull dereferenceable(1) @.str.65) #6
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %91, label %90

90:                                               ; preds = %84
  call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.4, i32 noundef 454, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

91:                                               ; preds = %84
  %92 = call i64 @sc_str_len(ptr noundef %87) #5
  %93 = icmp eq i64 %92, 12
  br i1 %93, label %95, label %94

94:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.67, ptr noundef nonnull @.str.4, i32 noundef 455, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

95:                                               ; preds = %91
  %96 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.68, ptr noundef nonnull @.str.69) #5
  br i1 %96, label %98, label %97

97:                                               ; preds = %95
  call void @__assert_fail(ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.4, i32 noundef 456, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

98:                                               ; preds = %95
  %99 = load ptr, ptr %1, align 8, !tbaa !5
  %100 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %99, ptr noundef nonnull dereferenceable(1) @.str.65) #6
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.4, i32 noundef 457, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

103:                                              ; preds = %98
  %104 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.69, ptr noundef nonnull @.str.71) #5
  br i1 %104, label %106, label %105

105:                                              ; preds = %103
  call void @__assert_fail(ptr noundef nonnull @.str.72, ptr noundef nonnull @.str.4, i32 noundef 458, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

106:                                              ; preds = %103
  %107 = load ptr, ptr %1, align 8, !tbaa !5
  %108 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %107, ptr noundef nonnull dereferenceable(1) @.str.73) #6
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %111, label %110

110:                                              ; preds = %106
  call void @__assert_fail(ptr noundef nonnull @.str.74, ptr noundef nonnull @.str.4, i32 noundef 459, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

111:                                              ; preds = %106
  %112 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.75, ptr noundef nonnull @.str.9) #5
  br i1 %112, label %114, label %113

113:                                              ; preds = %111
  call void @__assert_fail(ptr noundef nonnull @.str.76, ptr noundef nonnull @.str.4, i32 noundef 460, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

114:                                              ; preds = %111
  %115 = load ptr, ptr %1, align 8, !tbaa !5
  %116 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %115, ptr noundef nonnull dereferenceable(1) @.str.9) #6
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.4, i32 noundef 461, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

119:                                              ; preds = %114
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %120 = call ptr @sc_str_create(ptr noundef nonnull @.str.77) #5
  store ptr %120, ptr %1, align 8, !tbaa !5
  %121 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.78) #5
  %122 = load ptr, ptr %1, align 8, !tbaa !5
  %123 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %122, ptr noundef nonnull dereferenceable(1) @.str.79) #6
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %126, label %125

125:                                              ; preds = %119
  call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str.4, i32 noundef 466, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

126:                                              ; preds = %119
  %127 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.81) #5
  %128 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.78) #5
  %129 = load ptr, ptr %1, align 8, !tbaa !5
  %130 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %129, ptr noundef nonnull dereferenceable(1) @.str.81) #6
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %133, label %132

132:                                              ; preds = %126
  call void @__assert_fail(ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.4, i32 noundef 469, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

133:                                              ; preds = %126
  %134 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.81) #5
  %135 = load ptr, ptr %1, align 8, !tbaa !5
  %136 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %135, ptr noundef nonnull dereferenceable(1) @.str.9) #6
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %139, label %138

138:                                              ; preds = %133
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.4, i32 noundef 471, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

139:                                              ; preds = %133
  %140 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.83) #5
  %141 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.84) #5
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %142 = call ptr @sc_str_create(ptr noundef nonnull @.str.85) #5
  store ptr %142, ptr %1, align 8, !tbaa !5
  %143 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.64) #5
  %144 = load ptr, ptr %1, align 8, !tbaa !5
  %145 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %144, ptr noundef nonnull dereferenceable(1) @.str.86) #6
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %148, label %147

147:                                              ; preds = %139
  call void @__assert_fail(ptr noundef nonnull @.str.87, ptr noundef nonnull @.str.4, i32 noundef 479, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

148:                                              ; preds = %139
  %149 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.9) #5
  %150 = load ptr, ptr %1, align 8, !tbaa !5
  %151 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %150, ptr noundef nonnull dereferenceable(1) @.str.88) #6
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %154, label %153

153:                                              ; preds = %148
  call void @__assert_fail(ptr noundef nonnull @.str.89, ptr noundef nonnull @.str.4, i32 noundef 481, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

154:                                              ; preds = %148
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %155 = call ptr @sc_str_create(ptr noundef nonnull @.str.88) #5
  store ptr %155, ptr %1, align 8, !tbaa !5
  %156 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.90, ptr noundef nonnull @.str.91) #5
  %157 = load ptr, ptr %1, align 8, !tbaa !5
  %158 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %157, ptr noundef nonnull dereferenceable(1) @.str.92) #6
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %161, label %160

160:                                              ; preds = %154
  call void @__assert_fail(ptr noundef nonnull @.str.93, ptr noundef nonnull @.str.4, i32 noundef 486, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

161:                                              ; preds = %154
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %162 = call ptr @sc_str_create(ptr noundef null) #5
  store ptr %162, ptr %1, align 8, !tbaa !5
  %.not3 = icmp eq ptr %162, null
  br i1 %.not3, label %165, label %163

163:                                              ; preds = %161
  %164 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.94, ptr noundef nonnull %162, ptr noundef nonnull @.str.95) #5
  br i1 %164, label %168, label %167

165:                                              ; preds = %161
  %166 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.96, ptr noundef nonnull @.str.95) #5
  br i1 %166, label %168, label %167

167:                                              ; preds = %163, %165
  call void @__assert_fail(ptr noundef nonnull @.str.97, ptr noundef nonnull @.str.4, i32 noundef 490, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

168:                                              ; preds = %163, %165
  %169 = load ptr, ptr %1, align 8, !tbaa !5
  %170 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %169, ptr noundef nonnull dereferenceable(1) @.str.95) #6
  %171 = icmp eq i32 %170, 0
  br i1 %171, label %173, label %172

172:                                              ; preds = %168
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.4, i32 noundef 491, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

173:                                              ; preds = %168
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %174 = call ptr @sc_str_create(ptr noundef null) #5
  store ptr %174, ptr %1, align 8, !tbaa !5
  %175 = call zeroext i1 @sc_str_append(ptr noundef nonnull %1, ptr noundef nonnull @.str.95) #5
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %176, ptr noundef nonnull dereferenceable(1) @.str.95) #6
  %178 = icmp eq i32 %177, 0
  br i1 %178, label %180, label %179

179:                                              ; preds = %173
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.4, i32 noundef 496, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

180:                                              ; preds = %173
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %181 = call ptr @sc_str_create(ptr noundef null) #5
  store ptr %181, ptr %1, align 8, !tbaa !5
  %182 = call zeroext i1 @sc_str_trim(ptr noundef nonnull %1, ptr noundef nonnull @.str.12) #5
  br i1 %182, label %184, label %183

183:                                              ; preds = %180
  call void @__assert_fail(ptr noundef nonnull @.str.99, ptr noundef nonnull @.str.4, i32 noundef 500, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

184:                                              ; preds = %180
  %185 = load ptr, ptr %1, align 8, !tbaa !5
  %186 = icmp eq ptr %185, null
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str.4, i32 noundef 501, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

188:                                              ; preds = %184
  %189 = call zeroext i1 @sc_str_replace(ptr noundef nonnull %1, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.12) #5
  br i1 %189, label %191, label %190

190:                                              ; preds = %188
  call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.4, i32 noundef 502, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

191:                                              ; preds = %188
  %192 = load ptr, ptr %1, align 8, !tbaa !5
  %193 = icmp eq ptr %192, null
  br i1 %193, label %195, label %194

194:                                              ; preds = %191
  call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str.4, i32 noundef 503, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

195:                                              ; preds = %191
  %196 = call zeroext i1 @sc_str_substring(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0) #5
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str.4, i32 noundef 504, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

198:                                              ; preds = %195
  %199 = load ptr, ptr %1, align 8, !tbaa !5
  %200 = icmp eq ptr %199, null
  br i1 %200, label %202, label %201

201:                                              ; preds = %198
  call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str.4, i32 noundef 505, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

202:                                              ; preds = %198
  %203 = call ptr @sc_str_dup(ptr noundef null) #5
  %204 = icmp eq ptr %203, null
  br i1 %204, label %206, label %205

205:                                              ; preds = %202
  call void @__assert_fail(ptr noundef nonnull @.str.103, ptr noundef nonnull @.str.4, i32 noundef 506, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

206:                                              ; preds = %202
  %207 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.95) #5
  br i1 %207, label %209, label %208

208:                                              ; preds = %206
  call void @__assert_fail(ptr noundef nonnull @.str.104, ptr noundef nonnull @.str.4, i32 noundef 507, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

209:                                              ; preds = %206
  %210 = load ptr, ptr %1, align 8, !tbaa !5
  %211 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %210, ptr noundef nonnull dereferenceable(1) @.str.95) #6
  %212 = icmp eq i32 %211, 0
  br i1 %212, label %214, label %213

213:                                              ; preds = %209
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.4, i32 noundef 508, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

214:                                              ; preds = %209
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %215 = call ptr @sc_str_create(ptr noundef null) #5
  store ptr %215, ptr %1, align 8, !tbaa !5
  %216 = call zeroext i1 (ptr, ptr, ...) @sc_str_set_fmt(ptr noundef nonnull %1, ptr noundef nonnull @.str.96, ptr noundef nonnull @.str.95) #5
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  call void @__assert_fail(ptr noundef nonnull @.str.105, ptr noundef nonnull @.str.4, i32 noundef 512, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

218:                                              ; preds = %214
  %219 = load ptr, ptr %1, align 8, !tbaa !5
  %220 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %219, ptr noundef nonnull dereferenceable(1) @.str.95) #6
  %221 = icmp eq i32 %220, 0
  br i1 %221, label %223, label %222

222:                                              ; preds = %218
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.4, i32 noundef 513, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

223:                                              ; preds = %218
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  %224 = call ptr @sc_str_create(ptr noundef null) #5
  store ptr %224, ptr %1, align 8, !tbaa !5
  %225 = call zeroext i1 @sc_str_set(ptr noundef nonnull %1, ptr noundef nonnull @.str.95) #5
  br i1 %225, label %227, label %226

226:                                              ; preds = %223
  call void @__assert_fail(ptr noundef nonnull @.str.104, ptr noundef nonnull @.str.4, i32 noundef 517, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

227:                                              ; preds = %223
  %228 = load ptr, ptr %1, align 8, !tbaa !5
  %229 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %228, ptr noundef nonnull dereferenceable(1) @.str.95) #6
  %230 = icmp eq i32 %229, 0
  br i1 %230, label %232, label %231

231:                                              ; preds = %227
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.4, i32 noundef 518, ptr noundef nonnull @__PRETTY_FUNCTION__.test5) #7
  unreachable

232:                                              ; preds = %227
  call void @sc_str_destroy(ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret void
}

declare ptr @sc_str_dup(ptr noundef) local_unnamed_addr #1

declare zeroext i1 @sc_str_set_fmt(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare zeroext i1 @sc_str_append(ptr noundef, ptr noundef) local_unnamed_addr #1

declare zeroext i1 @sc_str_substring(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare zeroext i1 @sc_str_trim(ptr noundef, ptr noundef) local_unnamed_addr #1

declare zeroext i1 @sc_str_replace(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SimplifyCFGPass,TailCallElimPass