; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_2)

; 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.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3Aconstants0x3A0x3AErrorType0x20hermes0x3A0x3Aregex0x3A0x3AparseRegex0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3E0x28char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ASyntaxFlags0x2C0x20unsigned0x20int0x2C0x20bool0x2C0x20unsigned0x20int0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #4 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !11
  store i32 %25, ptr %18, align 4, !tbaa !9
  store i32 32, ptr %19, align 4, !tbaa !9
  %26 = load i32, ptr %19, align 4, !tbaa !9
  %27 = load i32, ptr %18, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %29, ptr %17, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !11
  %33 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %33, ptr %18, align 4, !tbaa !9
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %18, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = call i32 @i32_load8_u(ptr noundef %35, i64 noundef %37)
  store i32 %38, ptr %18, align 4, !tbaa !9
  %39 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %39, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %40, ptr %18, align 4, !tbaa !9
  %41 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %41, ptr %19, align 4, !tbaa !9
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = add i64 %45, 28
  %47 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %43, i64 noundef %46, i32 noundef %47)
  %48 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %48, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %18, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 24
  %54 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %50, i64 noundef %53, i32 noundef %54)
  %55 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %56, ptr %19, align 4, !tbaa !9
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %18, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = add i64 %60, 20
  %62 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %58, i64 noundef %61, i32 noundef %62)
  %63 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %63, ptr %18, align 4, !tbaa !9
  %64 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %64, ptr %19, align 4, !tbaa !9
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 16
  %70 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %66, i64 noundef %69, i32 noundef %70)
  %71 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %71, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %18, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = add i64 %75, 12
  %77 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %73, i64 noundef %76, i32 noundef %77)
  %78 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %78, ptr %18, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %19, align 4, !tbaa !9
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 8
  %85 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %81, i64 noundef %84, i32 noundef %85)
  %86 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %86, ptr %18, align 4, !tbaa !9
  %87 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %87, ptr %19, align 4, !tbaa !9
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 4
  %93 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %89, i64 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %95, ptr %19, align 4, !tbaa !9
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %97, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %101, ptr %18, align 4, !tbaa !9
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AParser0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2C0x20char16_t0x20const0x2A0x3E0x3A0x3AconsumeDisjunction0x280x29(ptr noundef %102, i32 noundef %103)
  %104 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %104, ptr %18, align 4, !tbaa !9
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 4
  %110 = call i32 @i32_load(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %18, align 4, !tbaa !9
  %111 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %111, ptr %19, align 4, !tbaa !9
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %19, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 8
  %117 = call i32 @i32_load(ptr noundef %113, i64 noundef %116)
  store i32 %117, ptr %19, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = icmp ne i32 %118, %119
  %121 = zext i1 %120 to i32
  store i32 %121, ptr %18, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %142

124:                                              ; preds = %8
  store i32 0, ptr %18, align 4, !tbaa !9
  %125 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %125, ptr %17, align 4, !tbaa !9
  store i32 146056, ptr %19, align 4, !tbaa !9
  %126 = load i32, ptr %19, align 4, !tbaa !9
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %129, ptr %19, align 4, !tbaa !9
  store i32 57142, ptr %20, align 4, !tbaa !9
  %130 = load i32, ptr %20, align 4, !tbaa !9
  %131 = load i32, ptr %19, align 4, !tbaa !9
  %132 = add i32 %131, %130
  store i32 %132, ptr %19, align 4, !tbaa !9
  store i32 1221, ptr %20, align 4, !tbaa !9
  %133 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %133, ptr %21, align 4, !tbaa !9
  store i32 91970, ptr %22, align 4, !tbaa !9
  %134 = load i32, ptr %22, align 4, !tbaa !9
  %135 = load i32, ptr %21, align 4, !tbaa !9
  %136 = add i32 %135, %134
  store i32 %136, ptr %21, align 4, !tbaa !9
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = load i32, ptr %18, align 4, !tbaa !9
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %20, align 4, !tbaa !9
  %141 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %140, i32 noundef %141)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

142:                                              ; preds = %8
  %143 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %143, ptr %18, align 4, !tbaa !9
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %18, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 12
  %149 = call i32 @i32_load(ptr noundef %145, i64 noundef %148)
  store i32 %149, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %150, ptr %13, align 4, !tbaa !9
  %151 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %151, ptr %18, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %19, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 24
  %158 = call i32 @i32_load(ptr noundef %154, i64 noundef %157)
  store i32 %158, ptr %19, align 4, !tbaa !9
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %160, i64 noundef %162, i32 noundef %163)
  %164 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %164, ptr %18, align 4, !tbaa !9
  store i32 32, ptr %19, align 4, !tbaa !9
  %165 = load i32, ptr %19, align 4, !tbaa !9
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = add i32 %166, %165
  store i32 %167, ptr %18, align 4, !tbaa !9
  %168 = load i32, ptr %18, align 4, !tbaa !9
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 3
  store i32 %168, ptr %170, align 8, !tbaa !11
  %171 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %171, ptr %18, align 4, !tbaa !9
  %172 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret i32 %172
}

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AParser0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2C0x20char16_t0x20const0x2A0x3E0x3A0x3AconsumeDisjunction0x280x29(ptr noundef, i32 noundef) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3Aconstants0x3A0x3AErrorType0x20hermes0x3A0x3Aregex0x3A0x3AparseRegex0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x3E0x28char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2A0x2C0x20hermes0x3A0x3Aregex0x3A0x3ASyntaxFlags0x2C0x20unsigned0x20int0x2C0x20bool0x2C0x20unsigned0x20int0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 {
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add i32 %10, -32
  store i32 %11, ptr %9, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %13)
  %15 = zext i32 %11 to i64
  %16 = add nuw nsw i64 %15, 28
  tail call void @i32_store8(ptr noundef nonnull %12, i64 noundef %16, i32 noundef %6)
  %17 = add nuw nsw i64 %15, 24
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %17, i32 noundef 0)
  %18 = add nuw nsw i64 %15, 20
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %18, i32 noundef %5)
  %19 = add nuw nsw i64 %15, 16
  tail call void @i32_store8(ptr noundef nonnull %12, i64 noundef %19, i32 noundef %14)
  %20 = add nuw nsw i64 %15, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %20, i32 noundef 0)
  %21 = add nuw nsw i64 %15, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %21, i32 noundef %2)
  %22 = add nuw nsw i64 %15, 4
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %22, i32 noundef %1)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %15, i32 noundef %3)
  tail call void @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AParser0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2C0x20char16_t0x20const0x2A0x3E0x3A0x3AconsumeDisjunction0x280x29(ptr noundef %0, i32 noundef %11)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %22)
  %24 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %21)
  %.not = icmp eq i32 %23, %24
  br i1 %.not, label %26, label %25

25:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146056, i32 noundef 57142, i32 noundef 1221, i32 noundef 91970) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

26:                                               ; preds = %8
  %27 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %20)
  %28 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %17)
  %29 = zext i32 %7 to i64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %29, i32 noundef %28)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %27
}

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Aregex0x3A0x3AParser0x3Chermes0x3A0x3Aregex0x3A0x3ARegex0x3Chermes0x3A0x3Aregex0x3A0x3AUTF16RegexTraits0x3E0x2C0x20char16_t0x20const0x2A0x3E0x3A0x3AconsumeDisjunction0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { inlinehint 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 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 #4 = { nounwind }
attributes #5 = { 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, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass