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

; 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 i32 @i32_load(ptr noundef, i64 noundef) #1

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

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

; 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 @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

declare i32 @w2c_hermes_0x5F_memcpy(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ALookupBucketFor0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_dlmalloc(ptr noundef, i32 noundef) #3

declare void @w2c_hermes_llvh0x3A0x3Areport_bad_alloc_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARehashTable0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3ATimerGroup0x2A0x2C0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3ATimer0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3E0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3ATimerGroup0x2A0x2C0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3ATimer0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3E0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3C0x3E0x28llvh0x3A0x3AStringRef0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !13
  store i32 %24, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %25 = load i32, ptr %16, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %15, align 4, !tbaa !9
  %28 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %28, ptr %10, align 4, !tbaa !9
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !13
  %32 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %32, ptr %15, align 4, !tbaa !9
  %33 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %33, ptr %16, align 4, !tbaa !9
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %16, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = call i64 @i64_load(ptr noundef %35, i64 noundef %37)
  store i64 %38, ptr %21, align 8, !tbaa !11
  %39 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %39, ptr %14, align 8, !tbaa !11
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %15, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %41, i64 noundef %43, i64 noundef %44)
  %45 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  %46 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %46, ptr %21, align 8, !tbaa !11
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %15, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 8
  %52 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %48, i64 noundef %51, i64 noundef %52)
  %53 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %53, ptr %15, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %54, ptr %16, align 4, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = load i32, ptr %16, align 4, !tbaa !9
  %58 = call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ALookupBucketFor0x28llvh0x3A0x3AStringRef0x29(ptr noundef %55, i32 noundef %56, i32 noundef %57)
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %59, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %60, ptr %15, align 4, !tbaa !9
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = call i32 @i32_load(ptr noundef %62, i64 noundef %64)
  store i32 %65, ptr %15, align 4, !tbaa !9
  %66 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %66, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = and i32 %67, 31
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = shl i32 %69, %68
  store i32 %70, ptr %16, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %15, align 4, !tbaa !9
  %73 = add i32 %72, %71
  store i32 %73, ptr %15, align 4, !tbaa !9
  %74 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %74, ptr %8, align 4, !tbaa !9
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = call i32 @i32_load(ptr noundef %76, i64 noundef %78)
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %80, ptr %9, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %15, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %15, align 4, !tbaa !9
  %84 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %84, label %90 [
    i32 0, label %85
    i32 1, label %86
    i32 2, label %87
    i32 3, label %88
    i32 4, label %89
  ]

85:                                               ; preds = %4
  br label %119

86:                                               ; preds = %4
  br label %91

87:                                               ; preds = %4
  br label %91

88:                                               ; preds = %4
  br label %91

89:                                               ; preds = %4
  br label %137

90:                                               ; preds = %4
  br label %91

91:                                               ; preds = %90, %88, %87, %86
  br label %92

92:                                               ; preds = %105, %91
  store i32 0, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %93, ptr %7, align 4, !tbaa !9
  %94 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %94, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %98, label %104 [
    i32 0, label %99
    i32 1, label %100
    i32 2, label %101
    i32 3, label %102
    i32 4, label %103
  ]

99:                                               ; preds = %92
  br label %105

100:                                              ; preds = %92
  br label %319

101:                                              ; preds = %92
  br label %319

102:                                              ; preds = %92
  br label %319

103:                                              ; preds = %92
  br label %105

104:                                              ; preds = %92
  br label %319

105:                                              ; preds = %103, %99
  %106 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 4
  %112 = call i32 @i32_load(ptr noundef %108, i64 noundef %111)
  store i32 %112, ptr %15, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %113, ptr %9, align 4, !tbaa !9
  %114 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %114, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %15, align 4, !tbaa !9
  %117 = add i32 %116, %115
  store i32 %117, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %118, ptr %8, align 4, !tbaa !9
  br label %92

119:                                              ; preds = %85
  %120 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %120, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 12
  %127 = call i32 @i32_load(ptr noundef %123, i64 noundef %126)
  store i32 %127, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %128 = load i32, ptr %17, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = sub i32 %129, %128
  store i32 %130, ptr %16, align 4, !tbaa !9
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 12
  %136 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %135, i32 noundef %136)
  br label %137

137:                                              ; preds = %119, %89
  %138 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %138, ptr %20, align 8, !tbaa !11
  store i64 32, ptr %21, align 8, !tbaa !11
  %139 = load i64, ptr %21, align 8, !tbaa !11
  %140 = and i64 %139, 63
  %141 = load i64, ptr %20, align 8, !tbaa !11
  %142 = lshr i64 %141, %140
  store i64 %142, ptr %20, align 8, !tbaa !11
  %143 = load i64, ptr %20, align 8, !tbaa !11
  %144 = trunc i64 %143 to i32
  store i32 %144, ptr %15, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %145, ptr %11, align 4, !tbaa !9
  store i32 33, ptr %16, align 4, !tbaa !9
  %146 = load i32, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = call i32 @w2c_hermes_dlmalloc(ptr noundef %149, i32 noundef %150)
  store i32 %151, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %152, ptr %9, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  %155 = xor i1 %154, true
  %156 = zext i1 %155 to i32
  store i32 %156, ptr %15, align 4, !tbaa !9
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %163

159:                                              ; preds = %137
  store i32 105740, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Areport_bad_alloc_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef %160, i32 noundef %161, i32 noundef %162)
  br label %163

163:                                              ; preds = %159, %137
  %164 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %164, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 4
  %170 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %166, i64 noundef %169, i64 noundef %170)
  %171 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %171, ptr %15, align 4, !tbaa !9
  %172 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %15, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %176, i32 noundef %177)
  %178 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %178, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.w2c_hermes, ptr %179, i32 0, i32 6
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = add i64 %182, 12
  %184 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %180, i64 noundef %183, i64 noundef %184)
  %185 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %185, ptr %15, align 4, !tbaa !9
  store i64 481036337152, ptr %21, align 8, !tbaa !11
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 20
  %191 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %187, i64 noundef %190, i64 noundef %191)
  %192 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %192, ptr %15, align 4, !tbaa !9
  store i32 32, ptr %16, align 4, !tbaa !9
  %193 = load i32, ptr %16, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %196, ptr %13, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %15, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %211

200:                                              ; preds = %163
  %201 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %202, ptr %21, align 8, !tbaa !11
  %203 = load i64, ptr %21, align 8, !tbaa !11
  %204 = trunc i64 %203 to i32
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %205, ptr %17, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  %210 = call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209)
  store i32 %210, ptr %15, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %200, %163
  %212 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = add i32 %215, %214
  store i32 %216, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %218, i64 noundef %220, i32 noundef %221)
  %222 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %222, ptr %15, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.w2c_hermes, ptr %224, i32 0, i32 6
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %225, i64 noundef %227, i32 noundef %228)
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  %230 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %230, ptr %16, align 4, !tbaa !9
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %16, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = add i64 %234, 8
  %236 = call i32 @i32_load(ptr noundef %232, i64 noundef %235)
  store i32 %236, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = add i32 %238, %237
  store i32 %239, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %240, ptr %8, 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 %15, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 8
  %246 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %242, i64 noundef %245, i32 noundef %246)
  %247 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 4
  %253 = call i32 @i32_load(ptr noundef %249, i64 noundef %252)
  store i32 %253, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %16, 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 %16, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 12
  %260 = call i32 @i32_load(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %261, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = icmp ult i32 %265, %266
  %268 = zext i1 %267 to i32
  store i32 %268, ptr %15, align 4, !tbaa !9
  %269 = load i32, ptr %15, align 4, !tbaa !9
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %211
  br label %342

272:                                              ; preds = %211
  %273 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %273, ptr %15, align 4, !tbaa !9
  %274 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %274, ptr %16, align 4, !tbaa !9
  %275 = load ptr, ptr %5, align 8, !tbaa !5
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARehashTable0x28unsigned0x20int0x29(ptr noundef %275, i32 noundef %276, i32 noundef %277)
  store i32 %278, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %279, ptr %8, align 4, !tbaa !9
  %280 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %280, ptr %15, align 4, !tbaa !9
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.w2c_hermes, ptr %281, i32 0, i32 6
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = call i32 @i32_load(ptr noundef %282, i64 noundef %284)
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = and i32 %287, 31
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = shl i32 %289, %288
  store i32 %290, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %15, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %294, ptr %8, align 4, !tbaa !9
  br label %295

295:                                              ; preds = %313, %272
  store i32 1, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %296, ptr %7, align 4, !tbaa !9
  %297 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %297, ptr %15, 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 %15, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = call i32 @i32_load(ptr noundef %299, i64 noundef %301)
  store i32 %302, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = load i32, ptr %15, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %15, align 4, !tbaa !9
  %306 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %306, label %312 [
    i32 0, label %307
    i32 1, label %308
    i32 2, label %309
    i32 3, label %310
    i32 4, label %311
  ]

307:                                              ; preds = %295
  br label %313

308:                                              ; preds = %295
  br label %319

309:                                              ; preds = %295
  br label %319

310:                                              ; preds = %295
  br label %319

311:                                              ; preds = %295
  br label %313

312:                                              ; preds = %295
  br label %319

313:                                              ; preds = %311, %307
  %314 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %314, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %315 = load i32, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = add i32 %316, %315
  store i32 %317, ptr %15, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %318, ptr %8, align 4, !tbaa !9
  br label %295

319:                                              ; preds = %312, %310, %309, %308, %104, %102, %101, %100
  %320 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %320, ptr %15, align 4, !tbaa !9
  %321 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %15, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 4
  %327 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %323, i64 noundef %326, i32 noundef %327)
  %328 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %328, ptr %15, align 4, !tbaa !9
  %329 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %329, ptr %16, align 4, !tbaa !9
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.w2c_hermes, ptr %330, i32 0, i32 6
  %332 = load i32, ptr %15, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %331, i64 noundef %333, i32 noundef %334)
  %335 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %335, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %16, align 4, !tbaa !9
  %337 = load i32, ptr %15, align 4, !tbaa !9
  %338 = add i32 %337, %336
  store i32 %338, ptr %15, align 4, !tbaa !9
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = load ptr, ptr %5, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.w2c_hermes, ptr %340, i32 0, i32 3
  store i32 %339, ptr %341, align 8, !tbaa !13
  br label %360

342:                                              ; preds = %271
  store i32 0, ptr %15, align 4, !tbaa !9
  %343 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %343, ptr %8, align 4, !tbaa !9
  store i32 40711, ptr %16, align 4, !tbaa !9
  %344 = load i32, ptr %16, align 4, !tbaa !9
  %345 = load i32, ptr %15, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %15, align 4, !tbaa !9
  %347 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %347, ptr %16, align 4, !tbaa !9
  store i32 81310, ptr %17, align 4, !tbaa !9
  %348 = load i32, ptr %17, align 4, !tbaa !9
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %16, align 4, !tbaa !9
  store i32 406, ptr %17, align 4, !tbaa !9
  %351 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %351, ptr %18, align 4, !tbaa !9
  store i32 101980, ptr %19, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %18, align 4, !tbaa !9
  %355 = load ptr, ptr %5, align 8, !tbaa !5
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %355, i32 noundef %356, i32 noundef %357, i32 noundef %358, i32 noundef %359)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

360:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ALookupBucketFor0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_dlmalloc(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_llvh0x3A0x3Areport_bad_alloc_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARehashTable0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 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 #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3AStringMapIterator0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3ATimerGroup0x2A0x2C0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3ATimer0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3E0x3E0x2C0x20bool0x3E0x20llvh0x3A0x3AStringMap0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cllvh0x3A0x3ATimerGroup0x2A0x2C0x20llvh0x3A0x3AStringMap0x3Cllvh0x3A0x3ATimer0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3E0x2C0x20llvh0x3A0x3AMallocAllocator0x3E0x3A0x3Atry_emplace0x3C0x3E0x28llvh0x3A0x3AStringRef0x29(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, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %9)
  %11 = zext i32 %7 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %11, i64 noundef %10)
  %12 = add nuw nsw i64 %11, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %12, i64 noundef %10)
  %13 = tail call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ALookupBucketFor0x28llvh0x3A0x3AStringRef0x29(ptr noundef %0, i32 noundef %2, i32 noundef %7) #4
  %14 = zext i32 %2 to i64
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = shl i32 %13, 2
  %17 = add i32 %15, %16
  %18 = zext i32 %17 to i64
  %19 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %18)
  switch i32 %19, label %.preheader [
    i32 -4, label %25
    i32 0, label %29
  ]

.preheader:                                       ; preds = %4, %20
  %.0197 = phi i32 [ %23, %20 ], [ %19, %4 ]
  %.0196 = phi i32 [ %24, %20 ], [ %17, %4 ]
  switch i32 %.0197, label %.loopexit [
    i32 -4, label %20
    i32 0, label %20
  ]

20:                                               ; preds = %.preheader, %.preheader
  %21 = zext i32 %.0196 to i64
  %22 = add nuw nsw i64 %21, 4
  %23 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %22)
  %24 = add i32 %.0196, 4
  br label %.preheader

25:                                               ; preds = %4
  %26 = add nuw nsw i64 %14, 12
  %27 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %28 = add i32 %27, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %28)
  br label %29

29:                                               ; preds = %4, %25
  %30 = lshr i64 %10, 32
  %31 = trunc nuw i64 %30 to i32
  %32 = add i32 %31, 33
  %33 = tail call i32 @w2c_hermes_dlmalloc(ptr noundef nonnull %0, i32 noundef %32) #4
  %.not = icmp eq i32 %33, 0
  br i1 %.not, label %34, label %35

34:                                               ; preds = %29
  tail call void @w2c_hermes_llvh0x3A0x3Areport_bad_alloc_error0x28char0x20const0x2A0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef 105740, i32 noundef 1) #4
  br label %35

35:                                               ; preds = %34, %29
  %36 = zext i32 %33 to i64
  %37 = add nuw nsw i64 %36, 4
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %37, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %36, i32 noundef %31)
  %38 = add nuw nsw i64 %36, 12
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %38, i64 noundef 0)
  %39 = add nuw nsw i64 %36, 20
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %39, i64 noundef 481036337152)
  %40 = add i32 %33, 32
  %.not199 = icmp ult i64 %10, 4294967296
  br i1 %.not199, label %44, label %41

41:                                               ; preds = %35
  %42 = trunc i64 %10 to i32
  %43 = tail call i32 @w2c_hermes_0x5F_memcpy(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %42, i32 noundef %31) #4
  br label %44

44:                                               ; preds = %41, %35
  %45 = add i32 %40, %31
  %46 = zext i32 %45 to i64
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %46, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %18, i32 noundef %33)
  %47 = add nuw nsw i64 %14, 8
  %48 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %47)
  %49 = add i32 %48, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %47, i32 noundef %49)
  %50 = add nuw nsw i64 %14, 4
  %51 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %50)
  %52 = add nuw nsw i64 %14, 12
  %53 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %52)
  %54 = add i32 %53, %49
  %55 = icmp ult i32 %51, %54
  br i1 %55, label %68, label %56

56:                                               ; preds = %44
  %57 = tail call i32 @w2c_hermes_llvh0x3A0x3AStringMapImpl0x3A0x3ARehashTable0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %13) #4
  %58 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %59 = shl i32 %57, 2
  %60 = add i32 %58, %59
  br label %61

61:                                               ; preds = %64, %56
  %.1 = phi i32 [ %60, %56 ], [ %65, %64 ]
  %62 = zext i32 %.1 to i64
  %63 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %62)
  switch i32 %63, label %.loopexit [
    i32 -4, label %64
    i32 0, label %64
  ]

64:                                               ; preds = %61, %61
  %65 = add i32 %.1, 4
  br label %61

.loopexit:                                        ; preds = %61, %.preheader
  %.2 = phi i32 [ %.0196, %.preheader ], [ %.1, %61 ]
  %.0 = phi i32 [ 0, %.preheader ], [ 1, %61 ]
  %66 = zext i32 %1 to i64
  %67 = add nuw nsw i64 %66, 4
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %67, i32 noundef %.0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %66, i32 noundef %.2)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

68:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 40711, i32 noundef 81310, i32 noundef 406, i32 noundef 101980) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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 = { 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 = { "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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass