; 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

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

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

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

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

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

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

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

45:                                               ; preds = %4
  %46 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %46, ptr %11, align 4, !tbaa !9
  %47 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %47, ptr %12, align 4, !tbaa !9
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 8
  %53 = call i32 @i32_load(ptr noundef %49, i64 noundef %52)
  store i32 %53, ptr %12, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 56
  %59 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %55, i64 noundef %58, i32 noundef %59)
  %60 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %60, ptr %11, align 4, !tbaa !9
  %61 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %61, ptr %12, align 4, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = call i64 @i64_load(ptr noundef %63, i64 noundef %65)
  store i64 %66, ptr %14, align 8, !tbaa !17
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 48
  %72 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %68, i64 noundef %71, i64 noundef %72)
  br label %95

73:                                               ; preds = %4
  %74 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %74, ptr %11, align 4, !tbaa !9
  store i32 48, ptr %12, align 4, !tbaa !9
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = add i32 %76, %75
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = call i32 @i32_load(ptr noundef %80, i64 noundef %82)
  store i32 %83, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 4
  %90 = call i32 @i32_load(ptr noundef %86, i64 noundef %89)
  store i32 %90, ptr %13, align 4, !tbaa !9
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %94)
  br label %95

95:                                               ; preds = %73, %45
  %96 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %96, ptr %11, align 4, !tbaa !9
  %97 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %97, ptr %12, align 4, !tbaa !9
  store i32 48, ptr %13, align 4, !tbaa !9
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %12, align 4, !tbaa !9
  %100 = add i32 %99, %98
  store i32 %100, ptr %12, align 4, !tbaa !9
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwaitForCollectionToFinish0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x29(ptr noundef %101, i32 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %104, ptr %11, align 4, !tbaa !9
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 59
  %110 = call i32 @i32_load8_s(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %111 = load i32, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = icmp slt i32 %111, %112
  %114 = zext i1 %113 to i32
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %127

117:                                              ; preds = %95
  %118 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %118, ptr %11, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %11, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 48
  %124 = call i32 @i32_load(ptr noundef %120, i64 noundef %123)
  store i32 %124, ptr %11, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %125, i32 noundef %126)
  br label %127

127:                                              ; preds = %117, %95
  %128 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %128, ptr %11, align 4, !tbaa !9
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = add i64 %132, 11
  %134 = call i32 @i32_load8_s(ptr noundef %130, i64 noundef %133)
  store i32 %134, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = load i32, ptr %12, align 4, !tbaa !9
  %137 = icmp sge i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %11, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %169

141:                                              ; preds = %127
  %142 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %142, ptr %11, align 4, !tbaa !9
  %143 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %143, ptr %12, align 4, !tbaa !9
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %12, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 8
  %149 = call i32 @i32_load(ptr noundef %145, i64 noundef %148)
  store i32 %149, ptr %12, align 4, !tbaa !9
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = add i64 %153, 40
  %155 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %151, i64 noundef %154, i32 noundef %155)
  %156 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %156, ptr %11, align 4, !tbaa !9
  %157 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %157, ptr %12, align 4, !tbaa !9
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.w2c_hermes, ptr %158, i32 0, i32 6
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = call i64 @i64_load(ptr noundef %159, i64 noundef %161)
  store i64 %162, ptr %14, align 8, !tbaa !17
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %11, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 32
  %168 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %164, i64 noundef %167, i64 noundef %168)
  br label %191

169:                                              ; preds = %127
  %170 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %170, ptr %11, align 4, !tbaa !9
  store i32 32, ptr %12, align 4, !tbaa !9
  %171 = load i32, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %11, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %11, align 4, !tbaa !9
  %174 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %174, ptr %12, align 4, !tbaa !9
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %12, 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 %12, align 4, !tbaa !9
  %180 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %180, ptr %13, align 4, !tbaa !9
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %13, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 4
  %186 = call i32 @i32_load(ptr noundef %182, i64 noundef %185)
  store i32 %186, ptr %13, align 4, !tbaa !9
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = load i32, ptr %11, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  %190 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %187, i32 noundef %188, i32 noundef %189, i32 noundef %190)
  br label %191

191:                                              ; preds = %169, %141
  %192 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %192, ptr %11, align 4, !tbaa !9
  %193 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %193, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  %195 = load i32, ptr %12, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = load i32, ptr %11, align 4, !tbaa !9
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AyoungGenCollection0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20bool0x29(ptr noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200)
  %201 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %201, ptr %11, align 4, !tbaa !9
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.w2c_hermes, ptr %202, i32 0, i32 6
  %204 = load i32, ptr %11, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = add i64 %205, 43
  %207 = call i32 @i32_load8_s(ptr noundef %203, i64 noundef %206)
  store i32 %207, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %208 = load i32, ptr %11, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = icmp slt i32 %208, %209
  %211 = zext i1 %210 to i32
  store i32 %211, ptr %11, align 4, !tbaa !9
  %212 = load i32, ptr %11, align 4, !tbaa !9
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %224

214:                                              ; preds = %191
  %215 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %215, ptr %11, align 4, !tbaa !9
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %11, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = add i64 %219, 32
  %221 = call i32 @i32_load(ptr noundef %217, i64 noundef %220)
  store i32 %221, ptr %11, align 4, !tbaa !9
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %222, i32 noundef %223)
  br label %224

224:                                              ; preds = %214, %191
  %225 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %225, ptr %11, 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 %11, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 11
  %231 = call i32 @i32_load8_s(ptr noundef %227, i64 noundef %230)
  store i32 %231, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %11, align 4, !tbaa !9
  %233 = load i32, ptr %12, align 4, !tbaa !9
  %234 = icmp sge i32 %232, %233
  %235 = zext i1 %234 to i32
  store i32 %235, ptr %11, align 4, !tbaa !9
  %236 = load i32, ptr %11, align 4, !tbaa !9
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %266

238:                                              ; preds = %224
  %239 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %239, ptr %11, align 4, !tbaa !9
  %240 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %240, ptr %12, align 4, !tbaa !9
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %12, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 8
  %246 = call i32 @i32_load(ptr noundef %242, i64 noundef %245)
  store i32 %246, ptr %12, align 4, !tbaa !9
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %11, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 24
  %252 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %248, i64 noundef %251, i32 noundef %252)
  %253 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %253, ptr %11, align 4, !tbaa !9
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %12, align 4, !tbaa !9
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %12, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = call i64 @i64_load(ptr noundef %256, i64 noundef %258)
  store i64 %259, ptr %14, align 8, !tbaa !17
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %11, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 16
  %265 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %261, i64 noundef %264, i64 noundef %265)
  br label %288

266:                                              ; preds = %224
  %267 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %267, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = load i32, ptr %11, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %11, align 4, !tbaa !9
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %12, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %12, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = call i32 @i32_load(ptr noundef %273, i64 noundef %275)
  store i32 %276, ptr %12, align 4, !tbaa !9
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %13, align 4, !tbaa !9
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %13, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 4
  %283 = call i32 @i32_load(ptr noundef %279, i64 noundef %282)
  store i32 %283, ptr %13, align 4, !tbaa !9
  %284 = load ptr, ptr %5, align 8, !tbaa !5
  %285 = load i32, ptr %11, align 4, !tbaa !9
  %286 = load i32, ptr %12, align 4, !tbaa !9
  %287 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %284, i32 noundef %285, i32 noundef %286, i32 noundef %287)
  br label %288

288:                                              ; preds = %266, %238
  %289 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %289, ptr %11, align 4, !tbaa !9
  %290 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %290, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %291 = load i32, ptr %13, align 4, !tbaa !9
  %292 = load i32, ptr %12, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %12, align 4, !tbaa !9
  %294 = load ptr, ptr %5, align 8, !tbaa !5
  %295 = load i32, ptr %11, align 4, !tbaa !9
  %296 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwaitForCollectionToFinish0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x29(ptr noundef %294, i32 noundef %295, i32 noundef %296)
  %297 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %297, ptr %11, 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 %11, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = add i64 %301, 27
  %303 = call i32 @i32_load8_s(ptr noundef %299, i64 noundef %302)
  store i32 %303, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %304 = load i32, ptr %11, align 4, !tbaa !9
  %305 = load i32, ptr %12, align 4, !tbaa !9
  %306 = icmp slt i32 %304, %305
  %307 = zext i1 %306 to i32
  store i32 %307, ptr %11, align 4, !tbaa !9
  %308 = load i32, ptr %11, align 4, !tbaa !9
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %310, label %320

310:                                              ; preds = %288
  %311 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %311, ptr %11, align 4, !tbaa !9
  %312 = load ptr, ptr %5, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %11, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = add i64 %315, 16
  %317 = call i32 @i32_load(ptr noundef %313, i64 noundef %316)
  store i32 %317, ptr %11, align 4, !tbaa !9
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %318, i32 noundef %319)
  br label %320

320:                                              ; preds = %310, %288
  %321 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %321, ptr %11, align 4, !tbaa !9
  %322 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %322, ptr %12, align 4, !tbaa !9
  store i32 8, ptr %13, align 4, !tbaa !9
  %323 = load i32, ptr %13, align 4, !tbaa !9
  %324 = load i32, ptr %12, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %12, align 4, !tbaa !9
  %326 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %326, ptr %10, align 4, !tbaa !9
  %327 = load ptr, ptr %5, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 6
  %329 = load i32, ptr %12, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = call i32 @i32_load(ptr noundef %328, i64 noundef %330)
  store i32 %331, ptr %12, align 4, !tbaa !9
  %332 = load ptr, ptr %5, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 6
  %334 = load i32, ptr %11, align 4, !tbaa !9
  %335 = zext i32 %334 to i64
  %336 = add i64 %335, 8
  %337 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %333, i64 noundef %336, i32 noundef %337)
  %338 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %338, ptr %11, align 4, !tbaa !9
  %339 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %339, ptr %12, align 4, !tbaa !9
  %340 = load ptr, ptr %5, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.w2c_hermes, ptr %340, i32 0, i32 6
  %342 = load i32, ptr %12, align 4, !tbaa !9
  %343 = zext i32 %342 to i64
  %344 = call i64 @i64_load(ptr noundef %341, i64 noundef %343)
  store i64 %344, ptr %14, align 8, !tbaa !17
  %345 = load ptr, ptr %5, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.w2c_hermes, ptr %345, i32 0, i32 6
  %347 = load i32, ptr %11, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %346, i64 noundef %348, i64 noundef %349)
  %350 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %350, ptr %11, align 4, !tbaa !9
  store i64 0, ptr %14, align 8, !tbaa !17
  %351 = load ptr, ptr %5, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.w2c_hermes, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %11, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  %355 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %352, i64 noundef %354, i64 noundef %355)
  %356 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %356, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.w2c_hermes, ptr %357, i32 0, i32 6
  %359 = load i32, ptr %11, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %358, i64 noundef %360, i32 noundef %361)
  %362 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %362, ptr %11, align 4, !tbaa !9
  %363 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %363, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %364 = load ptr, ptr %5, align 8, !tbaa !5
  %365 = load i32, ptr %11, align 4, !tbaa !9
  %366 = load i32, ptr %12, align 4, !tbaa !9
  %367 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AyoungGenCollection0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20bool0x29(ptr noundef %364, i32 noundef %365, i32 noundef %366, i32 noundef %367)
  %368 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %368, ptr %11, align 4, !tbaa !9
  %369 = load ptr, ptr %5, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.w2c_hermes, ptr %369, i32 0, i32 6
  %371 = load i32, ptr %11, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = add i64 %372, 11
  %374 = call i32 @i32_load8_s(ptr noundef %370, i64 noundef %373)
  store i32 %374, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %375 = load i32, ptr %11, align 4, !tbaa !9
  %376 = load i32, ptr %12, align 4, !tbaa !9
  %377 = icmp slt i32 %375, %376
  %378 = zext i1 %377 to i32
  store i32 %378, ptr %11, align 4, !tbaa !9
  %379 = load i32, ptr %11, align 4, !tbaa !9
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %390

381:                                              ; preds = %320
  %382 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %382, ptr %11, align 4, !tbaa !9
  %383 = load ptr, ptr %5, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.w2c_hermes, ptr %383, i32 0, i32 6
  %385 = load i32, ptr %11, align 4, !tbaa !9
  %386 = zext i32 %385 to i64
  %387 = call i32 @i32_load(ptr noundef %384, i64 noundef %386)
  store i32 %387, ptr %11, align 4, !tbaa !9
  %388 = load ptr, ptr %5, align 8, !tbaa !5
  %389 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %388, i32 noundef %389)
  br label %390

390:                                              ; preds = %381, %320
  %391 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %391, ptr %11, align 4, !tbaa !9
  store i32 -64, ptr %12, align 4, !tbaa !9
  %392 = load i32, ptr %12, align 4, !tbaa !9
  %393 = load i32, ptr %11, align 4, !tbaa !9
  %394 = sub i32 %393, %392
  store i32 %394, ptr %11, align 4, !tbaa !9
  %395 = load i32, ptr %11, align 4, !tbaa !9
  %396 = load ptr, ptr %5, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.w2c_hermes, ptr %396, i32 0, i32 3
  store i32 %395, ptr %397, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 }

!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"

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

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

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

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

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

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

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3Acollect0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -64
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %1 to i64
  %10 = add nuw nsw i64 %9, 4069
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %10, i32 noundef 0)
  %11 = zext i32 %2 to i64
  %12 = add nuw nsw i64 %11, 11
  %13 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %12)
  %14 = icmp sgt i32 %13, -1
  br i1 %14, label %15, label %22

15:                                               ; preds = %4
  %16 = add nuw nsw i64 %11, 8
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  %18 = zext i32 %7 to i64
  %19 = add nuw nsw i64 %18, 56
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %19, i32 noundef %17)
  %20 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %11)
  %21 = add nuw nsw i64 %18, 48
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %21, i64 noundef %20)
  %.pre = add i32 %6, -16
  br label %27

22:                                               ; preds = %4
  %23 = add i32 %6, -16
  %24 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %11)
  %25 = add nuw nsw i64 %11, 4
  %26 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %25)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %23, i32 noundef %24, i32 noundef %26) #3
  %.pre210 = zext i32 %7 to i64
  br label %27

27:                                               ; preds = %22, %15
  %.pre-phi211 = phi i64 [ %.pre210, %22 ], [ %18, %15 ]
  %.pre-phi = phi i32 [ %23, %22 ], [ %.pre, %15 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwaitForCollectionToFinish0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.pre-phi)
  %28 = add nuw nsw i64 %.pre-phi211, 59
  %29 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %28)
  %30 = icmp slt i32 %29, 0
  br i1 %30, label %31, label %34

31:                                               ; preds = %27
  %32 = add nuw nsw i64 %.pre-phi211, 48
  %33 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %32)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %33) #3
  br label %34

34:                                               ; preds = %31, %27
  %35 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %12)
  %36 = icmp sgt i32 %35, -1
  br i1 %36, label %37, label %43

37:                                               ; preds = %34
  %38 = add nuw nsw i64 %11, 8
  %39 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %38)
  %40 = add nuw nsw i64 %.pre-phi211, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %40, i32 noundef %39)
  %41 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %11)
  %42 = add nuw nsw i64 %.pre-phi211, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %42, i64 noundef %41)
  %.pre212 = add i32 %6, -32
  br label %48

43:                                               ; preds = %34
  %44 = add i32 %6, -32
  %45 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %11)
  %46 = add nuw nsw i64 %11, 4
  %47 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %46)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, i32 noundef %47) #3
  br label %48

48:                                               ; preds = %43, %37
  %.pre-phi213 = phi i32 [ %44, %43 ], [ %.pre212, %37 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AyoungGenCollection0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.pre-phi213, i32 noundef 1)
  %49 = add nuw nsw i64 %.pre-phi211, 43
  %50 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %49)
  %51 = icmp slt i32 %50, 0
  br i1 %51, label %52, label %55

52:                                               ; preds = %48
  %53 = add nuw nsw i64 %.pre-phi211, 32
  %54 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %53)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %54) #3
  br label %55

55:                                               ; preds = %52, %48
  %56 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %12)
  %57 = icmp sgt i32 %56, -1
  br i1 %57, label %58, label %64

58:                                               ; preds = %55
  %59 = add nuw nsw i64 %11, 8
  %60 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %59)
  %61 = add nuw nsw i64 %.pre-phi211, 24
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %61, i32 noundef %60)
  %62 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %11)
  %63 = add nuw nsw i64 %.pre-phi211, 16
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %63, i64 noundef %62)
  %.pre214 = add i32 %6, -48
  br label %69

64:                                               ; preds = %55
  %65 = add i32 %6, -48
  %66 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %11)
  %67 = add nuw nsw i64 %11, 4
  %68 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %67)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Finit_copy_ctor_external0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66, i32 noundef %68) #3
  br label %69

69:                                               ; preds = %64, %58
  %.pre-phi215 = phi i32 [ %65, %64 ], [ %.pre214, %58 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwaitForCollectionToFinish0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.pre-phi215)
  %70 = add nuw nsw i64 %.pre-phi211, 27
  %71 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %70)
  %72 = icmp slt i32 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %69
  %74 = add nuw nsw i64 %.pre-phi211, 16
  %75 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %74)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %75) #3
  br label %76

76:                                               ; preds = %73, %69
  %77 = add i32 %2, 8
  %78 = zext i32 %77 to i64
  %79 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %78)
  %80 = add nuw nsw i64 %.pre-phi211, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %80, i32 noundef %79)
  %81 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %11)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %.pre-phi211, i64 noundef %81)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %11, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %78, i32 noundef 0)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AyoungGenCollection0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %7, i32 noundef 0)
  %82 = add nuw nsw i64 %.pre-phi211, 11
  %83 = tail call i32 @i32_load8_s(ptr noundef nonnull %8, i64 noundef %82)
  %84 = icmp slt i32 %83, 0
  br i1 %84, label %85, label %87

85:                                               ; preds = %76
  %86 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.pre-phi211)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %86) #3
  br label %87

87:                                               ; preds = %85, %76
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

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

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

attributes #0 = { 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 #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 = { 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 }

!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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass