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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AAllocationTable0x3Chermes0x3A0x3AFunction0x2A0x3E0x3A0x3Aallocate0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %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
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = 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
  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 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  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
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.w2c_hermes, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 8, !tbaa !11
  store i32 %22, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %23 = load i32, ptr %16, align 4, !tbaa !9
  %24 = load i32, ptr %15, align 4, !tbaa !9
  %25 = sub i32 %24, %23
  store i32 %25, ptr %15, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %26, ptr %9, align 4, !tbaa !9
  %27 = load i32, ptr %15, align 4, !tbaa !9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  store i32 %27, ptr %29, align 8, !tbaa !11
  %30 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %30, ptr %15, align 4, !tbaa !9
  %31 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %31, ptr %16, 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 %15, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, 12
  %37 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %33, i64 noundef %36, i32 noundef %37)
  %38 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %38, ptr %15, align 4, !tbaa !9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i32 @i32_load(ptr noundef %40, i64 noundef %42)
  store i32 %43, ptr %15, align 4, !tbaa !9
  %44 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %44, ptr %7, align 4, !tbaa !9
  %45 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %45, ptr %15, 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 %15, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 12
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %15, align 4, !tbaa !9
  %52 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %52, ptr %10, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  %55 = xor i1 %54, true
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %15, align 4, !tbaa !9
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %3
  br label %189

60:                                               ; preds = %3
  %61 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %61, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = add i32 %63, %62
  store i32 %64, ptr %15, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %65, label %71 [
    i32 0, label %66
    i32 1, label %67
    i32 2, label %68
    i32 3, label %69
    i32 4, label %70
  ]

66:                                               ; preds = %60
  br label %72

67:                                               ; preds = %60
  br label %90

68:                                               ; preds = %60
  br label %90

69:                                               ; preds = %60
  br label %90

70:                                               ; preds = %60
  br label %72

71:                                               ; preds = %60
  br label %90

72:                                               ; preds = %70, %66
  store i32 0, ptr %15, align 4, !tbaa !9
  %73 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %73, ptr %5, align 4, !tbaa !9
  store i32 204136, ptr %16, align 4, !tbaa !9
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = add i32 %75, %74
  store i32 %76, ptr %15, align 4, !tbaa !9
  %77 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %77, ptr %16, align 4, !tbaa !9
  store i32 81389, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = add i32 %79, %78
  store i32 %80, ptr %16, align 4, !tbaa !9
  store i32 597, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %81, ptr %18, align 4, !tbaa !9
  store i32 48929, ptr %19, align 4, !tbaa !9
  %82 = load i32, ptr %19, align 4, !tbaa !9
  %83 = load i32, ptr %18, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %18, align 4, !tbaa !9
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = load i32, ptr %16, align 4, !tbaa !9
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

90:                                               ; preds = %71, %69, %68, %67
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %92, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = sub i32 %94, %93
  store i32 %95, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %96, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %97, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = and i32 %98, 31
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = lshr i32 %100, %99
  store i32 %101, ptr %17, align 4, !tbaa !9
  %102 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %102, ptr %18, align 4, !tbaa !9
  store i32 9, ptr %19, align 4, !tbaa !9
  %103 = load i32, ptr %19, align 4, !tbaa !9
  %104 = and i32 %103, 31
  %105 = load i32, ptr %18, align 4, !tbaa !9
  %106 = lshr i32 %105, %104
  store i32 %106, ptr %18, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = xor i32 %108, %107
  store i32 %109, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = and i32 %111, %110
  store i32 %112, ptr %16, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %113, ptr %12, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = and i32 %114, 31
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = shl i32 %116, %115
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %15, align 4, !tbaa !9
  %121 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %121, ptr %8, align 4, !tbaa !9
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = call i32 @i32_load(ptr noundef %123, i64 noundef %125)
  store i32 %126, ptr %15, align 4, !tbaa !9
  %127 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %127, ptr %13, align 4, !tbaa !9
  %128 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %128, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = icmp eq i32 %129, %130
  %132 = zext i1 %131 to i32
  store i32 %132, ptr %15, align 4, !tbaa !9
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %90
  br label %200

136:                                              ; preds = %90
  store i32 1, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %137, ptr %11, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %187, %136
  %139 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %139, ptr %15, align 4, !tbaa !9
  store i32 -4, ptr %16, align 4, !tbaa !9
  %140 = load i32, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %16, align 4, !tbaa !9
  %142 = icmp eq i32 %140, %141
  %143 = zext i1 %142 to i32
  store i32 %143, ptr %15, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %138
  br label %189

147:                                              ; preds = %138
  %148 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = add i32 %151, %150
  store i32 %152, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %153, ptr %8, align 4, !tbaa !9
  %154 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %154, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %159, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %161, ptr %17, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = and i32 %163, %162
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %165, ptr %12, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = and i32 %166, 31
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = shl i32 %168, %167
  store i32 %169, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %173, ptr %8, 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 %15, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = call i32 @i32_load(ptr noundef %175, i64 noundef %177)
  store i32 %178, ptr %15, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %179, ptr %13, align 4, !tbaa !9
  %180 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = icmp ne i32 %181, %182
  %184 = zext i1 %183 to i32
  store i32 %184, ptr %15, align 4, !tbaa !9
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %188

187:                                              ; preds = %147
  br label %138

188:                                              ; preds = %147
  br label %200

189:                                              ; preds = %146, %59
  %190 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %190, ptr %15, align 4, !tbaa !9
  %191 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %191, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %17, align 4, !tbaa !9
  %193 = and i32 %192, 31
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = shl i32 %194, %193
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = load i32, ptr %15, align 4, !tbaa !9
  %198 = add i32 %197, %196
  store i32 %198, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %199, ptr %8, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %189, %188, %135
  %201 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = and i32 %203, 31
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = shl i32 %205, %204
  store i32 %206, ptr %16, align 4, !tbaa !9
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %210, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = icmp ne i32 %211, %212
  %214 = zext i1 %213 to i32
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %226

217:                                              ; preds = %200
  %218 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %218, ptr %15, align 4, !tbaa !9
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %15, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 4
  %224 = call i32 @i32_load(ptr noundef %220, i64 noundef %223)
  store i32 %224, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %225, ptr %6, align 4, !tbaa !9
  br label %356

226:                                              ; preds = %200
  %227 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %227, ptr %15, align 4, !tbaa !9
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %15, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 4
  %233 = call i32 @i32_load(ptr noundef %229, i64 noundef %232)
  store i32 %233, ptr %15, align 4, !tbaa !9
  %234 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %234, ptr %6, align 4, !tbaa !9
  %235 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %235, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %236, ptr %16, align 4, !tbaa !9
  store i32 12, 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 ptr, ptr %4, align 8, !tbaa !5
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = call i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AFunction0x2A0x20const0x260x29(ptr noundef %240, i32 noundef %241, i32 noundef %242)
  store i32 %243, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %244, ptr %16, align 4, !tbaa !9
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %15, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = add i64 %248, 4
  %250 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %246, i64 noundef %249, i32 noundef %250)
  %251 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %251, ptr %15, align 4, !tbaa !9
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %15, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = add i64 %255, 20
  %257 = call i32 @i32_load(ptr noundef %253, i64 noundef %256)
  store i32 %257, ptr %15, align 4, !tbaa !9
  %258 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %258, ptr %7, align 4, !tbaa !9
  %259 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %259, ptr %16, align 4, !tbaa !9
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 24
  %265 = call i32 @i32_load(ptr noundef %261, i64 noundef %264)
  store i32 %265, ptr %16, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = icmp uge i32 %266, %267
  %269 = zext i1 %268 to i32
  store i32 %269, ptr %15, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %294

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

294:                                              ; preds = %272, %226
  %295 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %295, ptr %15, align 4, !tbaa !9
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.w2c_hermes, ptr %296, i32 0, i32 6
  %298 = load i32, ptr %15, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = add i64 %299, 16
  %301 = call i32 @i32_load(ptr noundef %297, i64 noundef %300)
  store i32 %301, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %302, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = and i32 %303, 31
  %305 = load i32, ptr %16, align 4, !tbaa !9
  %306 = shl i32 %305, %304
  store i32 %306, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %310, ptr %16, align 4, !tbaa !9
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.w2c_hermes, ptr %311, i32 0, i32 6
  %313 = load i32, ptr %16, align 4, !tbaa !9
  %314 = zext i32 %313 to i64
  %315 = add i64 %314, 12
  %316 = call i32 @i32_load(ptr noundef %312, i64 noundef %315)
  store i32 %316, ptr %16, align 4, !tbaa !9
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 6
  %319 = load i32, ptr %15, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %318, i64 noundef %320, i32 noundef %321)
  %322 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %322, ptr %15, align 4, !tbaa !9
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.w2c_hermes, ptr %323, i32 0, i32 6
  %325 = load i32, ptr %15, align 4, !tbaa !9
  %326 = zext i32 %325 to i64
  %327 = add i64 %326, 20
  %328 = call i32 @i32_load(ptr noundef %324, i64 noundef %327)
  store i32 %328, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %329 = load i32, ptr %16, align 4, !tbaa !9
  %330 = load i32, ptr %15, align 4, !tbaa !9
  %331 = add i32 %330, %329
  store i32 %331, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %332, ptr %7, align 4, !tbaa !9
  %333 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %333, ptr %16, align 4, !tbaa !9
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.w2c_hermes, ptr %334, i32 0, i32 6
  %336 = load i32, ptr %16, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = add i64 %337, 24
  %339 = call i32 @i32_load(ptr noundef %335, i64 noundef %338)
  store i32 %339, ptr %16, align 4, !tbaa !9
  %340 = load i32, ptr %15, align 4, !tbaa !9
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = icmp ugt i32 %340, %341
  %343 = zext i1 %342 to i32
  store i32 %343, ptr %15, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %347

346:                                              ; preds = %294
  br label %365

347:                                              ; preds = %294
  %348 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %348, ptr %15, align 4, !tbaa !9
  %349 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %349, ptr %16, align 4, !tbaa !9
  %350 = load ptr, ptr %4, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.w2c_hermes, ptr %350, i32 0, i32 6
  %352 = load i32, ptr %15, align 4, !tbaa !9
  %353 = zext i32 %352 to i64
  %354 = add i64 %353, 20
  %355 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %351, i64 noundef %354, i32 noundef %355)
  br label %356

356:                                              ; preds = %347, %217
  %357 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %357, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %16, align 4, !tbaa !9
  %359 = load i32, ptr %15, align 4, !tbaa !9
  %360 = add i32 %359, %358
  store i32 %360, ptr %15, align 4, !tbaa !9
  %361 = load i32, ptr %15, align 4, !tbaa !9
  %362 = load ptr, ptr %4, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 3
  store i32 %361, ptr %363, align 8, !tbaa !11
  %364 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %364, ptr %15, align 4, !tbaa !9
  br label %383

365:                                              ; preds = %346
  store i32 0, ptr %15, align 4, !tbaa !9
  %366 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %366, ptr %5, align 4, !tbaa !9
  store i32 117789, ptr %16, align 4, !tbaa !9
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = load i32, ptr %15, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %15, align 4, !tbaa !9
  %370 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %370, ptr %16, align 4, !tbaa !9
  store i32 79572, ptr %17, align 4, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = add i32 %372, %371
  store i32 %373, ptr %16, align 4, !tbaa !9
  store i32 74, ptr %17, align 4, !tbaa !9
  %374 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %374, ptr %18, align 4, !tbaa !9
  store i32 88407, ptr %19, align 4, !tbaa !9
  %375 = load i32, ptr %19, align 4, !tbaa !9
  %376 = load i32, ptr %18, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %18, align 4, !tbaa !9
  %378 = load ptr, ptr %4, align 8, !tbaa !5
  %379 = load i32, ptr %15, align 4, !tbaa !9
  %380 = load i32, ptr %16, align 4, !tbaa !9
  %381 = load i32, ptr %17, align 4, !tbaa !9
  %382 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381, i32 noundef %382)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

383:                                              ; preds = %356
  %384 = load i32, ptr %15, align 4, !tbaa !9
  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 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 i32 %384
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AFunction0x2A0x20const0x260x29(ptr 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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AAllocationTable0x3Chermes0x3A0x3AFunction0x2A0x3E0x3A0x3Aallocate0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -16
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %6 to i64
  %9 = add nuw nsw i64 %8, 12
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %9, i32 noundef %2)
  %10 = zext i32 %1 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %10)
  %12 = add nuw nsw i64 %10, 12
  %13 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %12)
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %.loopexit, label %14

14:                                               ; preds = %3
  switch i32 %2, label %16 [
    i32 -8, label %15
    i32 -4, label %15
  ]

15:                                               ; preds = %14, %14
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

16:                                               ; preds = %14
  %17 = add i32 %13, -1
  %18 = lshr i32 %2, 4
  %19 = lshr i32 %2, 9
  %20 = xor i32 %18, %19
  %21 = and i32 %17, %20
  %22 = shl nuw nsw i32 %21, 3
  %23 = add i32 %22, %11
  %24 = zext i32 %23 to i64
  %25 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %26 = icmp eq i32 %25, %2
  br i1 %26, label %.loopexit224, label %.preheader

.preheader:                                       ; preds = %16, %28
  %.0212 = phi i32 [ %30, %28 ], [ 1, %16 ]
  %.0211 = phi i32 [ %31, %28 ], [ %21, %16 ]
  %.0 = phi i32 [ %35, %28 ], [ %25, %16 ]
  %27 = icmp eq i32 %.0, -4
  br i1 %27, label %.loopexit, label %28

28:                                               ; preds = %.preheader
  %29 = add i32 %.0211, %.0212
  %30 = add i32 %.0212, 1
  %31 = and i32 %29, %17
  %32 = shl i32 %31, 3
  %33 = add i32 %32, %11
  %34 = zext i32 %33 to i64
  %35 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %34)
  %.not221 = icmp eq i32 %35, %2
  br i1 %.not221, label %.loopexit224, label %.preheader

.loopexit:                                        ; preds = %.preheader, %3
  %36 = shl i32 %13, 3
  %37 = add i32 %36, %11
  br label %.loopexit224

.loopexit224:                                     ; preds = %28, %16, %.loopexit
  %.0213 = phi i32 [ %37, %.loopexit ], [ %23, %16 ], [ %33, %28 ]
  %38 = shl i32 %13, 3
  %39 = add i32 %38, %11
  %.not222 = icmp eq i32 %39, %.0213
  br i1 %.not222, label %44, label %40

40:                                               ; preds = %.loopexit224
  %41 = zext i32 %.0213 to i64
  %42 = add nuw nsw i64 %41, 4
  %43 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %42)
  br label %71

44:                                               ; preds = %.loopexit224
  %45 = add nuw nsw i64 %10, 4
  %46 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %45)
  %47 = add i32 %5, -4
  %48 = tail call i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AFunction0x2A0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %47) #4
  %49 = zext i32 %48 to i64
  %50 = add nuw nsw i64 %49, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %50, i32 noundef %46)
  %51 = add nuw nsw i64 %10, 20
  %52 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %51)
  %53 = add nuw nsw i64 %10, 24
  %54 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %53)
  %.not223 = icmp ult i32 %52, %54
  br i1 %.not223, label %59, label %55

55:                                               ; preds = %44
  %56 = add i32 %1, 16
  %57 = add i32 %1, 28
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %56, i32 noundef %57, i32 noundef 0, i32 noundef 4) #4
  %58 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %51)
  br label %59

59:                                               ; preds = %55, %44
  %.0214 = phi i32 [ %58, %55 ], [ %52, %44 ]
  %60 = add nuw nsw i64 %10, 16
  %61 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %60)
  %62 = shl i32 %.0214, 2
  %63 = add i32 %61, %62
  %64 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %65 = zext i32 %63 to i64
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %65, i32 noundef %64)
  %66 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %51)
  %67 = add i32 %66, 1
  %68 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %53)
  %69 = icmp ugt i32 %67, %68
  br i1 %69, label %72, label %70

70:                                               ; preds = %59
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %51, i32 noundef %67)
  br label %71

71:                                               ; preds = %70, %40
  %.0215 = phi i32 [ %43, %40 ], [ %46, %70 ]
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %.0215

72:                                               ; preds = %59
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 117789, i32 noundef 79572, i32 noundef 74, i32 noundef 88407) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x2C0x20hermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AFunction0x2A0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AFunction0x2A0x2C0x20unsigned0x20int0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AFunction0x2A0x20const0x260x29(ptr 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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass