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

; 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

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

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

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

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

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

65:                                               ; preds = %8
  %66 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %66, ptr %18, align 4, !tbaa !9
  %67 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %67, ptr %19, align 4, !tbaa !9
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = call i32 @i32_load(ptr noundef %69, i64 noundef %71)
  store i32 %72, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %73 = load i32, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = add i32 %74, %73
  store i32 %75, ptr %19, align 4, !tbaa !9
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %18, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %77, i64 noundef %79, i32 noundef %80)
  br label %81

81:                                               ; preds = %65, %8
  %82 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %82, ptr %18, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %83, ptr %19, align 4, !tbaa !9
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %19, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 4
  %89 = call i32 @i32_load(ptr noundef %85, i64 noundef %88)
  store i32 %89, ptr %19, align 4, !tbaa !9
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 20
  %95 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %91, i64 noundef %94, i32 noundef %95)
  %96 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %96, ptr %18, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %97, ptr %19, align 4, !tbaa !9
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = call i32 @i32_load(ptr noundef %99, i64 noundef %101)
  store i32 %102, ptr %19, align 4, !tbaa !9
  %103 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %103, ptr %13, align 4, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 16
  %109 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %105, i64 noundef %108, i32 noundef %109)
  %110 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %110, ptr %18, align 4, !tbaa !9
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %129

113:                                              ; preds = %81
  %114 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %114, ptr %18, align 4, !tbaa !9
  %115 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %115, ptr %19, align 4, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = call i32 @i32_load(ptr noundef %117, i64 noundef %119)
  store i32 %120, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %121 = load i32, ptr %20, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = add i32 %122, %121
  store i32 %123, ptr %19, align 4, !tbaa !9
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %127, i32 noundef %128)
  br label %129

129:                                              ; preds = %113, %81
  %130 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %131, ptr %19, align 4, !tbaa !9
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 4
  %137 = call i32 @i32_load(ptr noundef %133, i64 noundef %136)
  store i32 %137, ptr %19, align 4, !tbaa !9
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %18, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = add i64 %141, 12
  %143 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %139, i64 noundef %142, i32 noundef %143)
  %144 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = call i32 @i32_load(ptr noundef %147, i64 noundef %149)
  store i32 %150, ptr %19, align 4, !tbaa !9
  %151 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %151, ptr %13, align 4, !tbaa !9
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 8
  %157 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %153, i64 noundef %156, i32 noundef %157)
  %158 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %158, ptr %18, align 4, !tbaa !9
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %177

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

177:                                              ; preds = %161, %129
  %178 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %178, ptr %18, align 4, !tbaa !9
  %179 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %179, ptr %19, align 4, !tbaa !9
  %180 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %180, ptr %20, align 4, !tbaa !9
  store i32 24, ptr %21, align 4, !tbaa !9
  %181 = load i32, ptr %21, align 4, !tbaa !9
  %182 = load i32, ptr %20, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %20, align 4, !tbaa !9
  %184 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %184, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %185 = load i32, ptr %22, align 4, !tbaa !9
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %21, align 4, !tbaa !9
  %188 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %188, ptr %22, align 4, !tbaa !9
  store i32 8, ptr %23, align 4, !tbaa !9
  %189 = load i32, ptr %23, align 4, !tbaa !9
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %22, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %192, ptr %23, align 4, !tbaa !9
  %193 = load ptr, ptr %9, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %23, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = call i32 @i32_load(ptr noundef %194, i64 noundef %196)
  store i32 %197, ptr %23, align 4, !tbaa !9
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = load i32, ptr %19, align 4, !tbaa !9
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %23, align 4, !tbaa !9
  %205 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayIterator0x3A0x3AJSArrayIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(ptr noundef %198, i32 noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204)
  store i32 %205, ptr %18, align 4, !tbaa !9
  %206 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %206, ptr %13, align 4, !tbaa !9
  %207 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %207, ptr %18, align 4, !tbaa !9
  %208 = load ptr, ptr %9, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 8
  %213 = call i32 @i32_load(ptr noundef %209, i64 noundef %212)
  store i32 %213, ptr %18, align 4, !tbaa !9
  %214 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %18, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %233

217:                                              ; preds = %177
  %218 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %219, ptr %19, align 4, !tbaa !9
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = call i32 @i32_load(ptr noundef %221, i64 noundef %223)
  store i32 %224, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %225 = load i32, ptr %20, align 4, !tbaa !9
  %226 = load i32, ptr %19, align 4, !tbaa !9
  %227 = sub i32 %226, %225
  store i32 %227, ptr %19, align 4, !tbaa !9
  %228 = load ptr, ptr %9, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %18, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %229, i64 noundef %231, i32 noundef %232)
  br label %233

233:                                              ; preds = %217, %177
  %234 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %234, ptr %18, align 4, !tbaa !9
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %18, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = add i64 %238, 16
  %240 = call i32 @i32_load(ptr noundef %236, i64 noundef %239)
  store i32 %240, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %241, ptr %15, align 4, !tbaa !9
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %260

244:                                              ; preds = %233
  %245 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %245, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %246, ptr %19, align 4, !tbaa !9
  %247 = load ptr, ptr %9, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = call i32 @i32_load(ptr noundef %248, i64 noundef %250)
  store i32 %251, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %252 = load i32, ptr %20, align 4, !tbaa !9
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = sub i32 %253, %252
  store i32 %254, ptr %19, align 4, !tbaa !9
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %18, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %258, i32 noundef %259)
  br label %260

260:                                              ; preds = %244, %233
  %261 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %261, ptr %18, align 4, !tbaa !9
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %18, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = add i64 %265, 24
  %267 = call i32 @i32_load(ptr noundef %263, i64 noundef %266)
  store i32 %267, ptr %18, align 4, !tbaa !9
  %268 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %268, ptr %15, align 4, !tbaa !9
  %269 = load i32, ptr %18, align 4, !tbaa !9
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %287

271:                                              ; preds = %260
  %272 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %272, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %273, ptr %19, align 4, !tbaa !9
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %19, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = call i32 @i32_load(ptr noundef %275, i64 noundef %277)
  store i32 %278, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %279 = load i32, ptr %20, align 4, !tbaa !9
  %280 = load i32, ptr %19, align 4, !tbaa !9
  %281 = sub i32 %280, %279
  store i32 %281, ptr %19, align 4, !tbaa !9
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %18, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %283, i64 noundef %285, i32 noundef %286)
  br label %287

287:                                              ; preds = %271, %260
  %288 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %288, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %19, align 4, !tbaa !9
  %290 = load i32, ptr %18, align 4, !tbaa !9
  %291 = and i32 %290, %289
  store i32 %291, ptr %18, align 4, !tbaa !9
  %292 = load i32, ptr %18, align 4, !tbaa !9
  %293 = icmp ne i32 %292, 0
  %294 = xor i1 %293, true
  %295 = zext i1 %294 to i32
  store i32 %295, ptr %18, align 4, !tbaa !9
  %296 = load i32, ptr %18, align 4, !tbaa !9
  %297 = icmp ne i32 %296, 0
  br i1 %297, label %298, label %326

298:                                              ; preds = %287
  %299 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %299, ptr %18, align 4, !tbaa !9
  store i32 16777216, ptr %19, align 4, !tbaa !9
  %300 = load i32, ptr %18, align 4, !tbaa !9
  %301 = load i32, ptr %19, align 4, !tbaa !9
  %302 = icmp uge i32 %300, %301
  %303 = zext i1 %302 to i32
  store i32 %303, ptr %18, align 4, !tbaa !9
  %304 = load i32, ptr %18, align 4, !tbaa !9
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %307

306:                                              ; preds = %298
  br label %344

307:                                              ; preds = %298
  %308 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %308, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %309, ptr %19, align 4, !tbaa !9
  store i32 771751936, 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 = or i32 %311, %310
  store i32 %312, ptr %19, align 4, !tbaa !9
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 6
  %315 = load i32, ptr %18, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %314, i64 noundef %316, i32 noundef %317)
  %318 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %318, ptr %18, align 4, !tbaa !9
  store i32 32, ptr %19, align 4, !tbaa !9
  %319 = load i32, ptr %19, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %18, align 4, !tbaa !9
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = load ptr, ptr %9, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.w2c_hermes, ptr %323, i32 0, i32 3
  store i32 %322, ptr %324, align 8, !tbaa !11
  %325 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %325, ptr %18, align 4, !tbaa !9
  br label %362

326:                                              ; preds = %287
  store i32 0, ptr %18, align 4, !tbaa !9
  %327 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %327, ptr %17, align 4, !tbaa !9
  store i32 193621, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %19, align 4, !tbaa !9
  %329 = load i32, ptr %18, align 4, !tbaa !9
  %330 = add i32 %329, %328
  store i32 %330, ptr %18, align 4, !tbaa !9
  %331 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %331, ptr %19, align 4, !tbaa !9
  store i32 82339, ptr %20, align 4, !tbaa !9
  %332 = load i32, ptr %20, align 4, !tbaa !9
  %333 = load i32, ptr %19, align 4, !tbaa !9
  %334 = add i32 %333, %332
  store i32 %334, ptr %19, align 4, !tbaa !9
  store i32 57, ptr %20, align 4, !tbaa !9
  %335 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %335, ptr %21, align 4, !tbaa !9
  store i32 88934, ptr %22, align 4, !tbaa !9
  %336 = load i32, ptr %22, align 4, !tbaa !9
  %337 = load i32, ptr %21, align 4, !tbaa !9
  %338 = add i32 %337, %336
  store i32 %338, ptr %21, align 4, !tbaa !9
  %339 = load ptr, ptr %9, align 8, !tbaa !5
  %340 = load i32, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %19, align 4, !tbaa !9
  %342 = load i32, ptr %20, align 4, !tbaa !9
  %343 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

344:                                              ; preds = %306
  store i32 0, ptr %18, align 4, !tbaa !9
  %345 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %345, ptr %17, align 4, !tbaa !9
  store i32 196840, ptr %19, align 4, !tbaa !9
  %346 = load i32, ptr %19, align 4, !tbaa !9
  %347 = load i32, ptr %18, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %349, ptr %19, align 4, !tbaa !9
  store i32 82339, ptr %20, align 4, !tbaa !9
  %350 = load i32, ptr %20, align 4, !tbaa !9
  %351 = load i32, ptr %19, align 4, !tbaa !9
  %352 = add i32 %351, %350
  store i32 %352, ptr %19, align 4, !tbaa !9
  store i32 58, ptr %20, align 4, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %353, ptr %21, align 4, !tbaa !9
  store i32 88934, ptr %22, align 4, !tbaa !9
  %354 = load i32, ptr %22, align 4, !tbaa !9
  %355 = load i32, ptr %21, align 4, !tbaa !9
  %356 = add i32 %355, %354
  store i32 %356, ptr %21, align 4, !tbaa !9
  %357 = load ptr, ptr %9, align 8, !tbaa !5
  %358 = load i32, ptr %18, align 4, !tbaa !9
  %359 = load i32, ptr %19, align 4, !tbaa !9
  %360 = load i32, ptr %20, align 4, !tbaa !9
  %361 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %357, i32 noundef %358, i32 noundef %359, i32 noundef %360, i32 noundef %361)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

362:                                              ; preds = %307
  %363 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret i32 %363
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayIterator0x3A0x3AJSArrayIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 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 @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

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

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

20:                                               ; preds = %8
  %21 = zext i32 %18 to i64
  %22 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %21)
  %23 = add i32 %22, 1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %21, i32 noundef %23)
  br label %24

24:                                               ; preds = %20, %8
  %25 = zext i32 %5 to i64
  %26 = add nuw nsw i64 %25, 4
  %27 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %26)
  %28 = add nuw nsw i64 %16, 20
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %28, i32 noundef %27)
  %29 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %25)
  %30 = add nuw nsw i64 %16, 16
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %30, i32 noundef %29)
  %.not204 = icmp eq i32 %29, 0
  br i1 %.not204, label %35, label %31

31:                                               ; preds = %24
  %32 = zext i32 %29 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %32)
  %34 = add i32 %33, 1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %32, i32 noundef %34)
  br label %35

35:                                               ; preds = %31, %24
  %36 = zext i32 %6 to i64
  %37 = add nuw nsw i64 %36, 4
  %38 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %37)
  %39 = add nuw nsw i64 %16, 12
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %39, i32 noundef %38)
  %40 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %36)
  %41 = add nuw nsw i64 %16, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %41, i32 noundef %40)
  %.not205 = icmp eq i32 %40, 0
  br i1 %.not205, label %46, label %42

42:                                               ; preds = %35
  %43 = zext i32 %40 to i64
  %44 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %43)
  %45 = add i32 %44, 1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %43, i32 noundef %45)
  br label %46

46:                                               ; preds = %42, %35
  %47 = add i32 %10, -8
  %48 = add i32 %10, -16
  %49 = add i32 %10, -24
  %50 = zext i32 %7 to i64
  %51 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %50)
  %52 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayIterator0x3A0x3AJSArrayIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %51)
  %53 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %41)
  %.not206 = icmp eq i32 %53, 0
  br i1 %.not206, label %58, label %54

54:                                               ; preds = %46
  %55 = zext i32 %53 to i64
  %56 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %55)
  %57 = add i32 %56, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %55, i32 noundef %57)
  br label %58

58:                                               ; preds = %54, %46
  %59 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %30)
  %.not207 = icmp eq i32 %59, 0
  br i1 %.not207, label %64, label %60

60:                                               ; preds = %58
  %61 = zext i32 %59 to i64
  %62 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %61)
  %63 = add i32 %62, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %61, i32 noundef %63)
  br label %64

64:                                               ; preds = %60, %58
  %65 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %19)
  %.not208 = icmp eq i32 %65, 0
  br i1 %.not208, label %70, label %66

66:                                               ; preds = %64
  %67 = zext i32 %65 to i64
  %68 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %67)
  %69 = add i32 %68, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %67, i32 noundef %69)
  br label %70

70:                                               ; preds = %66, %64
  %71 = and i32 %2, 1
  %.not209 = icmp eq i32 %71, 0
  br i1 %.not209, label %72, label %77

72:                                               ; preds = %70
  %73 = icmp ugt i32 %2, 16777215
  br i1 %73, label %78, label %74

74:                                               ; preds = %72
  %75 = or disjoint i32 %2, 771751936
  %76 = zext i32 %52 to i64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %76, i32 noundef %75)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %52

77:                                               ; preds = %70
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 193621, i32 noundef 82339, i32 noundef 57, i32 noundef 88934) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

78:                                               ; preds = %72
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 196840, i32 noundef 82339, i32 noundef 58, i32 noundef 88934) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayIterator0x3A0x3AJSArrayIterator0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AIterationKind0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

attributes #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 = { 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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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