; 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

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_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef, i32 noundef, i32 noundef) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSMapIteratorImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29500x3E0x3A0x3AinitializeIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSMapImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29480x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(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 i64, align 8
  %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 i64, align 8
  %19 = 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 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %20 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %20, ptr %13, align 4, !tbaa !9
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 6
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = add i64 %24, 4
  %26 = call i32 @i32_load(ptr noundef %22, i64 noundef %25)
  store i32 %26, ptr %13, 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 %13, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = call i64 @i64_load(ptr noundef %28, i64 noundef %30)
  store i64 %31, ptr %18, align 8, !tbaa !11
  %32 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %32, ptr %12, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %33 = load i64, ptr %18, align 8, !tbaa !11
  %34 = load i64, ptr %19, align 8, !tbaa !11
  %35 = and i64 %34, 63
  %36 = ashr i64 %33, %35
  store i64 %36, ptr %18, align 8, !tbaa !11
  %37 = load i64, ptr %18, align 8, !tbaa !11
  %38 = trunc i64 %37 to i32
  store i32 %38, ptr %13, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = icmp eq i32 %39, %40
  %42 = zext i1 %41 to i32
  store i32 %42, ptr %13, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %147

45:                                               ; preds = %5
  %46 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %46, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %47 = load i64, ptr %18, align 8, !tbaa !11
  %48 = load i64, ptr %19, align 8, !tbaa !11
  %49 = icmp ule i64 %47, %48
  %50 = zext i1 %49 to i32
  store i32 %50, ptr %13, align 4, !tbaa !9
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %45
  br label %165

54:                                               ; preds = %45
  %55 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %55, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = add i32 %57, %56
  store i32 %58, ptr %13, align 4, !tbaa !9
  %59 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %59, ptr %11, align 4, !tbaa !9
  %60 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %60, ptr %18, align 8, !tbaa !11
  %61 = load i64, ptr %18, align 8, !tbaa !11
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %13, align 4, !tbaa !9
  %63 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %63, ptr %9, align 4, !tbaa !9
  %64 = load i32, ptr %13, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %81

66:                                               ; preds = %54
  %67 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %69, i32 noundef %70, i32 noundef %71)
  store i32 %72, ptr %13, align 4, !tbaa !9
  %73 = load i32, ptr %13, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  %75 = xor i1 %74, true
  %76 = zext i1 %75 to i32
  store i32 %76, ptr %13, align 4, !tbaa !9
  %77 = load i32, ptr %13, align 4, !tbaa !9
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %66
  br label %183

80:                                               ; preds = %66
  br label %81

81:                                               ; preds = %80, %54
  %82 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %82, ptr %13, align 4, !tbaa !9
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %83, i32 noundef %84)
  store i32 %85, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %81
  br label %201

89:                                               ; preds = %81
  %90 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %90, ptr %13, align 4, !tbaa !9
  store i32 1396, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = call i32 @i32_load(ptr noundef %95, i64 noundef %97)
  store i32 %98, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %99, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = add i32 %101, %100
  store i32 %102, ptr %14, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %103, ptr %8, align 4, !tbaa !9
  store i32 -4194304, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = load i32, ptr %14, align 4, !tbaa !9
  %106 = and i32 %105, %104
  store i32 %106, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = icmp ne i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %121

113:                                              ; preds = %89
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %13, align 4, !tbaa !9
  %115 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %115, ptr %14, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %116, ptr %15, align 4, !tbaa !9
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120)
  br label %121

121:                                              ; preds = %113, %89
  %122 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %122, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %123, ptr %14, align 4, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %13, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 36
  %129 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %131, ptr %14, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %13, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 28
  %137 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %138, ptr %13, align 4, !tbaa !9
  %139 = load i32, ptr %13, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  %141 = xor i1 %140, true
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %13, align 4, !tbaa !9
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %121
  br label %219

146:                                              ; preds = %121
  br label %237

147:                                              ; preds = %5
  store i32 0, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %148, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = load i32, ptr %13, align 4, !tbaa !9
  %151 = add i32 %150, %149
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %152, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = load i32, ptr %14, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %16, align 4, !tbaa !9
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = load i32, ptr %13, align 4, !tbaa !9
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = load i32, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

165:                                              ; preds = %53
  store i32 0, ptr %13, align 4, !tbaa !9
  %166 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %166, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %170, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %174 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %174, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %175 = load i32, ptr %17, align 4, !tbaa !9
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %16, align 4, !tbaa !9
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

183:                                              ; preds = %79
  store i32 0, ptr %13, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %184, ptr %7, align 4, !tbaa !9
  store i32 147378, ptr %14, align 4, !tbaa !9
  %185 = load i32, ptr %14, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %13, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %14, align 4, !tbaa !9
  store i32 83763, ptr %15, align 4, !tbaa !9
  %189 = load i32, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %14, align 4, !tbaa !9
  store i32 39, ptr %15, align 4, !tbaa !9
  %192 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %192, ptr %16, align 4, !tbaa !9
  store i32 34798, ptr %17, align 4, !tbaa !9
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = load i32, ptr %13, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

201:                                              ; preds = %88
  store i32 0, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %202, ptr %7, align 4, !tbaa !9
  store i32 200002, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = load i32, ptr %13, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %13, align 4, !tbaa !9
  %206 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %206, ptr %14, align 4, !tbaa !9
  store i32 86379, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %14, align 4, !tbaa !9
  store i32 182, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %210, ptr %16, align 4, !tbaa !9
  store i32 50413, ptr %17, align 4, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

219:                                              ; preds = %145
  store i32 0, ptr %13, align 4, !tbaa !9
  %220 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %220, ptr %7, align 4, !tbaa !9
  store i32 184167, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = load i32, ptr %13, align 4, !tbaa !9
  %223 = add i32 %222, %221
  store i32 %223, ptr %13, align 4, !tbaa !9
  %224 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %224, ptr %14, align 4, !tbaa !9
  store i32 82273, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = load i32, ptr %14, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %14, align 4, !tbaa !9
  store i32 197, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %228, ptr %16, align 4, !tbaa !9
  store i32 47990, ptr %17, align 4, !tbaa !9
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = add i32 %230, %229
  store i32 %231, ptr %16, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = load i32, ptr %13, align 4, !tbaa !9
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

237:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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}


; 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

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_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSMapIteratorImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29500x3E0x3A0x3AinitializeIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSMapImpl0x3C0x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29480x3E0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(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 %3 to i64
  %8 = add nuw nsw i64 %7, 4
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = zext i32 %9 to i64
  %11 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %10)
  %12 = icmp ugt i64 %11, -281474976710657
  br i1 %12, label %13, label %31

13:                                               ; preds = %5
  %14 = add i32 %2, 808
  %15 = trunc i64 %11 to i32
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %18, label %16

16:                                               ; preds = %13
  %17 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %14, i32 noundef %15) #4
  %.not139 = icmp eq i32 %17, 0
  br i1 %.not139, label %32, label %18

18:                                               ; preds = %16, %13
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %0, i32 noundef %14) #4
  %.not140 = icmp eq i32 %19, 0
  br i1 %.not140, label %20, label %33

20:                                               ; preds = %18
  %21 = add i32 %2, 1396
  %22 = zext i32 %21 to i64
  %23 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %22)
  %24 = add i32 %1, 28
  %25 = and i32 %24, -4194304
  %.not141 = icmp eq i32 %23, %25
  br i1 %.not141, label %27, label %26

26:                                               ; preds = %20
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef %0, i32 noundef %14, i32 noundef %24, i32 noundef %15) #4
  br label %27

27:                                               ; preds = %26, %20
  %28 = zext i32 %1 to i64
  %29 = add nuw nsw i64 %28, 36
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %29, i32 noundef %4)
  %30 = add nuw nsw i64 %28, 28
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %30, i32 noundef %15)
  br i1 %.not, label %34, label %35

31:                                               ; preds = %5
  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

32:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147378, i32 noundef 83763, i32 noundef 39, i32 noundef 34798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

33:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 200002, i32 noundef 86379, i32 noundef 182, i32 noundef 50413) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

34:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 184167, i32 noundef 82273, i32 noundef 197, i32 noundef 47990) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

35:                                               ; preds = %27
  ret void
}

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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass