; 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 void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AfromBytes0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cunsigned0x20char0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %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 i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.w2c_hermes, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 8, !tbaa !13
  store i32 %22, ptr %12, align 4, !tbaa !9
  store i32 -64, ptr %13, align 4, !tbaa !9
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = add i32 %24, %23
  store i32 %25, ptr %12, align 4, !tbaa !9
  %26 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %26, ptr %9, align 4, !tbaa !9
  %27 = load i32, ptr %12, align 4, !tbaa !9
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  store i32 %27, ptr %29, align 8, !tbaa !13
  %30 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %30, ptr %12, align 4, !tbaa !9
  store i32 4, ptr %13, align 4, !tbaa !9
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = add i64 %34, 56
  %36 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %32, i64 noundef %35, i32 noundef %36)
  %37 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %37, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %12, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = add i64 %41, 60
  %43 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %39, i64 noundef %42, i32 noundef %43)
  %44 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %44, ptr %12, align 4, !tbaa !9
  %45 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %45, ptr %13, align 4, !tbaa !9
  store i32 60, ptr %14, align 4, !tbaa !9
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = load i32, ptr %13, align 4, !tbaa !9
  %48 = add i32 %47, %46
  store i32 %48, ptr %13, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %12, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 52
  %54 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %50, i64 noundef %53, i32 noundef %54)
  %55 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %55, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %56, ptr %13, align 4, !tbaa !9
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = add i64 %60, 52
  %62 = call i64 @i64_load(ptr noundef %58, i64 noundef %61)
  store i64 %62, ptr %18, align 8, !tbaa !11
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %12, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %64, i64 noundef %66, i64 noundef %67)
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = add i32 %70, %69
  store i32 %71, ptr %12, align 4, !tbaa !9
  %72 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %72, ptr %13, align 4, !tbaa !9
  %73 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %73, ptr %14, align 4, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AfromBytes0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cunsigned0x20char0x3E0x29(ptr noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77)
  %78 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = add i64 %82, 32
  %84 = call i32 @i32_load(ptr noundef %80, i64 noundef %83)
  store i32 %84, ptr %12, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %85, label %88 [
    i32 0, label %86
    i32 1, label %87
  ]

86:                                               ; preds = %4
  br label %89

87:                                               ; preds = %4
  br label %114

88:                                               ; preds = %4
  br label %96

89:                                               ; preds = %86
  %90 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %90, ptr %12, align 4, !tbaa !9
  store i64 -4294967296, ptr %18, align 8, !tbaa !11
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %92, i64 noundef %94, i64 noundef %95)
  br label %307

96:                                               ; preds = %88
  store i32 0, ptr %12, align 4, !tbaa !9
  %97 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %97, ptr %9, align 4, !tbaa !9
  store i32 109639, ptr %13, align 4, !tbaa !9
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %12, align 4, !tbaa !9
  %100 = add i32 %99, %98
  store i32 %100, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %101, ptr %13, align 4, !tbaa !9
  store i32 77564, ptr %14, align 4, !tbaa !9
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = add i32 %103, %102
  store i32 %104, ptr %13, align 4, !tbaa !9
  store i32 179, ptr %14, align 4, !tbaa !9
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %15, align 4, !tbaa !9
  store i32 90402, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = add i32 %107, %106
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = load i32, ptr %12, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

114:                                              ; preds = %87
  %115 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %115, ptr %12, align 4, !tbaa !9
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 40
  %121 = call i64 @i64_load(ptr noundef %117, i64 noundef %120)
  store i64 %121, ptr %17, align 8, !tbaa !11
  %122 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %122, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %18, align 8, !tbaa !11
  %123 = load i64, ptr %17, align 8, !tbaa !11
  %124 = load i64, ptr %18, align 8, !tbaa !11
  %125 = and i64 %124, 63
  %126 = ashr i64 %123, %125
  store i64 %126, ptr %17, align 8, !tbaa !11
  %127 = load i64, ptr %17, align 8, !tbaa !11
  %128 = trunc i64 %127 to i32
  store i32 %128, ptr %12, align 4, !tbaa !9
  store i32 -2, ptr %13, align 4, !tbaa !9
  %129 = load i32, ptr %12, align 4, !tbaa !9
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = icmp ne i32 %129, %130
  %132 = zext i1 %131 to i32
  store i32 %132, ptr %12, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %114
  br label %315

136:                                              ; preds = %114
  %137 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %137, ptr %17, align 8, !tbaa !11
  store i64 -844424930131969, ptr %18, align 8, !tbaa !11
  %138 = load i64, ptr %17, align 8, !tbaa !11
  %139 = load i64, ptr %18, align 8, !tbaa !11
  %140 = icmp ule i64 %138, %139
  %141 = zext i1 %140 to i32
  store i32 %141, ptr %12, align 4, !tbaa !9
  %142 = load i32, ptr %12, align 4, !tbaa !9
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %136
  br label %333

145:                                              ; preds = %136
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %147 = load i32, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = add i32 %148, %147
  store i32 %149, ptr %12, align 4, !tbaa !9
  %150 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %150, ptr %13, align 4, !tbaa !9
  %151 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %151, ptr %19, align 8, !tbaa !11
  %152 = load i64, ptr %19, align 8, !tbaa !11
  %153 = trunc i64 %152 to i32
  store i32 %153, ptr %14, align 4, !tbaa !9
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = load i32, ptr %13, align 4, !tbaa !9
  %157 = load i32, ptr %14, align 4, !tbaa !9
  %158 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x2A0x29(ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157)
  store i32 %158, ptr %12, align 4, !tbaa !9
  %159 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  %161 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %161, ptr %13, align 4, !tbaa !9
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %13, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = add i64 %165, 4
  %167 = call i32 @i32_load(ptr noundef %163, i64 noundef %166)
  store i32 %167, ptr %13, align 4, !tbaa !9
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 12
  %173 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %174, ptr %12, align 4, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %175, ptr %13, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %13, 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 %13, align 4, !tbaa !9
  %181 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %181, ptr %8, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %12, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 8
  %187 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %186, i32 noundef %187)
  %188 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %188, ptr %12, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %207

191:                                              ; preds = %145
  %192 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %192, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %193, ptr %13, align 4, !tbaa !9
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = call i32 @i32_load(ptr noundef %195, i64 noundef %197)
  store i32 %198, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = load i32, ptr %13, align 4, !tbaa !9
  %201 = add i32 %200, %199
  store i32 %201, ptr %13, align 4, !tbaa !9
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.w2c_hermes, ptr %202, i32 0, i32 6
  %204 = load i32, ptr %12, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %203, i64 noundef %205, i32 noundef %206)
  br label %207

207:                                              ; preds = %191, %145
  %208 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %208, ptr %12, align 4, !tbaa !9
  store i32 24, ptr %13, align 4, !tbaa !9
  %209 = load i32, ptr %13, align 4, !tbaa !9
  %210 = load i32, ptr %12, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %213, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %15, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = load i32, ptr %12, align 4, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222)
  %223 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %223, ptr %12, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %13, align 4, !tbaa !9
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = add i64 %228, 28
  %230 = call i32 @i32_load(ptr noundef %226, i64 noundef %229)
  store i32 %230, ptr %13, align 4, !tbaa !9
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %12, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = add i64 %234, 4
  %236 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %232, i64 noundef %235, i32 noundef %236)
  %237 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %237, ptr %12, align 4, !tbaa !9
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %13, align 4, !tbaa !9
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %13, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = add i64 %242, 24
  %244 = call i32 @i32_load(ptr noundef %240, i64 noundef %243)
  store i32 %244, ptr %13, align 4, !tbaa !9
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %12, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %246, i64 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %250, ptr %12, align 4, !tbaa !9
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %12, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = add i64 %254, 8
  %256 = call i32 @i32_load(ptr noundef %252, i64 noundef %255)
  store i32 %256, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %257, ptr %7, align 4, !tbaa !9
  %258 = load i32, ptr %12, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %276

260:                                              ; preds = %207
  %261 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %261, ptr %12, align 4, !tbaa !9
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %13, align 4, !tbaa !9
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %13, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = call i32 @i32_load(ptr noundef %264, i64 noundef %266)
  store i32 %267, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %13, align 4, !tbaa !9
  %270 = sub i32 %269, %268
  store i32 %270, ptr %13, align 4, !tbaa !9
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %12, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %272, i64 noundef %274, i32 noundef %275)
  br label %276

276:                                              ; preds = %260, %207
  %277 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %277, ptr %12, align 4, !tbaa !9
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %12, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = call i32 @i32_load(ptr noundef %279, i64 noundef %281)
  store i32 %282, ptr %12, align 4, !tbaa !9
  %283 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %283, ptr %7, align 4, !tbaa !9
  %284 = load i32, ptr %12, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  %286 = xor i1 %285, true
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %12, align 4, !tbaa !9
  %288 = load i32, ptr %12, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %291

290:                                              ; preds = %276
  br label %307

291:                                              ; preds = %276
  %292 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %292, ptr %12, align 4, !tbaa !9
  %293 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %293, ptr %13, align 4, !tbaa !9
  %294 = load ptr, ptr %5, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.w2c_hermes, ptr %294, i32 0, i32 6
  %296 = load i32, ptr %13, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = call i32 @i32_load(ptr noundef %295, i64 noundef %297)
  store i32 %298, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = load i32, ptr %13, align 4, !tbaa !9
  %301 = sub i32 %300, %299
  store i32 %301, ptr %13, align 4, !tbaa !9
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.w2c_hermes, ptr %302, i32 0, i32 6
  %304 = load i32, ptr %12, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %303, i64 noundef %305, i32 noundef %306)
  br label %307

307:                                              ; preds = %291, %290, %89
  %308 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %308, ptr %12, align 4, !tbaa !9
  store i32 -64, ptr %13, align 4, !tbaa !9
  %309 = load i32, ptr %13, align 4, !tbaa !9
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = sub i32 %310, %309
  store i32 %311, ptr %12, align 4, !tbaa !9
  %312 = load i32, ptr %12, align 4, !tbaa !9
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 3
  store i32 %312, ptr %314, align 8, !tbaa !13
  br label %351

315:                                              ; preds = %135
  store i32 0, ptr %12, align 4, !tbaa !9
  %316 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %316, ptr %9, align 4, !tbaa !9
  store i32 117977, ptr %13, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = load i32, ptr %12, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %12, align 4, !tbaa !9
  %320 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %320, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %13, align 4, !tbaa !9
  store i32 475, ptr %14, align 4, !tbaa !9
  %324 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %324, ptr %15, align 4, !tbaa !9
  store i32 27558, ptr %16, align 4, !tbaa !9
  %325 = load i32, ptr %16, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = add i32 %326, %325
  store i32 %327, ptr %15, align 4, !tbaa !9
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = load i32, ptr %12, align 4, !tbaa !9
  %330 = load i32, ptr %13, align 4, !tbaa !9
  %331 = load i32, ptr %14, align 4, !tbaa !9
  %332 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %328, i32 noundef %329, i32 noundef %330, i32 noundef %331, i32 noundef %332)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

333:                                              ; preds = %144
  store i32 0, ptr %12, align 4, !tbaa !9
  %334 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %334, ptr %9, align 4, !tbaa !9
  store i32 118273, ptr %13, align 4, !tbaa !9
  %335 = load i32, ptr %13, align 4, !tbaa !9
  %336 = load i32, ptr %12, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %12, align 4, !tbaa !9
  %338 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %338, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %339 = load i32, ptr %14, align 4, !tbaa !9
  %340 = load i32, ptr %13, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %13, align 4, !tbaa !9
  store i32 438, ptr %14, align 4, !tbaa !9
  %342 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %342, ptr %15, align 4, !tbaa !9
  store i32 49706, ptr %16, align 4, !tbaa !9
  %343 = load i32, ptr %16, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = add i32 %344, %343
  store i32 %345, ptr %15, align 4, !tbaa !9
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = load i32, ptr %12, align 4, !tbaa !9
  %348 = load i32, ptr %13, align 4, !tbaa !9
  %349 = load i32, ptr %14, align 4, !tbaa !9
  %350 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

351:                                              ; preds = %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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 void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AfromBytes0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cunsigned0x20char0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -64
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %7 to i64
  %10 = add nuw nsw i64 %9, 56
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef 4)
  %11 = add nuw nsw i64 %9, 60
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %11, i32 noundef 0)
  %12 = add i32 %6, -4
  %13 = add nuw nsw i64 %9, 52
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %13, i32 noundef %12)
  %14 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %13)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %9, i64 noundef %14)
  %15 = add i32 %6, -32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AfromBytes0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cunsigned0x20char0x3E0x29(ptr noundef %0, i32 noundef %15, i32 noundef %2, i32 noundef %7)
  %16 = add nuw nsw i64 %9, 32
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  switch i32 %17, label %20 [
    i32 0, label %18
    i32 1, label %21
  ]

18:                                               ; preds = %4
  %19 = zext i32 %1 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %19, i64 noundef -4294967296)
  br label %59

20:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

21:                                               ; preds = %4
  %22 = add nuw nsw i64 %9, 40
  %23 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %22)
  %.mask = and i64 %23, -281474976710656
  %.not = icmp eq i64 %.mask, -562949953421312
  br i1 %.not, label %24, label %60

24:                                               ; preds = %21
  %25 = add i32 %6, -48
  %26 = trunc i64 %23 to i32
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x2A0x29(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %2, i32 noundef %26)
  %28 = zext i32 %3 to i64
  %29 = add nuw nsw i64 %28, 4
  %30 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %29)
  %31 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %30)
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %28)
  %33 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %33, i32 noundef %32)
  %.not200 = icmp eq i32 %32, 0
  br i1 %.not200, label %38, label %34

34:                                               ; preds = %24
  %35 = zext i32 %32 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %35)
  %37 = add i32 %36, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %37)
  br label %38

38:                                               ; preds = %34, %24
  %39 = add i32 %6, -40
  %40 = add i32 %6, -56
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSBigInt0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %2, i32 noundef %27, i32 noundef %40)
  %41 = add nuw nsw i64 %9, 28
  %42 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %41)
  %43 = zext i32 %1 to i64
  %44 = add nuw nsw i64 %43, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %44, i32 noundef %42)
  %45 = add nuw nsw i64 %9, 24
  %46 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %45)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %43, i32 noundef %46)
  %47 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %33)
  %.not201 = icmp eq i32 %47, 0
  br i1 %.not201, label %52, label %48

48:                                               ; preds = %38
  %49 = zext i32 %47 to i64
  %50 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %49)
  %51 = add i32 %50, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %49, i32 noundef %51)
  br label %52

52:                                               ; preds = %48, %38
  %53 = zext i32 %27 to i64
  %54 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %53)
  %.not202 = icmp eq i32 %54, 0
  br i1 %.not202, label %59, label %55

55:                                               ; preds = %52
  %56 = zext i32 %54 to i64
  %57 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %56)
  %58 = add i32 %57, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %56, i32 noundef %58)
  br label %59

59:                                               ; preds = %52, %55, %18
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

60:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 117977, i32 noundef 83341, i32 noundef 475, i32 noundef 27558) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass