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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: 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 i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3ABufferedStringPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  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 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %21 = load ptr, ptr %6, 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 %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %24 = load i32, ptr %16, align 4, !tbaa !9
  %25 = load i32, ptr %15, align 4, !tbaa !9
  %26 = sub i32 %25, %24
  store i32 %26, ptr %15, align 4, !tbaa !9
  %27 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %27, ptr %12, align 4, !tbaa !9
  %28 = load i32, ptr %15, align 4, !tbaa !9
  %29 = load ptr, ptr %6, 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 %15, align 4, !tbaa !9
  store i32 5860, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %16, align 4, !tbaa !9
  %33 = load i32, ptr %15, align 4, !tbaa !9
  %34 = add i32 %33, %32
  store i32 %34, ptr %15, align 4, !tbaa !9
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %15, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call i32 @i32_load8_u(ptr noundef %36, i64 noundef %38)
  store i32 %39, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %15, align 4, !tbaa !9
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %286

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

57:                                               ; preds = %42
  br label %304

58:                                               ; preds = %42
  %59 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %59, ptr %15, align 4, !tbaa !9
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 16
  %65 = call i32 @i32_load(ptr noundef %61, i64 noundef %64)
  store i32 %65, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %58
  br label %322

69:                                               ; preds = %58
  %70 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %70, ptr %15, align 4, !tbaa !9
  store i32 1312, ptr %16, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %15, align 4, !tbaa !9
  %73 = add i32 %72, %71
  store i32 %73, ptr %15, align 4, !tbaa !9
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call i32 @i32_load(ptr noundef %75, i64 noundef %77)
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %69
  br label %340

82:                                               ; preds = %69
  %83 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %83, ptr %15, align 4, !tbaa !9
  store i32 1396, ptr %16, align 4, !tbaa !9
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = add i32 %85, %84
  store i32 %86, ptr %15, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call i32 @i32_load(ptr noundef %88, i64 noundef %90)
  store i32 %91, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  %94 = xor i1 %93, true
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %82
  br label %358

99:                                               ; preds = %82
  %100 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %100, ptr %15, align 4, !tbaa !9
  store i32 808, ptr %16, align 4, !tbaa !9
  %101 = load i32, ptr %16, align 4, !tbaa !9
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = add i32 %102, %101
  store i32 %103, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %104, ptr %13, align 4, !tbaa !9
  %105 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %105, ptr %15, align 4, !tbaa !9
  store i32 1408, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = add i32 %107, %106
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = call i32 @i32_load(ptr noundef %110, i64 noundef %112)
  store i32 %113, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %114, ptr %16, align 4, !tbaa !9
  store i32 1404, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = add i32 %116, %115
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = call i32 @i32_load(ptr noundef %119, i64 noundef %121)
  store i32 %122, ptr %16, align 4, !tbaa !9
  %123 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %123, ptr %11, align 4, !tbaa !9
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = sub i32 %125, %124
  store i32 %126, ptr %15, align 4, !tbaa !9
  store i32 23, ptr %16, align 4, !tbaa !9
  %127 = load i32, ptr %15, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = icmp ule i32 %127, %128
  %130 = zext i1 %129 to i32
  store i32 %130, ptr %15, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %140

133:                                              ; preds = %99
  %134 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %134, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %135, i32 noundef %136, i32 noundef %137)
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %139, ptr %11, align 4, !tbaa !9
  br label %158

140:                                              ; preds = %99
  %141 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %141, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %142, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %16, align 4, !tbaa !9
  %146 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %146, ptr %14, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 1404
  %152 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %148, i64 noundef %151, i32 noundef %152)
  %153 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %153, ptr %15, align 4, !tbaa !9
  %154 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %154, ptr %16, align 4, !tbaa !9
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef %155, i32 noundef %156, i32 noundef %157)
  br label %158

158:                                              ; preds = %140, %133
  %159 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %159, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 4
  %166 = call i32 @i32_load(ptr noundef %162, i64 noundef %165)
  store i32 %166, ptr %16, align 4, !tbaa !9
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 12
  %172 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %168, i64 noundef %171, i32 noundef %172)
  %173 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %173, ptr %15, align 4, !tbaa !9
  %174 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %174, ptr %16, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = call i32 @i32_load(ptr noundef %176, i64 noundef %178)
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %180, ptr %10, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 8
  %186 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %182, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %187, ptr %15, align 4, !tbaa !9
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %206

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

206:                                              ; preds = %190, %158
  %207 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %207, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %208, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %209, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %210, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %18, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %18, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3ABufferedStringPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  store i32 %219, ptr %15, align 4, !tbaa !9
  %220 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %220, ptr %8, align 4, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %221, ptr %15, align 4, !tbaa !9
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %15, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 8
  %227 = call i32 @i32_load(ptr noundef %223, i64 noundef %226)
  store i32 %227, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %228, ptr %11, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %247

231:                                              ; preds = %206
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %16, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = call i32 @i32_load(ptr noundef %235, i64 noundef %237)
  store i32 %238, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  %241 = sub i32 %240, %239
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %243, i64 noundef %245, i32 noundef %246)
  br label %247

247:                                              ; preds = %231, %206
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %15, align 4, !tbaa !9
  store i32 83886104, ptr %16, align 4, !tbaa !9
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %250, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %254, ptr %15, align 4, !tbaa !9
  %255 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %255, ptr %16, align 4, !tbaa !9
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef %256, i32 noundef %257)
  store i64 %258, ptr %20, align 8, !tbaa !17
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = add i64 %262, 8
  %264 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store32(ptr noundef %260, i64 noundef %263, i64 noundef %264)
  %265 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %265, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = add i64 %269, 4
  %271 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %267, i64 noundef %270, i32 noundef %271)
  %272 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %272, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %273, ptr %16, align 4, !tbaa !9
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %275, i64 noundef %277, i32 noundef %278)
  %279 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %279, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %280 = load i32, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %15, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.w2c_hermes, ptr %284, i32 0, i32 3
  store i32 %283, ptr %285, align 8, !tbaa !11
  br label %376

286:                                              ; preds = %5
  store i32 0, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %287, ptr %8, align 4, !tbaa !9
  store i32 193151, ptr %16, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %15, align 4, !tbaa !9
  %291 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %291, ptr %16, align 4, !tbaa !9
  store i32 84373, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %17, align 4, !tbaa !9
  %293 = load i32, ptr %16, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %16, align 4, !tbaa !9
  store i32 1447, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %295, ptr %18, align 4, !tbaa !9
  store i32 109070, ptr %19, align 4, !tbaa !9
  %296 = load i32, ptr %19, align 4, !tbaa !9
  %297 = load i32, ptr %18, align 4, !tbaa !9
  %298 = add i32 %297, %296
  store i32 %298, ptr %18, align 4, !tbaa !9
  %299 = load ptr, ptr %6, align 8, !tbaa !5
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  %303 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302, i32 noundef %303)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

304:                                              ; preds = %57
  store i32 0, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %305, ptr %8, align 4, !tbaa !9
  store i32 195246, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = add i32 %307, %306
  store i32 %308, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %309, ptr %16, align 4, !tbaa !9
  store i32 84070, ptr %17, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %16, align 4, !tbaa !9
  %312 = add i32 %311, %310
  store i32 %312, ptr %16, align 4, !tbaa !9
  store i32 46, ptr %17, align 4, !tbaa !9
  %313 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %313, ptr %18, align 4, !tbaa !9
  store i32 99320, ptr %19, align 4, !tbaa !9
  %314 = load i32, ptr %19, align 4, !tbaa !9
  %315 = load i32, ptr %18, align 4, !tbaa !9
  %316 = add i32 %315, %314
  store i32 %316, ptr %18, align 4, !tbaa !9
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %17, align 4, !tbaa !9
  %321 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320, i32 noundef %321)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

322:                                              ; preds = %68
  store i32 0, ptr %15, align 4, !tbaa !9
  %323 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %323, ptr %8, align 4, !tbaa !9
  store i32 192953, ptr %16, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = load i32, ptr %15, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %15, align 4, !tbaa !9
  %327 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %327, ptr %16, align 4, !tbaa !9
  store i32 84070, ptr %17, align 4, !tbaa !9
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = load i32, ptr %16, align 4, !tbaa !9
  %330 = add i32 %329, %328
  store i32 %330, ptr %16, align 4, !tbaa !9
  store i32 63, ptr %17, align 4, !tbaa !9
  %331 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %331, ptr %18, align 4, !tbaa !9
  store i32 109843, ptr %19, align 4, !tbaa !9
  %332 = load i32, ptr %19, align 4, !tbaa !9
  %333 = load i32, ptr %18, align 4, !tbaa !9
  %334 = add i32 %333, %332
  store i32 %334, ptr %18, align 4, !tbaa !9
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %335, i32 noundef %336, i32 noundef %337, i32 noundef %338, i32 noundef %339)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

340:                                              ; preds = %81
  store i32 0, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %341, ptr %8, align 4, !tbaa !9
  store i32 189195, ptr %16, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = load i32, ptr %15, align 4, !tbaa !9
  %344 = add i32 %343, %342
  store i32 %344, ptr %15, align 4, !tbaa !9
  %345 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %345, ptr %16, align 4, !tbaa !9
  store i32 86379, ptr %17, align 4, !tbaa !9
  %346 = load i32, ptr %17, align 4, !tbaa !9
  %347 = load i32, ptr %16, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %16, align 4, !tbaa !9
  store i32 1091, ptr %17, align 4, !tbaa !9
  %349 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %349, ptr %18, align 4, !tbaa !9
  store i32 109843, ptr %19, align 4, !tbaa !9
  %350 = load i32, ptr %19, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = add i32 %351, %350
  store i32 %352, ptr %18, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %17, align 4, !tbaa !9
  %357 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356, i32 noundef %357)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

358:                                              ; preds = %98
  store i32 0, ptr %15, align 4, !tbaa !9
  %359 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %359, ptr %8, align 4, !tbaa !9
  store i32 131267, ptr %16, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %15, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %363, ptr %16, align 4, !tbaa !9
  store i32 77414, ptr %17, align 4, !tbaa !9
  %364 = load i32, ptr %17, align 4, !tbaa !9
  %365 = load i32, ptr %16, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %16, align 4, !tbaa !9
  store i32 307, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %367, ptr %18, align 4, !tbaa !9
  store i32 107220, ptr %19, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %18, align 4, !tbaa !9
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = load i32, ptr %17, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374, i32 noundef %375)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !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_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: 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 i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3ABufferedStringPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = add i32 %2, 5860
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %9 to i64
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %11)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %71, label %13

13:                                               ; preds = %5
  %14 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 297532)
  %15 = zext i32 %14 to i64
  %16 = add nuw nsw i64 %15, 12
  %17 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %16)
  %.not221 = icmp eq i32 %17, 0
  br i1 %.not221, label %18, label %72

18:                                               ; preds = %13
  %19 = add nuw nsw i64 %15, 16
  %20 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %19)
  %.not222 = icmp eq i32 %20, 0
  br i1 %.not222, label %21, label %73

21:                                               ; preds = %18
  %22 = add i32 %2, 1312
  %23 = zext i32 %22 to i64
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %23)
  %.not223 = icmp eq i32 %24, 0
  br i1 %.not223, label %25, label %74

25:                                               ; preds = %21
  %26 = add i32 %2, 1396
  %27 = zext i32 %26 to i64
  %28 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %27)
  %.not224 = icmp eq i32 %28, 0
  br i1 %.not224, label %75, label %29

29:                                               ; preds = %25
  %30 = add i32 %2, 808
  %31 = add i32 %2, 1408
  %32 = zext i32 %31 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %32)
  %34 = add i32 %2, 1404
  %35 = zext i32 %34 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %35)
  %37 = sub i32 %33, %36
  %38 = icmp ult i32 %37, 24
  br i1 %38, label %39, label %41

39:                                               ; preds = %29
  %40 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 24)
  br label %45

41:                                               ; preds = %29
  %42 = add i32 %36, 24
  %43 = zext i32 %2 to i64
  %44 = add nuw nsw i64 %43, 1404
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %44, i32 noundef %42)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AAlignedHeapSegment0x3A0x3AcheckUnwritten0x28char0x2A0x2C0x20char0x2A0x29(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %42) #4
  br label %45

45:                                               ; preds = %41, %39
  %.0 = phi i32 [ %40, %39 ], [ %36, %41 ]
  %46 = zext i32 %4 to i64
  %47 = add nuw nsw i64 %46, 4
  %48 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %47)
  %49 = zext i32 %8 to i64
  %50 = add nuw nsw i64 %49, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %50, i32 noundef %48)
  %51 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %46)
  %52 = add nuw nsw i64 %49, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %52, i32 noundef %51)
  %.not225 = icmp eq i32 %51, 0
  br i1 %.not225, label %57, label %53

53:                                               ; preds = %45
  %54 = zext i32 %51 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %54)
  %56 = add i32 %55, 1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %54, i32 noundef %56)
  br label %57

57:                                               ; preds = %53, %45
  %58 = add i32 %7, -8
  %59 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar16_t0x3E0x3A0x3ABufferedStringPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3E0x29(ptr noundef nonnull %0, i32 noundef %.0, i32 noundef %2, i32 noundef %3, i32 noundef %58)
  %60 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %52)
  %.not226 = icmp eq i32 %60, 0
  br i1 %.not226, label %65, label %61

61:                                               ; preds = %57
  %62 = zext i32 %60 to i64
  %63 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %62)
  %64 = add i32 %63, -1
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %62, i32 noundef %64)
  br label %65

65:                                               ; preds = %61, %57
  %66 = zext i32 %59 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %66, i32 noundef 83886104)
  %67 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCBase0x3A0x3AnextObjectID0x280x29(ptr noundef nonnull %0, i32 noundef %30)
  %68 = add nuw nsw i64 %66, 8
  tail call void @i64_store32(ptr noundef nonnull %10, i64 noundef %68, i64 noundef %67)
  %69 = zext i32 %1 to i64
  %70 = add nuw nsw i64 %69, 4
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %70, i32 noundef 1)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %69, i32 noundef %59)
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

71:                                               ; preds = %5
  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

72:                                               ; preds = %13
  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

73:                                               ; preds = %18
  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

74:                                               ; preds = %21
  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

75:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 131267, i32 noundef 77414, i32 noundef 307, i32 noundef 107220) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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