; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 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 @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

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

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

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

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

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

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

62:                                               ; preds = %5
  %63 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %63, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, 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 %14, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %67, i32 noundef %68)
  br label %375

69:                                               ; preds = %5
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 56
  %76 = call i64 @i64_load32_u(ptr noundef %72, i64 noundef %75)
  store i64 %76, ptr %21, align 8, !tbaa !11
  store i64 -281474976710656, ptr %22, align 8, !tbaa !11
  %77 = load i64, ptr %22, align 8, !tbaa !11
  %78 = load i64, ptr %21, align 8, !tbaa !11
  %79 = or i64 %78, %77
  store i64 %79, ptr %21, align 8, !tbaa !11
  %80 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %80, ptr %13, align 8, !tbaa !11
  %81 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %81, ptr %14, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 4
  %87 = call i32 @i32_load(ptr noundef %83, i64 noundef %86)
  store i32 %87, ptr %14, align 4, !tbaa !9
  %88 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %88, ptr %11, align 4, !tbaa !9
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 164
  %94 = call i32 @i32_load(ptr noundef %90, i64 noundef %93)
  store i32 %94, ptr %14, align 4, !tbaa !9
  %95 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %95, ptr %10, align 4, !tbaa !9
  %96 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %96, ptr %15, 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 %15, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = add i64 %100, 168
  %102 = call i32 @i32_load(ptr noundef %98, i64 noundef %101)
  store i32 %102, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = icmp ult i32 %103, %104
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %128

109:                                              ; preds = %69
  %110 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  %111 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %111, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = add i32 %113, %112
  store i32 %114, ptr %15, align 4, !tbaa !9
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %14, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 164
  %120 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %116, i64 noundef %119, i32 noundef %120)
  %121 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %121, ptr %14, align 4, !tbaa !9
  %122 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %122, ptr %22, align 8, !tbaa !11
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %14, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %124, i64 noundef %126, i64 noundef %127)
  br label %136

128:                                              ; preds = %69
  %129 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %129, ptr %14, align 4, !tbaa !9
  %130 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %130, ptr %22, align 8, !tbaa !11
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = load i64, ptr %22, align 8, !tbaa !11
  %134 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %131, i32 noundef %132, i64 noundef %133)
  store i32 %134, ptr %14, align 4, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %135, ptr %10, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %128, %109
  %137 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %137, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %14, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 12
  %143 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %139, i64 noundef %142, i32 noundef %143)
  %144 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %144, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = add i64 %148, 16
  %150 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %146, i64 noundef %149, i32 noundef %150)
  %151 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %151, ptr %14, align 4, !tbaa !9
  store i32 32, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %14, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %14, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 179, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %157, ptr %18, align 4, !tbaa !9
  %158 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %158, ptr %19, align 4, !tbaa !9
  store i32 12, ptr %20, align 4, !tbaa !9
  %159 = load i32, ptr %20, align 4, !tbaa !9
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = add i32 %160, %159
  store i32 %161, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = load i32, ptr %14, align 4, !tbaa !9
  %164 = load i32, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = load i32, ptr %18, align 4, !tbaa !9
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetNamedWithReceiver_RJS0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3APropOpFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyCacheEntry0x2A0x29(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169)
  %170 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %170, ptr %14, align 4, !tbaa !9
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %14, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 32
  %176 = call i32 @i32_load(ptr noundef %172, i64 noundef %175)
  store i32 %176, ptr %14, align 4, !tbaa !9
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  %179 = xor i1 %178, true
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %190

183:                                              ; preds = %136
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %186, i64 noundef %188, i32 noundef %189)
  br label %375

190:                                              ; preds = %136
  %191 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %191, ptr %14, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = add i64 %195, 40
  %197 = call i64 @i64_load(ptr noundef %193, i64 noundef %196)
  store i64 %197, ptr %21, align 8, !tbaa !11
  %198 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %198, ptr %13, align 8, !tbaa !11
  %199 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %199, ptr %14, align 4, !tbaa !9
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = add i64 %203, 4
  %205 = call i32 @i32_load(ptr noundef %201, i64 noundef %204)
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %206, ptr %12, align 4, !tbaa !9
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = add i64 %210, 164
  %212 = call i32 @i32_load(ptr noundef %208, i64 noundef %211)
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %213, ptr %11, align 4, !tbaa !9
  %214 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = add i64 %218, 168
  %220 = call i32 @i32_load(ptr noundef %216, i64 noundef %219)
  store i32 %220, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = icmp ult i32 %221, %222
  %224 = zext i1 %223 to i32
  store i32 %224, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = icmp ne i32 %225, 0
  br i1 %226, label %227, label %246

227:                                              ; preds = %190
  %228 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %15, align 4, !tbaa !9
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.w2c_hermes, ptr %233, i32 0, i32 6
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = add i64 %236, 164
  %238 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %234, i64 noundef %237, i32 noundef %238)
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %14, align 4, !tbaa !9
  %240 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %240, ptr %22, align 8, !tbaa !11
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %242, i64 noundef %244, i64 noundef %245)
  br label %260

246:                                              ; preds = %190
  %247 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %247, ptr %14, align 4, !tbaa !9
  %248 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %248, ptr %22, align 8, !tbaa !11
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = load i32, ptr %14, align 4, !tbaa !9
  %251 = load i64, ptr %22, align 8, !tbaa !11
  %252 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %249, i32 noundef %250, i64 noundef %251)
  store i32 %252, ptr %14, align 4, !tbaa !9
  %253 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %253, ptr %11, align 4, !tbaa !9
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = call i64 @i64_load(ptr noundef %255, i64 noundef %257)
  store i64 %258, ptr %21, align 8, !tbaa !11
  %259 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %259, ptr %13, align 8, !tbaa !11
  br label %260

260:                                              ; preds = %246, %227
  store i32 67200, ptr %14, align 4, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %261, ptr %12, align 4, !tbaa !9
  %262 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %262, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %263 = load i64, ptr %21, align 8, !tbaa !11
  %264 = load i64, ptr %22, align 8, !tbaa !11
  %265 = icmp uge i64 %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %14, align 4, !tbaa !9
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %295

269:                                              ; preds = %260
  store i32 67200, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %15, align 4, !tbaa !9
  %271 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %271, ptr %23, align 8, !tbaa !11
  %272 = load i64, ptr %23, align 8, !tbaa !11
  %273 = trunc i64 %272 to i32
  store i32 %273, ptr %16, align 4, !tbaa !9
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %16, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = call i32 @i32_load(ptr noundef %275, i64 noundef %277)
  store i32 %278, ptr %16, align 4, !tbaa !9
  store i32 1140850688, ptr %17, align 4, !tbaa !9
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = load i32, ptr %16, align 4, !tbaa !9
  %281 = sub i32 %280, %279
  store i32 %281, ptr %16, align 4, !tbaa !9
  store i32 150994944, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %16, align 4, !tbaa !9
  %283 = load i32, ptr %17, align 4, !tbaa !9
  %284 = icmp uge i32 %282, %283
  %285 = zext i1 %284 to i32
  store i32 %285, ptr %16, align 4, !tbaa !9
  %286 = load i32, ptr %16, align 4, !tbaa !9
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %290

288:                                              ; preds = %269
  %289 = load i32, ptr %14, align 4, !tbaa !9
  br label %292

290:                                              ; preds = %269
  %291 = load i32, ptr %15, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %290, %288
  %293 = phi i32 [ %289, %288 ], [ %291, %290 ]
  store i32 %293, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %294, ptr %12, align 4, !tbaa !9
  br label %295

295:                                              ; preds = %292, %260
  %296 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %296, ptr %14, align 4, !tbaa !9
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = call i64 @i64_load(ptr noundef %298, i64 noundef %300)
  store i64 %301, ptr %21, align 8, !tbaa !11
  %302 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %302, ptr %13, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %303 = load i64, ptr %21, align 8, !tbaa !11
  %304 = load i64, ptr %22, align 8, !tbaa !11
  %305 = icmp uge i64 %303, %304
  %306 = zext i1 %305 to i32
  store i32 %306, ptr %14, align 4, !tbaa !9
  %307 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %307, ptr %22, align 8, !tbaa !11
  store i64 4294967295, ptr %23, align 8, !tbaa !11
  %308 = load i64, ptr %23, align 8, !tbaa !11
  %309 = load i64, ptr %22, align 8, !tbaa !11
  %310 = and i64 %309, %308
  store i64 %310, ptr %22, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !11
  %311 = load i64, ptr %22, align 8, !tbaa !11
  %312 = load i64, ptr %23, align 8, !tbaa !11
  %313 = icmp ne i64 %311, %312
  %314 = zext i1 %313 to i32
  store i32 %314, ptr %15, align 4, !tbaa !9
  %315 = load i32, ptr %15, align 4, !tbaa !9
  %316 = load i32, ptr %14, align 4, !tbaa !9
  %317 = and i32 %316, %315
  store i32 %317, ptr %14, align 4, !tbaa !9
  %318 = load i32, ptr %14, 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 %14, align 4, !tbaa !9
  %322 = load i32, ptr %14, align 4, !tbaa !9
  %323 = icmp ne i32 %322, 0
  br i1 %323, label %324, label %332

324:                                              ; preds = %295
  %325 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %325, ptr %14, align 4, !tbaa !9
  %326 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %326, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %327, ptr %16, align 4, !tbaa !9
  %328 = load ptr, ptr %6, align 8, !tbaa !5
  %329 = load i32, ptr %14, align 4, !tbaa !9
  %330 = load i32, ptr %15, align 4, !tbaa !9
  %331 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdirectObjectPrototypeToString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %328, i32 noundef %329, i32 noundef %330, i32 noundef %331)
  br label %375

332:                                              ; preds = %295
  %333 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %333, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %334 = load i32, ptr %15, align 4, !tbaa !9
  %335 = load i32, ptr %14, align 4, !tbaa !9
  %336 = add i32 %335, %334
  store i32 %336, ptr %14, align 4, !tbaa !9
  %337 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %337, ptr %15, align 4, !tbaa !9
  %338 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %338, ptr %16, align 4, !tbaa !9
  %339 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %339, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %340 = load ptr, ptr %6, align 8, !tbaa !5
  %341 = load i32, ptr %14, align 4, !tbaa !9
  %342 = load i32, ptr %15, align 4, !tbaa !9
  %343 = load i32, ptr %16, align 4, !tbaa !9
  %344 = load i32, ptr %17, align 4, !tbaa !9
  %345 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3AexecuteCall00x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345)
  %346 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %346, ptr %14, align 4, !tbaa !9
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %14, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = add i64 %350, 16
  %352 = call i32 @i32_load(ptr noundef %348, i64 noundef %351)
  store i32 %352, ptr %14, align 4, !tbaa !9
  %353 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %353, ptr %9, align 4, !tbaa !9
  %354 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %354, ptr %14, align 4, !tbaa !9
  %355 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %355, ptr %15, align 4, !tbaa !9
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %15, align 4, !tbaa !9
  %359 = zext i32 %358 to i64
  %360 = add i64 %359, 24
  %361 = call i64 @i64_load(ptr noundef %357, i64 noundef %360)
  store i64 %361, ptr %22, align 8, !tbaa !11
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 6
  %364 = load i32, ptr %14, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = add i64 %365, 8
  %367 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %363, i64 noundef %366, i64 noundef %367)
  %368 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %368, ptr %14, align 4, !tbaa !9
  %369 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %369, ptr %15, align 4, !tbaa !9
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.w2c_hermes, ptr %370, i32 0, i32 6
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = zext i32 %372 to i64
  %374 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %371, i64 noundef %373, i32 noundef %374)
  br label %375

375:                                              ; preds = %332, %324, %183, %62
  %376 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %376, ptr %14, align 4, !tbaa !9
  store i32 -64, ptr %15, align 4, !tbaa !9
  %377 = load i32, ptr %15, align 4, !tbaa !9
  %378 = load i32, ptr %14, align 4, !tbaa !9
  %379 = sub i32 %378, %377
  store i32 %379, ptr %14, align 4, !tbaa !9
  %380 = load i32, ptr %14, align 4, !tbaa !9
  %381 = load ptr, ptr %6, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.w2c_hermes, ptr %381, i32 0, i32 3
  store i32 %380, ptr %382, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!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 @i64_store(ptr noundef, i64 noundef, i64 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 @i32_store(ptr noundef, i64 noundef, i32 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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AarrayPrototypeToString0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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, -64
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = add i32 %7, -16
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %4 to i64
  %12 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %11)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %9, i32 noundef %3, i32 noundef %12) #3
  %13 = zext i32 %8 to i64
  %14 = add nuw nsw i64 %13, 48
  %15 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %18

16:                                               ; preds = %5
  %17 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %17, i32 noundef 0)
  br label %84

18:                                               ; preds = %5
  %19 = add nuw nsw i64 %13, 56
  %20 = tail call i64 @i64_load32_u(ptr noundef nonnull %10, i64 noundef %19)
  %21 = or i64 %20, -281474976710656
  %22 = zext i32 %3 to i64
  %23 = add nuw nsw i64 %22, 4
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %23)
  %25 = zext i32 %24 to i64
  %26 = add nuw nsw i64 %25, 164
  %27 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %26)
  %28 = add nuw nsw i64 %25, 168
  %29 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %28)
  %30 = icmp ult i32 %27, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %18
  %32 = add i32 %27, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %26, i32 noundef %32)
  %33 = zext i32 %27 to i64
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %33, i64 noundef %21)
  br label %36

34:                                               ; preds = %18
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %24, i64 noundef %21) #3
  br label %36

36:                                               ; preds = %34, %31
  %.0209 = phi i32 [ %27, %31 ], [ %35, %34 ]
  %37 = add nuw nsw i64 %13, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %37, i32 noundef 0)
  %38 = add nuw nsw i64 %13, 16
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %38, i32 noundef 0)
  %39 = add i32 %7, -32
  %40 = add i32 %7, -52
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetNamedWithReceiver_RJS0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3APropOpFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyCacheEntry0x2A0x29(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %.0209, i32 noundef %3, i32 noundef 179, i32 noundef %.0209, i32 noundef %40, i32 noundef 0) #3
  %41 = add nuw nsw i64 %13, 32
  %42 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %41)
  %.not212 = icmp eq i32 %42, 0
  br i1 %.not212, label %43, label %45

43:                                               ; preds = %36
  %44 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %44, i32 noundef 0)
  br label %84

45:                                               ; preds = %36
  %46 = add nuw nsw i64 %13, 40
  %47 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %46)
  %48 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %23)
  %49 = zext i32 %48 to i64
  %50 = add nuw nsw i64 %49, 164
  %51 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %50)
  %52 = add nuw nsw i64 %49, 168
  %53 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %52)
  %54 = icmp ult i32 %51, %53
  br i1 %54, label %55, label %58

55:                                               ; preds = %45
  %56 = add i32 %51, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %50, i32 noundef %56)
  %57 = zext i32 %51 to i64
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %57, i64 noundef %47)
  br label %62

58:                                               ; preds = %45
  %59 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %48, i64 noundef %47) #3
  %60 = zext i32 %59 to i64
  %61 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %60)
  br label %62

62:                                               ; preds = %58, %55
  %.0208 = phi i32 [ %51, %55 ], [ %59, %58 ]
  %.0 = phi i64 [ %47, %55 ], [ %61, %58 ]
  %63 = icmp ugt i64 %.0, -844424930131969
  br i1 %63, label %64, label %70

64:                                               ; preds = %62
  %65 = and i64 %.0, 4294967295
  %66 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %65)
  %67 = add i32 %66, -1291845632
  %68 = icmp ult i32 %67, -150994944
  %69 = select i1 %68, i32 67200, i32 %.0208
  br label %70

70:                                               ; preds = %64, %62
  %.0207 = phi i32 [ %69, %64 ], [ 67200, %62 ]
  %71 = zext i32 %.0207 to i64
  %72 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %71)
  %73 = icmp ult i64 %72, -844424930131968
  %74 = and i64 %72, 4294967295
  %75 = icmp eq i64 %74, 0
  %.not215 = or i1 %73, %75
  br i1 %.not215, label %76, label %77

76:                                               ; preds = %70
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdirectObjectPrototypeToString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %.0209) #3
  br label %84

77:                                               ; preds = %70
  %78 = add i32 %7, -48
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3AexecuteCall00x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef %78, i32 noundef %.0207, i32 noundef %3, i32 noundef %.0209, i32 noundef 0) #3
  %79 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %38)
  %80 = add nuw nsw i64 %13, 24
  %81 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %80)
  %82 = zext i32 %1 to i64
  %83 = add nuw nsw i64 %82, 8
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %83, i64 noundef %81)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %82, i32 noundef %79)
  br label %84

84:                                               ; preds = %77, %76, %43, %16
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!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