; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #3

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AHiddenClass0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AClassFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #4 {
  %9 = alloca ptr, align 8
  %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 i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 0, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %26 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %26, ptr %19, align 4, !tbaa !9
  %27 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %27, ptr %20, align 4, !tbaa !9
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %19, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = add i64 %31, 12
  %33 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %29, i64 noundef %32, i32 noundef %33)
  %34 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %34, ptr %19, align 4, !tbaa !9
  store i32 52753, ptr %20, align 4, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %19, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 4
  %40 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %36, i64 noundef %39, i32 noundef %40)
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %19, align 4, !tbaa !9
  %42 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %42, ptr %20, align 4, !tbaa !9
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.w2c_hermes, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %20, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = call i32 @i32_load16_u(ptr noundef %44, i64 noundef %46)
  store i32 %47, ptr %20, align 4, !tbaa !9
  %48 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %48, ptr %17, align 4, !tbaa !9
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %19, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 16
  %54 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %50, i64 noundef %53, i32 noundef %54)
  %55 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %55, ptr %19, align 4, !tbaa !9
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %19, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = call i32 @i32_load8_u(ptr noundef %57, i64 noundef %59)
  store i32 %60, ptr %19, align 4, !tbaa !9
  %61 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %61, ptr %14, align 4, !tbaa !9
  %62 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %62, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %19, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = add i64 %66, 36
  %68 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %64, i64 noundef %67, i32 noundef %68)
  %69 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %69, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 32
  %75 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %71, i64 noundef %74, i32 noundef %75)
  %76 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %76, ptr %19, align 4, !tbaa !9
  store i64 2305843004918726656, ptr %25, align 8, !tbaa !11
  %77 = load ptr, ptr %9, 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, 24
  %82 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %78, i64 noundef %81, i64 noundef %82)
  %83 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %83, ptr %19, align 4, !tbaa !9
  %84 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %84, ptr %20, align 4, !tbaa !9
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %19, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 20
  %90 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %86, i64 noundef %89, i32 noundef %90)
  %91 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %91, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %92, ptr %20, align 4, !tbaa !9
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %19, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 18
  %98 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %94, i64 noundef %97, i32 noundef %98)
  %99 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %99, ptr %19, align 4, !tbaa !9
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 4
  %105 = call i32 @i32_load(ptr noundef %101, i64 noundef %104)
  store i32 %105, ptr %19, align 4, !tbaa !9
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = call i64 @i64_load(ptr noundef %107, i64 noundef %109)
  store i64 %110, ptr %24, align 8, !tbaa !11
  %111 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %111, ptr %18, align 8, !tbaa !11
  store i64 48, ptr %25, align 8, !tbaa !11
  %112 = load i64, ptr %24, align 8, !tbaa !11
  %113 = load i64, ptr %25, align 8, !tbaa !11
  %114 = and i64 %113, 63
  %115 = ashr i64 %112, %114
  store i64 %115, ptr %24, align 8, !tbaa !11
  %116 = load i64, ptr %24, align 8, !tbaa !11
  %117 = trunc i64 %116 to i32
  store i32 %117, ptr %19, align 4, !tbaa !9
  store i32 -1, ptr %20, align 4, !tbaa !9
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !9
  %120 = icmp eq i32 %118, %119
  %121 = zext i1 %120 to i32
  store i32 %121, ptr %19, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %216

124:                                              ; preds = %8
  %125 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %125, ptr %24, align 8, !tbaa !11
  store i64 -844424930131969, ptr %25, align 8, !tbaa !11
  %126 = load i64, ptr %24, align 8, !tbaa !11
  %127 = load i64, ptr %25, align 8, !tbaa !11
  %128 = icmp ule i64 %126, %127
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %19, align 4, !tbaa !9
  %130 = load i32, ptr %19, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %124
  br label %234

133:                                              ; preds = %124
  %134 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %134, ptr %19, align 4, !tbaa !9
  store i32 40, 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 i32, ptr %19, align 4, !tbaa !9
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %139, ptr %25, align 8, !tbaa !11
  %140 = load i64, ptr %25, align 8, !tbaa !11
  %141 = trunc i64 %140 to i32
  store i32 %141, ptr %20, align 4, !tbaa !9
  %142 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %19, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %144, i64 noundef %146, i32 noundef %147)
  %148 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %148, ptr %19, align 4, !tbaa !9
  store i32 808, ptr %20, align 4, !tbaa !9
  %149 = load i32, ptr %20, align 4, !tbaa !9
  %150 = load i32, ptr %19, align 4, !tbaa !9
  %151 = add i32 %150, %149
  store i32 %151, ptr %19, align 4, !tbaa !9
  %152 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %152, ptr %12, align 4, !tbaa !9
  %153 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %153, ptr %19, align 4, !tbaa !9
  %154 = load i32, ptr %19, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %171

156:                                              ; preds = %133
  %157 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %157, ptr %19, align 4, !tbaa !9
  %158 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %158, ptr %20, align 4, !tbaa !9
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %159, i32 noundef %160, i32 noundef %161)
  store i32 %162, ptr %19, align 4, !tbaa !9
  %163 = load i32, ptr %19, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  %165 = xor i1 %164, true
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %19, align 4, !tbaa !9
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %170

169:                                              ; preds = %156
  br label %252

170:                                              ; preds = %156
  br label %171

171:                                              ; preds = %170, %133
  %172 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %172, ptr %19, align 4, !tbaa !9
  store i32 1396, ptr %20, align 4, !tbaa !9
  %173 = load i32, ptr %20, align 4, !tbaa !9
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = add i32 %174, %173
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %19, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = call i32 @i32_load(ptr noundef %177, i64 noundef %179)
  store i32 %180, ptr %19, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %181, ptr %20, align 4, !tbaa !9
  store i32 -4194304, ptr %21, align 4, !tbaa !9
  %182 = load i32, ptr %21, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = and i32 %183, %182
  store i32 %184, ptr %20, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = icmp ne i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %19, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %199

191:                                              ; preds = %171
  %192 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %192, ptr %19, align 4, !tbaa !9
  %193 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %193, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %194, ptr %21, align 4, !tbaa !9
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %20, align 4, !tbaa !9
  %198 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %195, i32 noundef %196, i32 noundef %197, i32 noundef %198)
  br label %199

199:                                              ; preds = %191, %171
  %200 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %200, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %19, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 44
  %206 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %207, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %208 = load i32, ptr %20, align 4, !tbaa !9
  %209 = load i32, ptr %19, align 4, !tbaa !9
  %210 = and i32 %209, %208
  store i32 %210, ptr %19, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %214

213:                                              ; preds = %199
  br label %270

214:                                              ; preds = %199
  %215 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %215, ptr %19, align 4, !tbaa !9
  br label %288

216:                                              ; preds = %8
  store i32 0, ptr %19, align 4, !tbaa !9
  %217 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %217, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %20, align 4, !tbaa !9
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = load i32, ptr %19, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %19, align 4, !tbaa !9
  %221 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %221, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %222 = load i32, ptr %21, align 4, !tbaa !9
  %223 = load i32, ptr %20, align 4, !tbaa !9
  %224 = add i32 %223, %222
  store i32 %224, ptr %20, align 4, !tbaa !9
  store i32 480, ptr %21, align 4, !tbaa !9
  %225 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %225, ptr %22, align 4, !tbaa !9
  store i32 38798, ptr %23, align 4, !tbaa !9
  %226 = load i32, ptr %23, align 4, !tbaa !9
  %227 = load i32, ptr %22, align 4, !tbaa !9
  %228 = add i32 %227, %226
  store i32 %228, ptr %22, align 4, !tbaa !9
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  %230 = load i32, ptr %19, align 4, !tbaa !9
  %231 = load i32, ptr %20, align 4, !tbaa !9
  %232 = load i32, ptr %21, align 4, !tbaa !9
  %233 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

234:                                              ; preds = %132
  store i32 0, ptr %19, align 4, !tbaa !9
  %235 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %235, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %20, align 4, !tbaa !9
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %19, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %19, align 4, !tbaa !9
  %239 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %239, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %240 = load i32, ptr %21, align 4, !tbaa !9
  %241 = load i32, ptr %20, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %20, align 4, !tbaa !9
  store i32 438, ptr %21, align 4, !tbaa !9
  %243 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %243, ptr %22, align 4, !tbaa !9
  store i32 49706, ptr %23, align 4, !tbaa !9
  %244 = load i32, ptr %23, align 4, !tbaa !9
  %245 = load i32, ptr %22, align 4, !tbaa !9
  %246 = add i32 %245, %244
  store i32 %246, ptr %22, align 4, !tbaa !9
  %247 = load ptr, ptr %9, align 8, !tbaa !5
  %248 = load i32, ptr %19, align 4, !tbaa !9
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = load i32, ptr %21, align 4, !tbaa !9
  %251 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %247, i32 noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef %251)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

252:                                              ; preds = %169
  store i32 0, ptr %19, align 4, !tbaa !9
  %253 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %253, ptr %10, align 4, !tbaa !9
  store i32 147550, ptr %20, align 4, !tbaa !9
  %254 = load i32, ptr %20, align 4, !tbaa !9
  %255 = load i32, ptr %19, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %19, align 4, !tbaa !9
  %257 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %257, ptr %20, align 4, !tbaa !9
  store i32 83763, ptr %21, align 4, !tbaa !9
  %258 = load i32, ptr %21, align 4, !tbaa !9
  %259 = load i32, ptr %20, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %20, align 4, !tbaa !9
  store i32 28, ptr %21, align 4, !tbaa !9
  %261 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %261, ptr %22, align 4, !tbaa !9
  store i32 92238, ptr %23, align 4, !tbaa !9
  %262 = load i32, ptr %23, align 4, !tbaa !9
  %263 = load i32, ptr %22, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %22, align 4, !tbaa !9
  %265 = load ptr, ptr %9, align 8, !tbaa !5
  %266 = load i32, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %20, align 4, !tbaa !9
  %268 = load i32, ptr %21, align 4, !tbaa !9
  %269 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %265, i32 noundef %266, i32 noundef %267, i32 noundef %268, i32 noundef %269)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

270:                                              ; preds = %213
  store i32 0, ptr %19, align 4, !tbaa !9
  %271 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %271, ptr %10, align 4, !tbaa !9
  store i32 176461, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %20, align 4, !tbaa !9
  %273 = load i32, ptr %19, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %19, align 4, !tbaa !9
  %275 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %275, ptr %20, align 4, !tbaa !9
  store i32 78155, ptr %21, align 4, !tbaa !9
  %276 = load i32, ptr %21, align 4, !tbaa !9
  %277 = load i32, ptr %20, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %20, align 4, !tbaa !9
  store i32 494, ptr %21, align 4, !tbaa !9
  %279 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %279, ptr %22, align 4, !tbaa !9
  store i32 41221, ptr %23, align 4, !tbaa !9
  %280 = load i32, ptr %23, align 4, !tbaa !9
  %281 = load i32, ptr %22, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %22, align 4, !tbaa !9
  %283 = load ptr, ptr %9, align 8, !tbaa !5
  %284 = load i32, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %20, align 4, !tbaa !9
  %286 = load i32, ptr %21, align 4, !tbaa !9
  %287 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %283, i32 noundef %284, i32 noundef %285, i32 noundef %286, i32 noundef %287)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

288:                                              ; preds = %214
  %289 = load i32, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  ret i32 %289
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn "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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn }

!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"

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHiddenClass0x3A0x3AHiddenClass0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AClassFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 {
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %1 to i64
  %11 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %11, i32 noundef %5)
  %12 = add nuw nsw i64 %10, 4
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %12, i32 noundef 52753)
  %13 = zext i32 %6 to i64
  %14 = tail call i32 @i32_load16_u(ptr noundef nonnull %9, i64 noundef %13)
  %15 = add nuw nsw i64 %10, 16
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %15, i32 noundef %14)
  %16 = zext i32 %3 to i64
  %17 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %16)
  %18 = add nuw nsw i64 %10, 36
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %18, i32 noundef 0)
  %19 = add nuw nsw i64 %10, 32
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %19, i32 noundef 0)
  %20 = add nuw nsw i64 %10, 24
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %20, i64 noundef 2305843004918726656)
  %21 = add nuw nsw i64 %10, 20
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %21, i32 noundef %7)
  %22 = add nuw nsw i64 %10, 18
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %22, i32 noundef %17)
  %23 = zext i32 %4 to i64
  %24 = add nuw nsw i64 %23, 4
  %25 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %24)
  %26 = zext i32 %25 to i64
  %27 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %26)
  %28 = icmp ugt i64 %27, -281474976710657
  br i1 %28, label %29, label %46

29:                                               ; preds = %8
  %30 = add i32 %1, 40
  %31 = trunc i64 %27 to i32
  %32 = zext i32 %30 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %32, i32 noundef %31)
  %33 = add i32 %2, 808
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %36, label %34

34:                                               ; preds = %29
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %33, i32 noundef %31)
  %.not166 = icmp eq i32 %35, 0
  br i1 %.not166, label %47, label %36

36:                                               ; preds = %34, %29
  %37 = add i32 %2, 1396
  %38 = zext i32 %37 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %40 = and i32 %30, -4194304
  %.not167 = icmp eq i32 %39, %40
  br i1 %.not167, label %42, label %41

41:                                               ; preds = %36
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %0, i32 noundef %33, i32 noundef %30, i32 noundef %31)
  br label %42

42:                                               ; preds = %41, %36
  %43 = add nuw nsw i64 %10, 44
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %43, i32 noundef 0)
  %44 = and i32 %14, 1
  %.not168 = icmp eq i32 %44, 0
  br i1 %.not168, label %45, label %48

45:                                               ; preds = %42
  ret i32 %1

46:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %34
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147550, i32 noundef 83763, i32 noundef 28, i32 noundef 92238) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

48:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 176461, i32 noundef 78155, i32 noundef 494, i32 noundef 41221) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

attributes #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 = { noreturn "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 = { 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 #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 }
attributes #5 = { noreturn 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,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass