; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_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: 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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpLastParenGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %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 i32, align 4
  %15 = alloca i64, align 8
  %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) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  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 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 3
  %26 = load i32, ptr %25, align 8, !tbaa !13
  store i32 %26, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %27 = load i32, ptr %17, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = sub i32 %28, %27
  store i32 %29, ptr %16, align 4, !tbaa !9
  %30 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %30, ptr %11, align 4, !tbaa !9
  %31 = load i32, ptr %16, align 4, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 3
  store i32 %31, ptr %33, align 8, !tbaa !13
  %34 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %34, ptr %16, align 4, !tbaa !9
  store i64 17179869184, ptr %22, align 8, !tbaa !11
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %16, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 40
  %40 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %36, i64 noundef %39, i64 noundef %40)
  %41 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %41, ptr %16, align 4, !tbaa !9
  %42 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %42, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %43 = load i32, ptr %18, align 4, !tbaa !9
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = add i32 %44, %43
  store i32 %45, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %46, ptr %13, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 36
  %52 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %48, i64 noundef %51, i32 noundef %52)
  %53 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 740
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  %62 = xor i1 %61, true
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %16, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %5
  br label %306

67:                                               ; preds = %5
  %68 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %68, ptr %16, align 4, !tbaa !9
  store i32 36, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = add i32 %70, %69
  store i32 %71, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %72, ptr %17, align 4, !tbaa !9
  store i32 736, ptr %18, align 4, !tbaa !9
  %73 = load i32, ptr %18, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = add i32 %74, %73
  store i32 %75, ptr %17, align 4, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = call i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x20const0x260x29(ptr noundef %76, i32 noundef %77, i32 noundef %78)
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %16, align 4, !tbaa !9
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 40
  %86 = call i32 @i32_load(ptr noundef %82, i64 noundef %85)
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %87, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = icmp ult i32 %88, %89
  %91 = zext i1 %90 to i32
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %67
  br label %306

95:                                               ; preds = %67
  %96 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %96, ptr %16, align 4, !tbaa !9
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.w2c_hermes, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = add i64 %100, 536
  %102 = call i64 @i64_load(ptr noundef %98, i64 noundef %101)
  store i64 %102, ptr %21, align 8, !tbaa !11
  %103 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %103, ptr %15, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %104 = load i64, ptr %21, align 8, !tbaa !11
  %105 = load i64, ptr %22, align 8, !tbaa !11
  %106 = icmp ult i64 %104, %105
  %107 = zext i1 %106 to i32
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %111

110:                                              ; preds = %95
  br label %306

111:                                              ; preds = %95
  %112 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %112, ptr %21, align 8, !tbaa !11
  %113 = load i64, ptr %21, align 8, !tbaa !11
  %114 = trunc i64 %113 to i32
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %115, ptr %14, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  %118 = xor i1 %117, true
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %111
  br label %373

123:                                              ; preds = %111
  %124 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = call i32 @i32_load(ptr noundef %126, i64 noundef %128)
  store i32 %129, ptr %16, align 4, !tbaa !9
  store i32 50331648, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = sub i32 %131, %130
  store i32 %132, ptr %16, align 4, !tbaa !9
  store i32 134217727, ptr %17, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = icmp ugt i32 %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %123
  br label %306

140:                                              ; preds = %123
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %16, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 36
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %148, ptr %17, align 4, !tbaa !9
  store i32 12, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = mul i32 %150, %149
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %16, align 4, !tbaa !9
  %155 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %155, ptr %12, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = sub i32 %157, %156
  store i32 %158, ptr %16, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = call i32 @i32_load8_u(ptr noundef %160, i64 noundef %162)
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  %166 = xor i1 %165, true
  %167 = zext i1 %166 to i32
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %140
  br label %306

171:                                              ; preds = %140
  %172 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %173, ptr %17, align 4, !tbaa !9
  store i32 536, ptr %18, align 4, !tbaa !9
  %174 = load i32, ptr %18, align 4, !tbaa !9
  %175 = load i32, ptr %17, align 4, !tbaa !9
  %176 = add i32 %175, %174
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 12
  %182 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %181, i32 noundef %182)
  %183 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %183, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 8
  %189 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %185, i64 noundef %188, i32 noundef %189)
  %190 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %190, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = add i32 %192, %191
  store i32 %193, ptr %16, align 4, !tbaa !9
  %194 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %195, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %18, align 4, !tbaa !9
  %198 = add i32 %197, %196
  store i32 %198, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %199, ptr %19, align 4, !tbaa !9
  store i32 12, ptr %20, align 4, !tbaa !9
  %200 = load i32, ptr %20, align 4, !tbaa !9
  %201 = load i32, ptr %19, align 4, !tbaa !9
  %202 = sub i32 %201, %200
  store i32 %202, ptr %19, align 4, !tbaa !9
  %203 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %203, ptr %12, align 4, !tbaa !9
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.w2c_hermes, ptr %204, i32 0, i32 6
  %206 = load i32, ptr %19, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = call i32 @i32_load(ptr noundef %205, i64 noundef %207)
  store i32 %208, ptr %19, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %209, ptr %20, align 4, !tbaa !9
  %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 %20, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = add i64 %213, 4
  %215 = call i32 @i32_load(ptr noundef %211, i64 noundef %214)
  store i32 %215, ptr %20, align 4, !tbaa !9
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = load i32, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %18, align 4, !tbaa !9
  %220 = load i32, ptr %19, align 4, !tbaa !9
  %221 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %216, i32 noundef %217, i32 noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221)
  %222 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %222, ptr %16, align 4, !tbaa !9
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 8
  %228 = call i32 @i32_load(ptr noundef %224, i64 noundef %227)
  store i32 %228, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %229, ptr %9, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %248

232:                                              ; preds = %171
  %233 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %234, ptr %17, align 4, !tbaa !9
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = call i32 @i32_load(ptr noundef %236, i64 noundef %238)
  store i32 %239, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = sub i32 %241, %240
  store i32 %242, ptr %17, align 4, !tbaa !9
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %16, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %244, i64 noundef %246, i32 noundef %247)
  br label %248

248:                                              ; preds = %232, %171
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %16, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 16
  %255 = call i32 @i32_load(ptr noundef %251, i64 noundef %254)
  store i32 %255, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %256, label %259 [
    i32 0, label %257
    i32 1, label %258
  ]

257:                                              ; preds = %248
  br label %260

258:                                              ; preds = %248
  br label %285

259:                                              ; preds = %248
  br label %267

260:                                              ; preds = %257
  %261 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %261, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %16, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %263, i64 noundef %265, i32 noundef %266)
  br label %345

267:                                              ; preds = %259
  store i32 0, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %268, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %16, align 4, !tbaa !9
  %272 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %272, ptr %17, align 4, !tbaa !9
  store i32 77564, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = load i32, ptr %17, align 4, !tbaa !9
  %275 = add i32 %274, %273
  store i32 %275, ptr %17, align 4, !tbaa !9
  store i32 179, ptr %18, align 4, !tbaa !9
  %276 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %276, ptr %19, align 4, !tbaa !9
  store i32 90402, ptr %20, align 4, !tbaa !9
  %277 = load i32, ptr %20, align 4, !tbaa !9
  %278 = load i32, ptr %19, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %19, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = load i32, ptr %16, align 4, !tbaa !9
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = load i32, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

285:                                              ; preds = %258
  %286 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  %287 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %287, ptr %17, align 4, !tbaa !9
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.w2c_hermes, ptr %288, i32 0, i32 6
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = add i64 %291, 24
  %293 = call i64 @i64_load(ptr noundef %289, i64 noundef %292)
  store i64 %293, ptr %22, align 8, !tbaa !11
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.w2c_hermes, ptr %294, i32 0, i32 6
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = add i64 %297, 8
  %299 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %295, i64 noundef %298, i64 noundef %299)
  %300 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %300, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %302, i64 noundef %304, i32 noundef %305)
  br label %345

306:                                              ; preds = %170, %139, %110, %94, %66
  %307 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %307, ptr %16, align 4, !tbaa !9
  store i32 5516, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %17, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = add i32 %309, %308
  store i32 %310, ptr %16, align 4, !tbaa !9
  %311 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %311, ptr %17, align 4, !tbaa !9
  store i32 14, ptr %18, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = load i32, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = load i32, ptr %18, align 4, !tbaa !9
  %316 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315)
  store i32 %316, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %317, ptr %9, align 4, !tbaa !9
  %318 = load i32, ptr %16, align 4, !tbaa !9
  %319 = icmp ne i32 %318, 0
  %320 = xor i1 %319, true
  %321 = zext i1 %320 to i32
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = icmp ne i32 %322, 0
  br i1 %323, label %324, label %325

324:                                              ; preds = %306
  br label %391

325:                                              ; preds = %306
  %326 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %326, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %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 %16, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %328, i64 noundef %330, i32 noundef %331)
  %332 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %332, ptr %16, align 4, !tbaa !9
  %333 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %333, ptr %17, align 4, !tbaa !9
  %334 = load i32, ptr %17, align 4, !tbaa !9
  %335 = zext i32 %334 to i64
  store i64 %335, ptr %22, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %336 = load i64, ptr %23, align 8, !tbaa !11
  %337 = load i64, ptr %22, align 8, !tbaa !11
  %338 = or i64 %337, %336
  store i64 %338, ptr %22, align 8, !tbaa !11
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.w2c_hermes, ptr %339, i32 0, i32 6
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = add i64 %342, 8
  %344 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %340, i64 noundef %343, i64 noundef %344)
  br label %345

345:                                              ; preds = %325, %285, %260
  %346 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %346, ptr %16, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %347, ptr %17, align 4, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.w2c_hermes, ptr %348, i32 0, i32 6
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = zext i32 %350 to i64
  %352 = add i64 %351, 36
  %353 = call i32 @i32_load(ptr noundef %349, i64 noundef %352)
  store i32 %353, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %354, ptr %9, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %17, align 4, !tbaa !9
  %357 = icmp ne i32 %355, %356
  %358 = zext i1 %357 to i32
  store i32 %358, ptr %16, align 4, !tbaa !9
  %359 = load i32, ptr %16, align 4, !tbaa !9
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %365

361:                                              ; preds = %345
  %362 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %362, ptr %16, align 4, !tbaa !9
  %363 = load ptr, ptr %6, align 8, !tbaa !5
  %364 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %363, i32 noundef %364)
  br label %365

365:                                              ; preds = %361, %345
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %17, align 4, !tbaa !9
  %368 = load i32, ptr %16, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %16, align 4, !tbaa !9
  %370 = load i32, ptr %16, align 4, !tbaa !9
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.w2c_hermes, ptr %371, i32 0, i32 3
  store i32 %370, ptr %372, align 8, !tbaa !13
  br label %409

373:                                              ; preds = %122
  store i32 0, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %374, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %375 = load i32, ptr %17, align 4, !tbaa !9
  %376 = load i32, ptr %16, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %16, align 4, !tbaa !9
  %378 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %378, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %379 = load i32, ptr %18, align 4, !tbaa !9
  %380 = load i32, ptr %17, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %382 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %382, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %383 = load i32, ptr %20, align 4, !tbaa !9
  %384 = load i32, ptr %19, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %19, align 4, !tbaa !9
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = load i32, ptr %16, align 4, !tbaa !9
  %388 = load i32, ptr %17, align 4, !tbaa !9
  %389 = load i32, ptr %18, align 4, !tbaa !9
  %390 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %386, i32 noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

391:                                              ; preds = %324
  store i32 0, ptr %16, align 4, !tbaa !9
  %392 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %392, ptr %11, align 4, !tbaa !9
  store i32 195004, ptr %17, align 4, !tbaa !9
  %393 = load i32, ptr %17, align 4, !tbaa !9
  %394 = load i32, ptr %16, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %16, align 4, !tbaa !9
  %396 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %396, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %397 = load i32, ptr %18, align 4, !tbaa !9
  %398 = load i32, ptr %17, align 4, !tbaa !9
  %399 = add i32 %398, %397
  store i32 %399, ptr %17, align 4, !tbaa !9
  store i32 273, ptr %18, align 4, !tbaa !9
  %400 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %400, ptr %19, align 4, !tbaa !9
  store i32 90626, ptr %20, align 4, !tbaa !9
  %401 = load i32, ptr %20, align 4, !tbaa !9
  %402 = load i32, ptr %19, align 4, !tbaa !9
  %403 = add i32 %402, %401
  store i32 %403, ptr %19, align 4, !tbaa !9
  %404 = load ptr, ptr %6, align 8, !tbaa !5
  %405 = load i32, ptr %16, align 4, !tbaa !9
  %406 = load i32, ptr %17, align 4, !tbaa !9
  %407 = load i32, ptr %18, align 4, !tbaa !9
  %408 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %404, i32 noundef %405, i32 noundef %406, i32 noundef %407, i32 noundef %408)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

409:                                              ; preds = %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !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 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

; 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AregExpLastParenGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -96
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %11, i64 noundef 17179869184)
  %12 = add i32 %7, -48
  %13 = add nuw nsw i64 %10, 36
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef %12)
  %14 = zext i32 %3 to i64
  %15 = add nuw nsw i64 %14, 740
  %16 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %15)
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %67, label %17

17:                                               ; preds = %5
  %18 = add i32 %7, -60
  %19 = add i32 %3, 736
  %20 = tail call i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Chermes0x3A0x3AOptValue0x3Chermes0x3A0x3Avm0x3A0x3ARegExpMatchRange0x3E0x3E0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19)
  %21 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %22 = icmp ult i32 %21, 2
  br i1 %22, label %67, label %23

23:                                               ; preds = %17
  %24 = add nuw nsw i64 %14, 536
  %25 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %24)
  %26 = icmp ult i64 %25, -844424930131968
  br i1 %26, label %67, label %27

27:                                               ; preds = %23
  %28 = and i64 %25, 4294967295
  %.not223 = icmp eq i64 %28, 0
  br i1 %.not223, label %79, label %29

29:                                               ; preds = %27
  %30 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %31 = add i32 %30, -184549376
  %32 = icmp ult i32 %31, -134217728
  br i1 %32, label %67, label %33

33:                                               ; preds = %29
  %34 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %35 = mul i32 %21, 12
  %36 = add i32 %34, %35
  %37 = add i32 %36, -4
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %38)
  %.not224 = icmp eq i32 %39, 0
  br i1 %.not224, label %67, label %40

40:                                               ; preds = %33
  %41 = add i32 %3, 536
  %42 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %42, i32 noundef %41)
  %43 = add nuw nsw i64 %10, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %43, i32 noundef 0)
  %44 = add i32 %7, -80
  %45 = add i32 %7, -88
  %46 = add i32 %36, -12
  %47 = zext i32 %46 to i64
  %48 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %47)
  %49 = add nuw nsw i64 %47, 4
  %50 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %49)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aslice0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %3, i32 noundef %45, i32 noundef %48, i32 noundef %50) #4
  %51 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %43)
  %.not225 = icmp eq i32 %51, 0
  br i1 %.not225, label %56, label %52

52:                                               ; preds = %40
  %53 = zext i32 %51 to i64
  %54 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %53)
  %55 = add i32 %54, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef %55)
  br label %56

56:                                               ; preds = %52, %40
  %57 = add nuw nsw i64 %10, 16
  %58 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %57)
  switch i32 %58, label %61 [
    i32 0, label %59
    i32 1, label %62
  ]

59:                                               ; preds = %56
  %60 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %60, i32 noundef 0)
  br label %75

61:                                               ; preds = %56
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %56
  %63 = add nuw nsw i64 %10, 24
  %64 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %63)
  %65 = zext i32 %1 to i64
  %66 = add nuw nsw i64 %65, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %66, i64 noundef %64)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %65, i32 noundef 1)
  br label %75

67:                                               ; preds = %33, %29, %23, %17, %5
  %68 = add i32 %3, 5516
  %69 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %3, i32 noundef 14) #4
  %.not226 = icmp eq i32 %69, 0
  br i1 %.not226, label %80, label %70

70:                                               ; preds = %67
  %71 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %71, i32 noundef 1)
  %72 = zext i32 %69 to i64
  %73 = or disjoint i64 %72, -844424930131968
  %74 = add nuw nsw i64 %71, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %74, i64 noundef %73)
  br label %75

75:                                               ; preds = %70, %62, %59
  %76 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %.not227 = icmp eq i32 %12, %76
  br i1 %.not227, label %78, label %77

77:                                               ; preds = %75
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %76) #4
  br label %78

78:                                               ; preds = %77, %75
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

79:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

80:                                               ; preds = %67
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 195004, i32 noundef 83341, i32 noundef 273, i32 noundef 90626) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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,SimplifyCFGPass,TailCallElimPass