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

; 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: 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) #1

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSRegExp0x3A0x3AJSRegExp0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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 i64, align 8
  %12 = alloca i64, align 8
  %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 i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = 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 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  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 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %22 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %22, ptr %13, align 4, !tbaa !9
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 6
  %25 = load i32, ptr %13, align 4, !tbaa !9
  %26 = zext i32 %25 to i64
  %27 = add i64 %26, 4
  %28 = call i32 @i32_load(ptr noundef %24, i64 noundef %27)
  store i32 %28, ptr %13, align 4, !tbaa !9
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %13, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = call i64 @i64_load(ptr noundef %30, i64 noundef %32)
  store i64 %33, ptr %18, align 8, !tbaa !11
  %34 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %34, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %35 = load i64, ptr %18, align 8, !tbaa !11
  %36 = load i64, ptr %19, align 8, !tbaa !11
  %37 = and i64 %36, 63
  %38 = ashr i64 %35, %37
  store i64 %38, ptr %18, align 8, !tbaa !11
  %39 = load i64, ptr %18, align 8, !tbaa !11
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %13, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = icmp eq i32 %41, %42
  %44 = zext i1 %43 to i32
  store i32 %44, ptr %13, align 4, !tbaa !9
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %213

47:                                               ; preds = %5
  %48 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %48, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %49 = load i64, ptr %18, align 8, !tbaa !11
  %50 = load i64, ptr %19, align 8, !tbaa !11
  %51 = icmp ule i64 %49, %50
  %52 = zext i1 %51 to i32
  store i32 %52, ptr %13, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %47
  br label %231

56:                                               ; preds = %47
  %57 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %57, ptr %13, align 4, !tbaa !9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %13, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = add i64 %61, 4
  %63 = call i32 @i32_load(ptr noundef %59, i64 noundef %62)
  store i32 %63, ptr %13, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = call i64 @i64_load(ptr noundef %65, i64 noundef %67)
  store i64 %68, ptr %18, align 8, !tbaa !11
  %69 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %69, ptr %12, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %70 = load i64, ptr %18, align 8, !tbaa !11
  %71 = load i64, ptr %19, align 8, !tbaa !11
  %72 = and i64 %71, 63
  %73 = ashr i64 %70, %72
  store i64 %73, ptr %18, align 8, !tbaa !11
  %74 = load i64, ptr %18, align 8, !tbaa !11
  %75 = trunc i64 %74 to i32
  store i32 %75, ptr %13, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = icmp ne i32 %76, %77
  %79 = zext i1 %78 to i32
  store i32 %79, ptr %13, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %56
  br label %249

83:                                               ; preds = %56
  %84 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %84, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %85 = load i64, ptr %18, align 8, !tbaa !11
  %86 = load i64, ptr %19, align 8, !tbaa !11
  %87 = icmp ule i64 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %13, align 4, !tbaa !9
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %83
  br label %267

92:                                               ; preds = %83
  %93 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %94, ptr %14, align 4, !tbaa !9
  %95 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %95, ptr %20, align 8, !tbaa !11
  %96 = load i64, ptr %20, align 8, !tbaa !11
  %97 = trunc i64 %96 to i32
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %98, ptr %21, align 8, !tbaa !11
  %99 = load i64, ptr %21, align 8, !tbaa !11
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = load i32, ptr %13, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105)
  store i32 %106, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %107, ptr %9, align 4, !tbaa !9
  %108 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %108, ptr %14, align 4, !tbaa !9
  store i32 5516, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = load i32, ptr %14, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %14, align 4, !tbaa !9
  %112 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %112, ptr %15, align 4, !tbaa !9
  store i32 14, ptr %16, align 4, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = load i32, ptr %15, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %116)
  store i32 %117, ptr %14, align 4, !tbaa !9
  %118 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 28
  %124 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %120, i64 noundef %123, i32 noundef %124)
  %125 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %125, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %13, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %129, ptr %7, align 4, !tbaa !9
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load i32, ptr %13, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %148

133:                                              ; preds = %92
  %134 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %134, ptr %13, align 4, !tbaa !9
  %135 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %135, ptr %14, align 4, !tbaa !9
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = load i32, ptr %14, align 4, !tbaa !9
  %139 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %136, i32 noundef %137, i32 noundef %138)
  store i32 %139, ptr %13, align 4, !tbaa !9
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  %142 = xor i1 %141, true
  %143 = zext i1 %142 to i32
  store i32 %143, ptr %13, align 4, !tbaa !9
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %133
  br label %285

147:                                              ; preds = %133
  br label %148

148:                                              ; preds = %147, %92
  %149 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %149, ptr %13, align 4, !tbaa !9
  store i32 1396, ptr %14, align 4, !tbaa !9
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = add i32 %151, %150
  store i32 %152, ptr %13, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = call i32 @i32_load(ptr noundef %154, i64 noundef %156)
  store i32 %157, ptr %13, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %158, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = add i32 %160, %159
  store i32 %161, ptr %14, align 4, !tbaa !9
  %162 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %162, ptr %8, align 4, !tbaa !9
  store i32 -4194304, ptr %15, align 4, !tbaa !9
  %163 = load i32, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = and i32 %164, %163
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %13, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = icmp ne i32 %166, %167
  %169 = zext i1 %168 to i32
  store i32 %169, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %13, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %180

172:                                              ; preds = %148
  %173 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %173, ptr %13, align 4, !tbaa !9
  %174 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %174, ptr %14, align 4, !tbaa !9
  %175 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = load i32, ptr %13, align 4, !tbaa !9
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %176, i32 noundef %177, i32 noundef %178, i32 noundef %179)
  br label %180

180:                                              ; preds = %172, %148
  %181 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %181, ptr %13, align 4, !tbaa !9
  store i64 0, ptr %19, align 8, !tbaa !11
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 32
  %187 = load i64, ptr %19, align 8, !tbaa !11
  call void @i64_store(ptr noundef %183, i64 noundef %186, i64 noundef %187)
  %188 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %188, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %13, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 44
  %194 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %193, i32 noundef %194)
  %195 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %195, ptr %13, align 4, !tbaa !9
  %196 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %196, ptr %14, align 4, !tbaa !9
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 40
  %202 = call i32 @i32_load8_u(ptr noundef %198, i64 noundef %201)
  store i32 %202, ptr %14, align 4, !tbaa !9
  store i32 128, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  %205 = and i32 %204, %203
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %13, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = add i64 %209, 40
  %211 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %207, i64 noundef %210, i32 noundef %211)
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  br label %303

213:                                              ; preds = %5
  store i32 0, ptr %13, align 4, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %214, ptr %9, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %13, align 4, !tbaa !9
  %218 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %218, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = add i32 %220, %219
  store i32 %221, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %222 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %222, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %16, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

231:                                              ; preds = %55
  store i32 0, ptr %13, align 4, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %232, ptr %9, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = load i32, ptr %13, align 4, !tbaa !9
  %235 = add i32 %234, %233
  store i32 %235, ptr %13, align 4, !tbaa !9
  %236 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %237 = load i32, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %14, align 4, !tbaa !9
  %239 = add i32 %238, %237
  store i32 %239, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %16, align 4, !tbaa !9
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = load i32, ptr %13, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef %248)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

249:                                              ; preds = %82
  store i32 0, ptr %13, align 4, !tbaa !9
  %250 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %250, ptr %9, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %13, align 4, !tbaa !9
  %253 = add i32 %252, %251
  store i32 %253, ptr %13, align 4, !tbaa !9
  %254 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %254, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %255 = load i32, ptr %15, align 4, !tbaa !9
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %258 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %258, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %16, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = load i32, ptr %13, align 4, !tbaa !9
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265, i32 noundef %266)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

267:                                              ; preds = %91
  store i32 0, ptr %13, align 4, !tbaa !9
  %268 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %268, ptr %9, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %13, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %13, align 4, !tbaa !9
  %272 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %272, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = load i32, ptr %14, align 4, !tbaa !9
  %275 = add i32 %274, %273
  store i32 %275, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %276, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %16, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = load i32, ptr %13, align 4, !tbaa !9
  %282 = load i32, ptr %14, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = load i32, ptr %16, 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 = %146
  store i32 0, ptr %13, align 4, !tbaa !9
  %286 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %286, ptr %9, align 4, !tbaa !9
  store i32 147550, ptr %14, align 4, !tbaa !9
  %287 = load i32, ptr %14, align 4, !tbaa !9
  %288 = load i32, ptr %13, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %13, align 4, !tbaa !9
  %290 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %290, ptr %14, align 4, !tbaa !9
  store i32 83763, ptr %15, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %16, align 4, !tbaa !9
  store i32 92238, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %16, align 4, !tbaa !9
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = load i32, ptr %13, align 4, !tbaa !9
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

303:                                              ; preds = %180
  %304 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret i32 %304
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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}


; 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: noreturn
declare void @wasm_rt_trap(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 #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr 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 #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSRegExp0x3A0x3AJSRegExp0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x29(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 40
  %7 = zext i32 %3 to i64
  %8 = add nuw nsw i64 %7, 4
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = zext i32 %9 to i64
  %11 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %10)
  %12 = icmp ugt i64 %11, -281474976710657
  br i1 %12, label %13, label %43

13:                                               ; preds = %5
  %14 = zext i32 %4 to i64
  %15 = add nuw nsw i64 %14, 4
  %16 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %15)
  %17 = zext i32 %16 to i64
  %18 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %17)
  %.not = icmp ugt i64 %18, -281474976710657
  br i1 %.not, label %19, label %44

19:                                               ; preds = %13
  %20 = trunc i64 %11 to i32
  %21 = trunc i64 %18 to i32
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %20, i32 noundef %21)
  %23 = add i32 %2, 5516
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %0, i32 noundef %23, i32 noundef %2, i32 noundef 14) #4
  %25 = zext i32 %22 to i64
  %26 = add nuw nsw i64 %25, 28
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %26, i32 noundef %24)
  %27 = add i32 %2, 808
  %.not180 = icmp eq i32 %24, 0
  br i1 %.not180, label %30, label %28

28:                                               ; preds = %19
  %29 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %27, i32 noundef %24) #4
  %.not181 = icmp eq i32 %29, 0
  br i1 %.not181, label %45, label %30

30:                                               ; preds = %28, %19
  %31 = add i32 %2, 1396
  %32 = zext i32 %31 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = add i32 %22, 28
  %35 = and i32 %34, -4194304
  %.not182 = icmp eq i32 %33, %35
  br i1 %.not182, label %37, label %36

36:                                               ; preds = %30
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %0, i32 noundef %27, i32 noundef %34, i32 noundef %24) #4
  br label %37

37:                                               ; preds = %36, %30
  %38 = add nuw nsw i64 %25, 32
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %38, i64 noundef 0)
  %39 = add nuw nsw i64 %25, 44
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %39, i32 noundef 0)
  %40 = add nuw nsw i64 %25, 40
  %41 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %40)
  %42 = and i32 %41, 128
  tail call void @i32_store8(ptr noundef nonnull %6, i64 noundef %40, i32 noundef %42)
  ret i32 %22

43:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

44:                                               ; preds = %13
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

45:                                               ; preds = %28
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147550, i32 noundef 83763, i32 noundef 28, i32 noundef 92238) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { 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 #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 }
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)"}


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