; LLVM IR from davidesantangelo/krep :: test (test_krep)

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

@tests_passed = external dso_local global i32, align 4
@tests_failed = external dso_local global i32, align 4
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [24 x i8], align 1
@__const.test_additional_cases.multi_patterns = external hidden unnamed_addr constant [2 x ptr], align 16
@__const.test_additional_cases.multi_lens = external hidden unnamed_addr constant [2 x i64], align 16
@.str.148 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.test_additional_cases.binary_data = external hidden unnamed_addr constant [8 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @create_literal_params(ptr dead_on_unwind noalias writable sret(%struct.search_params) align 8, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #0

; Function Attrs: nounwind uwtable
declare dso_local void @create_regex_params(ptr dead_on_unwind noalias writable sret(%struct.search_params) align 8, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @cleanup_params(ptr noundef) #0

declare void @ac_trie_free(ptr noundef) #2

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

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

declare ptr @match_result_init(i64 noundef) #2

declare i64 @boyer_moore_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

declare void @match_result_free(ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare i64 @regex_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

declare ptr @ac_trie_build(ptr noundef) #2

declare i64 @aho_corasick_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @test_additional_cases() #0 {
  %1 = alloca %struct.search_params, align 8
  %2 = alloca %struct.search_params, align 8
  %3 = alloca ptr, align 8
  %4 = alloca [2 x ptr], align 16
  %5 = alloca [2 x i64], align 16
  %6 = alloca %struct.search_params, align 8
  %7 = alloca [8 x i8], align 1
  %8 = alloca %struct.search_params, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca %struct.search_params, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.search_params, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.search_params, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.139)
  call void @llvm.lifetime.start.p0(i64 72, ptr %1) #5
  call void @create_regex_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %1, ptr noundef @.str.140, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  br label %21

21:                                               ; preds = %0
  %22 = call i64 @regex_search(ptr noundef %1, ptr noundef @.str.23, i64 noundef 0, ptr noundef null)
  %23 = icmp eq i64 %22, 1
  br i1 %23, label %24, label %28

24:                                               ; preds = %21
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.141)
  %26 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr @tests_passed, align 4, !tbaa !5
  br label %32

28:                                               ; preds = %21
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.141)
  %30 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @tests_failed, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %28, %24
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  call void @cleanup_params(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 72, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %2) #5
  call void @create_regex_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %2, ptr noundef @.str.142, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  br label %35

35:                                               ; preds = %34
  %36 = call i64 @regex_search(ptr noundef %2, ptr noundef @.str.143, i64 noundef 11, ptr noundef null)
  %37 = icmp eq i64 %36, 2
  br i1 %37, label %38, label %42

38:                                               ; preds = %35
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.144)
  %40 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr @tests_passed, align 4, !tbaa !5
  br label %46

42:                                               ; preds = %35
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.144)
  %44 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr @tests_failed, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %42, %38
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  call void @cleanup_params(ptr noundef %2)
  call void @llvm.lifetime.end.p0(i64 72, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store ptr @.str.145, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test_additional_cases.multi_patterns, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_additional_cases.multi_lens, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #5
  %49 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 0
  store ptr null, ptr %49, align 8, !tbaa !11
  %50 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 1
  store i64 0, ptr %50, align 8, !tbaa !15
  %51 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 2
  %52 = getelementptr inbounds [2 x ptr], ptr %4, i64 0, i64 0
  store ptr %52, ptr %51, align 8, !tbaa !16
  %53 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 3
  %54 = getelementptr inbounds [2 x i64], ptr %5, i64 0, i64 0
  store ptr %54, ptr %53, align 8, !tbaa !17
  %55 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 4
  store i64 2, ptr %55, align 8, !tbaa !18
  %56 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 5
  store i8 1, ptr %56, align 8, !tbaa !19
  %57 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 6
  store i8 0, ptr %57, align 1, !tbaa !20
  %58 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 7
  store i8 0, ptr %58, align 2, !tbaa !21
  %59 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 8
  store i8 1, ptr %59, align 1, !tbaa !22
  %60 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 9
  store i8 0, ptr %60, align 4, !tbaa !23
  %61 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 10
  store i8 0, ptr %61, align 1, !tbaa !24
  %62 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 11
  store ptr null, ptr %62, align 8, !tbaa !25
  %63 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 12
  store ptr null, ptr %63, align 8, !tbaa !26
  %64 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 13
  store i64 -1, ptr %64, align 8, !tbaa !27
  %65 = call ptr @ac_trie_build(ptr noundef %6)
  %66 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 12
  store ptr %65, ptr %66, align 8, !tbaa !26
  %67 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 12
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = icmp ne ptr %68, null
  br i1 %69, label %74, label %70

70:                                               ; preds = %48
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.148)
  %72 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr @tests_failed, align 4, !tbaa !5
  br label %94

74:                                               ; preds = %48
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %3, align 8, !tbaa !9
  %77 = load ptr, ptr %3, align 8, !tbaa !9
  %78 = call i64 @strlen(ptr noundef %77) #6
  %79 = call i64 @aho_corasick_search(ptr noundef %6, ptr noundef %76, i64 noundef %78, ptr noundef null)
  %80 = icmp eq i64 %79, 4
  br i1 %80, label %81, label %85

81:                                               ; preds = %75
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.149)
  %83 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr @tests_passed, align 4, !tbaa !5
  br label %89

85:                                               ; preds = %75
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.149)
  %87 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr @tests_failed, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %85, %81
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  %92 = getelementptr inbounds %struct.search_params, ptr %6, i32 0, i32 12
  %93 = load ptr, ptr %92, align 8, !tbaa !26
  call void @ac_trie_free(ptr noundef %93)
  br label %94

94:                                               ; preds = %91, %70
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.test_additional_cases.binary_data, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %8) #5
  call void @create_literal_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %8, ptr noundef @.str.29, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  br label %95

95:                                               ; preds = %94
  %96 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
  %97 = call i64 @boyer_moore_search(ptr noundef %8, ptr noundef %96, i64 noundef 8, ptr noundef null)
  %98 = icmp eq i64 %97, 0
  br i1 %98, label %99, label %103

99:                                               ; preds = %95
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.150)
  %101 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr @tests_passed, align 4, !tbaa !5
  br label %107

103:                                              ; preds = %95
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.150)
  %105 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr @tests_failed, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %103, %99
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  call void @cleanup_params(ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 72, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr @.str.151, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %110 = load ptr, ptr %9, align 8, !tbaa !9
  %111 = call i64 @strlen(ptr noundef %110) #6
  store i64 %111, ptr %10, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #5
  call void @create_literal_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %11, ptr noundef @.str.152, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  br label %112

112:                                              ; preds = %109
  %113 = load ptr, ptr %9, align 8, !tbaa !9
  %114 = call i64 @boyer_moore_search(ptr noundef %11, ptr noundef %113, i64 noundef 8, ptr noundef null)
  %115 = icmp eq i64 %114, 0
  br i1 %115, label %116, label %120

116:                                              ; preds = %112
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.153)
  %118 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr @tests_passed, align 4, !tbaa !5
  br label %124

120:                                              ; preds = %112
  %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.153)
  %122 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr @tests_failed, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %120, %116
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  %128 = load ptr, ptr %9, align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %128, i64 4
  %130 = load i64, ptr %10, align 8, !tbaa !28
  %131 = sub i64 %130, 4
  %132 = call i64 @boyer_moore_search(ptr noundef %11, ptr noundef %129, i64 noundef %131, ptr noundef null)
  %133 = icmp eq i64 %132, 1
  br i1 %133, label %134, label %138

134:                                              ; preds = %127
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.154)
  %136 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr @tests_passed, align 4, !tbaa !5
  br label %142

138:                                              ; preds = %127
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.154)
  %140 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr @tests_failed, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %138, %134
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  call void @cleanup_params(ptr noundef %11)
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store ptr @.str.155, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %13) #5
  call void @create_literal_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %13, ptr noundef @.str.41, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext true)
  %145 = getelementptr inbounds %struct.search_params, ptr %13, i32 0, i32 9
  store i8 1, ptr %145, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %146 = call ptr @match_result_init(i64 noundef 4)
  store ptr %146, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %147 = load ptr, ptr %12, align 8, !tbaa !9
  %148 = load ptr, ptr %12, align 8, !tbaa !9
  %149 = call i64 @strlen(ptr noundef %148) #6
  %150 = load ptr, ptr %14, align 8, !tbaa !9
  %151 = call i64 @boyer_moore_search(ptr noundef %13, ptr noundef %147, i64 noundef %149, ptr noundef %150)
  store i64 %151, ptr %15, align 8, !tbaa !28
  br label %152

152:                                              ; preds = %144
  %153 = load i64, ptr %15, align 8, !tbaa !28
  %154 = icmp eq i64 %153, 3
  br i1 %154, label %155, label %159

155:                                              ; preds = %152
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.156)
  %157 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr @tests_passed, align 4, !tbaa !5
  br label %163

159:                                              ; preds = %152
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.156)
  %161 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr @tests_failed, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %159, %155
  br label %164

164:                                              ; preds = %163
  br label %165

165:                                              ; preds = %164
  %166 = load ptr, ptr %14, align 8, !tbaa !9
  call void @match_result_free(ptr noundef %166)
  call void @cleanup_params(ptr noundef %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store ptr @.str.157, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %17) #5
  call void @create_literal_params(ptr dead_on_unwind writable sret(%struct.search_params) align 8 %17, ptr noundef @.str.158, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %167 = getelementptr inbounds %struct.search_params, ptr %17, i32 0, i32 10
  store i8 1, ptr %167, align 1, !tbaa !24
  %168 = getelementptr inbounds %struct.search_params, ptr %17, i32 0, i32 9
  store i8 1, ptr %168, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %169 = call ptr @match_result_init(i64 noundef 4)
  store ptr %169, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %170 = load ptr, ptr %16, align 8, !tbaa !9
  %171 = load ptr, ptr %16, align 8, !tbaa !9
  %172 = call i64 @strlen(ptr noundef %171) #6
  %173 = load ptr, ptr %18, align 8, !tbaa !9
  %174 = call i64 @boyer_moore_search(ptr noundef %17, ptr noundef %170, i64 noundef %172, ptr noundef %173)
  store i64 %174, ptr %19, align 8, !tbaa !28
  br label %175

175:                                              ; preds = %165
  %176 = load i64, ptr %19, align 8, !tbaa !28
  %177 = icmp eq i64 %176, 2
  br i1 %177, label %178, label %182

178:                                              ; preds = %175
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.159)
  %180 = load i32, ptr @tests_passed, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr @tests_passed, align 4, !tbaa !5
  br label %186

182:                                              ; preds = %175
  %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.159)
  %184 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr @tests_failed, align 4, !tbaa !5
  br label %186

186:                                              ; preds = %182, %178
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  %189 = load ptr, ptr %18, align 8, !tbaa !9
  call void @match_result_free(ptr noundef %189)
  call void @cleanup_params(ptr noundef %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  ret void
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"search_params", !10, i64 0, !13, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40, !14, i64 41, !14, i64 42, !14, i64 43, !14, i64 44, !14, i64 45, !10, i64 48, !10, i64 56, !13, i64 64}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_Bool", !7, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !10, i64 24}
!18 = !{!12, !13, i64 32}
!19 = !{!12, !14, i64 40}
!20 = !{!12, !14, i64 41}
!21 = !{!12, !14, i64 42}
!22 = !{!12, !14, i64 43}
!23 = !{!12, !14, i64 44}
!24 = !{!12, !14, i64 45}
!25 = !{!12, !10, i64 48}
!26 = !{!12, !10, i64 56}
!27 = !{!12, !13, i64 64}
!28 = !{!13, !13, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.search_params = type { ptr, i64, ptr, ptr, i64, i8, i8, i8, i8, i8, i8, ptr, ptr, i64 }

@tests_passed = external dso_local local_unnamed_addr global i32, align 4
@tests_failed = external dso_local local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [24 x i8], align 1
@__const.test_additional_cases.multi_patterns = external hidden unnamed_addr constant [2 x ptr], align 16
@__const.test_additional_cases.multi_lens = external hidden unnamed_addr constant [2 x i64], align 16
@.str.148 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.test_additional_cases.binary_data = external hidden unnamed_addr constant [8 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @create_literal_params(ptr dead_on_unwind noalias writable sret(%struct.search_params) align 8, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @create_regex_params(ptr dead_on_unwind noalias writable sret(%struct.search_params) align 8, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @cleanup_params(ptr noundef) local_unnamed_addr #0

declare void @ac_trie_free(ptr noundef) local_unnamed_addr #2

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

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

declare ptr @match_result_init(i64 noundef) local_unnamed_addr #2

declare i64 @boyer_moore_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @match_result_free(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare i64 @regex_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @ac_trie_build(ptr noundef) local_unnamed_addr #2

declare i64 @aho_corasick_search(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @test_additional_cases() local_unnamed_addr #0 {
  %1 = alloca %struct.search_params, align 8
  %2 = alloca %struct.search_params, align 8
  %3 = alloca [2 x ptr], align 16
  %4 = alloca [2 x i64], align 16
  %5 = alloca %struct.search_params, align 8
  %6 = alloca [8 x i8], align 8
  %7 = alloca %struct.search_params, align 8
  %8 = alloca %struct.search_params, align 8
  %9 = alloca %struct.search_params, align 8
  %10 = alloca %struct.search_params, align 8
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.139)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #7
  call void @create_regex_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %1, ptr noundef nonnull @.str.140, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %12 = call i64 @regex_search(ptr noundef nonnull %1, ptr noundef nonnull @.str.23, i64 noundef 0, ptr noundef null) #7
  %13 = icmp eq i64 %12, 1
  %.str.5..str.7 = select i1 %13, ptr @.str.5, ptr @.str.7
  %tests_passed.tests_failed = select i1 %13, ptr @tests_passed, ptr @tests_failed
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.7, ptr noundef nonnull @.str.141)
  %15 = load i32, ptr %tests_passed.tests_failed, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr %tests_passed.tests_failed, align 4, !tbaa !5
  call void @cleanup_params(ptr noundef nonnull %1)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #7
  call void @create_regex_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %2, ptr noundef nonnull @.str.142, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %17 = call i64 @regex_search(ptr noundef nonnull %2, ptr noundef nonnull @.str.143, i64 noundef 11, ptr noundef null) #7
  %18 = icmp eq i64 %17, 2
  %.str.7.sink20 = select i1 %18, ptr @.str.5, ptr @.str.7
  %tests_failed.sink19 = select i1 %18, ptr @tests_passed, ptr @tests_failed
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7.sink20, ptr noundef nonnull @.str.144)
  %20 = load i32, ptr %tests_failed.sink19, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %tests_failed.sink19, align 4, !tbaa !5
  call void @cleanup_params(ptr noundef nonnull %2)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_additional_cases.multi_patterns, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_additional_cases.multi_lens, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #7
  %22 = getelementptr inbounds i8, ptr %5, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  store ptr %3, ptr %22, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %4, ptr %23, align 8, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %5, i64 32
  store i64 2, ptr %24, align 8, !tbaa !15
  %25 = getelementptr inbounds i8, ptr %5, i64 40
  store <4 x i8> <i8 1, i8 0, i8 0, i8 1>, ptr %25, align 8, !tbaa !16
  %26 = getelementptr inbounds i8, ptr %5, i64 44
  store i8 0, ptr %26, align 4, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %5, i64 45
  store i8 0, ptr %27, align 1, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %5, i64 48
  %29 = getelementptr inbounds i8, ptr %5, i64 56
  %30 = getelementptr inbounds i8, ptr %5, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, i8 0, i64 16, i1 false)
  store i64 -1, ptr %30, align 8, !tbaa !19
  %31 = call ptr @ac_trie_build(ptr noundef nonnull %5) #7
  store ptr %31, ptr %29, align 8, !tbaa !20
  %.not = icmp eq ptr %31, null
  br i1 %.not, label %32, label %36

32:                                               ; preds = %0
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.148)
  %34 = load i32, ptr @tests_failed, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr @tests_failed, align 4, !tbaa !5
  br label %44

36:                                               ; preds = %0
  %37 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.145) #8
  %38 = call i64 @aho_corasick_search(ptr noundef nonnull %5, ptr noundef nonnull @.str.145, i64 noundef %37, ptr noundef null) #7
  %39 = icmp eq i64 %38, 4
  %.str.5..str.743 = select i1 %39, ptr @.str.5, ptr @.str.7
  %tests_passed.tests_failed44 = select i1 %39, ptr @tests_passed, ptr @tests_failed
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.743, ptr noundef nonnull @.str.149)
  %41 = load i32, ptr %tests_passed.tests_failed44, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %tests_passed.tests_failed44, align 4, !tbaa !5
  %43 = load ptr, ptr %29, align 8, !tbaa !20
  call void @ac_trie_free(ptr noundef %43) #7
  br label %44

44:                                               ; preds = %36, %32
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %45 = load i64, ptr @__const.test_additional_cases.binary_data, align 1
  store i64 %45, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #7
  call void @create_literal_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %7, ptr noundef nonnull @.str.29, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %46 = call i64 @boyer_moore_search(ptr noundef nonnull %7, ptr noundef nonnull %6, i64 noundef 8, ptr noundef null) #7
  %47 = icmp eq i64 %46, 0
  %.str.5..str.745 = select i1 %47, ptr @.str.5, ptr @.str.7
  %tests_passed.tests_failed46 = select i1 %47, ptr @tests_passed, ptr @tests_failed
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.745, ptr noundef nonnull @.str.150)
  %49 = load i32, ptr %tests_passed.tests_failed46, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %tests_passed.tests_failed46, align 4, !tbaa !5
  call void @cleanup_params(ptr noundef nonnull %7)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %51 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.151) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %8) #7
  call void @create_literal_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %8, ptr noundef nonnull @.str.152, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %52 = call i64 @boyer_moore_search(ptr noundef nonnull %8, ptr noundef nonnull @.str.151, i64 noundef 8, ptr noundef null) #7
  %53 = icmp eq i64 %52, 0
  %.str.5.sink = select i1 %53, ptr @.str.5, ptr @.str.7
  %tests_passed.sink30 = select i1 %53, ptr @tests_passed, ptr @tests_failed
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5.sink, ptr noundef nonnull @.str.153)
  %55 = load i32, ptr %tests_passed.sink30, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %tests_passed.sink30, align 4, !tbaa !5
  %57 = add i64 %51, -4
  %58 = call i64 @boyer_moore_search(ptr noundef nonnull %8, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.151, i64 4), i64 noundef %57, ptr noundef null) #7
  %59 = icmp eq i64 %58, 1
  %.str.7.sink34 = select i1 %59, ptr @.str.5, ptr @.str.7
  %tests_failed.sink33 = select i1 %59, ptr @tests_passed, ptr @tests_failed
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7.sink34, ptr noundef nonnull @.str.154)
  %61 = load i32, ptr %tests_failed.sink33, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %tests_failed.sink33, align 4, !tbaa !5
  call void @cleanup_params(ptr noundef nonnull %8)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %9) #7
  call void @create_literal_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %9, ptr noundef nonnull @.str.41, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext true)
  %63 = getelementptr inbounds i8, ptr %9, i64 44
  store i8 1, ptr %63, align 4, !tbaa !17
  %64 = call ptr @match_result_init(i64 noundef 4) #7
  %65 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.155) #8
  %66 = call i64 @boyer_moore_search(ptr noundef nonnull %9, ptr noundef nonnull @.str.155, i64 noundef %65, ptr noundef %64) #7
  %67 = icmp eq i64 %66, 3
  %.str.7.sink38 = select i1 %67, ptr @.str.5, ptr @.str.7
  %tests_failed.sink37 = select i1 %67, ptr @tests_passed, ptr @tests_failed
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7.sink38, ptr noundef nonnull @.str.156)
  %69 = load i32, ptr %tests_failed.sink37, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %tests_failed.sink37, align 4, !tbaa !5
  call void @match_result_free(ptr noundef %64) #7
  call void @cleanup_params(ptr noundef nonnull %9)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %10) #7
  call void @create_literal_params(ptr dead_on_unwind nonnull writable sret(%struct.search_params) align 8 %10, ptr noundef nonnull @.str.158, i1 noundef zeroext true, i1 noundef zeroext false, i1 noundef zeroext false)
  %71 = getelementptr inbounds i8, ptr %10, i64 45
  store i8 1, ptr %71, align 1, !tbaa !18
  %72 = getelementptr inbounds i8, ptr %10, i64 44
  store i8 1, ptr %72, align 4, !tbaa !17
  %73 = call ptr @match_result_init(i64 noundef 4) #7
  %74 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.157) #8
  %75 = call i64 @boyer_moore_search(ptr noundef nonnull %10, ptr noundef nonnull @.str.157, i64 noundef %74, ptr noundef %73) #7
  %76 = icmp eq i64 %75, 2
  %.str.7.sink42 = select i1 %76, ptr @.str.5, ptr @.str.7
  %tests_failed.sink41 = select i1 %76, ptr @tests_passed, ptr @tests_failed
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7.sink42, ptr noundef nonnull @.str.159)
  %78 = load i32, ptr %tests_failed.sink41, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %tests_failed.sink41, align 4, !tbaa !5
  call void @match_result_free(ptr noundef %73) #7
  call void @cleanup_params(ptr noundef nonnull %10)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %10) #7
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"search_params", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !13, i64 41, !13, i64 42, !13, i64 43, !13, i64 44, !13, i64 45, !11, i64 48, !11, i64 56, !12, i64 64}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !12, i64 32}
!16 = !{!13, !13, i64 0}
!17 = !{!10, !13, i64 44}
!18 = !{!10, !13, i64 45}
!19 = !{!10, !12, i64 64}
!20 = !{!10, !11, i64 56}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass