; 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 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AErrorConstructor0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %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 i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %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 %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) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  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 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 %17, align 4, !tbaa !9
  store i32 -64, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = add i32 %30, %29
  store i32 %31, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %32, ptr %11, align 4, !tbaa !9
  %33 = load i32, ptr %17, 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 %9, align 4, !tbaa !9
  store i32 %36, ptr %17, 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 %17, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = add i64 %40, 32
  %42 = call i64 @i64_load(ptr noundef %38, i64 noundef %41)
  store i64 %42, ptr %24, align 8, !tbaa !11
  %43 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %43, ptr %16, align 8, !tbaa !11
  store i64 -844424930131969, ptr %25, align 8, !tbaa !11
  %44 = load i64, ptr %24, align 8, !tbaa !11
  %45 = load i64, ptr %25, align 8, !tbaa !11
  %46 = icmp ugt i64 %44, %45
  %47 = zext i1 %46 to i32
  store i32 %47, ptr %17, align 4, !tbaa !9
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %368

50:                                               ; preds = %5
  %51 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %51, ptr %24, align 8, !tbaa !11
  %52 = load i64, ptr %24, align 8, !tbaa !11
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %17, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %54, ptr %12, align 4, !tbaa !9
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  %57 = xor i1 %56, true
  %58 = zext i1 %57 to i32
  store i32 %58, ptr %17, align 4, !tbaa !9
  %59 = load i32, ptr %17, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %50
  br label %386

62:                                               ; preds = %50
  %63 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %63, ptr %17, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = call i32 @i32_load(ptr noundef %65, i64 noundef %67)
  store i32 %68, ptr %17, align 4, !tbaa !9
  store i32 436207616, ptr %18, align 4, !tbaa !9
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = sub i32 %70, %69
  store i32 %71, ptr %17, align 4, !tbaa !9
  store i32 855638016, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %18, align 4, !tbaa !9
  %74 = icmp uge i32 %72, %73
  %75 = zext i1 %74 to i32
  store i32 %75, ptr %17, align 4, !tbaa !9
  %76 = load i32, ptr %17, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %62
  br label %404

79:                                               ; preds = %62
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %17, align 4, !tbaa !9
  store i32 56, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %17, align 4, !tbaa !9
  %84 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %84, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %85, ptr %19, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = load i32, ptr %19, align 4, !tbaa !9
  %90 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
  store i32 %90, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %91, ptr %13, align 4, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %92, ptr %17, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 4
  %98 = call i32 @i32_load(ptr noundef %94, i64 noundef %97)
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %99, ptr %12, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %100, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = call i32 @i32_load(ptr noundef %102, i64 noundef %104)
  store i32 %105, ptr %17, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %106, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %107, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 48
  %113 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %109, i64 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 40
  %120 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %116, i64 noundef %119, i32 noundef %120)
  %121 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %121, ptr %17, align 4, !tbaa !9
  %122 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %122, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = sub i32 %124, %123
  store i32 %125, ptr %18, align 4, !tbaa !9
  store i32 217528, ptr %19, align 4, !tbaa !9
  %126 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %126, ptr %15, align 4, !tbaa !9
  %127 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %127, ptr %20, align 4, !tbaa !9
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %132

130:                                              ; preds = %79
  %131 = load i32, ptr %18, align 4, !tbaa !9
  br label %134

132:                                              ; preds = %79
  %133 = load i32, ptr %19, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %132, %130
  %135 = phi i32 [ %131, %130 ], [ %133, %132 ]
  store i32 %135, ptr %18, align 4, !tbaa !9
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = add i64 %139, 52
  %141 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %137, i64 noundef %140, i32 noundef %141)
  %142 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %142, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %143, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %144 = load i32, ptr %19, align 4, !tbaa !9
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = sub i32 %145, %144
  store i32 %146, ptr %18, align 4, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %147, ptr %19, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %148, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %149 = load i32, ptr %20, align 4, !tbaa !9
  %150 = load i32, ptr %21, align 4, !tbaa !9
  %151 = icmp ugt i32 %149, %150
  %152 = zext i1 %151 to i32
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %157

155:                                              ; preds = %134
  %156 = load i32, ptr %18, align 4, !tbaa !9
  br label %159

157:                                              ; preds = %134
  %158 = load i32, ptr %19, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %157, %155
  %160 = phi i32 [ %156, %155 ], [ %158, %157 ]
  store i32 %160, ptr %18, align 4, !tbaa !9
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 44
  %166 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %162, i64 noundef %165, i32 noundef %166)
  %167 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %168, ptr %18, align 4, !tbaa !9
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %18, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 4
  %174 = call i32 @i32_load(ptr noundef %170, i64 noundef %173)
  store i32 %174, ptr %18, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 36
  %180 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %176, i64 noundef %179, i32 noundef %180)
  %181 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %181, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %182, ptr %18, align 4, !tbaa !9
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %18, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = call i32 @i32_load(ptr noundef %184, i64 noundef %186)
  store i32 %187, ptr %18, align 4, !tbaa !9
  %188 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %188, ptr %12, align 4, !tbaa !9
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 32
  %194 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %193, i32 noundef %194)
  %195 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  %198 = xor i1 %197, true
  %199 = zext i1 %198 to i32
  store i32 %199, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %251

202:                                              ; preds = %159
  %203 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 8
  %210 = call i32 @i32_load(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %18, align 4, !tbaa !9
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %17, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = add i64 %214, 8
  %216 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %212, i64 noundef %215, i32 noundef %216)
  %217 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %18, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = call i64 @i64_load(ptr noundef %220, i64 noundef %222)
  store i64 %223, ptr %25, align 8, !tbaa !11
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.w2c_hermes, ptr %224, i32 0, i32 6
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %225, i64 noundef %227, i64 noundef %228)
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %18, align 4, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %231, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %20, align 4, !tbaa !9
  store i32 48, ptr %21, align 4, !tbaa !9
  %233 = load i32, ptr %21, align 4, !tbaa !9
  %234 = load i32, ptr %20, align 4, !tbaa !9
  %235 = add i32 %234, %233
  store i32 %235, ptr %20, align 4, !tbaa !9
  %236 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %236, ptr %21, align 4, !tbaa !9
  store i32 40, ptr %22, align 4, !tbaa !9
  %237 = load i32, ptr %22, align 4, !tbaa !9
  %238 = load i32, ptr %21, align 4, !tbaa !9
  %239 = add i32 %238, %237
  store i32 %239, ptr %21, align 4, !tbaa !9
  %240 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %240, ptr %22, align 4, !tbaa !9
  store i32 32, ptr %23, align 4, !tbaa !9
  %241 = load i32, ptr %23, align 4, !tbaa !9
  %242 = load i32, ptr %22, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %22, align 4, !tbaa !9
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = load i32, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %19, align 4, !tbaa !9
  %248 = load i32, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %21, align 4, !tbaa !9
  %250 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AconstructErrorObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249, i32 noundef %250)
  br label %334

251:                                              ; preds = %159
  %252 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %252, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %253, ptr %18, align 4, !tbaa !9
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %18, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = call i32 @i32_load(ptr noundef %255, i64 noundef %257)
  store i32 %258, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %259 = load i32, ptr %19, align 4, !tbaa !9
  %260 = load i32, ptr %18, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %18, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %263, i64 noundef %265, i32 noundef %266)
  %267 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %267, ptr %17, align 4, !tbaa !9
  %268 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %268, ptr %18, align 4, !tbaa !9
  %269 = load ptr, ptr %6, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.w2c_hermes, ptr %269, i32 0, i32 6
  %271 = load i32, ptr %18, align 4, !tbaa !9
  %272 = zext i32 %271 to i64
  %273 = add i64 %272, 8
  %274 = call i32 @i32_load(ptr noundef %270, i64 noundef %273)
  store i32 %274, ptr %18, align 4, !tbaa !9
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = add i64 %278, 24
  %280 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %276, i64 noundef %279, i32 noundef %280)
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %282, ptr %18, 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 %18, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = call i64 @i64_load(ptr noundef %284, i64 noundef %286)
  store i64 %287, ptr %25, align 8, !tbaa !11
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.w2c_hermes, ptr %288, i32 0, i32 6
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = add i64 %291, 16
  %293 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %289, i64 noundef %292, i64 noundef %293)
  %294 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %295, ptr %18, align 4, !tbaa !9
  %296 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %296, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %297 = load i32, ptr %20, align 4, !tbaa !9
  %298 = load i32, ptr %19, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %19, align 4, !tbaa !9
  %300 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %300, ptr %20, align 4, !tbaa !9
  store i32 48, ptr %21, align 4, !tbaa !9
  %301 = load i32, ptr %21, align 4, !tbaa !9
  %302 = load i32, ptr %20, align 4, !tbaa !9
  %303 = add i32 %302, %301
  store i32 %303, ptr %20, align 4, !tbaa !9
  %304 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %304, ptr %21, align 4, !tbaa !9
  store i32 40, ptr %22, align 4, !tbaa !9
  %305 = load i32, ptr %22, align 4, !tbaa !9
  %306 = load i32, ptr %21, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %21, align 4, !tbaa !9
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %22, align 4, !tbaa !9
  store i32 32, ptr %23, align 4, !tbaa !9
  %309 = load i32, ptr %23, align 4, !tbaa !9
  %310 = load i32, ptr %22, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %22, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = load i32, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %18, align 4, !tbaa !9
  %315 = load i32, ptr %19, align 4, !tbaa !9
  %316 = load i32, ptr %20, align 4, !tbaa !9
  %317 = load i32, ptr %21, align 4, !tbaa !9
  %318 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AconstructErrorObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
  %319 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %319, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %320, ptr %18, align 4, !tbaa !9
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.w2c_hermes, ptr %321, i32 0, i32 6
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = call i32 @i32_load(ptr noundef %322, i64 noundef %324)
  store i32 %325, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %326 = load i32, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %18, align 4, !tbaa !9
  %328 = sub i32 %327, %326
  store i32 %328, ptr %18, align 4, !tbaa !9
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.w2c_hermes, ptr %329, i32 0, i32 6
  %331 = load i32, ptr %17, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %330, i64 noundef %332, i32 noundef %333)
  br label %334

334:                                              ; preds = %251, %202
  %335 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %335, ptr %17, align 4, !tbaa !9
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = call i32 @i32_load(ptr noundef %337, i64 noundef %339)
  store i32 %340, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %341, ptr %10, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = icmp ne i32 %342, 0
  br i1 %343, label %344, label %360

344:                                              ; preds = %334
  %345 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %345, ptr %17, align 4, !tbaa !9
  %346 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %346, ptr %18, align 4, !tbaa !9
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %18, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = call i32 @i32_load(ptr noundef %348, i64 noundef %350)
  store i32 %351, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = sub i32 %353, %352
  store i32 %354, ptr %18, align 4, !tbaa !9
  %355 = load ptr, ptr %6, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.w2c_hermes, ptr %355, i32 0, i32 6
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %356, i64 noundef %358, i32 noundef %359)
  br label %360

360:                                              ; preds = %344, %334
  %361 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %361, ptr %17, align 4, !tbaa !9
  store i32 -64, ptr %18, align 4, !tbaa !9
  %362 = load i32, ptr %18, align 4, !tbaa !9
  %363 = load i32, ptr %17, align 4, !tbaa !9
  %364 = sub i32 %363, %362
  store i32 %364, ptr %17, align 4, !tbaa !9
  %365 = load i32, ptr %17, align 4, !tbaa !9
  %366 = load ptr, ptr %6, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.w2c_hermes, ptr %366, i32 0, i32 3
  store i32 %365, ptr %367, align 8, !tbaa !13
  br label %422

368:                                              ; preds = %5
  store i32 0, ptr %17, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %369, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %18, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !9
  %372 = add i32 %371, %370
  store i32 %372, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %373, ptr %18, align 4, !tbaa !9
  store i32 82692, ptr %19, align 4, !tbaa !9
  %374 = load i32, ptr %19, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = add i32 %375, %374
  store i32 %376, ptr %18, align 4, !tbaa !9
  store i32 43, ptr %19, align 4, !tbaa !9
  %377 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %377, ptr %20, align 4, !tbaa !9
  store i32 24718, ptr %21, align 4, !tbaa !9
  %378 = load i32, ptr %21, align 4, !tbaa !9
  %379 = load i32, ptr %20, align 4, !tbaa !9
  %380 = add i32 %379, %378
  store i32 %380, ptr %20, align 4, !tbaa !9
  %381 = load ptr, ptr %6, align 8, !tbaa !5
  %382 = load i32, ptr %17, align 4, !tbaa !9
  %383 = load i32, ptr %18, align 4, !tbaa !9
  %384 = load i32, ptr %19, align 4, !tbaa !9
  %385 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %381, i32 noundef %382, i32 noundef %383, i32 noundef %384, i32 noundef %385)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

386:                                              ; preds = %61
  store i32 0, ptr %17, align 4, !tbaa !9
  %387 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %387, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %18, align 4, !tbaa !9
  %388 = load i32, ptr %18, align 4, !tbaa !9
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %17, align 4, !tbaa !9
  %391 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %391, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %392 = load i32, ptr %19, align 4, !tbaa !9
  %393 = load i32, ptr %18, align 4, !tbaa !9
  %394 = add i32 %393, %392
  store i32 %394, ptr %18, align 4, !tbaa !9
  store i32 106, ptr %19, align 4, !tbaa !9
  %395 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %395, ptr %20, align 4, !tbaa !9
  store i32 28119, ptr %21, align 4, !tbaa !9
  %396 = load i32, ptr %21, align 4, !tbaa !9
  %397 = load i32, ptr %20, align 4, !tbaa !9
  %398 = add i32 %397, %396
  store i32 %398, ptr %20, align 4, !tbaa !9
  %399 = load ptr, ptr %6, align 8, !tbaa !5
  %400 = load i32, ptr %17, align 4, !tbaa !9
  %401 = load i32, ptr %18, align 4, !tbaa !9
  %402 = load i32, ptr %19, align 4, !tbaa !9
  %403 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef %402, i32 noundef %403)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

404:                                              ; preds = %78
  store i32 0, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %405, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %18, align 4, !tbaa !9
  %406 = load i32, ptr %18, align 4, !tbaa !9
  %407 = load i32, ptr %17, align 4, !tbaa !9
  %408 = add i32 %407, %406
  store i32 %408, ptr %17, align 4, !tbaa !9
  %409 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %409, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %410 = load i32, ptr %19, align 4, !tbaa !9
  %411 = load i32, ptr %18, align 4, !tbaa !9
  %412 = add i32 %411, %410
  store i32 %412, ptr %18, align 4, !tbaa !9
  store i32 255, ptr %19, align 4, !tbaa !9
  %413 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %413, ptr %20, align 4, !tbaa !9
  store i32 24720, ptr %21, align 4, !tbaa !9
  %414 = load i32, ptr %21, align 4, !tbaa !9
  %415 = load i32, ptr %20, align 4, !tbaa !9
  %416 = add i32 %415, %414
  store i32 %416, ptr %20, align 4, !tbaa !9
  %417 = load ptr, ptr %6, align 8, !tbaa !5
  %418 = load i32, ptr %17, align 4, !tbaa !9
  %419 = load i32, ptr %18, align 4, !tbaa !9
  %420 = load i32, ptr %19, align 4, !tbaa !9
  %421 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef %420, i32 noundef %421)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

422:                                              ; preds = %360
  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 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

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

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 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AErrorConstructor0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -64
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %3 to i64
  %11 = add nuw nsw i64 %10, 32
  %12 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = icmp ugt i64 %12, -844424930131969
  br i1 %13, label %14, label %74

14:                                               ; preds = %5
  %15 = trunc i64 %12 to i32
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %75, label %16

16:                                               ; preds = %14
  %17 = and i64 %12, 4294967295
  %18 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %17)
  %19 = add i32 %18, -1291845632
  %20 = icmp ult i32 %19, -855638016
  br i1 %20, label %76, label %21

21:                                               ; preds = %16
  %22 = add i32 %7, -8
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %3, i32 noundef %15)
  %24 = zext i32 %4 to i64
  %25 = add nuw nsw i64 %24, 4
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %24)
  %28 = zext i32 %8 to i64
  %29 = add nuw nsw i64 %28, 48
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef 0)
  %30 = add nuw nsw i64 %28, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 0)
  %31 = add i32 %27, -8
  %.not243 = icmp eq i32 %26, 0
  %32 = select i1 %.not243, i32 217528, i32 %31
  %33 = add nuw nsw i64 %28, 52
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef %32)
  %34 = add i32 %27, -16
  %35 = icmp ugt i32 %26, 1
  %36 = select i1 %35, i32 %34, i32 217528
  %37 = add nuw nsw i64 %28, 44
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %37, i32 noundef %36)
  %38 = zext i32 %23 to i64
  %39 = add nuw nsw i64 %38, 4
  %40 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %39)
  %41 = add nuw nsw i64 %28, 36
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef %40)
  %42 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %43 = add nuw nsw i64 %28, 32
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %43, i32 noundef %42)
  %.not244 = icmp eq i32 %42, 0
  br i1 %.not244, label %44, label %52

44:                                               ; preds = %21
  %45 = add nuw nsw i64 %24, 8
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %45)
  %47 = add nuw nsw i64 %28, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %47, i32 noundef %46)
  %48 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %24)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef %48)
  %49 = add i32 %7, -16
  %50 = add i32 %7, -24
  %51 = add i32 %7, -32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AconstructErrorObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %8, i32 noundef %49, i32 noundef %50, i32 noundef %51) #4
  br label %67

52:                                               ; preds = %21
  %53 = zext i32 %42 to i64
  %54 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %53)
  %55 = add i32 %54, 1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef %55)
  %56 = add nuw nsw i64 %24, 8
  %57 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %56)
  %58 = add nuw nsw i64 %28, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef %57)
  %59 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %24)
  %60 = add nuw nsw i64 %28, 16
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %60, i64 noundef %59)
  %61 = add i32 %7, -48
  %62 = add i32 %7, -16
  %63 = add i32 %7, -24
  %64 = add i32 %7, -32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AconstructErrorObject0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64) #4
  %65 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %53)
  %66 = add i32 %65, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef %66)
  br label %67

67:                                               ; preds = %52, %44
  %68 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %.not245 = icmp eq i32 %68, 0
  br i1 %.not245, label %73, label %69

69:                                               ; preds = %67
  %70 = zext i32 %68 to i64
  %71 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %70)
  %72 = add i32 %71, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %70, i32 noundef %72)
  br label %73

73:                                               ; preds = %69, %67
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

74:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 43, i32 noundef 24718) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

75:                                               ; preds = %14
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

76:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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