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

; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #1

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

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

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

declare i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3C_0x5Fis_cpp17_forward_iterator0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Avalue0x200x260x260x20is_constructible0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Areference0x3E0x3A0x3Avalue0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x2A0x3E0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3A0x3Ainsert0x3Cchar16_t0x20const0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x20const0x2A0x3E0x2C0x20char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AlayoutIfNeeded0x280x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AStringEntry0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  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
  %17 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %17, ptr %11, align 4, !tbaa !9
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.w2c_hermes, ptr %18, i32 0, i32 6
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = add i64 %21, 12
  %23 = call i32 @i32_load(ptr noundef %19, i64 noundef %22)
  store i32 %23, ptr %11, align 4, !tbaa !9
  store i32 -1, ptr %12, align 4, !tbaa !9
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = icmp eq i32 %24, %25
  %27 = zext i1 %26 to i32
  store i32 %27, ptr %11, align 4, !tbaa !9
  %28 = load i32, ptr %11, align 4, !tbaa !9
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %300

30:                                               ; preds = %3
  %31 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 6
  %34 = load i32, ptr %11, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, 8
  %37 = call i32 @i32_load(ptr noundef %33, i64 noundef %36)
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = icmp ne i32 %38, 0
  %40 = xor i1 %39, true
  %41 = zext i1 %40 to i32
  store i32 %41, ptr %11, align 4, !tbaa !9
  %42 = load i32, ptr %11, align 4, !tbaa !9
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %52

44:                                               ; preds = %30
  %45 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %45, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 12
  %51 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %47, i64 noundef %50, i32 noundef %51)
  br label %427

52:                                               ; preds = %30
  %53 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %53, ptr %11, align 4, !tbaa !9
  %54 = load ptr, ptr %4, 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, 16
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %7, align 4, !tbaa !9
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %146

63:                                               ; preds = %52
  %64 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %64, ptr %11, align 4, !tbaa !9
  %65 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %65, ptr %12, align 4, !tbaa !9
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = load i32, ptr %12, align 4, !tbaa !9
  %68 = icmp eq i32 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %63
  br label %301

