; 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_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #2

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

51:                                               ; preds = %5
  %52 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %52, ptr %19, align 8, !tbaa !11
  %53 = load i64, ptr %19, align 8, !tbaa !11
  %54 = trunc i64 %53 to i32
  store i32 %54, ptr %15, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 3
  %60 = call i32 @i32_load8_u(ptr noundef %56, i64 noundef %59)
  store i32 %60, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = and i32 %61, 31
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = shl i32 %63, %62
  store i32 %64, ptr %15, align 4, !tbaa !9
  store i32 805306368, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = icmp eq i32 %65, %66
  %68 = zext i1 %67 to i32
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %51
  br label %81

72:                                               ; preds = %51
  br label %73

73:                                               ; preds = %72, %5
  store i32 67200, ptr %15, align 4, !tbaa !9
  %74 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %74, ptr %12, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = call i64 @i64_load(ptr noundef %76, i64 noundef %78)
  store i64 %79, ptr %19, align 8, !tbaa !11
  %80 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %80, ptr %14, align 8, !tbaa !11
  br label %81

81:                                               ; preds = %73, %71
  %82 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %82, ptr %19, align 8, !tbaa !11
  store i64 4294967295, ptr %20, align 8, !tbaa !11
  %83 = load i64, ptr %20, align 8, !tbaa !11
  %84 = load i64, ptr %19, align 8, !tbaa !11
  %85 = and i64 %84, %83
  store i64 %85, ptr %19, align 8, !tbaa !11
  store i64 0, ptr %20, align 8, !tbaa !11
  %86 = load i64, ptr %19, align 8, !tbaa !11
  %87 = load i64, ptr %20, align 8, !tbaa !11
  %88 = icmp ne i64 %86, %87
  %89 = zext i1 %88 to i32
  store i32 %89, ptr %15, align 4, !tbaa !9
  %90 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %90, ptr %20, align 8, !tbaa !11
  store i64 -844424930131968, ptr %21, align 8, !tbaa !11
  %91 = load i64, ptr %20, align 8, !tbaa !11
  %92 = load i64, ptr %21, align 8, !tbaa !11
  %93 = icmp uge i64 %91, %92
  %94 = zext i1 %93 to i32
  store i32 %94, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = and i32 %96, %95
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  %100 = xor i1 %99, true
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %148

104:                                              ; preds = %81
  %105 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %105, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 40
  %111 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  %112 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %112, ptr %15, align 4, !tbaa !9
  store i64 184683593729, ptr %20, align 8, !tbaa !11
  %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, 32
  %118 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %114, i64 noundef %117, i64 noundef %118)
  %119 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %119, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, 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, 16
  %125 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %121, i64 noundef %124, i32 noundef %125)
  %126 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %126, ptr %15, align 4, !tbaa !9
  store i32 33132, ptr %16, align 4, !tbaa !9
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 8
  %132 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %128, i64 noundef %131, i32 noundef %132)
  %133 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %134, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %136 = load i32, ptr %18, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = add i32 %137, %136
  store i32 %138, ptr %17, align 4, !tbaa !9
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %144, i64 noundef %146, i32 noundef %147)
  br label %305

148:                                              ; preds = %81
  %149 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %149, ptr %15, align 4, !tbaa !9
  %150 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %150, ptr %16, align 4, !tbaa !9
  store i32 488, ptr %17, align 4, !tbaa !9
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %16, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %16, align 4, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = load i32, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSMapIteratorImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29500x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %154, i32 noundef %155, i32 noundef %156)
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  store i64 %159, ptr %19, align 8, !tbaa !11
  store i64 -281474976710656, ptr %20, align 8, !tbaa !11
  %160 = load i64, ptr %20, align 8, !tbaa !11
  %161 = load i64, ptr %19, align 8, !tbaa !11
  %162 = or i64 %161, %160
  store i64 %162, ptr %19, align 8, !tbaa !11
  %163 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %163, ptr %14, align 8, !tbaa !11
  %164 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 4
  %170 = call i32 @i32_load(ptr noundef %166, i64 noundef %169)
  store i32 %170, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %171, ptr %11, align 4, !tbaa !9
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.w2c_hermes, ptr %172, i32 0, i32 6
  %174 = load i32, ptr %15, align 4, !tbaa !9
  %175 = zext i32 %174 to i64
  %176 = add i64 %175, 164
  %177 = call i32 @i32_load(ptr noundef %173, i64 noundef %176)
  store i32 %177, ptr %15, align 4, !tbaa !9
  %178 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %178, ptr %10, align 4, !tbaa !9
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = add i64 %183, 168
  %185 = call i32 @i32_load(ptr noundef %181, i64 noundef %184)
  store i32 %185, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = icmp ult i32 %186, %187
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %211

192:                                              ; preds = %148
  %193 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %193, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %194, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %16, align 4, !tbaa !9
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 164
  %203 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %199, i64 noundef %202, i32 noundef %203)
  %204 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %204, ptr %15, align 4, !tbaa !9
  %205 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %205, ptr %20, align 8, !tbaa !11
  %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 %15, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %207, i64 noundef %209, i64 noundef %210)
  br label %225

211:                                              ; preds = %148
  %212 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %213, ptr %20, align 8, !tbaa !11
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = load i64, ptr %20, align 8, !tbaa !11
  %217 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %214, i32 noundef %215, i64 noundef %216)
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %218, ptr %10, align 4, !tbaa !9
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %15, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = call i64 @i64_load(ptr noundef %220, i64 noundef %222)
  store i64 %223, ptr %19, align 8, !tbaa !11
  %224 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %224, ptr %14, align 8, !tbaa !11
  br label %225

225:                                              ; preds = %211, %192
  %226 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %226, ptr %15, align 4, !tbaa !9
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = call i32 @i32_load(ptr noundef %228, i64 noundef %230)
  store i32 %231, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %232, ptr %11, align 4, !tbaa !9
  %233 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %233, ptr %15, align 4, !tbaa !9
  store i32 1356, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %15, 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 = call i32 @i32_load(ptr noundef %238, i64 noundef %240)
  store i32 %241, ptr %15, align 4, !tbaa !9
  %242 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %242, ptr %20, align 8, !tbaa !11
  %243 = load i64, ptr %20, align 8, !tbaa !11
  %244 = trunc i64 %243 to i32
  store i32 %244, ptr %16, align 4, !tbaa !9
  %245 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %245, ptr %12, align 4, !tbaa !9
  store i32 20, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %249, ptr %13, align 4, !tbaa !9
  store i32 -4194304, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %17, align 4, !tbaa !9
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = and i32 %251, %250
  store i32 %252, ptr %16, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = icmp ne i32 %253, %254
  %256 = zext i1 %255 to i32
  store i32 %256, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %15, align 4, !tbaa !9
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %270

259:                                              ; preds = %225
  %260 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %260, ptr %15, align 4, !tbaa !9
  store i32 808, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %265, ptr %17, align 4, !tbaa !9
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = load i32, ptr %15, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef %266, i32 noundef %267, i32 noundef %268, i32 noundef %269)
  br label %270

270:                                              ; preds = %259, %225
  %271 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %271, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %15, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 28
  %277 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %273, i64 noundef %276, i32 noundef %277)
  %278 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %278, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %279, ptr %16, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 20
  %285 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %281, i64 noundef %284, i32 noundef %285)
  %286 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %287, ptr %16, 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 %16, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = call i64 @i64_load(ptr noundef %289, i64 noundef %291)
  store i64 %292, ptr %20, align 8, !tbaa !11
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = add i64 %296, 8
  %298 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %294, i64 noundef %297, i64 noundef %298)
  %299 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %299, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.w2c_hermes, ptr %300, i32 0, i32 6
  %302 = load i32, ptr %15, align 4, !tbaa !9
  %303 = zext i32 %302 to i64
  %304 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %301, i64 noundef %303, i32 noundef %304)
  br label %305

305:                                              ; preds = %270, %104
  %306 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %306, ptr %15, align 4, !tbaa !9
  store i32 48, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %15, align 4, !tbaa !9
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.w2c_hermes, ptr %311, i32 0, i32 3
  store i32 %310, ptr %312, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 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 = { "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}
!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: 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_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmapPrototypeKeys0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -48
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %12)
  %14 = icmp ugt i64 %13, -844424930131969
  br i1 %14, label %15, label %20

15:                                               ; preds = %5
  %16 = and i64 %13, 4294967295
  %17 = add nuw nsw i64 %16, 3
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %17)
  %.mask = and i32 %18, 255
  %19 = icmp eq i32 %.mask, 48
  br i1 %19, label %23, label %20

20:                                               ; preds = %15, %5
  %21 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 67200)
  %.pre = and i64 %21, 4294967295
  %22 = icmp ult i64 %21, -844424930131968
  br label %23

23:                                               ; preds = %15, %20
  %.pre-phi = phi i64 [ %16, %15 ], [ %.pre, %20 ]
  %.0167 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0166 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not171 = or i1 %.0166, %24
  br i1 %.not171, label %25, label %34

25:                                               ; preds = %23
  %26 = zext i32 %8 to i64
  %27 = add nuw nsw i64 %26, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef 0)
  %28 = add nuw nsw i64 %26, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef 184683593729)
  %29 = add nuw nsw i64 %26, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef 3)
  %30 = add nuw nsw i64 %26, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 33132)
  %31 = add i32 %7, -40
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %31) #3
  %33 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef %32)
  br label %74

34:                                               ; preds = %23
  %35 = add i32 %3, 488
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSMapIteratorImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29500x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %35) #3
  %37 = zext i32 %36 to i64
  %38 = or disjoint i64 %37, -281474976710656
  %39 = zext i32 %3 to i64
  %40 = add nuw nsw i64 %39, 4
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %42 = zext i32 %41 to i64
  %43 = add nuw nsw i64 %42, 164
  %44 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %43)
  %45 = add nuw nsw i64 %42, 168
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %45)
  %47 = icmp ult i32 %44, %46
  br i1 %47, label %48, label %51

48:                                               ; preds = %34
  %49 = add i32 %44, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %43, i32 noundef %49)
  %50 = zext i32 %44 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %50, i64 noundef %38)
  br label %55

51:                                               ; preds = %34
  %52 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %41, i64 noundef %38) #3
  %53 = zext i32 %52 to i64
  %54 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %53)
  br label %55

55:                                               ; preds = %51, %48
  %.1 = phi i64 [ %38, %48 ], [ %54, %51 ]
  %.0 = phi i32 [ %44, %48 ], [ %52, %51 ]
  %56 = zext i32 %.0167 to i64
  %57 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %56)
  %58 = add i32 %3, 1356
  %59 = zext i32 %58 to i64
  %60 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %59)
  %61 = trunc i64 %.1 to i32
  %62 = add i32 %61, 20
  %63 = and i32 %62, -4194304
  %.not = icmp eq i32 %60, %63
  br i1 %.not, label %66, label %64

64:                                               ; preds = %55
  %65 = add i32 %3, 808
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %62, i32 noundef %57) #3
  br label %66

66:                                               ; preds = %64, %55
  %67 = and i64 %.1, 4294967295
  %68 = add nuw nsw i64 %67, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %68, i32 noundef 0)
  %69 = add nuw nsw i64 %67, 20
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %69, i32 noundef %57)
  %70 = zext i32 %.0 to i64
  %71 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %70)
  %72 = zext i32 %1 to i64
  %73 = add nuw nsw i64 %72, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %73, i64 noundef %71)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %72, i32 noundef 1)
  br label %74

74:                                               ; preds = %66, %25
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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)"}
!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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass