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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20hermes0x3A0x3Avm0x3A0x3ABaseVisitor0x3A0x3AvisitArray0x3Chermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x2C0x20false0x3E0x28hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x260x2C0x20char0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AMetadata0x3A0x3AArrayData0x20const0x260x29(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 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
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  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
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %25 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %25, ptr %16, align 4, !tbaa !9
  %26 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %26, ptr %17, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = add i64 %30, 1
  %32 = call i32 @i32_load8_u(ptr noundef %28, i64 noundef %31)
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load i32, ptr %17, align 4, !tbaa !9
  %34 = load i32, ptr %16, align 4, !tbaa !9
  %35 = add i32 %34, %33
  store i32 %35, ptr %16, align 4, !tbaa !9
  %36 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %36, ptr %11, align 4, !tbaa !9
  %37 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %37, ptr %16, align 4, !tbaa !9
  %38 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %38, ptr %17, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = add i64 %42, 2
  %44 = call i32 @i32_load8_u(ptr noundef %40, i64 noundef %43)
  store i32 %44, ptr %17, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = add i32 %46, %45
  store i32 %47, ptr %16, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call i32 @i32_load(ptr noundef %49, i64 noundef %51)
  store i32 %52, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %53, ptr %9, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %54, ptr %16, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %16, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 3
  %60 = call i32 @i32_load8_u(ptr noundef %56, i64 noundef %59)
  store i32 %60, ptr %16, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %61, ptr %12, align 4, !tbaa !9
  %62 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %62, ptr %16, align 4, !tbaa !9
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = call i32 @i32_load8_u(ptr noundef %64, i64 noundef %66)
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %68, label %72 [
    i32 0, label %69
    i32 1, label %70
    i32 2, label %71
  ]

69:                                               ; preds = %5
  br label %73

70:                                               ; preds = %5
  br label %124

71:                                               ; preds = %5
  br label %236

72:                                               ; preds = %5
  br label %273

73:                                               ; preds = %69
  %74 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  %77 = xor i1 %76, true
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %16, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %73
  br label %273

82:                                               ; preds = %73
  store i32 0, ptr %16, align 4, !tbaa !9
  %83 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %83, ptr %10, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %122, %82
  %85 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %85, ptr %16, align 4, !tbaa !9
  %86 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %86, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %18, align 4, !tbaa !9
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = call i32 @i32_load(ptr noundef %89, i64 noundef %91)
  store i32 %92, ptr %18, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %93, ptr %19, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x2C0x20void0x2A0x29(ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97)
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load ptr, ptr %6, 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 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %100, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %104, ptr %16, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %17, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = add i32 %107, %106
  store i32 %108, ptr %16, align 4, !tbaa !9
  %109 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %109, ptr %11, align 4, !tbaa !9
  %110 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %110, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %111 = load i32, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %16, align 4, !tbaa !9
  %114 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %114, ptr %10, align 4, !tbaa !9
  %115 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = icmp ne i32 %116, %117
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %84
  br label %84

123:                                              ; preds = %84
  br label %273

124:                                              ; preds = %70
  %125 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  %126 = load i32, ptr %16, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  %128 = xor i1 %127, true
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %16, align 4, !tbaa !9
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %124
  br label %273

133:                                              ; preds = %124
  store i32 0, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %134, ptr %10, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %234, %133
  %136 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %136, ptr %16, align 4, !tbaa !9
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = call i64 @i64_load(ptr noundef %138, i64 noundef %140)
  store i64 %141, ptr %21, align 8, !tbaa !11
  %142 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %142, ptr %15, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %143 = load i64, ptr %21, align 8, !tbaa !11
  %144 = load i64, ptr %22, align 8, !tbaa !11
  %145 = icmp uge i64 %143, %144
  %146 = zext i1 %145 to i32
  store i32 %146, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %215

149:                                              ; preds = %135
  %150 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %150, ptr %16, align 4, !tbaa !9
  %151 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %151, ptr %22, align 8, !tbaa !11
  %152 = load i64, ptr %22, align 8, !tbaa !11
  %153 = trunc i64 %152 to i32
  store i32 %153, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %154, ptr %18, align 4, !tbaa !9
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20void0x2A0x29(ptr noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158)
  store i32 %159, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %160, ptr %13, align 4, !tbaa !9
  %161 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %161, ptr %16, align 4, !tbaa !9
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = call i64 @i64_load(ptr noundef %163, i64 noundef %165)
  store i64 %166, ptr %21, align 8, !tbaa !11
  %167 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %167, ptr %15, align 8, !tbaa !11
  store i64 -844424930131969, ptr %22, align 8, !tbaa !11
  %168 = load i64, ptr %21, align 8, !tbaa !11
  %169 = load i64, ptr %22, align 8, !tbaa !11
  %170 = icmp ule i64 %168, %169
  %171 = zext i1 %170 to i32
  store i32 %171, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %174, label %175

174:                                              ; preds = %149
  br label %274

175:                                              ; preds = %149
  %176 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 12
  %182 = call i32 @i32_load(ptr noundef %178, i64 noundef %181)
  store i32 %182, ptr %16, align 4, !tbaa !9
  %183 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %185, ptr %17, align 4, !tbaa !9
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  store i64 %187, ptr %22, align 8, !tbaa !11
  %188 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %188, ptr %23, align 8, !tbaa !11
  store i64 -281474976710656, ptr %24, align 8, !tbaa !11
  %189 = load i64, ptr %24, align 8, !tbaa !11
  %190 = load i64, ptr %23, align 8, !tbaa !11
  %191 = and i64 %190, %189
  store i64 %191, ptr %23, align 8, !tbaa !11
  %192 = load i64, ptr %23, align 8, !tbaa !11
  %193 = load i64, ptr %22, align 8, !tbaa !11
  %194 = or i64 %193, %192
  store i64 %194, ptr %22, align 8, !tbaa !11
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %196, i64 noundef %198, i64 noundef %199)
  %200 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %200, ptr %16, align 4, !tbaa !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 117
  %206 = call i32 @i32_load8_u(ptr noundef %202, i64 noundef %205)
  store i32 %206, ptr %16, align 4, !tbaa !9
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = icmp ne i32 %207, 0
  %209 = xor i1 %208, true
  %210 = zext i1 %209 to i32
  store i32 %210, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %214

213:                                              ; preds = %175
  br label %292

214:                                              ; preds = %175
  br label %215

215:                                              ; preds = %214, %135
  %216 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %216, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %16, align 4, !tbaa !9
  %221 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %221, ptr %11, align 4, !tbaa !9
  %222 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %222, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %226, ptr %10, align 4, !tbaa !9
  %227 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %227, ptr %17, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = icmp ne i32 %228, %229
  %231 = zext i1 %230 to i32
  store i32 %231, ptr %16, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %215
  br label %135

235:                                              ; preds = %215
  br label %273

236:                                              ; preds = %71
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = icmp ne i32 %238, 0
  %240 = xor i1 %239, true
  %241 = zext i1 %240 to i32
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %236
  br label %273

245:                                              ; preds = %236
  store i32 0, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %246, ptr %10, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %271, %245
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %17, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3Aaccept0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x29(ptr noundef %250, i32 noundef %251, i32 noundef %252)
  %253 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %253, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %258, ptr %11, align 4, !tbaa !9
  %259 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %259, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %16, align 4, !tbaa !9
  %263 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %263, ptr %10, align 4, !tbaa !9
  %264 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %264, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = load i32, ptr %17, align 4, !tbaa !9
  %267 = icmp ne i32 %265, %266
  %268 = zext i1 %267 to i32
  store i32 %268, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %247
  br label %247

272:                                              ; preds = %247
  br label %273

273:                                              ; preds = %272, %244, %235, %132, %123, %81, %72
  br label %310

274:                                              ; preds = %174
  store i32 0, ptr %16, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %275, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %17, align 4, !tbaa !9
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %16, align 4, !tbaa !9
  %279 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %279, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %280 = load i32, ptr %18, align 4, !tbaa !9
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %17, align 4, !tbaa !9
  store i32 373, ptr %18, align 4, !tbaa !9
  %283 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %283, ptr %19, align 4, !tbaa !9
  store i32 49778, ptr %20, align 4, !tbaa !9
  %284 = load i32, ptr %20, align 4, !tbaa !9
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %19, align 4, !tbaa !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %18, align 4, !tbaa !9
  %291 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %287, i32 noundef %288, i32 noundef %289, i32 noundef %290, i32 noundef %291)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

292:                                              ; preds = %213
  store i32 0, ptr %16, align 4, !tbaa !9
  %293 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %293, ptr %11, align 4, !tbaa !9
  store i32 119101, 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 %11, align 4, !tbaa !9
  store i32 %297, ptr %17, align 4, !tbaa !9
  store i32 83995, ptr %18, align 4, !tbaa !9
  %298 = load i32, ptr %18, align 4, !tbaa !9
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %17, align 4, !tbaa !9
  store i32 22, ptr %18, align 4, !tbaa !9
  %301 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %301, ptr %19, align 4, !tbaa !9
  store i32 109806, ptr %20, align 4, !tbaa !9
  %302 = load i32, ptr %20, align 4, !tbaa !9
  %303 = load i32, ptr %19, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %19, align 4, !tbaa !9
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = load i32, ptr %16, align 4, !tbaa !9
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

310:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  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
  ret void
}

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3Aaccept0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x29(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, !12, i64 0}
!12 = !{!"long", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20hermes0x3A0x3Avm0x3A0x3ABaseVisitor0x3A0x3AvisitArray0x3Chermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x2C0x20false0x3E0x28hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x260x2C0x20char0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AMetadata0x3A0x3AArrayData0x20const0x260x29(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 40
  %7 = zext i32 %4 to i64
  %8 = add nuw nsw i64 %7, 1
  %9 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %8)
  %10 = add i32 %9, %3
  %11 = add nuw nsw i64 %7, 2
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %11)
  %13 = add i32 %12, %3
  %14 = zext i32 %13 to i64
  %15 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %14)
  %16 = add nuw nsw i64 %7, 3
  %17 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %16)
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %7)
  switch i32 %18, label %.loopexit [
    i32 0, label %19
    i32 1, label %25
    i32 2, label %48
  ]

19:                                               ; preds = %5
  %.not173 = icmp eq i32 %15, 0
  br i1 %.not173, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %19, %.preheader
  %.0163 = phi i32 [ %23, %.preheader ], [ %10, %19 ]
  %.0 = phi i32 [ %24, %.preheader ], [ 0, %19 ]
  %20 = zext i32 %.0163 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %20)
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3ACompressedPointer0x2C0x20void0x2A0x29(ptr noundef %0, i32 noundef %2, i32 noundef %21, i32 noundef %.0163) #4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %20, i32 noundef %22)
  %23 = add i32 %.0163, %17
  %24 = add nuw i32 %.0, 1
  %.not174 = icmp eq i32 %24, %15
  br i1 %.not174, label %.loopexit, label %.preheader

25:                                               ; preds = %5
  %.not170 = icmp eq i32 %15, 0
  br i1 %.not170, label %.loopexit, label %.preheader175

.preheader175:                                    ; preds = %25
  %26 = zext i32 %2 to i64
  %27 = add nuw nsw i64 %26, 12
  br label %28

28:                                               ; preds = %.preheader175, %45
  %.1164 = phi i32 [ %46, %45 ], [ %10, %.preheader175 ]
  %.1 = phi i32 [ %47, %45 ], [ 0, %.preheader175 ]
  %29 = zext i32 %.1164 to i64
  %30 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %29)
  %31 = icmp ugt i64 %30, -844424930131969
  br i1 %31, label %32, label %45

32:                                               ; preds = %28
  %33 = trunc i64 %30 to i32
  %34 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3AacceptHeap0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x2C0x20void0x2A0x29(ptr noundef %0, i32 noundef %2, i32 noundef %33, i32 noundef %.1164) #4
  %35 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %29)
  %36 = icmp ult i64 %35, -844424930131968
  br i1 %36, label %51, label %37

37:                                               ; preds = %32
  %38 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %39 = zext i32 %34 to i64
  %40 = and i64 %35, -281474976710656
  %41 = or disjoint i64 %40, %39
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %29, i64 noundef %41)
  %42 = zext i32 %38 to i64
  %43 = add nuw nsw i64 %42, 117
  %44 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %43)
  %.not171 = icmp eq i32 %44, 0
  br i1 %.not171, label %52, label %45

45:                                               ; preds = %37, %28
  %46 = add i32 %.1164, %17
  %47 = add nuw i32 %.1, 1
  %.not172 = icmp eq i32 %47, %15
  br i1 %.not172, label %.loopexit, label %28

48:                                               ; preds = %5
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %.loopexit, label %.preheader177

.preheader177:                                    ; preds = %48, %.preheader177
  %.2165 = phi i32 [ %49, %.preheader177 ], [ %10, %48 ]
  %.2 = phi i32 [ %50, %.preheader177 ], [ 0, %48 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3Aaccept0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x29(ptr noundef %0, i32 noundef %2, i32 noundef %.2165) #4
  %49 = add i32 %.2165, %17
  %50 = add nuw i32 %.2, 1
  %.not169 = icmp eq i32 %50, %15
  br i1 %.not169, label %.loopexit, label %.preheader177

51:                                               ; preds = %32
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118273, i32 noundef 83341, i32 noundef 373, i32 noundef 49778) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 119101, i32 noundef 83995, i32 noundef 22, i32 noundef 109806) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

.loopexit:                                        ; preds = %.preheader177, %45, %.preheader, %5, %19, %25, %48
  ret void
}

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AEvacAcceptor0x3Cfalse0x3E0x3A0x3Aaccept0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x260x29(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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass