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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) #2

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpInitialize0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %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 i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i32 67200, ptr %15, align 4, !tbaa !9
  %24 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %24, ptr %12, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %25 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %25, ptr %11, align 4, !tbaa !9
  %26 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %26, ptr %15, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = call i64 @i64_load(ptr noundef %28, i64 noundef %30)
  store i64 %31, ptr %21, align 8, !tbaa !11
  %32 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %32, ptr %14, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %33 = load i64, ptr %21, align 8, !tbaa !11
  %34 = load i64, ptr %22, align 8, !tbaa !11
  %35 = icmp uge i64 %33, %34
  %36 = zext i1 %35 to i32
  store i32 %36, ptr %15, align 4, !tbaa !9
  %37 = load i32, ptr %15, align 4, !tbaa !9
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %67

39:                                               ; preds = %5
  store i32 67200, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %16, align 4, !tbaa !9
  %41 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %41, ptr %23, align 8, !tbaa !11
  %42 = load i64, ptr %23, align 8, !tbaa !11
  %43 = trunc i64 %42 to i32
  store i32 %43, ptr %17, align 4, !tbaa !9
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = add i64 %47, 3
  %49 = call i32 @i32_load8_u(ptr noundef %45, i64 noundef %48)
  store i32 %49, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %50 = load i32, ptr %18, align 4, !tbaa !9
  %51 = and i32 %50, 31
  %52 = load i32, ptr %17, align 4, !tbaa !9
  %53 = shl i32 %52, %51
  store i32 %53, ptr %17, align 4, !tbaa !9
  store i32 1040187392, ptr %18, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  %55 = load i32, ptr %18, align 4, !tbaa !9
  %56 = icmp ne i32 %54, %55
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %17, align 4, !tbaa !9
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %62

60:                                               ; preds = %39
  %61 = load i32, ptr %15, align 4, !tbaa !9
  br label %64

62:                                               ; preds = %39
  %63 = load i32, ptr %16, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %62, %60
  %65 = phi i32 [ %61, %60 ], [ %63, %62 ]
  store i32 %65, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %64, %5
  %68 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = call i64 @i64_load(ptr noundef %70, i64 noundef %72)
  store i64 %73, ptr %21, align 8, !tbaa !11
  %74 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %74, ptr %14, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %75 = load i64, ptr %21, align 8, !tbaa !11
  %76 = load i64, ptr %22, align 8, !tbaa !11
  %77 = icmp ult i64 %75, %76
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %67
  br label %353

82:                                               ; preds = %67
  %83 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %83, ptr %21, align 8, !tbaa !11
  store i64 4294967295, ptr %22, align 8, !tbaa !11
  %84 = load i64, ptr %22, align 8, !tbaa !11
  %85 = load i64, ptr %21, align 8, !tbaa !11
  %86 = and i64 %85, %84
  store i64 %86, ptr %21, align 8, !tbaa !11
  %87 = load i64, ptr %21, align 8, !tbaa !11
  %88 = icmp ne i64 %87, 0
  %89 = xor i1 %88, true
  %90 = zext i1 %89 to i32
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %82
  br label %353

94:                                               ; preds = %82
  %95 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %95, ptr %15, align 4, !tbaa !9
  store i32 5468, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %15, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %99, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %100, ptr %16, align 4, !tbaa !9
  store i32 14, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  %105 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104)
  store i32 %105, ptr %15, align 4, !tbaa !9
  %106 = load i32, ptr %15, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  store i64 %107, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %108 = load i64, ptr %22, align 8, !tbaa !11
  %109 = load i64, ptr %21, align 8, !tbaa !11
  %110 = or i64 %109, %108
  store i64 %110, ptr %21, align 8, !tbaa !11
  %111 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %111, ptr %14, align 8, !tbaa !11
  %112 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %112, ptr %15, align 4, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %15, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 4
  %118 = call i32 @i32_load(ptr noundef %114, i64 noundef %117)
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %119, ptr %11, align 4, !tbaa !9
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.w2c_hermes, ptr %120, i32 0, i32 6
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = add i64 %123, 164
  %125 = call i32 @i32_load(ptr noundef %121, i64 noundef %124)
  store i32 %125, ptr %15, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %126, ptr %8, align 4, !tbaa !9
  %127 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %127, ptr %16, align 4, !tbaa !9
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = add i64 %131, 168
  %133 = call i32 @i32_load(ptr noundef %129, i64 noundef %132)
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = icmp ult i32 %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %15, align 4, !tbaa !9
  %138 = load i32, ptr %15, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %159

140:                                              ; preds = %94
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %142, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %16, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 164
  %151 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %152, ptr %15, align 4, !tbaa !9
  %153 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %153, ptr %22, align 8, !tbaa !11
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %155, i64 noundef %157, i64 noundef %158)
  br label %167

159:                                              ; preds = %94
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %15, align 4, !tbaa !9
  %161 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %161, ptr %22, align 8, !tbaa !11
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = load i32, ptr %15, align 4, !tbaa !9
  %164 = load i64, ptr %22, align 8, !tbaa !11
  %165 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %162, i32 noundef %163, i64 noundef %164)
  store i32 %165, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %166, ptr %8, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %159, %140
  %168 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %168, ptr %15, align 4, !tbaa !9
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = call i64 @i64_load(ptr noundef %170, i64 noundef %172)
  store i64 %173, ptr %21, align 8, !tbaa !11
  store i64 47, ptr %22, align 8, !tbaa !11
  %174 = load i64, ptr %21, align 8, !tbaa !11
  %175 = load i64, ptr %22, align 8, !tbaa !11
  %176 = and i64 %175, 63
  %177 = ashr i64 %174, %176
  store i64 %177, ptr %21, align 8, !tbaa !11
  %178 = load i64, ptr %21, align 8, !tbaa !11
  %179 = trunc i64 %178 to i32
  store i32 %179, ptr %15, align 4, !tbaa !9
  store i32 -12, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = icmp ne i32 %180, %181
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %215

186:                                              ; preds = %167
  store i32 -1, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %187, ptr %11, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %15, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %16, align 4, !tbaa !9
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %190, i32 noundef %191, i32 noundef %192)
  store i32 %193, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %194, ptr %9, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = icmp eq i32 %195, %196
  %198 = zext i1 %197 to i32
  store i32 %198, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %186
  br label %353

202:                                              ; preds = %186
  %203 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %203, ptr %15, align 4, !tbaa !9
  %204 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  store i64 %206, ptr %22, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %207 = load i64, ptr %23, align 8, !tbaa !11
  %208 = load i64, ptr %22, align 8, !tbaa !11
  %209 = or i64 %208, %207
  store i64 %209, ptr %22, align 8, !tbaa !11
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.w2c_hermes, ptr %210, i32 0, i32 6
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %211, i64 noundef %213, i64 noundef %214)
  br label %215

215:                                              ; preds = %202, %167
  %216 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %216, ptr %15, align 4, !tbaa !9
  %217 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %217, ptr %16, align 4, !tbaa !9
  store i32 14, ptr %17, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221)
  store i32 %222, ptr %15, align 4, !tbaa !9
  %223 = load i32, ptr %15, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  store i64 %224, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %225 = load i64, ptr %22, align 8, !tbaa !11
  %226 = load i64, ptr %21, align 8, !tbaa !11
  %227 = or i64 %226, %225
  store i64 %227, ptr %21, align 8, !tbaa !11
  %228 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %228, ptr %14, align 8, !tbaa !11
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = add i64 %233, 4
  %235 = call i32 @i32_load(ptr noundef %231, i64 noundef %234)
  store i32 %235, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %236, ptr %11, align 4, !tbaa !9
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = add i64 %240, 164
  %242 = call i32 @i32_load(ptr noundef %238, i64 noundef %241)
  store i32 %242, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %243, ptr %9, align 4, !tbaa !9
  %244 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %244, ptr %16, align 4, !tbaa !9
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = add i64 %248, 168
  %250 = call i32 @i32_load(ptr noundef %246, i64 noundef %249)
  store i32 %250, ptr %16, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = load i32, ptr %16, align 4, !tbaa !9
  %253 = icmp ult i32 %251, %252
  %254 = zext i1 %253 to i32
  store i32 %254, ptr %15, align 4, !tbaa !9
  %255 = load i32, ptr %15, align 4, !tbaa !9
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %257, label %276

257:                                              ; preds = %215
  %258 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %258, ptr %15, align 4, !tbaa !9
  %259 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %259, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %16, align 4, !tbaa !9
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = add i64 %266, 164
  %268 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %264, i64 noundef %267, i32 noundef %268)
  %269 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %269, ptr %15, align 4, !tbaa !9
  %270 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %270, ptr %22, align 8, !tbaa !11
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %272, i64 noundef %274, i64 noundef %275)
  br label %284

276:                                              ; preds = %215
  %277 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %277, ptr %15, align 4, !tbaa !9
  %278 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %278, ptr %22, align 8, !tbaa !11
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = load i32, ptr %15, align 4, !tbaa !9
  %281 = load i64, ptr %22, align 8, !tbaa !11
  %282 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %279, i32 noundef %280, i64 noundef %281)
  store i32 %282, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %283, ptr %9, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %276, %257
  %285 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %15, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = call i64 @i64_load(ptr noundef %287, i64 noundef %289)
  store i64 %290, ptr %21, align 8, !tbaa !11
  store i64 47, ptr %22, align 8, !tbaa !11
  %291 = load i64, ptr %21, align 8, !tbaa !11
  %292 = load i64, ptr %22, align 8, !tbaa !11
  %293 = and i64 %292, 63
  %294 = ashr i64 %291, %293
  store i64 %294, ptr %21, align 8, !tbaa !11
  %295 = load i64, ptr %21, align 8, !tbaa !11
  %296 = trunc i64 %295 to i32
  store i32 %296, ptr %15, align 4, !tbaa !9
  store i32 -12, ptr %16, align 4, !tbaa !9
  %297 = load i32, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = icmp ne i32 %297, %298
  %300 = zext i1 %299 to i32
  store i32 %300, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = icmp ne i32 %301, 0
  br i1 %302, label %303, label %332

303:                                              ; preds = %284
  store i32 -1, ptr %15, align 4, !tbaa !9
  %304 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %304, ptr %11, align 4, !tbaa !9
  %305 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %305, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %306, ptr %16, align 4, !tbaa !9
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %307, i32 noundef %308, i32 noundef %309)
  store i32 %310, ptr %15, align 4, !tbaa !9
  %311 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %311, ptr %10, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %312 = load i32, ptr %15, align 4, !tbaa !9
  %313 = load i32, ptr %16, align 4, !tbaa !9
  %314 = icmp eq i32 %312, %313
  %315 = zext i1 %314 to i32
  store i32 %315, ptr %15, align 4, !tbaa !9
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %319

318:                                              ; preds = %303
  br label %353

319:                                              ; preds = %303
  %320 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %320, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  store i64 %323, ptr %22, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %324 = load i64, ptr %23, align 8, !tbaa !11
  %325 = load i64, ptr %22, align 8, !tbaa !11
  %326 = or i64 %325, %324
  store i64 %326, ptr %22, align 8, !tbaa !11
  %327 = load ptr, ptr %6, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 6
  %329 = load i32, ptr %15, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %328, i64 noundef %330, i64 noundef %331)
  br label %332

332:                                              ; preds = %319, %284
  %333 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %333, ptr %15, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %334 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %335, ptr %18, align 4, !tbaa !9
  %336 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %336, ptr %19, align 4, !tbaa !9
  %337 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %337, ptr %20, align 4, !tbaa !9
  %338 = load ptr, ptr %6, align 8, !tbaa !5
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %19, align 4, !tbaa !9
  %342 = load i32, ptr %20, align 4, !tbaa !9
  %343 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSRegExp0x3A0x3Ainitialize0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSRegExp0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342)
  store i32 %343, ptr %17, align 4, !tbaa !9
  %344 = load i32, ptr %17, align 4, !tbaa !9
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %348

346:                                              ; preds = %332
  %347 = load i32, ptr %15, align 4, !tbaa !9
  br label %350

348:                                              ; preds = %332
  %349 = load i32, ptr %16, align 4, !tbaa !9
  br label %350

350:                                              ; preds = %348, %346
  %351 = phi i32 [ %347, %346 ], [ %349, %348 ]
  store i32 %351, ptr %15, align 4, !tbaa !9
  %352 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %352, ptr %11, align 4, !tbaa !9
  br label %353

353:                                              ; preds = %350, %318, %201, %93, %81
  %354 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %354, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret i32 %355
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSRegExp0x3A0x3Ainitialize0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSRegExp0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

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 = { "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 }

!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, !12, i64 0}
!12 = !{!"long", !7, 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"

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpInitialize0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %2 to i64
  %8 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %7)
  %9 = icmp ugt i64 %8, -844424930131969
  br i1 %9, label %10, label %15

10:                                               ; preds = %5
  %11 = and i64 %8, 4294967295
  %12 = add nuw nsw i64 %11, 3
  %13 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %12)
  %.mask = and i32 %13, 255
  %.not = icmp eq i32 %.mask, 62
  %14 = select i1 %.not, i32 %2, i32 67200
  br label %15

15:                                               ; preds = %10, %5
  %.0189 = phi i32 [ %14, %10 ], [ 67200, %5 ]
  %16 = zext i32 %.0189 to i64
  %17 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %16)
  %18 = icmp ult i64 %17, -844424930131968
  %19 = and i64 %17, 4294967295
  %.not197 = icmp eq i64 %19, 0
  %or.cond = or i1 %18, %.not197
  br i1 %or.cond, label %78, label %20

20:                                               ; preds = %15
  %21 = add i32 %1, 5468
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %0, i32 noundef %21, i32 noundef %1, i32 noundef 14) #3
  %23 = zext i32 %22 to i64
  %24 = or disjoint i64 %23, -844424930131968
  %25 = zext i32 %1 to i64
  %26 = add nuw nsw i64 %25, 4
  %27 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %26)
  %28 = zext i32 %27 to i64
  %29 = add nuw nsw i64 %28, 164
  %30 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %29)
  %31 = add nuw nsw i64 %28, 168
  %32 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %31)
  %33 = icmp ult i32 %30, %32
  br i1 %33, label %34, label %37

34:                                               ; preds = %20
  %35 = add i32 %30, 8
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %29, i32 noundef %35)
  %36 = zext i32 %30 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %36, i64 noundef %24)
  br label %39

37:                                               ; preds = %20
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i32 noundef %27, i64 noundef %24) #3
  br label %39

39:                                               ; preds = %37, %34
  %.0 = phi i32 [ %30, %34 ], [ %38, %37 ]
  %40 = zext i32 %3 to i64
  %41 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %40)
  %.mask199 = and i64 %41, -140737488355328
  %.not198 = icmp eq i64 %.mask199, -1688849860263936
  br i1 %.not198, label %49, label %42

42:                                               ; preds = %39
  %43 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %3) #3
  %44 = icmp eq i32 %43, -1
  br i1 %44, label %78, label %45

45:                                               ; preds = %42
  %46 = zext i32 %43 to i64
  %47 = or disjoint i64 %46, -844424930131968
  %48 = zext i32 %.0 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %48, i64 noundef %47)
  br label %49

49:                                               ; preds = %45, %39
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %0, i32 noundef %21, i32 noundef %1, i32 noundef 14) #3
  %51 = zext i32 %50 to i64
  %52 = or disjoint i64 %51, -844424930131968
  %53 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %26)
  %54 = zext i32 %53 to i64
  %55 = add nuw nsw i64 %54, 164
  %56 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %55)
  %57 = add nuw nsw i64 %54, 168
  %58 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %57)
  %59 = icmp ult i32 %56, %58
  br i1 %59, label %60, label %63

60:                                               ; preds = %49
  %61 = add i32 %56, 8
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %55, i32 noundef %61)
  %62 = zext i32 %56 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %62, i64 noundef %52)
  br label %65

63:                                               ; preds = %49
  %64 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i32 noundef %53, i64 noundef %52) #3
  br label %65

65:                                               ; preds = %63, %60
  %.0188 = phi i32 [ %56, %60 ], [ %64, %63 ]
  %66 = zext i32 %4 to i64
  %67 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %66)
  %.mask201 = and i64 %67, -140737488355328
  %.not200 = icmp eq i64 %.mask201, -1688849860263936
  br i1 %.not200, label %75, label %68

68:                                               ; preds = %65
  %69 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %4) #3
  %70 = icmp eq i32 %69, -1
  br i1 %70, label %78, label %71

71:                                               ; preds = %68
  %72 = zext i32 %69 to i64
  %73 = or disjoint i64 %72, -844424930131968
  %74 = zext i32 %.0188 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %74, i64 noundef %73)
  br label %75

75:                                               ; preds = %71, %65
  %76 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSRegExp0x3A0x3Ainitialize0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSRegExp0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef %0, i32 noundef %.0189, i32 noundef %1, i32 noundef %.0, i32 noundef %.0188) #3
  %.not202 = icmp eq i32 %76, 0
  %77 = select i1 %.not202, i32 -1, i32 %.0189
  br label %78

78:                                               ; preds = %68, %42, %15, %75
  %.0190 = phi i32 [ -1, %15 ], [ -1, %42 ], [ -1, %68 ], [ %77, %75 ]
  ret i32 %.0190
}

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 #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)"}


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