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

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

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

45:                                               ; preds = %5
  %46 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %46, ptr %19, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %19, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = call i32 @i32_load(ptr noundef %48, i64 noundef %50)
  store i32 %51, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %52 = load i32, ptr %20, align 4, !tbaa !9
  %53 = load i32, ptr %19, align 4, !tbaa !9
  %54 = sub i32 %53, %52
  store i32 %54, ptr %19, 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 %19, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = call i64 @i64_load(ptr noundef %56, i64 noundef %58)
  store i64 %59, ptr %23, align 8, !tbaa !11
  %60 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %60, ptr %18, align 8, !tbaa !11
  store i64 47, ptr %24, align 8, !tbaa !11
  %61 = load i64, ptr %23, align 8, !tbaa !11
  %62 = load i64, ptr %24, align 8, !tbaa !11
  %63 = and i64 %62, 63
  %64 = ashr i64 %61, %63
  store i64 %64, ptr %23, align 8, !tbaa !11
  %65 = load i64, ptr %23, align 8, !tbaa !11
  %66 = trunc i64 %65 to i32
  store i32 %66, ptr %19, align 4, !tbaa !9
  store i32 -9, ptr %20, align 4, !tbaa !9
  %67 = load i32, ptr %19, align 4, !tbaa !9
  %68 = load i32, ptr %20, align 4, !tbaa !9
  %69 = icmp eq i32 %67, %68
  %70 = zext i1 %69 to i32
  store i32 %70, ptr %19, align 4, !tbaa !9
  %71 = load i32, ptr %19, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %45
  br label %119

74:                                               ; preds = %45
  br label %75

75:                                               ; preds = %74, %5
  %76 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %76, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.w2c_hermes, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %19, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = add i64 %80, 40
  %82 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %78, i64 noundef %81, i32 noundef %82)
  %83 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %83, ptr %19, align 4, !tbaa !9
  store i64 180388626433, ptr %24, align 8, !tbaa !11
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %19, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 32
  %89 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %85, i64 noundef %88, i64 noundef %89)
  %90 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %90, ptr %19, align 4, !tbaa !9
  store i32 3, ptr %20, align 4, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = add i64 %94, 16
  %96 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %92, i64 noundef %95, i32 noundef %96)
  %97 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %97, ptr %19, align 4, !tbaa !9
  store i32 21471, ptr %20, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 8
  %103 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %99, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %104, ptr %19, align 4, !tbaa !9
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %20, align 4, !tbaa !9
  %106 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %106, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %107 = load i32, ptr %22, align 4, !tbaa !9
  %108 = load i32, ptr %21, align 4, !tbaa !9
  %109 = add i32 %108, %107
  store i32 %109, ptr %21, align 4, !tbaa !9
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load i32, ptr %20, align 4, !tbaa !9
  %112 = load i32, ptr %21, align 4, !tbaa !9
  %113 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %110, i32 noundef %111, i32 noundef %112)
  store i32 %113, ptr %20, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %19, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %115, i64 noundef %117, i32 noundef %118)
  br label %315

119:                                              ; preds = %73
  %120 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %120, ptr %19, align 4, !tbaa !9
  store i32 5528, ptr %20, align 4, !tbaa !9
  %121 = load i32, ptr %20, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = add i32 %122, %121
  store i32 %123, ptr %19, align 4, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %19, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = call i32 @i32_load(ptr noundef %125, i64 noundef %127)
  store i32 %128, ptr %19, align 4, !tbaa !9
  %129 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %129, ptr %10, align 4, !tbaa !9
  %130 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %130, ptr %23, align 8, !tbaa !11
  %131 = load i64, ptr %23, align 8, !tbaa !11
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %133, ptr %12, align 4, !tbaa !9
  %134 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %134, ptr %19, align 4, !tbaa !9
  store i32 5540, ptr %20, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = load i32, ptr %19, align 4, !tbaa !9
  %137 = add i32 %136, %135
  store i32 %137, ptr %19, 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 %19, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = call i32 @i32_load(ptr noundef %139, i64 noundef %141)
  store i32 %142, ptr %19, align 4, !tbaa !9
  %143 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %143, ptr %13, align 4, !tbaa !9
  %144 = load i32, ptr %19, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %19, align 4, !tbaa !9
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %119
  br label %241

151:                                              ; preds = %119
  %152 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %153, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %154 = load i32, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %20, align 4, !tbaa !9
  %156 = sub i32 %155, %154
  store i32 %156, ptr %20, align 4, !tbaa !9
  %157 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %158, ptr %21, align 4, !tbaa !9
  store i32 37, ptr %22, align 4, !tbaa !9
  %159 = load i32, ptr %22, align 4, !tbaa !9
  %160 = load i32, ptr %21, align 4, !tbaa !9
  %161 = mul i32 %160, %159
  store i32 %161, ptr %21, align 4, !tbaa !9
  %162 = load i32, ptr %21, align 4, !tbaa !9
  %163 = load i32, ptr %20, align 4, !tbaa !9
  %164 = and i32 %163, %162
  store i32 %164, ptr %20, align 4, !tbaa !9
  %165 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %165, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %166 = load i32, ptr %21, align 4, !tbaa !9
  %167 = and i32 %166, 31
  %168 = load i32, ptr %20, align 4, !tbaa !9
  %169 = shl i32 %168, %167
  store i32 %169, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %20, align 4, !tbaa !9
  %171 = load i32, ptr %19, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %19, align 4, !tbaa !9
  %173 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %173, ptr %11, 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 %19, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i32 @i32_load(ptr noundef %175, i64 noundef %177)
  store i32 %178, ptr %19, align 4, !tbaa !9
  %179 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %180, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = load i32, ptr %20, align 4, !tbaa !9
  %183 = icmp eq i32 %181, %182
  %184 = zext i1 %183 to i32
  store i32 %184, ptr %19, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %188

187:                                              ; preds = %151
  br label %252

188:                                              ; preds = %151
  store i32 1, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %189, ptr %14, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %239, %188
  %191 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %191, ptr %19, align 4, !tbaa !9
  store i32 536870911, ptr %20, align 4, !tbaa !9
  %192 = load i32, ptr %19, align 4, !tbaa !9
  %193 = load i32, ptr %20, align 4, !tbaa !9
  %194 = icmp eq i32 %192, %193
  %195 = zext i1 %194 to i32
  store i32 %195, ptr %19, align 4, !tbaa !9
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %199

198:                                              ; preds = %190
  br label %241

199:                                              ; preds = %190
  %200 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %200, ptr %19, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %201, ptr %20, align 4, !tbaa !9
  %202 = load i32, ptr %20, align 4, !tbaa !9
  %203 = load i32, ptr %19, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %19, align 4, !tbaa !9
  %205 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %205, ptr %11, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %206, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = load i32, ptr %19, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %19, align 4, !tbaa !9
  %210 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %210, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %211, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %212, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %213, ptr %21, align 4, !tbaa !9
  %214 = load i32, ptr %21, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = and i32 %215, %214
  store i32 %216, ptr %20, align 4, !tbaa !9
  %217 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %217, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %218 = load i32, ptr %21, align 4, !tbaa !9
  %219 = and i32 %218, 31
  %220 = load i32, ptr %20, align 4, !tbaa !9
  %221 = shl i32 %220, %219
  store i32 %221, ptr %20, align 4, !tbaa !9
  %222 = load i32, ptr %20, align 4, !tbaa !9
  %223 = load i32, ptr %19, align 4, !tbaa !9
  %224 = add i32 %223, %222
  store i32 %224, ptr %19, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %225, ptr %11, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %19, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = call i32 @i32_load(ptr noundef %227, i64 noundef %229)
  store i32 %230, ptr %19, align 4, !tbaa !9
  %231 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %231, ptr %16, align 4, !tbaa !9
  %232 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %232, ptr %20, align 4, !tbaa !9
  %233 = load i32, ptr %19, align 4, !tbaa !9
  %234 = load i32, ptr %20, align 4, !tbaa !9
  %235 = icmp ne i32 %233, %234
  %236 = zext i1 %235 to i32
  store i32 %236, ptr %19, align 4, !tbaa !9
  %237 = load i32, ptr %19, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %199
  br label %190

240:                                              ; preds = %199
  br label %252

241:                                              ; preds = %198, %150
  %242 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %242, ptr %19, align 4, !tbaa !9
  %243 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %243, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %244 = load i32, ptr %21, align 4, !tbaa !9
  %245 = and i32 %244, 31
  %246 = load i32, ptr %20, align 4, !tbaa !9
  %247 = shl i32 %246, %245
  store i32 %247, ptr %20, align 4, !tbaa !9
  %248 = load i32, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = add i32 %249, %248
  store i32 %250, ptr %19, align 4, !tbaa !9
  %251 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %251, ptr %11, align 4, !tbaa !9
  br label %252

252:                                              ; preds = %241, %240, %187
  %253 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %253, ptr %19, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %254, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %255 = load i32, ptr %21, align 4, !tbaa !9
  %256 = and i32 %255, 31
  %257 = load i32, ptr %20, align 4, !tbaa !9
  %258 = shl i32 %257, %256
  store i32 %258, ptr %20, align 4, !tbaa !9
  %259 = load i32, ptr %20, align 4, !tbaa !9
  %260 = load i32, ptr %19, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %19, align 4, !tbaa !9
  %262 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %262, ptr %20, align 4, !tbaa !9
  %263 = load i32, ptr %19, align 4, !tbaa !9
  %264 = load i32, ptr %20, align 4, !tbaa !9
  %265 = icmp ne i32 %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %19, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %301

269:                                              ; preds = %252
  %270 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %270, ptr %19, align 4, !tbaa !9
  store i32 5468, ptr %20, align 4, !tbaa !9
  %271 = load i32, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %19, align 4, !tbaa !9
  %273 = add i32 %272, %271
  store i32 %273, ptr %19, align 4, !tbaa !9
  %274 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %274, ptr %20, align 4, !tbaa !9
  %275 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %275, ptr %21, align 4, !tbaa !9
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = load i32, ptr %19, align 4, !tbaa !9
  %278 = load i32, ptr %20, align 4, !tbaa !9
  %279 = load i32, ptr %21, align 4, !tbaa !9
  %280 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %276, i32 noundef %277, i32 noundef %278, i32 noundef %279)
  store i32 %280, ptr %19, align 4, !tbaa !9
  %281 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %281, ptr %9, align 4, !tbaa !9
  %282 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %282, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %284, i64 noundef %286, i32 noundef %287)
  %288 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %288, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %289, ptr %20, align 4, !tbaa !9
  %290 = load i32, ptr %20, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  store i64 %291, ptr %24, align 8, !tbaa !11
  store i64 -844424930131968, ptr %25, align 8, !tbaa !11
  %292 = load i64, ptr %25, align 8, !tbaa !11
  %293 = load i64, ptr %24, align 8, !tbaa !11
  %294 = or i64 %293, %292
  store i64 %294, ptr %24, align 8, !tbaa !11
  %295 = load ptr, ptr %6, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 6
  %297 = load i32, ptr %19, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = add i64 %298, 8
  %300 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %296, i64 noundef %299, i64 noundef %300)
  br label %315

301:                                              ; preds = %252
  %302 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %302, ptr %19, align 4, !tbaa !9
  store i64 -1688849860263936, ptr %24, align 8, !tbaa !11
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.w2c_hermes, ptr %303, i32 0, i32 6
  %305 = load i32, ptr %19, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = add i64 %306, 8
  %308 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %304, i64 noundef %307, i64 noundef %308)
  %309 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %309, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.w2c_hermes, ptr %310, i32 0, i32 6
  %312 = load i32, ptr %19, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %311, i64 noundef %313, i32 noundef %314)
  br label %315

315:                                              ; preds = %301, %269, %75
  %316 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %316, ptr %19, align 4, !tbaa !9
  store i32 48, ptr %20, align 4, !tbaa !9
  %317 = load i32, ptr %20, align 4, !tbaa !9
  %318 = load i32, ptr %19, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %19, align 4, !tbaa !9
  %320 = load i32, ptr %19, align 4, !tbaa !9
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.w2c_hermes, ptr %321, i32 0, i32 3
  store i32 %320, ptr %322, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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 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_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolKeyFor0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %19, label %13

13:                                               ; preds = %5
  %14 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %15 = add i32 %14, -8
  %16 = zext i32 %15 to i64
  %17 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %16)
  %.mask = and i64 %17, -140737488355328
  %18 = icmp eq i64 %.mask, -1266637395197952
  br i1 %18, label %28, label %19

19:                                               ; preds = %13, %5
  %20 = zext i32 %8 to i64
  %21 = add nuw nsw i64 %20, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %21, i32 noundef 0)
  %22 = add nuw nsw i64 %20, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %22, i64 noundef 180388626433)
  %23 = add nuw nsw i64 %20, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %23, i32 noundef 3)
  %24 = add nuw nsw i64 %20, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 21471)
  %25 = add i32 %7, -40
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %25) #3
  %27 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef %26)
  br label %68

28:                                               ; preds = %13
  %29 = add i32 %3, 5528
  %30 = zext i32 %29 to i64
  %31 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %30)
  %32 = trunc i64 %17 to i32
  %33 = add i32 %3, 5540
  %34 = zext i32 %33 to i64
  %35 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %34)
  %.not180 = icmp eq i32 %35, 0
  br i1 %.not180, label %.loopexit, label %36

36:                                               ; preds = %28
  %37 = add i32 %35, -1
  %38 = mul i32 %32, 37
  %39 = and i32 %37, %38
  %40 = shl i32 %39, 2
  %41 = add i32 %40, %31
  %42 = zext i32 %41 to i64
  %43 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %42)
  %44 = icmp eq i32 %43, %32
  br i1 %44, label %.loopexit183, label %.preheader

.preheader:                                       ; preds = %36, %46
  %.0175 = phi i32 [ %48, %46 ], [ 1, %36 ]
  %.0174 = phi i32 [ %49, %46 ], [ %39, %36 ]
  %.0 = phi i32 [ %53, %46 ], [ %43, %36 ]
  %45 = icmp eq i32 %.0, 536870911
  br i1 %45, label %.loopexit, label %46

46:                                               ; preds = %.preheader
  %47 = add i32 %.0174, %.0175
  %48 = add i32 %.0175, 1
  %49 = and i32 %47, %37
  %50 = shl i32 %49, 2
  %51 = add i32 %50, %31
  %52 = zext i32 %51 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  %.not181 = icmp eq i32 %53, %32
  br i1 %.not181, label %.loopexit183, label %.preheader

.loopexit:                                        ; preds = %.preheader, %28
  %54 = shl i32 %35, 2
  %55 = add i32 %54, %31
  br label %.loopexit183

.loopexit183:                                     ; preds = %46, %36, %.loopexit
  %.0176 = phi i32 [ %55, %.loopexit ], [ %41, %36 ], [ %51, %46 ]
  %56 = shl i32 %35, 2
  %57 = add i32 %56, %31
  %.not182 = icmp eq i32 %57, %.0176
  br i1 %.not182, label %65, label %58

58:                                               ; preds = %.loopexit183
  %59 = add i32 %3, 5468
  %60 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %0, i32 noundef %59, i32 noundef %3, i32 noundef %32) #3
  %61 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef 1)
  %62 = zext i32 %60 to i64
  %63 = or disjoint i64 %62, -844424930131968
  %64 = add nuw nsw i64 %61, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %64, i64 noundef %63)
  br label %68

65:                                               ; preds = %.loopexit183
  %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 -1688849860263936)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %66, i32 noundef 1)
  br label %68

68:                                               ; preds = %65, %58, %19
  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,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass