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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_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 i32 @i32_load8_s(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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #1

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

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

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

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

declare i32 @w2c_hermes_void0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocWork0x3Cfalse0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x3E0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) #1

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

44:                                               ; preds = %4
  br label %107

45:                                               ; preds = %4
  %46 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %46, ptr %13, align 4, !tbaa !9
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 4
  %52 = call i32 @i32_load(ptr noundef %48, i64 noundef %51)
  store i32 %52, ptr %13, align 4, !tbaa !9
  store i32 268435457, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = icmp ult i32 %53, %54
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %13, align 4, !tbaa !9
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %45
  br label %107

60:                                               ; preds = %45
  %61 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %61, ptr %13, align 4, !tbaa !9
  %62 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %62, ptr %14, align 4, !tbaa !9
  %63 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %63, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = add i32 %65, %64
  store i32 %66, ptr %15, align 4, !tbaa !9
  store i32 28263, ptr %16, align 4, !tbaa !9
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef %67, i32 noundef %68, i32 noundef %69)
  store i32 %70, ptr %15, align 4, !tbaa !9
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load i32, ptr %14, align 4, !tbaa !9
  %73 = load i32, ptr %15, align 4, !tbaa !9
  %74 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %71, i32 noundef %72, i32 noundef %73)
  store i32 %74, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %75, ptr %7, align 4, !tbaa !9
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %13, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %77, i64 noundef %79, i32 noundef %80)
  %81 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %81, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %13, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = icmp ne i32 %82, %83
  %85 = zext i1 %84 to i32
  store i32 %85, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %60
  br label %370

89:                                               ; preds = %60
  store i32 0, ptr %13, align 4, !tbaa !9
  %90 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %90, ptr %7, align 4, !tbaa !9
  store i32 109717, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %94, ptr %14, align 4, !tbaa !9
  store i32 77564, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %14, align 4, !tbaa !9
  store i32 168, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %98, ptr %16, align 4, !tbaa !9
  store i32 28083, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  %101 = add i32 %100, %99
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = load i32, ptr %14, align 4, !tbaa !9
  %105 = load i32, ptr %15, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

107:                                              ; preds = %59, %44
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  store i32 5860, ptr %14, align 4, !tbaa !9
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %13, align 4, !tbaa !9
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = call i32 @i32_load8_u(ptr noundef %113, i64 noundef %115)
  store i32 %116, ptr %13, align 4, !tbaa !9
  %117 = load i32, ptr %13, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  %119 = xor i1 %118, true
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %107
  br label %378

124:                                              ; preds = %107
  store i32 297552, ptr %13, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = call i32 @i32_load(ptr noundef %126, i64 noundef %128)
  store i32 %129, ptr %13, align 4, !tbaa !9
  %130 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %130, ptr %9, align 4, !tbaa !9
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 12
  %136 = call i32 @i32_load(ptr noundef %132, i64 noundef %135)
  store i32 %136, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %124
  br label %396

140:                                              ; preds = %124
  %141 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %141, ptr %13, align 4, !tbaa !9
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 16
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  %150 = xor i1 %149, true
  %151 = zext i1 %150 to i32
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %155

154:                                              ; preds = %140
  br label %414

155:                                              ; preds = %140
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %13, align 4, !tbaa !9
  store i32 1312, ptr %14, align 4, !tbaa !9
  %157 = load i32, ptr %14, align 4, !tbaa !9
  %158 = load i32, ptr %13, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %13, align 4, !tbaa !9
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %13, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = call i32 @i32_load(ptr noundef %161, i64 noundef %163)
  store i32 %164, ptr %13, align 4, !tbaa !9
  %165 = load i32, ptr %13, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %168

167:                                              ; preds = %155
  br label %432

168:                                              ; preds = %155
  %169 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %169, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %173, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %14, align 4, !tbaa !9
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = load i32, ptr %13, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  %177 = call i32 @w2c_hermes_void0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocWork0x3Cfalse0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x3E0x28unsigned0x20int0x29(ptr noundef %174, i32 noundef %175, i32 noundef %176)
  store i32 %177, ptr %13, align 4, !tbaa !9
  %178 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %178, ptr %7, align 4, !tbaa !9
  %179 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %179, ptr %13, align 4, !tbaa !9
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %13, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = add i64 %183, 4
  %185 = call i32 @i32_load(ptr noundef %181, i64 noundef %184)
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %186, ptr %10, align 4, !tbaa !9
  %187 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %187, ptr %13, align 4, !tbaa !9
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %13, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = add i64 %191, 11
  %193 = call i32 @i32_load8_u(ptr noundef %189, i64 noundef %192)
  store i32 %193, ptr %13, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %194, ptr %9, align 4, !tbaa !9
  %195 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %195, ptr %13, align 4, !tbaa !9
  store i32 536870911, ptr %14, align 4, !tbaa !9
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 16
  %201 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %197, i64 noundef %200, i32 noundef %201)
  %202 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %202, ptr %13, align 4, !tbaa !9
  store i32 52753, ptr %14, align 4, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 4
  %208 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %204, i64 noundef %207, i32 noundef %208)
  %209 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %209, ptr %13, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %211, ptr %15, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = trunc i32 %213 to i8
  %215 = sext i8 %214 to i32
  store i32 %215, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = icmp slt i32 %216, %217
  %219 = zext i1 %218 to i32
  store i32 %219, ptr %16, align 4, !tbaa !9
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %222, label %224

222:                                              ; preds = %168
  %223 = load i32, ptr %14, align 4, !tbaa !9
  br label %226

224:                                              ; preds = %168
  %225 = load i32, ptr %15, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %224, %222
  %227 = phi i32 [ %223, %222 ], [ %225, %224 ]
  store i32 %227, ptr %14, align 4, !tbaa !9
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 12
  %233 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %229, i64 noundef %232, i32 noundef %233)
  %234 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %234, ptr %13, align 4, !tbaa !9
  store i32 28, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = load i32, ptr %13, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %13, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %238, ptr %10, align 4, !tbaa !9
  %239 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %239, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %14, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %243, ptr %9, align 4, !tbaa !9
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = call i32 @i32_load(ptr noundef %245, i64 noundef %247)
  store i32 %248, ptr %14, align 4, !tbaa !9
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %250, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %13, align 4, !tbaa !9
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %14, align 4, !tbaa !9
  %256 = load ptr, ptr %5, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = call i64 @i64_load(ptr noundef %257, i64 noundef %259)
  store i64 %260, ptr %19, align 8, !tbaa !17
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 6
  %263 = load i32, ptr %13, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = add i64 %264, 20
  %266 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store(ptr noundef %262, i64 noundef %265, i64 noundef %266)
  %267 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %267, ptr %13, align 4, !tbaa !9
  store i64 0, ptr %19, align 8, !tbaa !17
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.w2c_hermes, ptr %268, i32 0, i32 6
  %270 = load i32, ptr %13, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store(ptr noundef %269, i64 noundef %271, i64 noundef %272)
  %273 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %273, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %13, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %275, i64 noundef %277, i32 noundef %278)
  %279 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %279, ptr %13, align 4, !tbaa !9
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %13, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 12
  %285 = call i32 @i32_load(ptr noundef %281, i64 noundef %284)
  store i32 %285, ptr %13, align 4, !tbaa !9
  store i32 2147483520, ptr %14, align 4, !tbaa !9
  %286 = load i32, ptr %14, align 4, !tbaa !9
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = and i32 %287, %286
  store i32 %288, ptr %13, align 4, !tbaa !9
  %289 = load i32, ptr %13, align 4, !tbaa !9
  %290 = icmp ne i32 %289, 0
  %291 = xor i1 %290, true
  %292 = zext i1 %291 to i32
  store i32 %292, ptr %13, align 4, !tbaa !9
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %226
  br label %450

296:                                              ; preds = %226
  %297 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %297, ptr %13, align 4, !tbaa !9
  store i32 167772192, ptr %14, align 4, !tbaa !9
  %298 = load ptr, ptr %5, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 6
  %300 = load i32, ptr %13, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %299, i64 noundef %301, i32 noundef %302)
  %303 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %303, ptr %13, align 4, !tbaa !9
  %304 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %304, ptr %14, align 4, !tbaa !9
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %305, i32 noundef %306)
  store i64 %307, ptr %19, align 8, !tbaa !17
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 6
  %310 = load i32, ptr %13, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = add i64 %311, 8
  %313 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store32(ptr noundef %309, i64 noundef %312, i64 noundef %313)
  %314 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %314, ptr %13, align 4, !tbaa !9
  %315 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %315, ptr %14, align 4, !tbaa !9
  store i32 10, ptr %15, align 4, !tbaa !9
  %316 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %316, ptr %16, align 4, !tbaa !9
  %317 = load ptr, ptr %5, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 6
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = call i32 @i32_load(ptr noundef %318, i64 noundef %320)
  store i32 %321, ptr %16, align 4, !tbaa !9
  store i32 2147483647, ptr %17, align 4, !tbaa !9
  %322 = load i32, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = and i32 %323, %322
  store i32 %324, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %325 = load i32, ptr %17, align 4, !tbaa !9
  %326 = load i32, ptr %16, align 4, !tbaa !9
  %327 = sub i32 %326, %325
  store i32 %327, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %328, ptr %17, align 4, !tbaa !9
  %329 = load ptr, ptr %5, 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 = add i64 %332, 31
  %334 = call i32 @i32_load8_s(ptr noundef %330, i64 noundef %333)
  store i32 %334, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %335 = load i32, ptr %17, align 4, !tbaa !9
  %336 = load i32, ptr %18, align 4, !tbaa !9
  %337 = icmp sge i32 %335, %336
  %338 = zext i1 %337 to i32
  store i32 %338, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %343

341:                                              ; preds = %296
  %342 = load i32, ptr %15, align 4, !tbaa !9
  br label %345

343:                                              ; preds = %296
  %344 = load i32, ptr %16, align 4, !tbaa !9
  br label %345

345:                                              ; preds = %343, %341
  %346 = phi i32 [ %342, %341 ], [ %344, %343 ]
  store i32 %346, ptr %15, align 4, !tbaa !9
  %347 = load ptr, ptr %5, align 8, !tbaa !5
  %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_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcreditExternalMemory0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350)
  %351 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %351, ptr %13, align 4, !tbaa !9
  %352 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %352, ptr %14, align 4, !tbaa !9
  %353 = load i32, ptr %14, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  store i64 %354, ptr %19, align 8, !tbaa !17
  store i64 -844424930131968, ptr %20, align 8, !tbaa !17
  %355 = load i64, ptr %20, align 8, !tbaa !17
  %356 = load i64, ptr %19, align 8, !tbaa !17
  %357 = or i64 %356, %355
  store i64 %357, ptr %19, align 8, !tbaa !17
  %358 = load ptr, ptr %5, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.w2c_hermes, ptr %358, i32 0, i32 6
  %360 = load i32, ptr %13, align 4, !tbaa !9
  %361 = zext i32 %360 to i64
  %362 = add i64 %361, 8
  %363 = load i64, ptr %19, align 8, !tbaa !17
  call void @i64_store(ptr noundef %359, i64 noundef %362, i64 noundef %363)
  %364 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %364, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %365 = load ptr, ptr %5, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.w2c_hermes, ptr %365, i32 0, i32 6
  %367 = load i32, ptr %13, align 4, !tbaa !9
  %368 = zext i32 %367 to i64
  %369 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %366, i64 noundef %368, i32 noundef %369)
  br label %370

370:                                              ; preds = %345, %88
  %371 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %371, ptr %13, align 4, !tbaa !9
  store i32 48, ptr %14, align 4, !tbaa !9
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = load i32, ptr %13, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %13, align 4, !tbaa !9
  %375 = load i32, ptr %13, align 4, !tbaa !9
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 3
  store i32 %375, ptr %377, align 8, !tbaa !11
  br label %468

378:                                              ; preds = %123
  store i32 0, ptr %13, align 4, !tbaa !9
  %379 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %379, ptr %7, align 4, !tbaa !9
  store i32 193151, ptr %14, align 4, !tbaa !9
  %380 = load i32, ptr %14, align 4, !tbaa !9
  %381 = load i32, ptr %13, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %13, align 4, !tbaa !9
  %383 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %383, ptr %14, align 4, !tbaa !9
  store i32 84373, ptr %15, align 4, !tbaa !9
  %384 = load i32, ptr %15, align 4, !tbaa !9
  %385 = load i32, ptr %14, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %14, align 4, !tbaa !9
  store i32 1447, ptr %15, align 4, !tbaa !9
  %387 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %387, ptr %16, align 4, !tbaa !9
  store i32 109070, ptr %17, align 4, !tbaa !9
  %388 = load i32, ptr %17, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %16, align 4, !tbaa !9
  %391 = load ptr, ptr %5, align 8, !tbaa !5
  %392 = load i32, ptr %13, align 4, !tbaa !9
  %393 = load i32, ptr %14, align 4, !tbaa !9
  %394 = load i32, ptr %15, align 4, !tbaa !9
  %395 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %391, i32 noundef %392, i32 noundef %393, i32 noundef %394, i32 noundef %395)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

396:                                              ; preds = %139
  store i32 0, ptr %13, align 4, !tbaa !9
  %397 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %397, ptr %7, align 4, !tbaa !9
  store i32 195246, ptr %14, align 4, !tbaa !9
  %398 = load i32, ptr %14, align 4, !tbaa !9
  %399 = load i32, ptr %13, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %13, align 4, !tbaa !9
  %401 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %401, ptr %14, align 4, !tbaa !9
  store i32 84070, ptr %15, align 4, !tbaa !9
  %402 = load i32, ptr %15, align 4, !tbaa !9
  %403 = load i32, ptr %14, align 4, !tbaa !9
  %404 = add i32 %403, %402
  store i32 %404, ptr %14, align 4, !tbaa !9
  store i32 46, ptr %15, align 4, !tbaa !9
  %405 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %405, ptr %16, align 4, !tbaa !9
  store i32 99320, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %17, align 4, !tbaa !9
  %407 = load i32, ptr %16, align 4, !tbaa !9
  %408 = add i32 %407, %406
  store i32 %408, ptr %16, align 4, !tbaa !9
  %409 = load ptr, ptr %5, align 8, !tbaa !5
  %410 = load i32, ptr %13, align 4, !tbaa !9
  %411 = load i32, ptr %14, align 4, !tbaa !9
  %412 = load i32, ptr %15, align 4, !tbaa !9
  %413 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %409, i32 noundef %410, i32 noundef %411, i32 noundef %412, i32 noundef %413)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

414:                                              ; preds = %154
  store i32 0, ptr %13, align 4, !tbaa !9
  %415 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %415, ptr %7, align 4, !tbaa !9
  store i32 192953, ptr %14, align 4, !tbaa !9
  %416 = load i32, ptr %14, align 4, !tbaa !9
  %417 = load i32, ptr %13, align 4, !tbaa !9
  %418 = add i32 %417, %416
  store i32 %418, ptr %13, align 4, !tbaa !9
  %419 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %419, ptr %14, align 4, !tbaa !9
  store i32 84070, ptr %15, align 4, !tbaa !9
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = load i32, ptr %14, align 4, !tbaa !9
  %422 = add i32 %421, %420
  store i32 %422, ptr %14, align 4, !tbaa !9
  store i32 63, ptr %15, align 4, !tbaa !9
  %423 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %423, ptr %16, align 4, !tbaa !9
  store i32 109843, ptr %17, align 4, !tbaa !9
  %424 = load i32, ptr %17, align 4, !tbaa !9
  %425 = load i32, ptr %16, align 4, !tbaa !9
  %426 = add i32 %425, %424
  store i32 %426, ptr %16, align 4, !tbaa !9
  %427 = load ptr, ptr %5, align 8, !tbaa !5
  %428 = load i32, ptr %13, align 4, !tbaa !9
  %429 = load i32, ptr %14, align 4, !tbaa !9
  %430 = load i32, ptr %15, align 4, !tbaa !9
  %431 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %427, i32 noundef %428, i32 noundef %429, i32 noundef %430, i32 noundef %431)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

432:                                              ; preds = %167
  store i32 0, ptr %13, align 4, !tbaa !9
  %433 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %433, ptr %7, align 4, !tbaa !9
  store i32 189195, ptr %14, align 4, !tbaa !9
  %434 = load i32, ptr %14, align 4, !tbaa !9
  %435 = load i32, ptr %13, align 4, !tbaa !9
  %436 = add i32 %435, %434
  store i32 %436, ptr %13, align 4, !tbaa !9
  %437 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %437, ptr %14, align 4, !tbaa !9
  store i32 86379, ptr %15, align 4, !tbaa !9
  %438 = load i32, ptr %15, align 4, !tbaa !9
  %439 = load i32, ptr %14, align 4, !tbaa !9
  %440 = add i32 %439, %438
  store i32 %440, ptr %14, align 4, !tbaa !9
  store i32 1091, ptr %15, align 4, !tbaa !9
  %441 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %441, ptr %16, align 4, !tbaa !9
  store i32 109843, ptr %17, align 4, !tbaa !9
  %442 = load i32, ptr %17, align 4, !tbaa !9
  %443 = load i32, ptr %16, align 4, !tbaa !9
  %444 = add i32 %443, %442
  store i32 %444, ptr %16, align 4, !tbaa !9
  %445 = load ptr, ptr %5, align 8, !tbaa !5
  %446 = load i32, ptr %13, align 4, !tbaa !9
  %447 = load i32, ptr %14, align 4, !tbaa !9
  %448 = load i32, ptr %15, align 4, !tbaa !9
  %449 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %445, i32 noundef %446, i32 noundef %447, i32 noundef %448, i32 noundef %449)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

450:                                              ; preds = %295
  store i32 0, ptr %13, align 4, !tbaa !9
  %451 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %451, ptr %7, align 4, !tbaa !9
  store i32 185443, ptr %14, align 4, !tbaa !9
  %452 = load i32, ptr %14, align 4, !tbaa !9
  %453 = load i32, ptr %13, align 4, !tbaa !9
  %454 = add i32 %453, %452
  store i32 %454, ptr %13, align 4, !tbaa !9
  %455 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %455, ptr %14, align 4, !tbaa !9
  store i32 60380, ptr %15, align 4, !tbaa !9
  %456 = load i32, ptr %15, align 4, !tbaa !9
  %457 = load i32, ptr %14, align 4, !tbaa !9
  %458 = add i32 %457, %456
  store i32 %458, ptr %14, align 4, !tbaa !9
  store i32 466, ptr %15, align 4, !tbaa !9
  %459 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %459, ptr %16, align 4, !tbaa !9
  store i32 89329, ptr %17, align 4, !tbaa !9
  %460 = load i32, ptr %17, align 4, !tbaa !9
  %461 = load i32, ptr %16, align 4, !tbaa !9
  %462 = add i32 %461, %460
  store i32 %462, ptr %16, align 4, !tbaa !9
  %463 = load ptr, ptr %5, align 8, !tbaa !5
  %464 = load i32, ptr %13, align 4, !tbaa !9
  %465 = load i32, ptr %14, align 4, !tbaa !9
  %466 = load i32, ptr %15, align 4, !tbaa !9
  %467 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %463, i32 noundef %464, i32 noundef %465, i32 noundef %466, i32 noundef %467)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

468:                                              ; preds = %370
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 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 4, 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_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 i32 @i32_load8_s(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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

declare i32 @w2c_hermes_void0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocWork0x3Cfalse0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x3E0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x260x260x29(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, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 11
  %11 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %10)
  %12 = icmp sgt i32 %11, -1
  br i1 %12, label %23, label %13

13:                                               ; preds = %4
  %14 = add nuw nsw i64 %9, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = icmp ult i32 %15, 268435457
  br i1 %16, label %23, label %17

17:                                               ; preds = %13
  %18 = add i32 %6, -40
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ATwineChar160x3A0x3ATwineChar160x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 28263) #4
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %19) #4
  %21 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %21, i32 noundef %20)
  %.not = icmp eq i32 %20, 1
  br i1 %.not, label %22, label %72

22:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 168, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

23:                                               ; preds = %13, %4
  %24 = add i32 %2, 5860
  %25 = zext i32 %24 to i64
  %26 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %25)
  %.not265 = icmp eq i32 %26, 0
  br i1 %.not265, label %73, label %27

27:                                               ; preds = %23
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef 297552)
  %29 = zext i32 %28 to i64
  %30 = add nuw nsw i64 %29, 12
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %30)
  %.not266 = icmp eq i32 %31, 0
  br i1 %.not266, label %32, label %74

32:                                               ; preds = %27
  %33 = add nuw nsw i64 %29, 16
  %34 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %33)
  %.not267 = icmp eq i32 %34, 0
  br i1 %.not267, label %75, label %35

35:                                               ; preds = %32
  %36 = add i32 %2, 1312
  %37 = zext i32 %36 to i64
  %38 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %37)
  %.not268 = icmp eq i32 %38, 0
  br i1 %.not268, label %39, label %76

39:                                               ; preds = %35
  %40 = add i32 %2, 808
  %41 = tail call i32 @w2c_hermes_void0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocWork0x3Cfalse0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x3E0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef 32) #4
  %42 = add nuw nsw i64 %9, 4
  %43 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %42)
  %44 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %10)
  %45 = zext i32 %41 to i64
  %46 = add nuw nsw i64 %45, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %46, i32 noundef 536870911)
  %47 = add nuw nsw i64 %45, 4
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %47, i32 noundef 52753)
  %sext.mask = and i32 %44, 128
  %.not269 = icmp eq i32 %sext.mask, 0
  %48 = select i1 %.not269, i32 %44, i32 %43
  %49 = add nuw nsw i64 %45, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %49, i32 noundef %48)
  %50 = add i32 %41, 28
  %51 = add i32 %3, 8
  %52 = zext i32 %51 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %52)
  %54 = zext i32 %50 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef %53)
  %55 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %9)
  %56 = add nuw nsw i64 %45, 20
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %56, i64 noundef %55)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %9, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef 0)
  %57 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %49)
  %58 = and i32 %57, 2147483520
  %.not270 = icmp eq i32 %58, 0
  br i1 %.not270, label %77, label %59

59:                                               ; preds = %39
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %45, i32 noundef 167772192)
  %60 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef nonnull %0, i32 noundef %40)
  %61 = add nuw nsw i64 %45, 8
  tail call void @i64_store32(ptr noundef nonnull %8, i64 noundef %61, i64 noundef %60)
  %62 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %54)
  %63 = and i32 %62, 2147483647
  %64 = add nsw i32 %63, -1
  %65 = add nuw nsw i64 %45, 31
  %66 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %65)
  %67 = icmp sgt i32 %66, -1
  %68 = select i1 %67, i32 10, i32 %64
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcreditExternalMemory0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41, i32 noundef %68)
  %69 = or disjoint i64 %45, -844424930131968
  %70 = zext i32 %1 to i64
  %71 = add nuw nsw i64 %70, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %71, i64 noundef %69)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %70, i32 noundef 1)
  br label %72

72:                                               ; preds = %17, %59
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

73:                                               ; preds = %23
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 193151, i32 noundef 84373, i32 noundef 1447, i32 noundef 109070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

74:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 195246, i32 noundef 84070, i32 noundef 46, i32 noundef 99320) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

75:                                               ; preds = %32
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 192953, i32 noundef 84070, i32 noundef 63, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

76:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 189195, i32 noundef 86379, i32 noundef 1091, i32 noundef 109843) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

77:                                               ; preds = %39
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 185443, i32 noundef 60380, i32 noundef 466, i32 noundef 89329) #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