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

; 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 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

; 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 void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #1

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

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

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

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

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

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

46:                                               ; preds = %3
  %47 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %47, ptr %10, align 4, !tbaa !9
  store i32 4412, ptr %11, align 4, !tbaa !9
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = add i32 %49, %48
  store i32 %50, ptr %10, align 4, !tbaa !9
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %10, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = call i32 @i32_load(ptr noundef %52, i64 noundef %54)
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %56, ptr %11, align 4, !tbaa !9
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp ne i32 %57, %58
  %60 = zext i1 %59 to i32
  store i32 %60, ptr %10, align 4, !tbaa !9
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %46
  br label %194

64:                                               ; preds = %46
  br label %65

65:                                               ; preds = %64, %3
  %66 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %66, ptr %10, align 4, !tbaa !9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = call i32 @i32_load(ptr noundef %68, i64 noundef %70)
  store i32 %71, ptr %10, align 4, !tbaa !9
  %72 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %72, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = and i32 %74, %73
  store i32 %75, ptr %10, align 4, !tbaa !9
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %89

78:                                               ; preds = %65
  %79 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %79, ptr %10, align 4, !tbaa !9
  %80 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = sub i32 %82, %81
  store i32 %83, ptr %11, align 4, !tbaa !9
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %85, i64 noundef %87, i32 noundef %88)
  br label %240

89:                                               ; preds = %65
  %90 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %90, ptr %10, align 4, !tbaa !9
  store i32 592, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %10, align 4, !tbaa !9
  %94 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %94, ptr %11, align 4, !tbaa !9
  store i32 16777215, ptr %12, align 4, !tbaa !9
  %95 = load i32, ptr %12, align 4, !tbaa !9
  %96 = load i32, ptr %11, align 4, !tbaa !9
  %97 = and i32 %96, %95
  store i32 %97, ptr %11, align 4, !tbaa !9
  %98 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %98, ptr %8, align 4, !tbaa !9
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AOldGen0x3A0x3Aalloc0x28unsigned0x20int0x29(ptr noundef %99, i32 noundef %100, i32 noundef %101)
  store i32 %102, ptr %10, align 4, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %103, ptr %11, align 4, !tbaa !9
  %104 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %104, ptr %12, align 4, !tbaa !9
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108)
  store i32 %109, ptr %10, align 4, !tbaa !9
  %110 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %110, ptr %7, align 4, !tbaa !9
  %111 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %111, ptr %10, align 4, !tbaa !9
  %112 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %112, ptr %11, align 4, !tbaa !9
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 32
  %118 = call i64 @i64_load(ptr noundef %114, i64 noundef %117)
  store i64 %118, ptr %13, align 8, !tbaa !11
  %119 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  store i64 %121, ptr %14, align 8, !tbaa !11
  %122 = load i64, ptr %14, align 8, !tbaa !11
  %123 = load i64, ptr %13, align 8, !tbaa !11
  %124 = add i64 %123, %122
  store i64 %124, ptr %13, align 8, !tbaa !11
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 32
  %130 = load i64, ptr %13, align 8, !tbaa !11
  call void @i64_store(ptr noundef %126, i64 noundef %129, i64 noundef %130)
  %131 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %131, ptr %10, align 4, !tbaa !9
  %132 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %132, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = load i32, ptr %11, align 4, !tbaa !9
  %135 = or i32 %134, %133
  store i32 %135, ptr %11, align 4, !tbaa !9
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %10, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %137, i64 noundef %139, i32 noundef %140)
  %141 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %141, ptr %10, align 4, !tbaa !9
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %10, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 24
  %147 = call i32 @i32_load8_u(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %10, align 4, !tbaa !9
  %148 = load i32, ptr %10, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %164

150:                                              ; preds = %89
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %10, align 4, !tbaa !9
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %10, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 12
  %157 = call i32 @i32_load(ptr noundef %153, i64 noundef %156)
  store i32 %157, ptr %10, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %159, ptr %12, align 4, !tbaa !9
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = load i32, ptr %10, align 4, !tbaa !9
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmoveObject0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163)
  br label %164

164:                                              ; preds = %150, %89
  %165 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %165, ptr %10, align 4, !tbaa !9
  %166 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %166, ptr %11, align 4, !tbaa !9
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %11, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 20
  %172 = call i32 @i32_load(ptr noundef %168, i64 noundef %171)
  store i32 %172, ptr %11, align 4, !tbaa !9
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %10, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 4
  %178 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %177, i32 noundef %178)
  %179 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %179, ptr %10, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %11, align 4, !tbaa !9
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %10, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 20
  %186 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %182, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %187, ptr %10, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %192, i32 noundef %193)
  br label %240

194:                                              ; preds = %63
  %195 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %195, ptr %10, align 4, !tbaa !9
  %196 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %196, ptr %11, align 4, !tbaa !9
  store i32 4404, ptr %12, align 4, !tbaa !9
  %197 = load i32, ptr %12, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  %199 = add i32 %198, %197
  store i32 %199, ptr %11, align 4, !tbaa !9
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %11, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call i32 @i32_load(ptr noundef %201, i64 noundef %203)
  store i32 %204, ptr %11, align 4, !tbaa !9
  %205 = load i32, ptr %10, align 4, !tbaa !9
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = icmp eq i32 %205, %206
  %208 = zext i1 %207 to i32
  store i32 %208, ptr %10, align 4, !tbaa !9
  %209 = load i32, ptr %10, align 4, !tbaa !9
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %232

211:                                              ; preds = %194
  %212 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %212, ptr %10, align 4, !tbaa !9
  store i32 -4194304, ptr %11, align 4, !tbaa !9
  %213 = load i32, ptr %11, align 4, !tbaa !9
  %214 = load i32, ptr %10, align 4, !tbaa !9
  %215 = and i32 %214, %213
  store i32 %215, ptr %10, align 4, !tbaa !9
  %216 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %216, ptr %11, align 4, !tbaa !9
  store i32 9, ptr %12, align 4, !tbaa !9
  %217 = load i32, ptr %12, align 4, !tbaa !9
  %218 = and i32 %217, 31
  %219 = load i32, ptr %11, align 4, !tbaa !9
  %220 = lshr i32 %219, %218
  store i32 %220, ptr %11, align 4, !tbaa !9
  store i32 8191, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !9
  %222 = load i32, ptr %11, align 4, !tbaa !9
  %223 = and i32 %222, %221
  store i32 %223, ptr %11, align 4, !tbaa !9
  %224 = load i32, ptr %11, align 4, !tbaa !9
  %225 = load i32, ptr %10, align 4, !tbaa !9
  %226 = or i32 %225, %224
  store i32 %226, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %228, i64 noundef %230, i32 noundef %231)
  br label %232

232:                                              ; preds = %211, %194
  %233 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %233, ptr %10, align 4, !tbaa !9
  %234 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %234, ptr %11, align 4, !tbaa !9
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %10, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %236, i64 noundef %238, i32 noundef %239)
  br label %240

240:                                              ; preds = %232, %164, %78
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #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}


; 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 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

; 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 void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AOldGen0x3A0x3Aalloc0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmoveObject0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Ctrue0x3E0x3A0x3Aaccept0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %2 to i64
  %6 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %7 = and i32 %6, -4194304
  %8 = zext i32 %1 to i64
  %9 = add nuw nsw i64 %8, 12
  %10 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %9)
  %11 = zext i32 %10 to i64
  %12 = add nuw nsw i64 %11, 564
  %13 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %12)
  %.not = icmp eq i32 %7, %13
  br i1 %.not, label %18, label %14

14:                                               ; preds = %3
  %15 = add i32 %10, 4412
  %16 = zext i32 %15 to i64
  %17 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %16)
  %.not130 = icmp eq i32 %17, %7
  br i1 %.not130, label %18, label %42

18:                                               ; preds = %14, %3
  %19 = zext i32 %6 to i64
  %20 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %19)
  %21 = and i32 %20, 1
  %.not131 = icmp eq i32 %21, 0
  br i1 %.not131, label %24, label %22

22:                                               ; preds = %18
  %23 = add nsw i32 %20, -1
  br label %53

24:                                               ; preds = %18
  %25 = add i32 %10, 592
  %26 = and i32 %20, 16777214
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AOldGen0x3A0x3Aalloc0x28unsigned0x20int0x29(ptr noundef %0, i32 noundef %25, i32 noundef %26)
  %28 = tail call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %0, i32 noundef %27, i32 noundef %6, i32 noundef %26) #3
  %29 = add nuw nsw i64 %8, 32
  %30 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %29)
  %31 = zext nneg i32 %26 to i64
  %32 = add i64 %30, %31
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %29, i64 noundef %32)
  %33 = or i32 %28, 1
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %19, i32 noundef %33)
  %34 = add nuw nsw i64 %8, 24
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %4, i64 noundef %34)
  %.not132 = icmp eq i32 %35, 0
  br i1 %.not132, label %38, label %36

36:                                               ; preds = %24
  %37 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %9)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AmoveObject0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %37, i32 noundef %6, i32 noundef %28)
  br label %38

38:                                               ; preds = %36, %24
  %39 = add nuw nsw i64 %8, 20
  %40 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %39)
  %41 = add nuw nsw i64 %19, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %41, i32 noundef %40)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %39, i32 noundef %6)
  br label %53

42:                                               ; preds = %14
  %43 = add i32 %10, 4404
  %44 = zext i32 %43 to i64
  %45 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %44)
  %46 = icmp eq i32 %7, %45
  br i1 %46, label %47, label %53

47:                                               ; preds = %42
  %48 = and i32 %2, -4194304
  %49 = lshr i32 %2, 9
  %50 = and i32 %49, 8191
  %51 = or disjoint i32 %50, %48
  %52 = zext i32 %51 to i64
  tail call void @i32_store8(ptr noundef nonnull %4, i64 noundef %52, i32 noundef 1)
  br label %53

53:                                               ; preds = %42, %47, %38, %22
  %.sink = phi i32 [ %28, %38 ], [ %23, %22 ], [ %6, %47 ], [ %6, %42 ]
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %.sink)
  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)"}


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