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

; 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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AcanonicalizePath0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x290x3A0x3A0x24_00x3A0x3Aoperator0x280x290x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca 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 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 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 !13
  store i32 %23, ptr %12, align 4, !tbaa !9
  store i32 160, ptr %13, align 4, !tbaa !9
  %24 = load i32, ptr %13, align 4, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = sub i32 %25, %24
  store i32 %26, ptr %12, align 4, !tbaa !9
  %27 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %27, ptr %9, align 4, !tbaa !9
  %28 = load i32, ptr %12, 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 !13
  %31 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %31, ptr %12, align 4, !tbaa !9
  store i64 137438953472, ptr %20, align 8, !tbaa !11
  %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 %12, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, 88
  %37 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %33, i64 noundef %36, i64 noundef %37)
  %38 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %38, ptr %12, align 4, !tbaa !9
  %39 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %39, ptr %13, align 4, !tbaa !9
  store i32 96, ptr %14, align 4, !tbaa !9
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = add i32 %41, %40
  store i32 %42, ptr %13, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %43, ptr %10, align 4, !tbaa !9
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = add i64 %47, 84
  %49 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %45, i64 noundef %48, i32 noundef %49)
  %50 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %50, ptr %12, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = add i64 %54, 4
  %56 = call i32 @i32_load(ptr noundef %52, i64 noundef %55)
  store i32 %56, ptr %12, align 4, !tbaa !9
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = call i64 @i64_load(ptr noundef %58, i64 noundef %60)
  store i64 %61, ptr %19, align 8, !tbaa !11
  %62 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %62, ptr %11, align 8, !tbaa !11
  store i64 48, ptr %20, align 8, !tbaa !11
  %63 = load i64, ptr %19, align 8, !tbaa !11
  %64 = load i64, ptr %20, align 8, !tbaa !11
  %65 = and i64 %64, 63
  %66 = ashr i64 %63, %65
  store i64 %66, ptr %19, align 8, !tbaa !11
  %67 = load i64, ptr %19, align 8, !tbaa !11
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %12, align 4, !tbaa !9
  store i32 -3, ptr %13, align 4, !tbaa !9
  %69 = load i32, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = icmp eq i32 %69, %70
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %12, align 4, !tbaa !9
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %307

75:                                               ; preds = %4
  %76 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %76, ptr %19, align 8, !tbaa !11
  store i64 -844424930131969, ptr %20, align 8, !tbaa !11
  %77 = load i64, ptr %19, align 8, !tbaa !11
  %78 = load i64, ptr %20, align 8, !tbaa !11
  %79 = icmp ule i64 %77, %78
  %80 = zext i1 %79 to i32
  store i32 %80, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %75
  br label %325

84:                                               ; preds = %75
  %85 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %85, ptr %19, align 8, !tbaa !11
  %86 = load i64, ptr %19, align 8, !tbaa !11
  %87 = trunc i64 %86 to i32
  store i32 %87, ptr %12, align 4, !tbaa !9
  %88 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %88, ptr %7, align 4, !tbaa !9
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  %91 = xor i1 %90, true
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %84
  br label %343

96:                                               ; preds = %84
  %97 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %97, ptr %12, align 4, !tbaa !9
  %98 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %98, ptr %13, align 4, !tbaa !9
  store i32 84, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = add i32 %100, %99
  store i32 %101, ptr %13, align 4, !tbaa !9
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AappendUTF16String0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar16_t0x3E0x260x290x20const(ptr noundef %102, i32 noundef %103, i32 noundef %104)
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 80
  %111 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  %112 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %112, ptr %12, align 4, !tbaa !9
  %113 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %13, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 88
  %119 = call i32 @i32_load(ptr noundef %115, i64 noundef %118)
  store i32 %119, ptr %13, align 4, !tbaa !9
  %120 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %120, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = sub i32 %122, %121
  store i32 %123, ptr %13, align 4, !tbaa !9
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 68
  %129 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %130, ptr %12, align 4, !tbaa !9
  %131 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %131, ptr %13, align 4, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %13, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 84
  %137 = call i32 @i32_load(ptr noundef %133, i64 noundef %136)
  store i32 %137, ptr %13, align 4, !tbaa !9
  %138 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %138, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = and i32 %139, 31
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = shl i32 %141, %140
  store i32 %142, ptr %14, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %13, align 4, !tbaa !9
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 64
  %151 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %152, ptr %12, align 4, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !11
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 72
  %158 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %154, i64 noundef %157, i64 noundef %158)
  %159 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %159, ptr %12, align 4, !tbaa !9
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %13, align 4, !tbaa !9
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 64
  %166 = call i64 @i64_load(ptr noundef %162, i64 noundef %165)
  store i64 %166, ptr %20, align 8, !tbaa !11
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %12, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 8
  %172 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %168, i64 noundef %171, i64 noundef %172)
  %173 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %173, ptr %12, align 4, !tbaa !9
  store i32 72, ptr %13, align 4, !tbaa !9
  %174 = load i32, ptr %13, align 4, !tbaa !9
  %175 = load i32, ptr %12, align 4, !tbaa !9
  %176 = add i32 %175, %174
  store i32 %176, ptr %12, align 4, !tbaa !9
  %177 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %177, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = add i32 %179, %178
  store i32 %180, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = load i32, ptr %12, align 4, !tbaa !9
  %183 = load i32, ptr %13, align 4, !tbaa !9
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = call i32 @w2c_hermes_hermes0x3A0x3AconvertUTF16ToUTF8WithReplacements0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x2C0x20unsigned0x20long0x29(ptr noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184)
  store i32 %185, ptr %12, align 4, !tbaa !9
  %186 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %186, ptr %12, align 4, !tbaa !9
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %12, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = call i32 @i32_load(ptr noundef %188, i64 noundef %190)
  store i32 %191, ptr %12, align 4, !tbaa !9
  %192 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %192, ptr %8, align 4, !tbaa !9
  %193 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %193, ptr %12, align 4, !tbaa !9
  store i32 260, ptr %13, align 4, !tbaa !9
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %12, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 60
  %199 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %195, i64 noundef %198, i32 noundef %199)
  %200 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %200, ptr %12, align 4, !tbaa !9
  %201 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %201, ptr %13, align 4, !tbaa !9
  store i32 72, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %13, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %13, align 4, !tbaa !9
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %12, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 52
  %210 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %211, ptr %12, align 4, !tbaa !9
  store i32 257, ptr %13, align 4, !tbaa !9
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = add i64 %215, 48
  %217 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %213, i64 noundef %216, i32 noundef %217)
  %218 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %218, ptr %12, align 4, !tbaa !9
  store i32 257, ptr %13, align 4, !tbaa !9
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %12, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 36
  %224 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %220, i64 noundef %223, i32 noundef %224)
  %225 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %225, ptr %12, align 4, !tbaa !9
  store i32 257, ptr %13, align 4, !tbaa !9
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %12, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 24
  %231 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %227, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %232, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %233, ptr %14, align 4, !tbaa !9
  store i32 52, ptr %15, align 4, !tbaa !9
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  store i32 40, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %15, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  store i32 28, ptr %17, align 4, !tbaa !9
  %242 = load i32, ptr %17, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %16, align 4, !tbaa !9
  %245 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %245, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = load i32, ptr %12, align 4, !tbaa !9
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = load i32, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3Aappend0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255)
  %256 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %256, ptr %12, align 4, !tbaa !9
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %12, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 83
  %262 = call i32 @i32_load8_s(ptr noundef %258, i64 noundef %261)
  store i32 %262, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %263 = load i32, ptr %12, align 4, !tbaa !9
  %264 = load i32, ptr %13, align 4, !tbaa !9
  %265 = icmp slt i32 %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %12, align 4, !tbaa !9
  %267 = load i32, ptr %12, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %279

269:                                              ; preds = %96
  %270 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %270, ptr %12, align 4, !tbaa !9
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %12, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 72
  %276 = call i32 @i32_load(ptr noundef %272, i64 noundef %275)
  store i32 %276, ptr %12, align 4, !tbaa !9
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %277, i32 noundef %278)
  br label %279

279:                                              ; preds = %269, %96
  %280 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %280, ptr %12, align 4, !tbaa !9
  %281 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %281, ptr %13, align 4, !tbaa !9
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %13, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = add i64 %285, 84
  %287 = call i32 @i32_load(ptr noundef %283, i64 noundef %286)
  store i32 %287, ptr %13, align 4, !tbaa !9
  %288 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %288, ptr %8, align 4, !tbaa !9
  %289 = load i32, ptr %12, align 4, !tbaa !9
  %290 = load i32, ptr %13, align 4, !tbaa !9
  %291 = icmp ne i32 %289, %290
  %292 = zext i1 %291 to i32
  store i32 %292, ptr %12, align 4, !tbaa !9
  %293 = load i32, ptr %12, align 4, !tbaa !9
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %299

295:                                              ; preds = %279
  %296 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %296, ptr %12, align 4, !tbaa !9
  %297 = load ptr, ptr %5, align 8, !tbaa !5
  %298 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %297, i32 noundef %298)
  br label %299

299:                                              ; preds = %295, %279
  %300 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %300, ptr %12, align 4, !tbaa !9
  store i32 160, ptr %13, align 4, !tbaa !9
  %301 = load i32, ptr %13, align 4, !tbaa !9
  %302 = load i32, ptr %12, align 4, !tbaa !9
  %303 = add i32 %302, %301
  store i32 %303, ptr %12, align 4, !tbaa !9
  %304 = load i32, ptr %12, align 4, !tbaa !9
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 3
  store i32 %304, ptr %306, align 8, !tbaa !13
  br label %361

307:                                              ; preds = %4
  store i32 0, ptr %12, align 4, !tbaa !9
  %308 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %308, ptr %9, align 4, !tbaa !9
  store i32 118502, ptr %13, align 4, !tbaa !9
  %309 = load i32, ptr %13, align 4, !tbaa !9
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %12, align 4, !tbaa !9
  %312 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %312, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %313 = load i32, ptr %14, align 4, !tbaa !9
  %314 = load i32, ptr %13, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %13, align 4, !tbaa !9
  store i32 470, ptr %14, align 4, !tbaa !9
  %316 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %316, ptr %15, align 4, !tbaa !9
  store i32 87089, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %16, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = add i32 %318, %317
  store i32 %319, ptr %15, align 4, !tbaa !9
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = load i32, ptr %12, align 4, !tbaa !9
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  %324 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %320, i32 noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

325:                                              ; preds = %83
  store i32 0, ptr %12, align 4, !tbaa !9
  %326 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %326, ptr %9, align 4, !tbaa !9
  store i32 118273, ptr %13, align 4, !tbaa !9
  %327 = load i32, ptr %13, align 4, !tbaa !9
  %328 = load i32, ptr %12, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %12, align 4, !tbaa !9
  %330 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %330, ptr %13, align 4, !tbaa !9
  store i32 83341, ptr %14, align 4, !tbaa !9
  %331 = load i32, ptr %14, align 4, !tbaa !9
  %332 = load i32, ptr %13, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %13, align 4, !tbaa !9
  store i32 438, ptr %14, align 4, !tbaa !9
  %334 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %334, ptr %15, align 4, !tbaa !9
  store i32 49706, ptr %16, align 4, !tbaa !9
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %15, align 4, !tbaa !9
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  %339 = load i32, ptr %12, align 4, !tbaa !9
  %340 = load i32, ptr %13, align 4, !tbaa !9
  %341 = load i32, ptr %14, align 4, !tbaa !9
  %342 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %338, i32 noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

343:                                              ; preds = %95
  store i32 0, ptr %12, align 4, !tbaa !9
  %344 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %344, ptr %9, align 4, !tbaa !9
  store i32 168498, ptr %13, align 4, !tbaa !9
  %345 = load i32, ptr %13, align 4, !tbaa !9
  %346 = load i32, ptr %12, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %12, align 4, !tbaa !9
  %348 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %348, ptr %13, align 4, !tbaa !9
  store i32 78081, ptr %14, align 4, !tbaa !9
  %349 = load i32, ptr %14, align 4, !tbaa !9
  %350 = load i32, ptr %13, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %13, align 4, !tbaa !9
  store i32 233, ptr %14, align 4, !tbaa !9
  %352 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %352, ptr %15, align 4, !tbaa !9
  store i32 20456, ptr %16, align 4, !tbaa !9
  %353 = load i32, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = add i32 %354, %353
  store i32 %355, ptr %15, align 4, !tbaa !9
  %356 = load ptr, ptr %5, align 8, !tbaa !5
  %357 = load i32, ptr %12, align 4, !tbaa !9
  %358 = load i32, ptr %13, align 4, !tbaa !9
  %359 = load i32, ptr %14, align 4, !tbaa !9
  %360 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %356, i32 noundef %357, i32 noundef %358, i32 noundef %359, i32 noundef %360)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

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

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

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

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


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

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

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

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

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

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

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

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

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

; 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 void @i32_store16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AcanonicalizePath0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x290x3A0x3A0x24_00x3A0x3Aoperator0x280x290x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x2C0x20unsigned0x20int0x290x20const(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, -160
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %7 to i64
  %10 = add nuw nsw i64 %9, 88
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %10, i64 noundef 137438953472)
  %11 = add i32 %6, -64
  %12 = add nuw nsw i64 %9, 84
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %11)
  %13 = zext i32 %2 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %16)
  %.mask = and i64 %17, -281474976710656
  %18 = icmp eq i64 %.mask, -844424930131968
  br i1 %18, label %19, label %57

19:                                               ; preds = %4
  %20 = trunc i64 %17 to i32
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %58, label %21

21:                                               ; preds = %19
  %22 = add i32 %6, -76
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AappendUTF16String0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar16_t0x3E0x260x290x20const(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %22)
  %23 = add nuw nsw i64 %9, 80
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %23, i32 noundef 0)
  %24 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %25 = sub i32 %24, %3
  %26 = add nuw nsw i64 %9, 68
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %25)
  %27 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %12)
  %28 = shl i32 %3, 1
  %29 = add i32 %27, %28
  %30 = add nuw nsw i64 %9, 64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %29)
  %31 = add nuw nsw i64 %9, 72
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %31, i64 noundef 0)
  %32 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %30)
  %33 = add nuw nsw i64 %9, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %33, i64 noundef %32)
  %34 = add i32 %6, -88
  %35 = add i32 %6, -152
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3AconvertUTF16ToUTF8WithReplacements0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35, i32 noundef 0) #4
  %37 = zext i32 %1 to i64
  %38 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %37)
  %39 = add nuw nsw i64 %9, 60
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %39, i32 noundef 260)
  %40 = add nuw nsw i64 %9, 52
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %40, i32 noundef %34)
  %41 = add nuw nsw i64 %9, 48
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %41, i32 noundef 257)
  %42 = add nuw nsw i64 %9, 36
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %42, i32 noundef 257)
  %43 = add nuw nsw i64 %9, 24
  tail call void @i32_store16(ptr noundef nonnull %8, i64 noundef %43, i32 noundef 257)
  %44 = add i32 %6, -108
  %45 = add i32 %6, -120
  %46 = add i32 %6, -132
  %47 = add i32 %6, -144
  tail call void @w2c_hermes_llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3Aappend0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %38, i32 noundef 1, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47) #4
  %48 = add nuw nsw i64 %9, 83
  %49 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %48)
  %50 = icmp slt i32 %49, 0
  br i1 %50, label %51, label %53

51:                                               ; preds = %21
  %52 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %52) #4
  br label %53

53:                                               ; preds = %51, %21
  %54 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %12)
  %.not209 = icmp eq i32 %11, %54
  br i1 %.not209, label %56, label %55

55:                                               ; preds = %53
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %54) #4
  br label %56

56:                                               ; preds = %55, %53
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

57:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118502, i32 noundef 83341, i32 noundef 470, i32 noundef 87089) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

58:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 233, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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

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


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