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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef, i32 noundef, i32 noundef) #3

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

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

64:                                               ; preds = %3
  %65 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %65, ptr %21, align 8, !tbaa !11
  store i64 -844424930131969, ptr %22, align 8, !tbaa !11
  %66 = load i64, ptr %21, align 8, !tbaa !11
  %67 = load i64, ptr %22, align 8, !tbaa !11
  %68 = icmp ule i64 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %16, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %64
  br label %318

73:                                               ; preds = %64
  %74 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %74, ptr %21, align 8, !tbaa !11
  %75 = load i64, ptr %21, align 8, !tbaa !11
  %76 = trunc i64 %75 to i32
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %77, ptr %17, align 4, !tbaa !9
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = call i32 @i32_load(ptr noundef %79, i64 noundef %81)
  store i32 %82, ptr %17, align 4, !tbaa !9
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AgetLength0x28hermes0x3A0x3Avm0x3A0x3AJSArray0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3APointerBase0x260x29(ptr noundef %83, i32 noundef %84, i32 noundef %85)
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %87, ptr %12, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  %90 = xor i1 %89, true
  %91 = zext i1 %90 to i32
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %73
  br label %292

95:                                               ; preds = %73
  store i32 1, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %96, ptr %10, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %290, %95
  %98 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %98, ptr %16, align 4, !tbaa !9
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %16, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = add i64 %102, 4
  %104 = call i32 @i32_load(ptr noundef %100, i64 noundef %103)
  store i32 %104, ptr %16, align 4, !tbaa !9
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 4
  %110 = call i32 @i32_load(ptr noundef %106, i64 noundef %109)
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = call i64 @i64_load(ptr noundef %112, i64 noundef %114)
  store i64 %115, ptr %21, align 8, !tbaa !11
  %116 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %116, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %22, align 8, !tbaa !11
  %117 = load i64, ptr %21, align 8, !tbaa !11
  %118 = load i64, ptr %22, align 8, !tbaa !11
  %119 = and i64 %118, 63
  %120 = ashr i64 %117, %119
  store i64 %120, ptr %21, align 8, !tbaa !11
  %121 = load i64, ptr %21, align 8, !tbaa !11
  %122 = trunc i64 %121 to i32
  store i32 %122, ptr %16, align 4, !tbaa !9
  store i32 -1, ptr %17, align 4, !tbaa !9
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = load i32, ptr %17, align 4, !tbaa !9
  %125 = icmp ne i32 %123, %124
  %126 = zext i1 %125 to i32
  store i32 %126, ptr %16, align 4, !tbaa !9
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %130

129:                                              ; preds = %97
  br label %335

130:                                              ; preds = %97
  %131 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %131, ptr %21, align 8, !tbaa !11
  store i64 -844424930131969, ptr %22, align 8, !tbaa !11
  %132 = load i64, ptr %21, align 8, !tbaa !11
  %133 = load i64, ptr %22, align 8, !tbaa !11
  %134 = icmp ule i64 %132, %133
  %135 = zext i1 %134 to i32
  store i32 %135, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %139

138:                                              ; preds = %130
  br label %353

139:                                              ; preds = %130
  %140 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %140, ptr %21, align 8, !tbaa !11
  %141 = load i64, ptr %21, align 8, !tbaa !11
  %142 = trunc i64 %141 to i32
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %143, ptr %8, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %139
  br label %371

151:                                              ; preds = %139
  %152 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %152, ptr %16, align 4, !tbaa !9
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = call i32 @i32_load(ptr noundef %154, i64 noundef %156)
  store i32 %157, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  store i32 7, ptr %16, align 4, !tbaa !9
  %159 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %159, ptr %13, align 4, !tbaa !9
  %160 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %161, ptr %17, align 4, !tbaa !9
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %17, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = add i64 %165, 28
  %167 = call i32 @i32_load(ptr noundef %163, i64 noundef %166)
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %168, ptr %14, align 4, !tbaa !9
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = icmp ult i32 %169, %170
  %172 = zext i1 %171 to i32
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %176

175:                                              ; preds = %151
  br label %244

176:                                              ; preds = %151
  %177 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %177, ptr %16, align 4, !tbaa !9
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %16, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 32
  %183 = call i32 @i32_load(ptr noundef %179, i64 noundef %182)
  store i32 %183, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %17, align 4, !tbaa !9
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = icmp ule i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %176
  br label %244

192:                                              ; preds = %176
  %193 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %193, ptr %16, align 4, !tbaa !9
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 36
  %199 = call i32 @i32_load(ptr noundef %195, i64 noundef %198)
  store i32 %199, ptr %16, align 4, !tbaa !9
  %200 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %200, ptr %8, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %223

203:                                              ; preds = %192
  %204 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 3
  %210 = call i32 @i32_load8_u(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = and i32 %211, 31
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = shl i32 %213, %212
  store i32 %214, ptr %16, align 4, !tbaa !9
  store i32 285212672, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = icmp ne i32 %215, %216
  %218 = zext i1 %217 to i32
  store i32 %218, ptr %16, align 4, !tbaa !9
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %203
  br label %389

222:                                              ; preds = %203
  br label %223

223:                                              ; preds = %222, %192
  %224 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %224, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %225, ptr %17, align 4, !tbaa !9
  %226 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %226, ptr %18, align 4, !tbaa !9
  %227 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %227, ptr %19, align 4, !tbaa !9
  %228 = load i32, ptr %19, align 4, !tbaa !9
  %229 = load i32, ptr %18, align 4, !tbaa !9
  %230 = sub i32 %229, %228
  store i32 %230, ptr %18, align 4, !tbaa !9
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %18, align 4, !tbaa !9
  %235 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234)
  store i32 %235, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %236, ptr %13, align 4, !tbaa !9
  %237 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.w2c_hermes, ptr %238, i32 0, i32 6
  %240 = load i32, ptr %16, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = call i32 @i32_load(ptr noundef %239, i64 noundef %241)
  store i32 %242, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %243, ptr %11, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %223, %191, %175
  %245 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %245, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %16, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 12
  %252 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %248, i64 noundef %251, i32 noundef %252)
  %253 = load i64, ptr %6, align 8, !tbaa !11
  store i64 %253, ptr %21, align 8, !tbaa !11
  %254 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  store i32 12, ptr %18, align 4, !tbaa !9
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %17, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %17, align 4, !tbaa !9
  %258 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %258, ptr %18, align 4, !tbaa !9
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !9
  %262 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef %259, i32 noundef %260, i32 noundef %261)
  store i64 %262, ptr %22, align 8, !tbaa !11
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = load i64, ptr %21, align 8, !tbaa !11
  %265 = load i64, ptr %22, align 8, !tbaa !11
  %266 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %263, i64 noundef %264, i64 noundef %265)
  store i32 %266, ptr %16, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %270

269:                                              ; preds = %244
  br label %292

270:                                              ; preds = %244
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %16, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %275, ptr %7, align 4, !tbaa !9
  %276 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = load i32, ptr %17, align 4, !tbaa !9
  %279 = icmp ult i32 %277, %278
  %280 = zext i1 %279 to i32
  store i32 %280, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %281, ptr %10, align 4, !tbaa !9
  %282 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %282, ptr %16, align 4, !tbaa !9
  %283 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %283, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = icmp ne i32 %284, %285
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %16, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %291

290:                                              ; preds = %270
  br label %97

291:                                              ; preds = %270
  br label %292

292:                                              ; preds = %291, %269, %94
  %293 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %293, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %16, align 4, !tbaa !9
  %297 = load i32, ptr %16, align 4, !tbaa !9
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 3
  store i32 %297, ptr %299, align 8, !tbaa !13
  %300 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %300, ptr %16, align 4, !tbaa !9
  br label %407

301:                                              ; preds = %3
  store i32 0, ptr %16, align 4, !tbaa !9
  store i32 118124, ptr %17, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %16, align 4, !tbaa !9
  %305 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %305, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %306 = load i32, ptr %18, align 4, !tbaa !9
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = add i32 %307, %306
  store i32 %308, ptr %17, align 4, !tbaa !9
  store i32 480, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %309, ptr %19, align 4, !tbaa !9
  store i32 38798, ptr %20, align 4, !tbaa !9
  %310 = load i32, ptr %20, align 4, !tbaa !9
  %311 = load i32, ptr %19, align 4, !tbaa !9
  %312 = add i32 %311, %310
  store i32 %312, ptr %19, align 4, !tbaa !9
  %313 = load ptr, ptr %4, align 8, !tbaa !5
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = load i32, ptr %18, align 4, !tbaa !9
  %317 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

318:                                              ; preds = %72
  store i32 0, ptr %16, align 4, !tbaa !9
  store i32 118273, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %16, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %322, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = load i32, ptr %17, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %17, align 4, !tbaa !9
  store i32 438, ptr %18, align 4, !tbaa !9
  %326 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %326, ptr %19, align 4, !tbaa !9
  store i32 49706, ptr %20, align 4, !tbaa !9
  %327 = load i32, ptr %20, align 4, !tbaa !9
  %328 = load i32, ptr %19, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %19, align 4, !tbaa !9
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = load i32, ptr %17, align 4, !tbaa !9
  %333 = load i32, ptr %18, align 4, !tbaa !9
  %334 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333, i32 noundef %334)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

335:                                              ; preds = %129
  store i32 0, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %336, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %17, align 4, !tbaa !9
  %338 = load i32, ptr %16, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %16, align 4, !tbaa !9
  %340 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %340, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %18, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %17, align 4, !tbaa !9
  store i32 480, ptr %18, align 4, !tbaa !9
  %344 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %344, ptr %19, align 4, !tbaa !9
  store i32 38798, ptr %20, align 4, !tbaa !9
  %345 = load i32, ptr %20, align 4, !tbaa !9
  %346 = load i32, ptr %19, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %19, align 4, !tbaa !9
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

353:                                              ; preds = %138
  store i32 0, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %354, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %17, align 4, !tbaa !9
  %355 = load i32, ptr %17, align 4, !tbaa !9
  %356 = load i32, ptr %16, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %358, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %17, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %17, align 4, !tbaa !9
  store i32 438, ptr %18, align 4, !tbaa !9
  %362 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %362, ptr %19, align 4, !tbaa !9
  store i32 49706, ptr %20, align 4, !tbaa !9
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = load i32, ptr %19, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %19, align 4, !tbaa !9
  %366 = load ptr, ptr %4, align 8, !tbaa !5
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = load i32, ptr %17, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369, i32 noundef %370)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

371:                                              ; preds = %150
  store i32 0, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %372, ptr %7, align 4, !tbaa !9
  store i32 168498, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %17, align 4, !tbaa !9
  %374 = load i32, ptr %16, align 4, !tbaa !9
  %375 = add i32 %374, %373
  store i32 %375, ptr %16, align 4, !tbaa !9
  %376 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %376, ptr %17, align 4, !tbaa !9
  store i32 78081, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %17, align 4, !tbaa !9
  store i32 269, ptr %18, align 4, !tbaa !9
  %380 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %380, ptr %19, align 4, !tbaa !9
  store i32 20456, ptr %20, align 4, !tbaa !9
  %381 = load i32, ptr %20, align 4, !tbaa !9
  %382 = load i32, ptr %19, align 4, !tbaa !9
  %383 = add i32 %382, %381
  store i32 %383, ptr %19, align 4, !tbaa !9
  %384 = load ptr, ptr %4, align 8, !tbaa !5
  %385 = load i32, ptr %16, align 4, !tbaa !9
  %386 = load i32, ptr %17, align 4, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !9
  %388 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387, i32 noundef %388)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

389:                                              ; preds = %221
  store i32 0, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %390, ptr %7, align 4, !tbaa !9
  store i32 205071, ptr %17, align 4, !tbaa !9
  %391 = load i32, ptr %17, align 4, !tbaa !9
  %392 = load i32, ptr %16, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %16, align 4, !tbaa !9
  %394 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %394, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %395 = load i32, ptr %18, align 4, !tbaa !9
  %396 = load i32, ptr %17, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %17, align 4, !tbaa !9
  store i32 299, ptr %18, align 4, !tbaa !9
  %398 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %398, ptr %19, align 4, !tbaa !9
  store i32 72549, ptr %20, align 4, !tbaa !9
  %399 = load i32, ptr %20, align 4, !tbaa !9
  %400 = load i32, ptr %19, align 4, !tbaa !9
  %401 = add i32 %400, %399
  store i32 %401, ptr %19, align 4, !tbaa !9
  %402 = load ptr, ptr %4, align 8, !tbaa !5
  %403 = load i32, ptr %16, align 4, !tbaa !9
  %404 = load i32, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %18, align 4, !tbaa !9
  %406 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405, i32 noundef %406)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

407:                                              ; preds = %292
  %408 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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 %408
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i64 noundef, i64 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AownPropertyKeys0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AOwnKeysFlags0x290x3A0x3A0x24_10x3A0x3Aoperator0x280x290x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x290x20const(ptr noundef %0, i32 noundef %1, i64 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 %1 to i64
  %9 = add nuw nsw i64 %8, 4
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %11 = zext i32 %10 to i64
  %12 = add nuw nsw i64 %11, 4
  %13 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %14)
  %16 = icmp ugt i64 %15, -281474976710657
  br i1 %16, label %17, label %59

17:                                               ; preds = %3
  %18 = trunc i64 %15 to i32
  %19 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArray0x3A0x3AgetLength0x28hermes0x3A0x3Avm0x3A0x3AJSArray0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3APointerBase0x260x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #4
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %17
  %21 = zext i32 %6 to i64
  %22 = add nuw nsw i64 %21, 12
  %23 = add i32 %5, -4
  br label %24

24:                                               ; preds = %.preheader, %55
  %.0227 = phi i32 [ %56, %55 ], [ 0, %.preheader ]
  %.0226 = phi i32 [ %58, %55 ], [ 1, %.preheader ]
  %25 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %26 = zext i32 %25 to i64
  %27 = add nuw nsw i64 %26, 4
  %28 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %27)
  %29 = zext i32 %28 to i64
  %30 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %29)
  %.not233 = icmp ugt i64 %30, -281474976710657
  br i1 %.not233, label %31, label %60

31:                                               ; preds = %24
  %32 = and i64 %30, 4294967295
  %.not234 = icmp eq i64 %32, 0
  br i1 %.not234, label %61, label %33

33:                                               ; preds = %31
  %34 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  %35 = add nuw nsw i64 %32, 28
  %36 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %35)
  %37 = icmp ult i32 %.0227, %36
  br i1 %37, label %52, label %38

38:                                               ; preds = %33
  %39 = add nuw nsw i64 %32, 32
  %40 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %39)
  %.not235 = icmp ugt i32 %40, %.0227
  br i1 %.not235, label %41, label %52

41:                                               ; preds = %38
  %42 = add nuw nsw i64 %32, 36
  %43 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %42)
  %.not236 = icmp eq i32 %43, 0
  br i1 %.not236, label %48, label %44

44:                                               ; preds = %41
  %45 = zext i32 %43 to i64
  %46 = add nuw nsw i64 %45, 3
  %47 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %46)
  %.mask = and i32 %47, 255
  %.not237 = icmp eq i32 %.mask, 17
  br i1 %.not237, label %48, label %62

48:                                               ; preds = %44, %41
  %49 = sub i32 %.0227, %36
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %43, i32 noundef %34, i32 noundef %49) #4
  %51 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  br label %52

52:                                               ; preds = %38, %33, %48
  %.0225 = phi i32 [ %34, %33 ], [ %34, %38 ], [ %51, %48 ]
  %.0 = phi i32 [ 7, %33 ], [ 7, %38 ], [ %50, %48 ]
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %22, i32 noundef %.0)
  %53 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef %0, i32 noundef %23, i32 noundef %.0225) #4
  %54 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i64 noundef %2, i64 noundef %53) #4
  %.not238 = icmp eq i32 %54, 0
  br i1 %.not238, label %55, label %.loopexit

55:                                               ; preds = %52
  %56 = add nuw i32 %.0227, 1
  %57 = icmp ult i32 %56, %20
  %58 = zext i1 %57 to i32
  %.not239 = icmp eq i32 %56, %20
  br i1 %.not239, label %.loopexit, label %24

.loopexit:                                        ; preds = %55, %52, %17
  %.1 = phi i32 [ 0, %17 ], [ %58, %55 ], [ %.0226, %52 ]
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %.1

59:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

60:                                               ; preds = %24
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

61:                                               ; preds = %31
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass