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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSFunction0x3A0x3AJSFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ADomain0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AEnvironment0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ACodeBlock0x2A0x29(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 i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = 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 8, ptr %19) #5
  store i64 0, ptr %19, align 8, !tbaa !11
  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 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  %30 = load i32, ptr %29, align 8, !tbaa !13
  store i32 %30, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %31 = load i32, ptr %21, align 4, !tbaa !9
  %32 = load i32, ptr %20, align 4, !tbaa !9
  %33 = sub i32 %32, %31
  store i32 %33, ptr %20, align 4, !tbaa !9
  %34 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %34, ptr %17, align 4, !tbaa !9
  %35 = load i32, ptr %20, align 4, !tbaa !9
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 3
  store i32 %35, ptr %37, align 8, !tbaa !13
  %38 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %38, ptr %20, align 4, !tbaa !9
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %20, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = add i64 %42, 4
  %44 = call i32 @i32_load(ptr noundef %40, i64 noundef %43)
  store i32 %44, ptr %20, align 4, !tbaa !9
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %20, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = call i64 @i64_load(ptr noundef %46, i64 noundef %48)
  store i64 %49, ptr %26, align 8, !tbaa !11
  %50 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %50, ptr %18, align 8, !tbaa !11
  store i64 48, ptr %27, align 8, !tbaa !11
  %51 = load i64, ptr %26, align 8, !tbaa !11
  %52 = load i64, ptr %27, align 8, !tbaa !11
  %53 = and i64 %52, 63
  %54 = ashr i64 %51, %53
  store i64 %54, ptr %26, align 8, !tbaa !11
  %55 = load i64, ptr %26, align 8, !tbaa !11
  %56 = trunc i64 %55 to i32
  store i32 %56, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %57 = load i32, ptr %20, align 4, !tbaa !9
  %58 = load i32, ptr %21, align 4, !tbaa !9
  %59 = icmp eq i32 %57, %58
  %60 = zext i1 %59 to i32
  store i32 %60, ptr %20, align 4, !tbaa !9
  %61 = load i32, ptr %20, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %338

63:                                               ; preds = %8
  %64 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %64, ptr %26, align 8, !tbaa !11
  store i64 -844424930131969, ptr %27, align 8, !tbaa !11
  %65 = load i64, ptr %26, align 8, !tbaa !11
  %66 = load i64, ptr %27, align 8, !tbaa !11
  %67 = icmp ule i64 %65, %66
  %68 = zext i1 %67 to i32
  store i32 %68, ptr %20, align 4, !tbaa !9
  %69 = load i32, ptr %20, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %63
  br label %356

72:                                               ; preds = %63
  %73 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %73, ptr %20, align 4, !tbaa !9
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %20, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 4
  %79 = call i32 @i32_load(ptr noundef %75, i64 noundef %78)
  store i32 %79, ptr %20, align 4, !tbaa !9
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = call i64 @i64_load(ptr noundef %81, i64 noundef %83)
  store i64 %84, ptr %26, align 8, !tbaa !11
  %85 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %85, ptr %19, align 8, !tbaa !11
  store i64 48, ptr %27, align 8, !tbaa !11
  %86 = load i64, ptr %26, align 8, !tbaa !11
  %87 = load i64, ptr %27, align 8, !tbaa !11
  %88 = and i64 %87, 63
  %89 = ashr i64 %86, %88
  store i64 %89, ptr %26, align 8, !tbaa !11
  %90 = load i64, ptr %26, align 8, !tbaa !11
  %91 = trunc i64 %90 to i32
  store i32 %91, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = load i32, ptr %21, align 4, !tbaa !9
  %94 = icmp ne i32 %92, %93
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %20, align 4, !tbaa !9
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %72
  br label %374

99:                                               ; preds = %72
  %100 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %100, ptr %26, align 8, !tbaa !11
  store i64 -844424930131969, ptr %27, align 8, !tbaa !11
  %101 = load i64, ptr %26, align 8, !tbaa !11
  %102 = load i64, ptr %27, align 8, !tbaa !11
  %103 = icmp ule i64 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %99
  br label %392

108:                                              ; preds = %99
  %109 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %109, ptr %26, align 8, !tbaa !11
  %110 = load i64, ptr %26, align 8, !tbaa !11
  %111 = trunc i64 %110 to i32
  store i32 %111, ptr %20, align 4, !tbaa !9
  %112 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %112, ptr %13, align 4, !tbaa !9
  %113 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %113, ptr %20, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %114, ptr %21, align 4, !tbaa !9
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %21, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 4
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %21, align 4, !tbaa !9
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 12
  %126 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %122, i64 noundef %125, i32 noundef %126)
  %127 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %127, ptr %20, align 4, !tbaa !9
  %128 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %128, ptr %21, align 4, !tbaa !9
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %21, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = call i32 @i32_load(ptr noundef %130, i64 noundef %132)
  store i32 %133, ptr %21, align 4, !tbaa !9
  %134 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %134, ptr %15, align 4, !tbaa !9
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 8
  %140 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %136, i64 noundef %139, i32 noundef %140)
  %141 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %141, ptr %26, align 8, !tbaa !11
  %142 = load i64, ptr %26, align 8, !tbaa !11
  %143 = trunc i64 %142 to i32
  store i32 %143, ptr %20, align 4, !tbaa !9
  %144 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %144, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %145, ptr %20, align 4, !tbaa !9
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %164

148:                                              ; preds = %108
  %149 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %149, ptr %20, align 4, !tbaa !9
  %150 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %150, ptr %21, align 4, !tbaa !9
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %21, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = call i32 @i32_load(ptr noundef %152, i64 noundef %154)
  store i32 %155, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %156 = load i32, ptr %22, align 4, !tbaa !9
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %21, align 4, !tbaa !9
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %160, i64 noundef %162, i32 noundef %163)
  br label %164

164:                                              ; preds = %148, %108
  %165 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %165, ptr %20, align 4, !tbaa !9
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %21, align 4, !tbaa !9
  %167 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %167, ptr %22, align 4, !tbaa !9
  %168 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %168, ptr %23, align 4, !tbaa !9
  %169 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %169, ptr %24, align 4, !tbaa !9
  store i32 8, ptr %25, align 4, !tbaa !9
  %170 = load i32, ptr %25, align 4, !tbaa !9
  %171 = load i32, ptr %24, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %24, align 4, !tbaa !9
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !9
  %176 = load i32, ptr %22, align 4, !tbaa !9
  %177 = load i32, ptr %23, align 4, !tbaa !9
  %178 = load i32, ptr %24, align 4, !tbaa !9
  %179 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3ACallable0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AEnvironment0x3E0x29(ptr noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177, i32 noundef %178)
  store i32 %179, ptr %20, align 4, !tbaa !9
  %180 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %181, ptr %20, align 4, !tbaa !9
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %20, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 8
  %187 = call i32 @i32_load(ptr noundef %183, i64 noundef %186)
  store i32 %187, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %188, ptr %13, align 4, !tbaa !9
  %189 = load i32, ptr %20, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %207

191:                                              ; preds = %164
  %192 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %192, ptr %20, align 4, !tbaa !9
  %193 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %193, ptr %21, align 4, !tbaa !9
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %21, 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 %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %199 = load i32, ptr %22, align 4, !tbaa !9
  %200 = load i32, ptr %21, align 4, !tbaa !9
  %201 = sub i32 %200, %199
  store i32 %201, ptr %21, align 4, !tbaa !9
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.w2c_hermes, ptr %202, i32 0, i32 6
  %204 = load i32, ptr %20, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %203, i64 noundef %205, i32 noundef %206)
  br label %207

207:                                              ; preds = %191, %164
  %208 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %208, ptr %20, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %209, ptr %21, align 4, !tbaa !9
  store i32 1320, ptr %22, align 4, !tbaa !9
  %210 = load i32, ptr %22, align 4, !tbaa !9
  %211 = load i32, ptr %21, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %21, align 4, !tbaa !9
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %21, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = call i32 @i32_load(ptr noundef %214, i64 noundef %216)
  store i32 %217, ptr %21, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %218, ptr %22, align 4, !tbaa !9
  %219 = load i32, ptr %22, align 4, !tbaa !9
  %220 = load i32, ptr %21, align 4, !tbaa !9
  %221 = xor i32 %220, %219
  store i32 %221, ptr %21, align 4, !tbaa !9
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %20, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 32
  %227 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %223, i64 noundef %226, i32 noundef %227)
  %228 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %228, ptr %20, align 4, !tbaa !9
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.w2c_hermes, ptr %229, i32 0, i32 6
  %231 = load i32, ptr %20, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = add i64 %232, 4
  %234 = call i32 @i32_load(ptr noundef %230, i64 noundef %233)
  store i32 %234, ptr %20, align 4, !tbaa !9
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %20, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = call i64 @i64_load(ptr noundef %236, i64 noundef %238)
  store i64 %239, ptr %26, align 8, !tbaa !11
  %240 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %240, ptr %18, align 8, !tbaa !11
  store i64 48, ptr %27, align 8, !tbaa !11
  %241 = load i64, ptr %26, align 8, !tbaa !11
  %242 = load i64, ptr %27, align 8, !tbaa !11
  %243 = and i64 %242, 63
  %244 = ashr i64 %241, %243
  store i64 %244, ptr %26, align 8, !tbaa !11
  %245 = load i64, ptr %26, align 8, !tbaa !11
  %246 = trunc i64 %245 to i32
  store i32 %246, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %247 = load i32, ptr %20, align 4, !tbaa !9
  %248 = load i32, ptr %21, align 4, !tbaa !9
  %249 = icmp ne i32 %247, %248
  %250 = zext i1 %249 to i32
  store i32 %250, ptr %20, align 4, !tbaa !9
  %251 = load i32, ptr %20, align 4, !tbaa !9
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %254

253:                                              ; preds = %207
  br label %410

254:                                              ; preds = %207
  %255 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %255, ptr %26, align 8, !tbaa !11
  store i64 -844424930131969, ptr %27, align 8, !tbaa !11
  %256 = load i64, ptr %26, align 8, !tbaa !11
  %257 = load i64, ptr %27, align 8, !tbaa !11
  %258 = icmp ule i64 %256, %257
  %259 = zext i1 %258 to i32
  store i32 %259, ptr %20, align 4, !tbaa !9
  %260 = load i32, ptr %20, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %263

262:                                              ; preds = %254
  br label %428

263:                                              ; preds = %254
  %264 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %264, ptr %20, align 4, !tbaa !9
  store i32 36, ptr %21, align 4, !tbaa !9
  %265 = load i32, ptr %21, align 4, !tbaa !9
  %266 = load i32, ptr %20, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %20, align 4, !tbaa !9
  %268 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %268, ptr %14, align 4, !tbaa !9
  %269 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %269, ptr %27, align 8, !tbaa !11
  %270 = load i64, ptr %27, align 8, !tbaa !11
  %271 = trunc i64 %270 to i32
  store i32 %271, ptr %21, align 4, !tbaa !9
  %272 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %272, ptr %13, align 4, !tbaa !9
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %20, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %274, i64 noundef %276, i32 noundef %277)
  %278 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %278, ptr %20, align 4, !tbaa !9
  store i32 808, ptr %21, align 4, !tbaa !9
  %279 = load i32, ptr %21, align 4, !tbaa !9
  %280 = load i32, ptr %20, align 4, !tbaa !9
  %281 = add i32 %280, %279
  store i32 %281, ptr %20, align 4, !tbaa !9
  %282 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %282, ptr %16, align 4, !tbaa !9
  %283 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %283, ptr %20, align 4, !tbaa !9
  %284 = load i32, ptr %20, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %301

286:                                              ; preds = %263
  %287 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %287, ptr %20, align 4, !tbaa !9
  %288 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %288, ptr %21, align 4, !tbaa !9
  %289 = load ptr, ptr %9, align 8, !tbaa !5
  %290 = load i32, ptr %20, align 4, !tbaa !9
  %291 = load i32, ptr %21, align 4, !tbaa !9
  %292 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %289, i32 noundef %290, i32 noundef %291)
  store i32 %292, ptr %20, align 4, !tbaa !9
  %293 = load i32, ptr %20, align 4, !tbaa !9
  %294 = icmp ne i32 %293, 0
  %295 = xor i1 %294, true
  %296 = zext i1 %295 to i32
  store i32 %296, ptr %20, align 4, !tbaa !9
  %297 = load i32, ptr %20, align 4, !tbaa !9
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %300

299:                                              ; preds = %286
  br label %446

300:                                              ; preds = %286
  br label %301

301:                                              ; preds = %300, %263
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %20, align 4, !tbaa !9
  store i32 1396, ptr %21, align 4, !tbaa !9
  %303 = load i32, ptr %21, align 4, !tbaa !9
  %304 = load i32, ptr %20, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %20, align 4, !tbaa !9
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.w2c_hermes, ptr %306, i32 0, i32 6
  %308 = load i32, ptr %20, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = call i32 @i32_load(ptr noundef %307, i64 noundef %309)
  store i32 %310, ptr %20, align 4, !tbaa !9
  %311 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %311, ptr %21, align 4, !tbaa !9
  store i32 -4194304, ptr %22, align 4, !tbaa !9
  %312 = load i32, ptr %22, align 4, !tbaa !9
  %313 = load i32, ptr %21, align 4, !tbaa !9
  %314 = and i32 %313, %312
  store i32 %314, ptr %21, align 4, !tbaa !9
  %315 = load i32, ptr %20, align 4, !tbaa !9
  %316 = load i32, ptr %21, align 4, !tbaa !9
  %317 = icmp ne i32 %315, %316
  %318 = zext i1 %317 to i32
  store i32 %318, ptr %20, align 4, !tbaa !9
  %319 = load i32, ptr %20, align 4, !tbaa !9
  %320 = icmp ne i32 %319, 0
  br i1 %320, label %321, label %329

321:                                              ; preds = %301
  %322 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %322, ptr %20, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %323, ptr %21, align 4, !tbaa !9
  %324 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %324, ptr %22, align 4, !tbaa !9
  %325 = load ptr, ptr %9, align 8, !tbaa !5
  %326 = load i32, ptr %20, align 4, !tbaa !9
  %327 = load i32, ptr %21, align 4, !tbaa !9
  %328 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328)
  br label %329

329:                                              ; preds = %321, %301
  %330 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %330, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %331 = load i32, ptr %21, align 4, !tbaa !9
  %332 = load i32, ptr %20, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %20, align 4, !tbaa !9
  %334 = load i32, ptr %20, align 4, !tbaa !9
  %335 = load ptr, ptr %9, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.w2c_hermes, ptr %335, i32 0, i32 3
  store i32 %334, ptr %336, align 8, !tbaa !13
  %337 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %337, ptr %20, align 4, !tbaa !9
  br label %464

338:                                              ; preds = %8
  store i32 0, ptr %20, align 4, !tbaa !9
  %339 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %339, ptr %17, align 4, !tbaa !9
  store i32 118124, ptr %21, align 4, !tbaa !9
  %340 = load i32, ptr %21, align 4, !tbaa !9
  %341 = load i32, ptr %20, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %20, align 4, !tbaa !9
  %343 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %343, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %344 = load i32, ptr %22, align 4, !tbaa !9
  %345 = load i32, ptr %21, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %21, align 4, !tbaa !9
  store i32 480, ptr %22, align 4, !tbaa !9
  %347 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %347, ptr %23, align 4, !tbaa !9
  store i32 38798, ptr %24, align 4, !tbaa !9
  %348 = load i32, ptr %24, align 4, !tbaa !9
  %349 = load i32, ptr %23, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %23, align 4, !tbaa !9
  %351 = load ptr, ptr %9, align 8, !tbaa !5
  %352 = load i32, ptr %20, align 4, !tbaa !9
  %353 = load i32, ptr %21, align 4, !tbaa !9
  %354 = load i32, ptr %22, align 4, !tbaa !9
  %355 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %351, i32 noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

356:                                              ; preds = %71
  store i32 0, ptr %20, align 4, !tbaa !9
  %357 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %357, ptr %17, align 4, !tbaa !9
  store i32 118273, ptr %21, align 4, !tbaa !9
  %358 = load i32, ptr %21, align 4, !tbaa !9
  %359 = load i32, ptr %20, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %20, align 4, !tbaa !9
  %361 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %361, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %362 = load i32, ptr %22, align 4, !tbaa !9
  %363 = load i32, ptr %21, align 4, !tbaa !9
  %364 = add i32 %363, %362
  store i32 %364, ptr %21, align 4, !tbaa !9
  store i32 438, ptr %22, align 4, !tbaa !9
  %365 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %365, ptr %23, align 4, !tbaa !9
  store i32 49706, ptr %24, align 4, !tbaa !9
  %366 = load i32, ptr %24, align 4, !tbaa !9
  %367 = load i32, ptr %23, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %23, align 4, !tbaa !9
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = load i32, ptr %20, align 4, !tbaa !9
  %371 = load i32, ptr %21, align 4, !tbaa !9
  %372 = load i32, ptr %22, align 4, !tbaa !9
  %373 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

374:                                              ; preds = %98
  store i32 0, ptr %20, align 4, !tbaa !9
  %375 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %375, ptr %17, align 4, !tbaa !9
  store i32 118124, ptr %21, align 4, !tbaa !9
  %376 = load i32, ptr %21, align 4, !tbaa !9
  %377 = load i32, ptr %20, align 4, !tbaa !9
  %378 = add i32 %377, %376
  store i32 %378, ptr %20, align 4, !tbaa !9
  %379 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %379, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %380 = load i32, ptr %22, align 4, !tbaa !9
  %381 = load i32, ptr %21, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %21, align 4, !tbaa !9
  store i32 480, ptr %22, align 4, !tbaa !9
  %383 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %383, ptr %23, align 4, !tbaa !9
  store i32 38798, ptr %24, align 4, !tbaa !9
  %384 = load i32, ptr %24, align 4, !tbaa !9
  %385 = load i32, ptr %23, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %23, align 4, !tbaa !9
  %387 = load ptr, ptr %9, align 8, !tbaa !5
  %388 = load i32, ptr %20, align 4, !tbaa !9
  %389 = load i32, ptr %21, align 4, !tbaa !9
  %390 = load i32, ptr %22, align 4, !tbaa !9
  %391 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390, i32 noundef %391)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

392:                                              ; preds = %107
  store i32 0, ptr %20, align 4, !tbaa !9
  %393 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %393, ptr %17, align 4, !tbaa !9
  store i32 118273, ptr %21, align 4, !tbaa !9
  %394 = load i32, ptr %21, align 4, !tbaa !9
  %395 = load i32, ptr %20, align 4, !tbaa !9
  %396 = add i32 %395, %394
  store i32 %396, ptr %20, align 4, !tbaa !9
  %397 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %397, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %398 = load i32, ptr %22, align 4, !tbaa !9
  %399 = load i32, ptr %21, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %21, align 4, !tbaa !9
  store i32 438, ptr %22, align 4, !tbaa !9
  %401 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %401, ptr %23, align 4, !tbaa !9
  store i32 49706, ptr %24, align 4, !tbaa !9
  %402 = load i32, ptr %24, align 4, !tbaa !9
  %403 = load i32, ptr %23, align 4, !tbaa !9
  %404 = add i32 %403, %402
  store i32 %404, ptr %23, align 4, !tbaa !9
  %405 = load ptr, ptr %9, align 8, !tbaa !5
  %406 = load i32, ptr %20, align 4, !tbaa !9
  %407 = load i32, ptr %21, align 4, !tbaa !9
  %408 = load i32, ptr %22, align 4, !tbaa !9
  %409 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %405, i32 noundef %406, i32 noundef %407, i32 noundef %408, i32 noundef %409)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

410:                                              ; preds = %253
  store i32 0, ptr %20, align 4, !tbaa !9
  %411 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %411, ptr %17, align 4, !tbaa !9
  store i32 118124, ptr %21, align 4, !tbaa !9
  %412 = load i32, ptr %21, align 4, !tbaa !9
  %413 = load i32, ptr %20, align 4, !tbaa !9
  %414 = add i32 %413, %412
  store i32 %414, ptr %20, align 4, !tbaa !9
  %415 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %415, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %416 = load i32, ptr %22, align 4, !tbaa !9
  %417 = load i32, ptr %21, align 4, !tbaa !9
  %418 = add i32 %417, %416
  store i32 %418, ptr %21, align 4, !tbaa !9
  store i32 480, ptr %22, align 4, !tbaa !9
  %419 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %419, ptr %23, align 4, !tbaa !9
  store i32 38798, ptr %24, align 4, !tbaa !9
  %420 = load i32, ptr %24, align 4, !tbaa !9
  %421 = load i32, ptr %23, align 4, !tbaa !9
  %422 = add i32 %421, %420
  store i32 %422, ptr %23, align 4, !tbaa !9
  %423 = load ptr, ptr %9, align 8, !tbaa !5
  %424 = load i32, ptr %20, align 4, !tbaa !9
  %425 = load i32, ptr %21, align 4, !tbaa !9
  %426 = load i32, ptr %22, align 4, !tbaa !9
  %427 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %423, i32 noundef %424, i32 noundef %425, i32 noundef %426, i32 noundef %427)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

428:                                              ; preds = %262
  store i32 0, ptr %20, align 4, !tbaa !9
  %429 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %429, ptr %17, align 4, !tbaa !9
  store i32 118273, ptr %21, align 4, !tbaa !9
  %430 = load i32, ptr %21, align 4, !tbaa !9
  %431 = load i32, ptr %20, align 4, !tbaa !9
  %432 = add i32 %431, %430
  store i32 %432, ptr %20, align 4, !tbaa !9
  %433 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %433, ptr %21, align 4, !tbaa !9
  store i32 83341, ptr %22, align 4, !tbaa !9
  %434 = load i32, ptr %22, align 4, !tbaa !9
  %435 = load i32, ptr %21, align 4, !tbaa !9
  %436 = add i32 %435, %434
  store i32 %436, ptr %21, align 4, !tbaa !9
  store i32 438, ptr %22, align 4, !tbaa !9
  %437 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %437, ptr %23, align 4, !tbaa !9
  store i32 49706, ptr %24, align 4, !tbaa !9
  %438 = load i32, ptr %24, align 4, !tbaa !9
  %439 = load i32, ptr %23, align 4, !tbaa !9
  %440 = add i32 %439, %438
  store i32 %440, ptr %23, align 4, !tbaa !9
  %441 = load ptr, ptr %9, align 8, !tbaa !5
  %442 = load i32, ptr %20, align 4, !tbaa !9
  %443 = load i32, ptr %21, align 4, !tbaa !9
  %444 = load i32, ptr %22, align 4, !tbaa !9
  %445 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %441, i32 noundef %442, i32 noundef %443, i32 noundef %444, i32 noundef %445)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

446:                                              ; preds = %299
  store i32 0, ptr %20, align 4, !tbaa !9
  %447 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %447, ptr %17, align 4, !tbaa !9
  store i32 147550, ptr %21, align 4, !tbaa !9
  %448 = load i32, ptr %21, align 4, !tbaa !9
  %449 = load i32, ptr %20, align 4, !tbaa !9
  %450 = add i32 %449, %448
  store i32 %450, ptr %20, align 4, !tbaa !9
  %451 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %451, ptr %21, align 4, !tbaa !9
  store i32 83763, ptr %22, align 4, !tbaa !9
  %452 = load i32, ptr %22, align 4, !tbaa !9
  %453 = load i32, ptr %21, align 4, !tbaa !9
  %454 = add i32 %453, %452
  store i32 %454, ptr %21, align 4, !tbaa !9
  store i32 28, ptr %22, align 4, !tbaa !9
  %455 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %455, ptr %23, align 4, !tbaa !9
  store i32 92238, ptr %24, align 4, !tbaa !9
  %456 = load i32, ptr %24, align 4, !tbaa !9
  %457 = load i32, ptr %23, align 4, !tbaa !9
  %458 = add i32 %457, %456
  store i32 %458, ptr %23, align 4, !tbaa !9
  %459 = load ptr, ptr %9, align 8, !tbaa !5
  %460 = load i32, ptr %20, align 4, !tbaa !9
  %461 = load i32, ptr %21, align 4, !tbaa !9
  %462 = load i32, ptr %22, align 4, !tbaa !9
  %463 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %459, i32 noundef %460, i32 noundef %461, i32 noundef %462, i32 noundef %463)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

464:                                              ; preds = %329
  %465 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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 %465
}

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSFunction0x3A0x3AJSFunction0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ADomain0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AEnvironment0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ACodeBlock0x2A0x29(ptr noundef %0, i32 noundef %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 24
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add i32 %10, -16
  store i32 %11, ptr %9, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %4 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %16)
  %18 = icmp ugt i64 %17, -281474976710657
  br i1 %18, label %19, label %73

19:                                               ; preds = %8
  %20 = zext i32 %5 to i64
  %21 = add nuw nsw i64 %20, 4
  %22 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %21)
  %23 = zext i32 %22 to i64
  %24 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %23)
  %.not = icmp ugt i64 %24, -281474976710657
  br i1 %.not, label %25, label %74

25:                                               ; preds = %19
  %26 = trunc i64 %17 to i32
  %27 = zext i32 %6 to i64
  %28 = add nuw nsw i64 %27, 4
  %29 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %28)
  %30 = zext i32 %11 to i64
  %31 = add nuw nsw i64 %30, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %31, i32 noundef %29)
  %32 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %27)
  %33 = add nuw nsw i64 %30, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %33, i32 noundef %32)
  %34 = trunc i64 %24 to i32
  %.not276 = icmp eq i32 %32, 0
  br i1 %.not276, label %39, label %35

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

39:                                               ; preds = %35, %25
  %40 = add i32 %10, -8
  %41 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallable0x3A0x3ACallable0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AEnvironment0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %26, i32 noundef %34, i32 noundef %40)
  %42 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %33)
  %.not277 = icmp eq i32 %42, 0
  br i1 %.not277, label %47, label %43

43:                                               ; preds = %39
  %44 = zext i32 %42 to i64
  %45 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %44)
  %46 = add i32 %45, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %44, i32 noundef %46)
  br label %47

47:                                               ; preds = %43, %39
  %48 = add i32 %2, 1320
  %49 = zext i32 %48 to i64
  %50 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %49)
  %51 = xor i32 %50, %7
  %52 = zext i32 %41 to i64
  %53 = add nuw nsw i64 %52, 32
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %53, i32 noundef %51)
  %54 = zext i32 %3 to i64
  %55 = add nuw nsw i64 %54, 4
  %56 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %55)
  %57 = zext i32 %56 to i64
  %58 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %57)
  %.not278 = icmp ugt i64 %58, -281474976710657
  br i1 %.not278, label %59, label %75

59:                                               ; preds = %47
  %60 = add i32 %41, 36
  %61 = trunc i64 %58 to i32
  %62 = zext i32 %60 to i64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %62, i32 noundef %61)
  %63 = add i32 %2, 808
  %.not279 = icmp eq i32 %61, 0
  br i1 %.not279, label %66, label %64

64:                                               ; preds = %59
  %65 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %61)
  %.not280 = icmp eq i32 %65, 0
  br i1 %.not280, label %76, label %66

66:                                               ; preds = %64, %59
  %67 = add i32 %2, 1396
  %68 = zext i32 %67 to i64
  %69 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %68)
  %70 = and i32 %60, -4194304
  %.not281 = icmp eq i32 %69, %70
  br i1 %.not281, label %72, label %71

71:                                               ; preds = %66
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %60, i32 noundef %61)
  br label %72

72:                                               ; preds = %71, %66
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %41

73:                                               ; preds = %8
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

74:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

75:                                               ; preds = %47
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

76:                                               ; preds = %64
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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
}

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