73:                                               ; preds = %63
  %74 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %74, ptr %11, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 20
  %80 = call i32 @i32_load(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %11, align 4, !tbaa !9
  store i32 -1, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = icmp eq i32 %81, %82
  %84 = zext i1 %83 to i32
  store i32 %84, ptr %11, align 4, !tbaa !9
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %73
  br label %319

88:                                               ; preds = %73
  %89 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %89, ptr %11, align 4, !tbaa !9
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 28
  %95 = call i32 @i32_load(ptr noundef %91, i64 noundef %94)
  store i32 %95, ptr %11, align 4, !tbaa !9
  %96 = load i32, ptr %11, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %88
  br label %409

99:                                               ; preds = %88
  %100 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %100, ptr %11, align 4, !tbaa !9
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 24
  %106 = call i32 @i32_load(ptr noundef %102, i64 noundef %105)
  store i32 %106, ptr %11, align 4, !tbaa !9
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %99
  br label %409

110:                                              ; preds = %99
  %111 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %111, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %112, ptr %12, align 4, !tbaa !9
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AlayoutIfNeeded0x280x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AStringEntry0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x2A0x29(ptr noundef %113, i32 noundef %114, i32 noundef %115)
  %116 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %116, ptr %11, align 4, !tbaa !9
  %117 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %117, ptr %12, align 4, !tbaa !9
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = add i64 %121, 20
  %123 = call i32 @i32_load(ptr noundef %119, i64 noundef %122)
  store i32 %123, ptr %12, align 4, !tbaa !9
  %124 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %124, ptr %13, align 4, !tbaa !9
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 16
  %130 = call i32 @i32_load(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 12
  %136 = call i32 @i32_load(ptr noundef %132, i64 noundef %135)
  store i32 %136, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  %139 = add i32 %138, %137
  store i32 %139, ptr %12, align 4, !tbaa !9
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %11, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 12
  %145 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %141, i64 noundef %144, i32 noundef %145)
  br label %427

146:                                              ; preds = %52
  br label %147

147:                                              ; preds = %159, %146
  %148 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %148, ptr %11, align 4, !tbaa !9
  %149 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %149, ptr %7, align 4, !tbaa !9
  %150 = load ptr, ptr %4, 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, 28
  %155 = call i32 @i32_load(ptr noundef %151, i64 noundef %154)
  store i32 %155, ptr %11, align 4, !tbaa !9
  %156 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %156, ptr %5, align 4, !tbaa !9
  %157 = load i32, ptr %11, align 4, !tbaa !9
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %147
  br label %147

160:                                              ; preds = %147
  %161 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %161, ptr %11, align 4, !tbaa !9
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %11, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = add i64 %165, 32
  %167 = call i32 @i32_load(ptr noundef %163, i64 noundef %166)
  store i32 %167, ptr %11, align 4, !tbaa !9
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %160
  br label %337

171:                                              ; preds = %160
  br label %172

172:                                              ; preds = %298, %171
  %173 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %173, ptr %11, align 4, !tbaa !9
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = add i64 %177, 12
  %179 = call i32 @i32_load(ptr noundef %175, i64 noundef %178)
  store i32 %179, ptr %11, align 4, !tbaa !9
  store i32 -1, ptr %12, align 4, !tbaa !9
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = load i32, ptr %12, align 4, !tbaa !9
  %182 = icmp ne i32 %180, %181
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %11, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %172
  br label %355

187:                                              ; preds = %172
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 32
  %194 = call i32 @i32_load(ptr noundef %190, i64 noundef %193)
  store i32 %194, ptr %11, align 4, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %195, ptr %5, align 4, !tbaa !9
  %196 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %196, ptr %12, align 4, !tbaa !9
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 8
  %202 = call i32 @i32_load(ptr noundef %198, i64 noundef %201)
  store i32 %202, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %203, ptr %9, align 4, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !9
  %205 = load i32, ptr %12, align 4, !tbaa !9
  %206 = icmp ugt i32 %204, %205
  %207 = zext i1 %206 to i32
  store i32 %207, ptr %11, align 4, !tbaa !9
  %208 = load i32, ptr %11, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %211

210:                                              ; preds = %187
  br label %373

211:                                              ; preds = %187
  %212 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %212, ptr %11, align 4, !tbaa !9
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %11, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = add i64 %216, 4
  %218 = call i32 @i32_load(ptr noundef %214, i64 noundef %217)
  store i32 %218, ptr %11, align 4, !tbaa !9
  %219 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %219, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %12, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = call i32 @i32_load(ptr noundef %222, i64 noundef %224)
  store i32 %225, ptr %12, align 4, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !9
  %227 = load i32, ptr %11, align 4, !tbaa !9
  %228 = sub i32 %227, %226
  store i32 %228, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %229 = load i32, ptr %11, align 4, !tbaa !9
  %230 = load i32, ptr %12, align 4, !tbaa !9
  %231 = and i32 %230, 31
  %232 = ashr i32 %229, %231
  store i32 %232, ptr %11, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %233, ptr %8, align 4, !tbaa !9
  %234 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %234, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  %236 = load i32, ptr %12, align 4, !tbaa !9
  %237 = icmp ult i32 %235, %236
  %238 = zext i1 %237 to i32
  store i32 %238, ptr %11, align 4, !tbaa !9
  %239 = load i32, ptr %11, align 4, !tbaa !9
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %242

241:                                              ; preds = %211
  br label %391

242:                                              ; preds = %211
  %243 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %243, ptr %11, align 4, !tbaa !9
  %244 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %244, ptr %12, align 4, !tbaa !9
  %245 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %245, ptr %13, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  %247 = load i32, ptr %12, align 4, !tbaa !9
  %248 = sub i32 %247, %246
  store i32 %248, ptr %12, align 4, !tbaa !9
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %11, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 12
  %254 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %250, i64 noundef %253, i32 noundef %254)
  %255 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %255, ptr %11, align 4, !tbaa !9
  %256 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %256, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %257, ptr %13, align 4, !tbaa !9
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %13, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = add i64 %261, 4
  %263 = call i32 @i32_load(ptr noundef %259, i64 noundef %262)
  store i32 %263, ptr %13, align 4, !tbaa !9
  %264 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %264, ptr %8, align 4, !tbaa !9
  %265 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %265, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = and i32 %266, 31
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = shl i32 %268, %267
  store i32 %269, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = load i32, ptr %13, align 4, !tbaa !9
  %272 = add i32 %271, %270
  store i32 %272, ptr %13, align 4, !tbaa !9
  %273 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %273, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %274, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = and i32 %275, 31
  %277 = load i32, ptr %15, align 4, !tbaa !9
  %278 = shl i32 %277, %276
  store i32 %278, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = load i32, ptr %14, align 4, !tbaa !9
  %281 = add i32 %280, %279
  store i32 %281, ptr %14, align 4, !tbaa !9
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = load i32, ptr %11, align 4, !tbaa !9
  %284 = load i32, ptr %12, align 4, !tbaa !9
  %285 = load i32, ptr %13, align 4, !tbaa !9
  %286 = load i32, ptr %14, align 4, !tbaa !9
  %287 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3C_0x5Fis_cpp17_forward_iterator0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Avalue0x200x260x260x20is_constructible0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Areference0x3E0x3A0x3Avalue0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x2A0x3E0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3A0x3Ainsert0x3Cchar16_t0x20const0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x20const0x2A0x3E0x2C0x20char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x29(ptr noundef %282, i32 noundef %283, i32 noundef %284, i32 noundef %285, i32 noundef %286)
  store i32 %287, ptr %11, align 4, !tbaa !9
  %288 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %288, ptr %11, align 4, !tbaa !9
  %289 = load ptr, ptr %4, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.w2c_hermes, ptr %289, i32 0, i32 6
  %291 = load i32, ptr %11, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  %293 = add i64 %292, 24
  %294 = call i32 @i32_load(ptr noundef %290, i64 noundef %293)
  store i32 %294, ptr %11, align 4, !tbaa !9
  %295 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %295, ptr %7, align 4, !tbaa !9
  %296 = load i32, ptr %11, align 4, !tbaa !9
  %297 = icmp ne i32 %296, 0
  br i1 %297, label %298, label %299

298:                                              ; preds = %242
  br label %172

299:                                              ; preds = %242
  br label %300

300:                                              ; preds = %299, %3
  br label %427

301:                                              ; preds = %72
  store i32 0, ptr %11, align 4, !tbaa !9
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %7, align 4, !tbaa !9
  store i32 163305, ptr %12, align 4, !tbaa !9
  %303 = load i32, ptr %12, align 4, !tbaa !9
  %304 = load i32, ptr %11, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %11, align 4, !tbaa !9
  %306 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %306, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %307 = load i32, ptr %13, align 4, !tbaa !9
  %308 = load i32, ptr %12, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %12, align 4, !tbaa !9
  store i32 464, ptr %13, align 4, !tbaa !9
  %310 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %310, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %311 = load i32, ptr %15, align 4, !tbaa !9
  %312 = load i32, ptr %14, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %14, align 4, !tbaa !9
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  %315 = load i32, ptr %11, align 4, !tbaa !9
  %316 = load i32, ptr %12, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

319:                                              ; preds = %87
  store i32 0, ptr %11, align 4, !tbaa !9
  %320 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %320, ptr %7, align 4, !tbaa !9
  store i32 132141, ptr %12, align 4, !tbaa !9
  %321 = load i32, ptr %12, align 4, !tbaa !9
  %322 = load i32, ptr %11, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %11, align 4, !tbaa !9
  %324 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %324, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %325 = load i32, ptr %13, align 4, !tbaa !9
  %326 = load i32, ptr %12, align 4, !tbaa !9
  %327 = add i32 %326, %325
  store i32 %327, ptr %12, align 4, !tbaa !9
  store i32 465, ptr %13, align 4, !tbaa !9
  %328 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %328, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %329 = load i32, ptr %15, align 4, !tbaa !9
  %330 = load i32, ptr %14, align 4, !tbaa !9
  %331 = add i32 %330, %329
  store i32 %331, ptr %14, align 4, !tbaa !9
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = load i32, ptr %11, align 4, !tbaa !9
  %334 = load i32, ptr %12, align 4, !tbaa !9
  %335 = load i32, ptr %13, align 4, !tbaa !9
  %336 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %332, i32 noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

337:                                              ; preds = %170
  store i32 0, ptr %11, align 4, !tbaa !9
  %338 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %338, ptr %7, align 4, !tbaa !9
  store i32 127971, ptr %12, align 4, !tbaa !9
  %339 = load i32, ptr %12, align 4, !tbaa !9
  %340 = load i32, ptr %11, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %11, align 4, !tbaa !9
  %342 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %342, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %343 = load i32, ptr %13, align 4, !tbaa !9
  %344 = load i32, ptr %12, align 4, !tbaa !9
  %345 = add i32 %344, %343
  store i32 %345, ptr %12, align 4, !tbaa !9
  store i32 480, ptr %13, align 4, !tbaa !9
  %346 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %346, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %347 = load i32, ptr %15, align 4, !tbaa !9
  %348 = load i32, ptr %14, align 4, !tbaa !9
  %349 = add i32 %348, %347
  store i32 %349, ptr %14, align 4, !tbaa !9
  %350 = load ptr, ptr %4, align 8, !tbaa !5
  %351 = load i32, ptr %11, align 4, !tbaa !9
  %352 = load i32, ptr %12, align 4, !tbaa !9
  %353 = load i32, ptr %13, align 4, !tbaa !9
  %354 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %350, i32 noundef %351, i32 noundef %352, i32 noundef %353, i32 noundef %354)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

355:                                              ; preds = %186
  store i32 0, ptr %11, align 4, !tbaa !9
  %356 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %356, ptr %7, align 4, !tbaa !9
  store i32 161160, ptr %12, align 4, !tbaa !9
  %357 = load i32, ptr %12, align 4, !tbaa !9
  %358 = load i32, ptr %11, align 4, !tbaa !9
  %359 = add i32 %358, %357
  store i32 %359, ptr %11, align 4, !tbaa !9
  %360 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %360, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %361 = load i32, ptr %13, align 4, !tbaa !9
  %362 = load i32, ptr %12, align 4, !tbaa !9
  %363 = add i32 %362, %361
  store i32 %363, ptr %12, align 4, !tbaa !9
  store i32 485, ptr %13, align 4, !tbaa !9
  %364 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %364, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %365 = load i32, ptr %15, align 4, !tbaa !9
  %366 = load i32, ptr %14, align 4, !tbaa !9
  %367 = add i32 %366, %365
  store i32 %367, ptr %14, align 4, !tbaa !9
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = load i32, ptr %11, align 4, !tbaa !9
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = load i32, ptr %13, align 4, !tbaa !9
  %372 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %368, i32 noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

373:                                              ; preds = %210
  store i32 0, ptr %11, align 4, !tbaa !9
  %374 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %374, ptr %7, align 4, !tbaa !9
  store i32 163677, ptr %12, align 4, !tbaa !9
  %375 = load i32, ptr %12, align 4, !tbaa !9
  %376 = load i32, ptr %11, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %11, align 4, !tbaa !9
  %378 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %378, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %379 = load i32, ptr %13, align 4, !tbaa !9
  %380 = load i32, ptr %12, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %12, align 4, !tbaa !9
  store i32 488, ptr %13, align 4, !tbaa !9
  %382 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %382, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %383 = load i32, ptr %15, align 4, !tbaa !9
  %384 = load i32, ptr %14, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %14, align 4, !tbaa !9
  %386 = load ptr, ptr %4, align 8, !tbaa !5
  %387 = load i32, ptr %11, align 4, !tbaa !9
  %388 = load i32, ptr %12, align 4, !tbaa !9
  %389 = load i32, ptr %13, align 4, !tbaa !9
  %390 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %386, i32 noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

391:                                              ; preds = %241
  store i32 0, ptr %11, align 4, !tbaa !9
  %392 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %392, ptr %7, align 4, !tbaa !9
  store i32 207342, ptr %12, align 4, !tbaa !9
  %393 = load i32, ptr %12, align 4, !tbaa !9
  %394 = load i32, ptr %11, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %11, align 4, !tbaa !9
  %396 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %396, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %397 = load i32, ptr %13, align 4, !tbaa !9
  %398 = load i32, ptr %12, align 4, !tbaa !9
  %399 = add i32 %398, %397
  store i32 %399, ptr %12, align 4, !tbaa !9
  store i32 491, ptr %13, align 4, !tbaa !9
  %400 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %400, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %401 = load i32, ptr %15, align 4, !tbaa !9
  %402 = load i32, ptr %14, align 4, !tbaa !9
  %403 = add i32 %402, %401
  store i32 %403, ptr %14, align 4, !tbaa !9
  %404 = load ptr, ptr %4, align 8, !tbaa !5
  %405 = load i32, ptr %11, align 4, !tbaa !9
  %406 = load i32, ptr %12, align 4, !tbaa !9
  %407 = load i32, ptr %13, align 4, !tbaa !9
  %408 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %404, i32 noundef %405, i32 noundef %406, i32 noundef %407, i32 noundef %408)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

409:                                              ; preds = %109, %98
  store i32 0, ptr %11, align 4, !tbaa !9
  %410 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %410, ptr %7, align 4, !tbaa !9
  store i32 161249, ptr %12, align 4, !tbaa !9
  %411 = load i32, ptr %12, align 4, !tbaa !9
  %412 = load i32, ptr %11, align 4, !tbaa !9
  %413 = add i32 %412, %411
  store i32 %413, ptr %11, align 4, !tbaa !9
  %414 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %414, ptr %12, align 4, !tbaa !9
  store i32 61403, ptr %13, align 4, !tbaa !9
  %415 = load i32, ptr %13, align 4, !tbaa !9
  %416 = load i32, ptr %12, align 4, !tbaa !9
  %417 = add i32 %416, %415
  store i32 %417, ptr %12, align 4, !tbaa !9
  store i32 468, ptr %13, align 4, !tbaa !9
  %418 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %418, ptr %14, align 4, !tbaa !9
  store i32 106669, ptr %15, align 4, !tbaa !9
  %419 = load i32, ptr %15, align 4, !tbaa !9
  %420 = load i32, ptr %14, align 4, !tbaa !9
  %421 = add i32 %420, %419
  store i32 %421, ptr %14, align 4, !tbaa !9
  %422 = load ptr, ptr %4, align 8, !tbaa !5
  %423 = load i32, ptr %11, align 4, !tbaa !9
  %424 = load i32, ptr %12, align 4, !tbaa !9
  %425 = load i32, ptr %13, align 4, !tbaa !9
  %426 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %422, i32 noundef %423, i32 noundef %424, i32 noundef %425, i32 noundef %426)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

427:                                              ; preds = %300, %110, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

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


; 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: noreturn
declare void @wasm_rt_trap(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 #1

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

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

declare i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3C_0x5Fis_cpp17_forward_iterator0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Avalue0x200x260x260x20is_constructible0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Areference0x3E0x3A0x3Avalue0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x2A0x3E0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3A0x3Ainsert0x3Cchar16_t0x20const0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x20const0x2A0x3E0x2C0x20char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AlayoutIfNeeded0x280x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AStringEntry0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 12
  %7 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %8 = icmp eq i32 %7, -1
  br i1 %8, label %9, label %common.ret

9:                                                ; preds = %3
  %10 = add nuw nsw i64 %5, 8
  %11 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %10)
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %common.ret.sink.split, label %12

12:                                               ; preds = %9
  %13 = add nuw nsw i64 %5, 16
  %14 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %13)
  %.not239 = icmp eq i32 %14, 0
  br i1 %.not239, label %.preheader246, label %15

15:                                               ; preds = %12
  %16 = icmp eq i32 %14, %1
  br i1 %16, label %69, label %17

17:                                               ; preds = %15
  %18 = add nuw nsw i64 %5, 20
  %19 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %18)
  %20 = icmp eq i32 %19, -1
  br i1 %20, label %70, label %21

21:                                               ; preds = %17
  %22 = add nuw nsw i64 %5, 28
  %23 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %22)
  %.not244 = icmp eq i32 %23, 0
  br i1 %.not244, label %24, label %75

24:                                               ; preds = %21
  %25 = add nuw nsw i64 %5, 24
  %26 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %25)
  %.not245 = icmp eq i32 %26, 0
  br i1 %.not245, label %27, label %75

common.ret.sink.split:                            ; preds = %9, %27
  %.sink = phi i32 [ %33, %27 ], [ 0, %9 ]
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef %.sink)
  br label %common.ret

common.ret:                                       ; preds = %58, %common.ret.sink.split, %3
  ret void

27:                                               ; preds = %24
  tail call void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AlayoutIfNeeded0x280x28anonymous0x20namespace0x290x3A0x3AStringPacker0x3Cchar16_t0x3E0x3A0x3AStringEntry0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x2A0x29(ptr noundef %0, i32 noundef %14, i32 noundef %2)
  %28 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %18)
  %29 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %13)
  %30 = zext i32 %29 to i64
  %31 = add nuw nsw i64 %30, 12
  %32 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %31)
  %33 = add i32 %32, %28
  br label %common.ret.sink.split

.preheader246:                                    ; preds = %12, %.preheader246
  %.0 = phi i32 [ %36, %.preheader246 ], [ %1, %12 ]
  %34 = zext i32 %.0 to i64
  %35 = add nuw nsw i64 %34, 28
  %36 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %35)
  %.not240 = icmp eq i32 %36, 0
  br i1 %.not240, label %37, label %.preheader246

37:                                               ; preds = %.preheader246
  %38 = add nuw nsw i64 %34, 32
  %39 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %38)
  %.not241 = icmp eq i32 %39, 0
  br i1 %.not241, label %.preheader, label %71

.preheader:                                       ; preds = %37
  %40 = zext i32 %2 to i64
  %41 = add nuw nsw i64 %40, 4
  br label %42

42:                                               ; preds = %.preheader, %58
  %.0233 = phi i32 [ %68, %58 ], [ %.0, %.preheader ]
  %43 = zext i32 %.0233 to i64
  %44 = add nuw nsw i64 %43, 12
  %45 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %44)
  %.not242 = icmp eq i32 %45, -1
  br i1 %.not242, label %46, label %72

46:                                               ; preds = %42
  %47 = add nuw nsw i64 %43, 32
  %48 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %47)
  %49 = add nuw nsw i64 %43, 8
  %50 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %49)
  %51 = icmp ugt i32 %48, %50
  br i1 %51, label %73, label %52

52:                                               ; preds = %46
  %53 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %41)
  %54 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %40)
  %55 = sub i32 %53, %54
  %56 = ashr i32 %55, 1
  %57 = icmp ult i32 %56, %48
  br i1 %57, label %74, label %58

58:                                               ; preds = %52
  %59 = sub i32 %56, %48
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %44, i32 noundef %59)
  %60 = add nuw nsw i64 %43, 4
  %61 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %60)
  %62 = shl i32 %48, 1
  %63 = add i32 %61, %62
  %64 = shl i32 %50, 1
  %65 = add i32 %61, %64
  %66 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3C_0x5Fis_cpp17_forward_iterator0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Avalue0x200x260x260x20is_constructible0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cchar16_t0x20const0x2A0x3E0x3A0x3Areference0x3E0x3A0x3Avalue0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x2A0x3E0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3A0x3Ainsert0x3Cchar16_t0x20const0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fwrap_iter0x3Cchar16_t0x20const0x2A0x3E0x2C0x20char16_t0x20const0x2A0x2C0x20char16_t0x20const0x2A0x29(ptr noundef %0, i32 noundef %2, i32 noundef %53, i32 noundef %63, i32 noundef %65) #4
  %67 = add nuw nsw i64 %43, 24
  %68 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %67)
  %.not243 = icmp eq i32 %68, 0
  br i1 %.not243, label %common.ret, label %42

69:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 163305, i32 noundef 61403, i32 noundef 464, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

70:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 132141, i32 noundef 61403, i32 noundef 465, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

71:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 127971, i32 noundef 61403, i32 noundef 480, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

72:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 161160, i32 noundef 61403, i32 noundef 485, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

73:                                               ; preds = %46
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 163677, i32 noundef 61403, i32 noundef 488, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

74:                                               ; preds = %52
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 207342, i32 noundef 61403, i32 noundef 491, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

75:                                               ; preds = %24, %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 161249, i32 noundef 61403, i32 noundef 468, i32 noundef 106669)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass