; 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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load32_u(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 i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #2

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

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

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

55:                                               ; preds = %5
  %56 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %56, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = add i64 %60, 40
  %62 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %58, i64 noundef %61, i32 noundef %62)
  %63 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %63, ptr %13, align 4, !tbaa !9
  store i64 115964116993, ptr %18, align 8, !tbaa !17
  %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 = add i64 %67, 32
  %69 = load i64, ptr %18, align 8, !tbaa !17
  call void @i64_store(ptr noundef %65, i64 noundef %68, i64 noundef %69)
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %13, align 4, !tbaa !9
  store i32 3, 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 %13, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 16
  %76 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %72, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %77, ptr %13, align 4, !tbaa !9
  store i32 36064, ptr %14, align 4, !tbaa !9
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 8
  %83 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %79, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %85, ptr %14, align 4, !tbaa !9
  %86 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %86, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %16, align 4, !tbaa !9
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = add i32 %88, %87
  store i32 %89, ptr %15, align 4, !tbaa !9
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %90, i32 noundef %91, i32 noundef %92)
  store i32 %93, ptr %14, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %95, i64 noundef %97, i32 noundef %98)
  br label %290

99:                                               ; preds = %5
  %100 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %100, ptr %13, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 4
  %106 = call i32 @i32_load(ptr noundef %102, i64 noundef %105)
  store i32 %106, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %107, ptr %12, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 164
  %113 = call i32 @i32_load(ptr noundef %109, i64 noundef %112)
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %115, ptr %14, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %14, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 168
  %121 = call i32 @i32_load(ptr noundef %117, i64 noundef %120)
  store i32 %121, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = icmp ult i32 %122, %123
  %125 = zext i1 %124 to i32
  store i32 %125, ptr %13, align 4, !tbaa !9
  %126 = load i32, ptr %13, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %146

128:                                              ; preds = %99
  %129 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %129, ptr %13, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %130, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = add i32 %132, %131
  store i32 %133, ptr %14, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 164
  %139 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %135, i64 noundef %138, i32 noundef %139)
  %140 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %140, ptr %13, align 4, !tbaa !9
  store i64 -844424930131968, ptr %18, align 8, !tbaa !17
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = load i64, ptr %18, align 8, !tbaa !17
  call void @i64_store(ptr noundef %142, i64 noundef %144, i64 noundef %145)
  br label %153

146:                                              ; preds = %99
  %147 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %147, ptr %13, align 4, !tbaa !9
  store i64 -844424930131968, ptr %18, align 8, !tbaa !17
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = load i32, ptr %13, align 4, !tbaa !9
  %150 = load i64, ptr %18, align 8, !tbaa !17
  %151 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %148, i32 noundef %149, i64 noundef %150)
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %152, ptr %11, align 4, !tbaa !9
  br label %153

153:                                              ; preds = %146, %128
  %154 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %154, ptr %13, align 4, !tbaa !9
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 4
  %160 = call i32 @i32_load(ptr noundef %156, i64 noundef %159)
  store i32 %160, ptr %13, align 4, !tbaa !9
  %161 = load i32, ptr %13, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %193

163:                                              ; preds = %153
  %164 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %164, ptr %13, 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 %13, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = call i32 @i32_load(ptr noundef %166, i64 noundef %168)
  store i32 %169, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = sub i32 %171, %170
  store i32 %172, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %173, ptr %10, align 4, !tbaa !9
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %13, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i64 @i64_load(ptr noundef %175, i64 noundef %177)
  store i64 %178, ptr %17, align 8, !tbaa !17
  store i64 47, ptr %18, align 8, !tbaa !17
  %179 = load i64, ptr %17, align 8, !tbaa !17
  %180 = load i64, ptr %18, align 8, !tbaa !17
  %181 = and i64 %180, 63
  %182 = ashr i64 %179, %181
  store i64 %182, ptr %17, align 8, !tbaa !17
  %183 = load i64, ptr %17, align 8, !tbaa !17
  %184 = trunc i64 %183 to i32
  store i32 %184, ptr %13, align 4, !tbaa !9
  store i32 -12, ptr %14, align 4, !tbaa !9
  %185 = load i32, ptr %13, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = icmp ne i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %13, align 4, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %163
  br label %205

192:                                              ; preds = %163
  br label %193

193:                                              ; preds = %192, %153
  %194 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %194, ptr %13, align 4, !tbaa !9
  store i32 5468, ptr %14, align 4, !tbaa !9
  %195 = load i32, ptr %14, align 4, !tbaa !9
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %13, align 4, !tbaa !9
  %198 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %198, ptr %14, align 4, !tbaa !9
  store i32 14, ptr %15, align 4, !tbaa !9
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = load i32, ptr %13, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202)
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %204, ptr %10, align 4, !tbaa !9
  br label %227

205:                                              ; preds = %191
  %206 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %206, ptr %13, align 4, !tbaa !9
  %207 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %207, ptr %14, align 4, !tbaa !9
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = load i32, ptr %13, align 4, !tbaa !9
  %210 = load i32, ptr %14, align 4, !tbaa !9
  %211 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %208, i32 noundef %209, i32 noundef %210)
  store i32 %211, ptr %13, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %212, ptr %10, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = icmp ne i32 %213, %214
  %216 = zext i1 %215 to i32
  store i32 %216, ptr %13, align 4, !tbaa !9
  %217 = load i32, ptr %13, align 4, !tbaa !9
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %220

219:                                              ; preds = %205
  br label %227

220:                                              ; preds = %205
  %221 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %221, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %13, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %223, i64 noundef %225, i32 noundef %226)
  br label %290

227:                                              ; preds = %219, %193
  %228 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %228, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %14, align 4, !tbaa !9
  %230 = load i32, ptr %14, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  store i64 %231, ptr %18, align 8, !tbaa !17
  store i64 -844424930131968, ptr %19, align 8, !tbaa !17
  %232 = load i64, ptr %19, align 8, !tbaa !17
  %233 = load i64, ptr %18, align 8, !tbaa !17
  %234 = or i64 %233, %232
  store i64 %234, ptr %18, align 8, !tbaa !17
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %13, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = load i64, ptr %18, align 8, !tbaa !17
  call void @i64_store(ptr noundef %236, i64 noundef %238, i64 noundef %239)
  %240 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %240, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %13, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %13, align 4, !tbaa !9
  %244 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %244, ptr %14, align 4, !tbaa !9
  store i32 5468, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %15, align 4, !tbaa !9
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %14, align 4, !tbaa !9
  %248 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %248, ptr %15, align 4, !tbaa !9
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AcreateNotUniquedSymbol0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254)
  %255 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %255, ptr %13, align 4, !tbaa !9
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %14, align 4, !tbaa !9
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %14, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 12
  %262 = call i32 @i32_load8_u(ptr noundef %258, i64 noundef %261)
  store i32 %262, ptr %14, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %283

265:                                              ; preds = %227
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %14, align 4, !tbaa !9
  %267 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %267, ptr %15, align 4, !tbaa !9
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.w2c_hermes, ptr %268, i32 0, i32 6
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = add i64 %271, 8
  %273 = call i64 @i64_load32_u(ptr noundef %269, i64 noundef %272)
  store i64 %273, ptr %19, align 8, !tbaa !17
  store i64 -1266637395197952, ptr %20, align 8, !tbaa !17
  %274 = load i64, ptr %20, align 8, !tbaa !17
  %275 = load i64, ptr %19, align 8, !tbaa !17
  %276 = or i64 %275, %274
  store i64 %276, ptr %19, align 8, !tbaa !17
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %14, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = add i64 %280, 8
  %282 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store(ptr noundef %278, i64 noundef %281, i64 noundef %282)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %284

283:                                              ; preds = %227
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %283, %265
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 6
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %286, i64 noundef %288, i32 noundef %289)
  br label %290

290:                                              ; preds = %284, %220, %55
  %291 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %291, ptr %13, align 4, !tbaa !9
  store i32 48, ptr %14, align 4, !tbaa !9
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %13, align 4, !tbaa !9
  %295 = load i32, ptr %13, align 4, !tbaa !9
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.w2c_hermes, ptr %296, i32 0, i32 3
  store i32 %295, ptr %297, align 8, !tbaa !11
  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 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load32_u(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 i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolConstructor0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 = add nuw nsw i64 %10, 8
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = zext i32 %12 to i64
  %14 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %13)
  %.mask = and i64 %14, -140737488355328
  %.not = icmp eq i64 %.mask, -1688849860263936
  br i1 %.not, label %24, label %15

15:                                               ; preds = %5
  %16 = zext i32 %8 to i64
  %17 = add nuw nsw i64 %16, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %17, i32 noundef 0)
  %18 = add nuw nsw i64 %16, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %18, i64 noundef 115964116993)
  %19 = add nuw nsw i64 %16, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %19, i32 noundef 3)
  %20 = add nuw nsw i64 %16, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %20, i32 noundef 36064)
  %21 = add i32 %7, -40
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %21) #3
  %23 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %23, i32 noundef %22)
  br label %69

24:                                               ; preds = %5
  %25 = zext i32 %3 to i64
  %26 = add nuw nsw i64 %25, 4
  %27 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %26)
  %28 = zext i32 %27 to i64
  %29 = add nuw nsw i64 %28, 164
  %30 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %29)
  %31 = add nuw nsw i64 %28, 168
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %33 = icmp ult i32 %30, %32
  br i1 %33, label %34, label %37

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

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

39:                                               ; preds = %37, %34
  %.0155 = phi i32 [ %30, %34 ], [ %38, %37 ]
  %40 = add nuw nsw i64 %10, 4
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %.not159 = icmp eq i32 %41, 0
  br i1 %.not159, label %47, label %42

42:                                               ; preds = %39
  %43 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %44 = add i32 %43, -8
  %45 = zext i32 %44 to i64
  %46 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %45)
  %.mask161 = and i64 %46, -140737488355328
  %.not160 = icmp eq i64 %.mask161, -1688849860263936
  br i1 %.not160, label %47, label %50

47:                                               ; preds = %42, %39
  %48 = add i32 %3, 5468
  %49 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %3, i32 noundef 14) #3
  br label %54

50:                                               ; preds = %42
  %51 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %44) #3
  %.not162 = icmp eq i32 %51, -1
  br i1 %.not162, label %52, label %._crit_edge164

._crit_edge164:                                   ; preds = %50
  %.pre = add i32 %3, 5468
  br label %54

52:                                               ; preds = %50
  %53 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef 0)
  br label %69

54:                                               ; preds = %._crit_edge164, %47
  %.pre-phi = phi i32 [ %.pre, %._crit_edge164 ], [ %48, %47 ]
  %.0156 = phi i32 [ %51, %._crit_edge164 ], [ %49, %47 ]
  %55 = zext i32 %.0156 to i64
  %56 = or disjoint i64 %55, -844424930131968
  %57 = zext i32 %.0155 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %57, i64 noundef %56)
  %58 = add i32 %7, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AcreateNotUniquedSymbol0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %.pre-phi, i32 noundef %3, i32 noundef %.0155) #3
  %59 = zext i32 %8 to i64
  %60 = add nuw nsw i64 %59, 12
  %61 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %60)
  %.not163 = icmp eq i32 %61, 0
  br i1 %.not163, label %._crit_edge, label %62

._crit_edge:                                      ; preds = %54
  %.pre165 = zext i32 %1 to i64
  br label %68

62:                                               ; preds = %54
  %63 = add nuw nsw i64 %59, 8
  %64 = tail call i64 @i64_load32_u(ptr noundef nonnull %9, i64 noundef %63)
  %65 = or i64 %64, -1266637395197952
  %66 = zext i32 %1 to i64
  %67 = add nuw nsw i64 %66, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %67, i64 noundef %65)
  br label %68

68:                                               ; preds = %._crit_edge, %62
  %.pre-phi166 = phi i64 [ %.pre165, %._crit_edge ], [ %66, %62 ]
  %.0 = phi i32 [ 0, %._crit_edge ], [ 1, %62 ]
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %.pre-phi166, i32 noundef %.0)
  br label %69

69:                                               ; preds = %68, %52, %15
  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,SROAPass,SimplifyCFGPass,TailCallElimPass