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

; 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: 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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 i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.w2c_hermes, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !11
  store i32 %20, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %21 = load i32, ptr %14, align 4, !tbaa !9
  %22 = load i32, ptr %13, align 4, !tbaa !9
  %23 = sub i32 %22, %21
  store i32 %23, ptr %13, align 4, !tbaa !9
  %24 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %24, ptr %11, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  store i32 %25, ptr %27, align 8, !tbaa !11
  %28 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %28, ptr %13, align 4, !tbaa !9
  %29 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %29, ptr %14, align 4, !tbaa !9
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 6
  %32 = load i32, ptr %13, align 4, !tbaa !9
  %33 = zext i32 %32 to i64
  %34 = add i64 %33, 12
  %35 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %31, i64 noundef %34, i32 noundef %35)
  %36 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %36, ptr %13, align 4, !tbaa !9
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = add i64 %40, 4
  %42 = call i32 @i32_load(ptr noundef %38, i64 noundef %41)
  store i32 %42, ptr %13, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %43, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %14, align 4, !tbaa !9
  %44 = load i32, ptr %14, align 4, !tbaa !9
  %45 = and i32 %44, 31
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = shl i32 %46, %45
  store i32 %47, ptr %13, align 4, !tbaa !9
  store i32 4, ptr %14, align 4, !tbaa !9
  %48 = load i32, ptr %14, align 4, !tbaa !9
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = add i32 %49, %48
  store i32 %50, ptr %13, align 4, !tbaa !9
  %51 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %51, ptr %14, align 4, !tbaa !9
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 12
  %57 = call i32 @i32_load(ptr noundef %53, i64 noundef %56)
  store i32 %57, ptr %14, align 4, !tbaa !9
  %58 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %58, ptr %10, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = mul i32 %60, %59
  store i32 %61, ptr %14, align 4, !tbaa !9
  %62 = load i32, ptr %13, align 4, !tbaa !9
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = icmp uge i32 %62, %63
  %65 = zext i1 %64 to i32
  store i32 %65, ptr %13, align 4, !tbaa !9
  %66 = load i32, ptr %13, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %75

68:                                               ; preds = %5
  %69 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = and i32 %70, 31
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = shl i32 %72, %71
  store i32 %73, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %74, ptr %10, align 4, !tbaa !9
  br label %107

75:                                               ; preds = %5
  %76 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %76, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  store i32 -1, ptr %15, align 4, !tbaa !9
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = xor i32 %79, %78
  store i32 %80, ptr %14, align 4, !tbaa !9
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %13, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 8
  %90 = call i32 @i32_load(ptr noundef %86, i64 noundef %89)
  store i32 %90, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = sub i32 %92, %91
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %94, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = and i32 %95, 31
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = lshr i32 %97, %96
  store i32 %98, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = icmp ugt i32 %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %13, align 4, !tbaa !9
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %75
  br label %124

106:                                              ; preds = %75
  br label %107

107:                                              ; preds = %106, %68
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  %109 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %109, ptr %14, align 4, !tbaa !9
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3Agrow0x28unsigned0x20int0x29(ptr noundef %110, i32 noundef %111, i32 noundef %112)
  %113 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %114, ptr %14, align 4, !tbaa !9
  %115 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = add i32 %117, %116
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = call i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3ALookupBucketFor0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x260x29(ptr noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122)
  store i32 %123, ptr %13, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %107, %105
  %125 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %125, ptr %13, align 4, !tbaa !9
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 12
  %131 = call i32 @i32_load(ptr noundef %127, i64 noundef %130)
  store i32 %131, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %188

135:                                              ; preds = %124
  %136 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %136, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %137, ptr %14, align 4, !tbaa !9
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %14, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 4
  %143 = call i32 @i32_load(ptr noundef %139, i64 noundef %142)
  store i32 %143, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %14, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %13, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 4
  %152 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %148, i64 noundef %151, i32 noundef %152)
  %153 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %153, ptr %13, align 4, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %13, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = call i32 @i32_load(ptr noundef %155, i64 noundef %157)
  store i32 %158, ptr %13, align 4, !tbaa !9
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %179

161:                                              ; preds = %135
  %162 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %162, ptr %13, align 4, !tbaa !9
  %163 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %163, ptr %14, align 4, !tbaa !9
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = add i64 %167, 8
  %169 = call i32 @i32_load(ptr noundef %165, i64 noundef %168)
  store i32 %169, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %14, align 4, !tbaa !9
  %172 = sub i32 %171, %170
  store i32 %172, ptr %14, align 4, !tbaa !9
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %13, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 8
  %178 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %177, i32 noundef %178)
  br label %179

179:                                              ; preds = %161, %135
  %180 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %180, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = load i32, ptr %13, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %13, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 3
  store i32 %184, ptr %186, align 8, !tbaa !11
  %187 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %187, ptr %13, align 4, !tbaa !9
  br label %206

188:                                              ; preds = %124
  store i32 0, ptr %13, align 4, !tbaa !9
  %189 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %189, ptr %7, align 4, !tbaa !9
  store i32 34874, ptr %14, align 4, !tbaa !9
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %13, align 4, !tbaa !9
  %193 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %193, ptr %14, align 4, !tbaa !9
  store i32 81389, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %14, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %14, align 4, !tbaa !9
  store i32 562, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %197, ptr %16, align 4, !tbaa !9
  store i32 71840, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %16, align 4, !tbaa !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = load i32, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

206:                                              ; preds = %179
  %207 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %207
}

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

declare i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3ALookupBucketFor0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x260x29(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 = { 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, !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}


; 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

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 range(i32 1, 0) i32 @w2c_hermes_llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3AInsertIntoBucketImpl0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %11, i32 noundef %4)
  %12 = zext i32 %1 to i64
  %13 = add nuw nsw i64 %12, 4
  %14 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %15 = shl i32 %14, 2
  %16 = add i32 %15, 4
  %17 = add nuw nsw i64 %12, 12
  %18 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %17)
  %19 = mul i32 %18, 3
  %.not = icmp ult i32 %16, %19
  br i1 %.not, label %22, label %20

20:                                               ; preds = %5
  %21 = shl i32 %18, 1
  br label %30

22:                                               ; preds = %5
  %23 = xor i32 %14, -1
  %24 = add i32 %18, %23
  %25 = add nuw nsw i64 %12, 8
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = sub i32 %24, %26
  %28 = lshr i32 %18, 3
  %29 = icmp ugt i32 %27, %28
  br i1 %29, label %33, label %30

30:                                               ; preds = %22, %20
  %.0 = phi i32 [ %21, %20 ], [ %18, %22 ]
  tail call void @w2c_hermes_llvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3Agrow0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.0) #4
  %31 = add i32 %7, -4
  %32 = tail call i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3ALookupBucketFor0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %31) #4
  br label %33

33:                                               ; preds = %22, %30
  %34 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %.not111 = icmp eq i32 %34, 0
  br i1 %.not111, label %45, label %35

35:                                               ; preds = %33
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %37 = add i32 %36, 1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef %37)
  %38 = zext i32 %34 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %.not112 = icmp eq i32 %39, 0
  br i1 %.not112, label %44, label %40

40:                                               ; preds = %35
  %41 = add nuw nsw i64 %12, 8
  %42 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %41)
  %43 = add i32 %42, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef %43)
  br label %44

44:                                               ; preds = %40, %35
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %34

45:                                               ; preds = %33
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 34874, i32 noundef 81389, i32 noundef 562, i32 noundef 71840) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

declare i32 @w2c_hermes_bool0x20llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x2C0x20llvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x2C0x20hermes0x3A0x3Aparser0x3A0x3ASMLocInfo0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x3E0x3A0x3ALookupBucketFor0x3Cllvh0x3A0x3ASMLoc0x3E0x28llvh0x3A0x3ASMLoc0x20const0x260x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Cllvh0x3A0x3ASMLoc0x2C0x20hermes0x3A0x3Aparser0x3A0x3APreParsedFunctionInfo0x3E0x2A0x260x29(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 = { 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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass