; LLVM IR from epicf/ef :: lib/tinyexpr (tinyexpr)

; 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.state = type { ptr, ptr, i32, %union.anon.0, ptr, ptr, i32 }
%union.anon.0 = type { double }
%struct.te_variable = type { ptr, ptr, i32, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @next_token(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.state, ptr %5, i32 0, i32 2
  store i32 24, ptr %6, align 8, !tbaa !9
  br label %7

7:                                                ; preds = %235, %1
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.state, ptr %8, i32 0, i32 1
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = load i8, ptr %10, align 1, !tbaa !13
  %12 = icmp ne i8 %11, 0
  br i1 %12, label %16, label %13

13:                                               ; preds = %7
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.state, ptr %14, i32 0, i32 2
  store i32 26, ptr %15, align 8, !tbaa !9
  br label %240

16:                                               ; preds = %7
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.state, ptr %17, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !12
  %20 = getelementptr inbounds i8, ptr %19, i64 0
  %21 = load i8, ptr %20, align 1, !tbaa !13
  %22 = sext i8 %21 to i32
  %23 = icmp sge i32 %22, 48
  br i1 %23, label %24, label %32

24:                                               ; preds = %16
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.state, ptr %25, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !12
  %28 = getelementptr inbounds i8, ptr %27, i64 0
  %29 = load i8, ptr %28, align 1, !tbaa !13
  %30 = sext i8 %29 to i32
  %31 = icmp sle i32 %30, 57
  br i1 %31, label %40, label %32

32:                                               ; preds = %24, %16
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.state, ptr %33, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !12
  %36 = getelementptr inbounds i8, ptr %35, i64 0
  %37 = load i8, ptr %36, align 1, !tbaa !13
  %38 = sext i8 %37 to i32
  %39 = icmp eq i32 %38, 46
  br i1 %39, label %40, label %51

40:                                               ; preds = %32, %24
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.state, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !12
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.state, ptr %44, i32 0, i32 1
  %46 = call double @strtod(ptr noundef %43, ptr noundef %45) #3
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.state, ptr %47, i32 0, i32 3
  store double %46, ptr %48, align 8, !tbaa !13
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.state, ptr %49, i32 0, i32 2
  store i32 30, ptr %50, align 8, !tbaa !9
  br label %234

51:                                               ; preds = %32
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.state, ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !12
  %55 = getelementptr inbounds i8, ptr %54, i64 0
  %56 = load i8, ptr %55, align 1, !tbaa !13
  %57 = sext i8 %56 to i32
  %58 = icmp sge i32 %57, 97
  br i1 %58, label %59, label %181

59:                                               ; preds = %51
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.state, ptr %60, i32 0, i32 1
  %62 = load ptr, ptr %61, align 8, !tbaa !12
  %63 = getelementptr inbounds i8, ptr %62, i64 0
  %64 = load i8, ptr %63, align 1, !tbaa !13
  %65 = sext i8 %64 to i32
  %66 = icmp sle i32 %65, 122
  br i1 %66, label %67, label %181

67:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.state, ptr %68, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !12
  store ptr %70, ptr %3, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %113, %67
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.state, ptr %72, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !12
  %75 = getelementptr inbounds i8, ptr %74, i64 0
  %76 = load i8, ptr %75, align 1, !tbaa !13
  %77 = sext i8 %76 to i32
  %78 = icmp sge i32 %77, 97
  br i1 %78, label %79, label %87

79:                                               ; preds = %71
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.state, ptr %80, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !12
  %83 = getelementptr inbounds i8, ptr %82, i64 0
  %84 = load i8, ptr %83, align 1, !tbaa !13
  %85 = sext i8 %84 to i32
  %86 = icmp sle i32 %85, 122
  br i1 %86, label %111, label %87

87:                                               ; preds = %79, %71
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.state, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !12
  %91 = getelementptr inbounds i8, ptr %90, i64 0
  %92 = load i8, ptr %91, align 1, !tbaa !13
  %93 = sext i8 %92 to i32
  %94 = icmp sge i32 %93, 48
  br i1 %94, label %95, label %103

95:                                               ; preds = %87
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.state, ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !12
  %99 = getelementptr inbounds i8, ptr %98, i64 0
  %100 = load i8, ptr %99, align 1, !tbaa !13
  %101 = sext i8 %100 to i32
  %102 = icmp sle i32 %101, 57
  br i1 %102, label %111, label %103

103:                                              ; preds = %95, %87
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.state, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !12
  %107 = getelementptr inbounds i8, ptr %106, i64 0
  %108 = load i8, ptr %107, align 1, !tbaa !13
  %109 = sext i8 %108 to i32
  %110 = icmp eq i32 %109, 95
  br label %111

111:                                              ; preds = %103, %95, %79
  %112 = phi i1 [ true, %95 ], [ true, %79 ], [ %110, %103 ]
  br i1 %112, label %113, label %118

113:                                              ; preds = %111
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.state, ptr %114, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !12
  %117 = getelementptr inbounds i8, ptr %116, i32 1
  store ptr %117, ptr %115, align 8, !tbaa !12
  br label %71, !llvm.loop !14

118:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.state, ptr %121, i32 0, i32 1
  %123 = load ptr, ptr %122, align 8, !tbaa !12
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = ptrtoint ptr %123 to i64
  %126 = ptrtoint ptr %124 to i64
  %127 = sub i64 %125, %126
  %128 = trunc i64 %127 to i32
  %129 = call ptr @find_lookup(ptr noundef %119, ptr noundef %120, i32 noundef %128)
  store ptr %129, ptr %4, align 8, !tbaa !5
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %143, label %132

132:                                              ; preds = %118
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.state, ptr %134, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !12
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = ptrtoint ptr %136 to i64
  %139 = ptrtoint ptr %137 to i64
  %140 = sub i64 %138, %139
  %141 = trunc i64 %140 to i32
  %142 = call ptr @find_builtin(ptr noundef %133, i32 noundef %141)
  store ptr %142, ptr %4, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %132, %118
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = icmp ne ptr %144, null
  br i1 %145, label %149, label %146

146:                                              ; preds = %143
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.state, ptr %147, i32 0, i32 2
  store i32 25, ptr %148, align 8, !tbaa !9
  br label %180

149:                                              ; preds = %143
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.te_variable, ptr %150, i32 0, i32 2
  %152 = load i32, ptr %151, align 8, !tbaa !16
  %153 = and i32 %152, 31
  switch i32 %153, label %179 [
    i32 0, label %154
    i32 16, label %162
    i32 17, label %162
    i32 18, label %162
    i32 19, label %162
    i32 20, label %162
    i32 21, label %162
    i32 22, label %162
    i32 23, label %162
    i32 8, label %168
    i32 9, label %168
    i32 10, label %168
    i32 11, label %168
    i32 12, label %168
    i32 13, label %168
    i32 14, label %168
    i32 15, label %168
  ]

154:                                              ; preds = %149
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.state, ptr %155, i32 0, i32 2
  store i32 31, ptr %156, align 8, !tbaa !9
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.te_variable, ptr %157, i32 0, i32 1
  %159 = load ptr, ptr %158, align 8, !tbaa !18
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.state, ptr %160, i32 0, i32 3
  store ptr %159, ptr %161, align 8, !tbaa !13
  br label %179

162:                                              ; preds = %149, %149, %149, %149, %149, %149, %149, %149
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.te_variable, ptr %163, i32 0, i32 3
  %165 = load ptr, ptr %164, align 8, !tbaa !19
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.state, ptr %166, i32 0, i32 4
  store ptr %165, ptr %167, align 8, !tbaa !20
  br label %168

168:                                              ; preds = %162, %149, %149, %149, %149, %149, %149, %149, %149
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.te_variable, ptr %169, i32 0, i32 2
  %171 = load i32, ptr %170, align 8, !tbaa !16
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.state, ptr %172, i32 0, i32 2
  store i32 %171, ptr %173, align 8, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.te_variable, ptr %174, i32 0, i32 1
  %176 = load ptr, ptr %175, align 8, !tbaa !18
  %177 = load ptr, ptr %2, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.state, ptr %177, i32 0, i32 3
  store ptr %176, ptr %178, align 8, !tbaa !13
  br label %179

179:                                              ; preds = %168, %154, %149
  br label %180

180:                                              ; preds = %179, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %233

181:                                              ; preds = %59, %51
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.state, ptr %182, i32 0, i32 1
  %184 = load ptr, ptr %183, align 8, !tbaa !12
  %185 = getelementptr inbounds i8, ptr %184, i32 1
  store ptr %185, ptr %183, align 8, !tbaa !12
  %186 = getelementptr inbounds i8, ptr %184, i64 0
  %187 = load i8, ptr %186, align 1, !tbaa !13
  %188 = sext i8 %187 to i32
  switch i32 %188, label %229 [
    i32 43, label %189
    i32 45, label %194
    i32 42, label %199
    i32 47, label %204
    i32 94, label %209
    i32 37, label %214
    i32 40, label %219
    i32 41, label %222
    i32 44, label %225
    i32 32, label %228
    i32 9, label %228
    i32 10, label %228
    i32 13, label %228
  ]

189:                                              ; preds = %181
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.state, ptr %190, i32 0, i32 2
  store i32 32, ptr %191, align 8, !tbaa !9
  %192 = load ptr, ptr %2, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.state, ptr %192, i32 0, i32 3
  store ptr @add, ptr %193, align 8, !tbaa !13
  br label %232

194:                                              ; preds = %181
  %195 = load ptr, ptr %2, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.state, ptr %195, i32 0, i32 2
  store i32 32, ptr %196, align 8, !tbaa !9
  %197 = load ptr, ptr %2, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.state, ptr %197, i32 0, i32 3
  store ptr @sub, ptr %198, align 8, !tbaa !13
  br label %232

199:                                              ; preds = %181
  %200 = load ptr, ptr %2, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.state, ptr %200, i32 0, i32 2
  store i32 32, ptr %201, align 8, !tbaa !9
  %202 = load ptr, ptr %2, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.state, ptr %202, i32 0, i32 3
  store ptr @mul, ptr %203, align 8, !tbaa !13
  br label %232

204:                                              ; preds = %181
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.state, ptr %205, i32 0, i32 2
  store i32 32, ptr %206, align 8, !tbaa !9
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.state, ptr %207, i32 0, i32 3
  store ptr @divide, ptr %208, align 8, !tbaa !13
  br label %232

209:                                              ; preds = %181
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.state, ptr %210, i32 0, i32 2
  store i32 32, ptr %211, align 8, !tbaa !9
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.state, ptr %212, i32 0, i32 3
  store ptr @pow, ptr %213, align 8, !tbaa !13
  br label %232

214:                                              ; preds = %181
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.state, ptr %215, i32 0, i32 2
  store i32 32, ptr %216, align 8, !tbaa !9
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.state, ptr %217, i32 0, i32 3
  store ptr @fmod, ptr %218, align 8, !tbaa !13
  br label %232

219:                                              ; preds = %181
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.state, ptr %220, i32 0, i32 2
  store i32 28, ptr %221, align 8, !tbaa !9
  br label %232

222:                                              ; preds = %181
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.state, ptr %223, i32 0, i32 2
  store i32 29, ptr %224, align 8, !tbaa !9
  br label %232

225:                                              ; preds = %181
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.state, ptr %226, i32 0, i32 2
  store i32 27, ptr %227, align 8, !tbaa !9
  br label %232

228:                                              ; preds = %181, %181, %181, %181
  br label %232

229:                                              ; preds = %181
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.state, ptr %230, i32 0, i32 2
  store i32 25, ptr %231, align 8, !tbaa !9
  br label %232

232:                                              ; preds = %229, %228, %225, %222, %219, %214, %209, %204, %199, %194, %189
  br label %233

233:                                              ; preds = %232, %180
  br label %234

234:                                              ; preds = %233, %40
  br label %235

235:                                              ; preds = %234
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.state, ptr %236, i32 0, i32 2
  %238 = load i32, ptr %237, align 8, !tbaa !9
  %239 = icmp eq i32 %238, 24
  br i1 %239, label %7, label %240, !llvm.loop !21

240:                                              ; preds = %235, %13
  ret void
}

; Function Attrs: nounwind
declare double @strtod(ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare hidden ptr @find_lookup(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden ptr @find_builtin(ptr noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare hidden double @add(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @sub(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @mul(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @divide(double noundef, double noundef) #0

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1

; Function Attrs: nounwind
declare double @fmod(double noundef, double noundef) #1

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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"}
!9 = !{!10, !11, i64 16}
!10 = !{!"state", !6, i64 0, !6, i64 8, !11, i64 16, !7, i64 24, !6, i64 32, !6, i64 40, !11, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !11, i64 16}
!17 = !{!"te_variable", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24}
!18 = !{!17, !6, i64 8}
!19 = !{!17, !6, i64 24}
!20 = !{!10, !6, i64 32}
!21 = distinct !{!21, !15}


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

; Function Attrs: nounwind uwtable
define dso_local void @next_token(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 24, ptr %2, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  br label %6

6:                                                ; preds = %thread-pre-split, %1
  %7 = load ptr, ptr %3, align 8, !tbaa !11
  %8 = load i8, ptr %7, align 1, !tbaa !12
  %.not = icmp eq i8 %8, 0
  br i1 %.not, label %9, label %10

9:                                                ; preds = %6
  store i32 26, ptr %2, align 8, !tbaa !5
  br label %.thread71

10:                                               ; preds = %6
  %11 = add i8 %8, -48
  %or.cond = icmp ult i8 %11, 10
  %12 = icmp eq i8 %8, 46
  %or.cond72 = or i1 %12, %or.cond
  br i1 %or.cond72, label %13, label %15

13:                                               ; preds = %10
  %14 = tail call double @strtod(ptr noundef nonnull %7, ptr noundef nonnull %3) #3
  store double %14, ptr %5, align 8, !tbaa !12
  store i32 30, ptr %2, align 8, !tbaa !5
  br label %.thread71

15:                                               ; preds = %10
  %16 = add i8 %8, -97
  %or.cond65 = icmp ult i8 %16, 26
  br i1 %or.cond65, label %.preheader, label %49

.preheader:                                       ; preds = %15, %.critedge
  %17 = phi i8 [ %.pre, %.critedge ], [ %8, %15 ]
  %18 = phi ptr [ %23, %.critedge ], [ %7, %15 ]
  %19 = add i8 %17, -97
  %or.cond66 = icmp ult i8 %19, 26
  br i1 %or.cond66, label %.critedge, label %20

20:                                               ; preds = %.preheader
  %21 = add i8 %17, -48
  %or.cond67 = icmp ult i8 %21, 10
  %22 = icmp eq i8 %17, 95
  %or.cond73 = or i1 %22, %or.cond67
  br i1 %or.cond73, label %.critedge, label %24

.critedge:                                        ; preds = %20, %.preheader
  %23 = getelementptr inbounds i8, ptr %18, i64 1
  store ptr %23, ptr %3, align 8, !tbaa !11
  %.pre = load i8, ptr %23, align 1, !tbaa !12
  br label %.preheader, !llvm.loop !13

24:                                               ; preds = %20
  %25 = ptrtoint ptr %18 to i64
  %26 = ptrtoint ptr %7 to i64
  %27 = sub i64 %25, %26
  %28 = trunc i64 %27 to i32
  %29 = tail call ptr @find_lookup(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %28)
  %.not63 = icmp eq ptr %29, null
  br i1 %.not63, label %30, label %.thread

30:                                               ; preds = %24
  %31 = load ptr, ptr %3, align 8, !tbaa !11
  %32 = ptrtoint ptr %31 to i64
  %33 = sub i64 %32, %26
  %34 = trunc i64 %33 to i32
  %35 = tail call ptr @find_builtin(ptr noundef nonnull %7, i32 noundef %34)
  %.not64 = icmp eq ptr %35, null
  br i1 %.not64, label %36, label %.thread

36:                                               ; preds = %30
  store i32 25, ptr %2, align 8, !tbaa !5
  br label %.thread71

.thread:                                          ; preds = %24, %30
  %.070 = phi ptr [ %35, %30 ], [ %29, %24 ]
  %37 = getelementptr inbounds i8, ptr %.070, i64 16
  %38 = load i32, ptr %37, align 8, !tbaa !15
  %39 = and i32 %38, 31
  switch i32 %39, label %.thread.thread-pre-split_crit_edge [
    i32 0, label %40
    i32 16, label %43
    i32 17, label %43
    i32 18, label %43
    i32 19, label %43
    i32 20, label %43
    i32 21, label %43
    i32 22, label %43
    i32 23, label %43
    i32 8, label %46
    i32 9, label %46
    i32 10, label %46
    i32 11, label %46
    i32 12, label %46
    i32 13, label %46
    i32 14, label %46
    i32 15, label %46
  ]

.thread.thread-pre-split_crit_edge:               ; preds = %.thread
  %.pr.pre = load i32, ptr %2, align 8, !tbaa !5
  br label %thread-pre-split

40:                                               ; preds = %.thread
  store i32 31, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %.070, i64 8
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  store ptr %42, ptr %5, align 8, !tbaa !12
  br label %.thread71

43:                                               ; preds = %.thread, %.thread, %.thread, %.thread, %.thread, %.thread, %.thread, %.thread
  %44 = getelementptr inbounds i8, ptr %.070, i64 24
  %45 = load ptr, ptr %44, align 8, !tbaa !18
  store ptr %45, ptr %4, align 8, !tbaa !19
  br label %46

46:                                               ; preds = %43, %.thread, %.thread, %.thread, %.thread, %.thread, %.thread, %.thread, %.thread
  store i32 %38, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %.070, i64 8
  %48 = load ptr, ptr %47, align 8, !tbaa !17
  store ptr %48, ptr %5, align 8, !tbaa !12
  br label %thread-pre-split

49:                                               ; preds = %15
  %50 = getelementptr inbounds i8, ptr %7, i64 1
  store ptr %50, ptr %3, align 8, !tbaa !11
  %51 = load i8, ptr %7, align 1, !tbaa !12
  switch i8 %51, label %61 [
    i8 43, label %52
    i8 45, label %53
    i8 42, label %54
    i8 47, label %55
    i8 94, label %56
    i8 37, label %57
    i8 40, label %58
    i8 41, label %59
    i8 44, label %60
    i8 32, label %thread-pre-split
    i8 9, label %thread-pre-split
    i8 10, label %thread-pre-split
    i8 13, label %thread-pre-split
  ]

52:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @add, ptr %5, align 8, !tbaa !12
  br label %.thread71

53:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @sub, ptr %5, align 8, !tbaa !12
  br label %.thread71

54:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @mul, ptr %5, align 8, !tbaa !12
  br label %.thread71

55:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @divide, ptr %5, align 8, !tbaa !12
  br label %.thread71

56:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @pow, ptr %5, align 8, !tbaa !12
  br label %.thread71

57:                                               ; preds = %49
  store i32 32, ptr %2, align 8, !tbaa !5
  store ptr @fmod, ptr %5, align 8, !tbaa !12
  br label %.thread71

58:                                               ; preds = %49
  store i32 28, ptr %2, align 8, !tbaa !5
  br label %.thread71

59:                                               ; preds = %49
  store i32 29, ptr %2, align 8, !tbaa !5
  br label %.thread71

60:                                               ; preds = %49
  store i32 27, ptr %2, align 8, !tbaa !5
  br label %.thread71

61:                                               ; preds = %49
  store i32 25, ptr %2, align 8, !tbaa !5
  br label %.thread71

thread-pre-split:                                 ; preds = %49, %49, %49, %49, %.thread.thread-pre-split_crit_edge, %46
  %.pr120 = phi i32 [ %38, %46 ], [ %.pr.pre, %.thread.thread-pre-split_crit_edge ], [ 24, %49 ], [ 24, %49 ], [ 24, %49 ], [ 24, %49 ]
  %62 = icmp eq i32 %.pr120, 24
  br i1 %62, label %6, label %.thread71, !llvm.loop !20

.thread71:                                        ; preds = %thread-pre-split, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %13, %40, %36, %9
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn
declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @find_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden ptr @find_builtin(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden double @add(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @sub(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @mul(double noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @divide(double noundef, double noundef) #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @fmod(double noundef, double noundef) #2

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 nofree nounwind willreturn "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(write) "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 }

!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, !10, i64 16}
!6 = !{!"state", !7, i64 0, !7, i64 8, !10, i64 16, !8, i64 24, !7, i64 32, !7, i64 40, !10, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 16}
!16 = !{!"te_variable", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!17 = !{!16, !7, i64 8}
!18 = !{!16, !7, i64 24}
!19 = !{!6, !7, i64 32}
!20 = distinct !{!20, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass