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

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

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

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

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

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

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

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

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

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

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

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

declare void @w2c_hermes_abort(ptr noundef) #3

declare void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef, i32 noundef, i64 noundef) #3

declare void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitUInt80x28long0x20long0x29(ptr noundef, i32 noundef, i64 noundef) #3

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

61:                                               ; preds = %7
  %62 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %62, ptr %20, align 4, !tbaa !9
  store i32 76, ptr %21, align 4, !tbaa !9
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %64, i64 noundef %66, i32 noundef %67)
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %20, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %69, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = load i32, ptr %21, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %21, align 4, !tbaa !9
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %20, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = add i64 %76, 4
  %78 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %74, i64 noundef %77, i32 noundef %78)
  br label %203

79:                                               ; preds = %7
  %80 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %80, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %20, align 4, !tbaa !9
  %84 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %84, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = load i32, ptr %21, align 4, !tbaa !9
  %87 = icmp slt i32 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %20, align 4, !tbaa !9
  %89 = load i32, ptr %20, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %79
  br label %230

92:                                               ; preds = %79
  %93 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %93, ptr %20, align 4, !tbaa !9
  store i32 2147483647, ptr %21, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %94, ptr %22, align 4, !tbaa !9
  %95 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %95, ptr %23, align 4, !tbaa !9
  %96 = load i32, ptr %23, align 4, !tbaa !9
  %97 = load i32, ptr %22, align 4, !tbaa !9
  %98 = sub i32 %97, %96
  store i32 %98, ptr %22, align 4, !tbaa !9
  %99 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %99, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %100 = load i32, ptr %23, align 4, !tbaa !9
  %101 = and i32 %100, 31
  %102 = load i32, ptr %22, align 4, !tbaa !9
  %103 = shl i32 %102, %101
  store i32 %103, ptr %22, align 4, !tbaa !9
  %104 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %104, ptr %19, align 4, !tbaa !9
  %105 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %105, ptr %23, align 4, !tbaa !9
  %106 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %106, ptr %24, align 4, !tbaa !9
  %107 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %107, ptr %25, align 4, !tbaa !9
  %108 = load i32, ptr %24, align 4, !tbaa !9
  %109 = load i32, ptr %25, align 4, !tbaa !9
  %110 = icmp ult i32 %108, %109
  %111 = zext i1 %110 to i32
  store i32 %111, ptr %24, align 4, !tbaa !9
  %112 = load i32, ptr %24, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %92
  %115 = load i32, ptr %22, align 4, !tbaa !9
  br label %118

116:                                              ; preds = %92
  %117 = load i32, ptr %23, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %116, %114
  %119 = phi i32 [ %115, %114 ], [ %117, %116 ]
  store i32 %119, ptr %22, align 4, !tbaa !9
  %120 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %120, ptr %23, align 4, !tbaa !9
  store i32 1073741823, ptr %24, align 4, !tbaa !9
  %121 = load i32, ptr %23, align 4, !tbaa !9
  %122 = load i32, ptr %24, align 4, !tbaa !9
  %123 = icmp uge i32 %121, %122
  %124 = zext i1 %123 to i32
  store i32 %124, ptr %23, align 4, !tbaa !9
  %125 = load i32, ptr %23, align 4, !tbaa !9
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %129

127:                                              ; preds = %118
  %128 = load i32, ptr %21, align 4, !tbaa !9
  br label %131

129:                                              ; preds = %118
  %130 = load i32, ptr %22, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %129, %127
  %132 = phi i32 [ %128, %127 ], [ %130, %129 ]
  store i32 %132, ptr %21, align 4, !tbaa !9
  %133 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %21, align 4, !tbaa !9
  %135 = icmp ne i32 %134, 0
  br i1 %135, label %136, label %141

136:                                              ; preds = %131
  %137 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %137, ptr %21, align 4, !tbaa !9
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = load i32, ptr %21, align 4, !tbaa !9
  %140 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %138, i32 noundef %139)
  store i32 %140, ptr %21, align 4, !tbaa !9
  br label %142

141:                                              ; preds = %131
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %141, %136
  %143 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %143, ptr %15, align 4, !tbaa !9
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %20, align 4, !tbaa !9
  %147 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %147, ptr %19, align 4, !tbaa !9
  store i32 76, ptr %21, align 4, !tbaa !9
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %20, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %149, i64 noundef %151, i32 noundef %152)
  %153 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %153, ptr %20, align 4, !tbaa !9
  %154 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %154, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %155, ptr %22, align 4, !tbaa !9
  %156 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %156, ptr %23, align 4, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = load i32, ptr %21, align 4, !tbaa !9
  %159 = load i32, ptr %22, align 4, !tbaa !9
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = call i32 @w2c_hermes_memmove(ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160)
  store i32 %161, ptr %21, align 4, !tbaa !9
  %162 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %162, ptr %15, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %163, ptr %22, align 4, !tbaa !9
  %164 = load i32, ptr %22, align 4, !tbaa !9
  %165 = load i32, ptr %21, align 4, !tbaa !9
  %166 = add i32 %165, %164
  store i32 %166, ptr %21, align 4, !tbaa !9
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %20, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 8
  %172 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %168, i64 noundef %171, i32 noundef %172)
  %173 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %173, ptr %20, align 4, !tbaa !9
  %174 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %174, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %175 = load i32, ptr %22, align 4, !tbaa !9
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %21, align 4, !tbaa !9
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 4
  %183 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %179, i64 noundef %182, i32 noundef %183)
  %184 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %184, ptr %20, align 4, !tbaa !9
  %185 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %185, ptr %21, align 4, !tbaa !9
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %20, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %187, i64 noundef %189, i32 noundef %190)
  %191 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %191, ptr %20, align 4, !tbaa !9
  %192 = load i32, ptr %20, align 4, !tbaa !9
  %193 = icmp ne i32 %192, 0
  %194 = xor i1 %193, true
  %195 = zext i1 %194 to i32
  store i32 %195, ptr %20, align 4, !tbaa !9
  %196 = load i32, ptr %20, align 4, !tbaa !9
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %199

198:                                              ; preds = %142
  br label %203

199:                                              ; preds = %142
  %200 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %200, ptr %20, align 4, !tbaa !9
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %201, i32 noundef %202)
  br label %203

203:                                              ; preds = %199, %198, %61
  %204 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %204, ptr %20, align 4, !tbaa !9
  %205 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %205, ptr %26, align 8, !tbaa !11
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = load i64, ptr %26, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %206, i32 noundef %207, i64 noundef %208)
  %209 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %209, ptr %20, align 4, !tbaa !9
  %210 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %210, ptr %26, align 8, !tbaa !11
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = load i64, ptr %26, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %211, i32 noundef %212, i64 noundef %213)
  %214 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %214, ptr %20, align 4, !tbaa !9
  %215 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %215, ptr %26, align 8, !tbaa !11
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = load i32, ptr %20, align 4, !tbaa !9
  %218 = load i64, ptr %26, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %216, i32 noundef %217, i64 noundef %218)
  %219 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %219, ptr %20, align 4, !tbaa !9
  %220 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %220, ptr %26, align 8, !tbaa !11
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = load i32, ptr %20, align 4, !tbaa !9
  %223 = load i64, ptr %26, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %221, i32 noundef %222, i64 noundef %223)
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %20, align 4, !tbaa !9
  %225 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %225, ptr %26, align 8, !tbaa !11
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = load i32, ptr %20, align 4, !tbaa !9
  %228 = load i64, ptr %26, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitUInt80x28long0x20long0x29(ptr noundef %226, i32 noundef %227, i64 noundef %228)
  %229 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %229, ptr %20, align 4, !tbaa !9
  br label %232

230:                                              ; preds = %91
  %231 = load ptr, ptr %8, align 8, !tbaa !5
  call void @w2c_hermes_abort(ptr noundef %231)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

232:                                              ; preds = %203
  %233 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  ret i32 %233
}

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_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 @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

declare void @w2c_hermes_abort(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitPutOwnGetterSetterByVal0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #3 {
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %1 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %13 = sub i32 %11, %12
  %14 = add nuw nsw i64 %9, 8
  %15 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = icmp ugt i32 %15, %11
  br i1 %16, label %17, label %20

17:                                               ; preds = %7
  %18 = zext i32 %11 to i64
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %18, i32 noundef 76)
  %19 = add nuw i32 %11, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %19)
  br label %38

20:                                               ; preds = %7
  %21 = add i32 %13, 1
  %22 = icmp slt i32 %21, 0
  br i1 %22, label %39, label %23

23:                                               ; preds = %20
  %24 = sub i32 %15, %12
  %25 = shl i32 %24, 1
  %26 = tail call i32 @llvm.umax.i32(i32 %21, i32 %25)
  %27 = icmp ugt i32 %24, 1073741822
  %28 = select i1 %27, i32 2147483647, i32 %26
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %31, label %29

29:                                               ; preds = %23
  %30 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %28) #5
  br label %31

31:                                               ; preds = %23, %29
  %.0 = phi i32 [ %30, %29 ], [ 0, %23 ]
  %32 = add i32 %.0, %13
  %33 = zext i32 %32 to i64
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %33, i32 noundef 76)
  %34 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %.0, i32 noundef %12, i32 noundef %13) #5
  %35 = add i32 %34, %28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %14, i32 noundef %35)
  %36 = add i32 %32, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %10, i32 noundef %36)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %9, i32 noundef %34)
  %.not136 = icmp eq i32 %12, 0
  br i1 %.not136, label %38, label %37

37:                                               ; preds = %31
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %12) #5
  br label %38

38:                                               ; preds = %31, %37, %17
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %2) #5
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %3) #5
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %4) #5
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitReg80x28long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %5) #5
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitUInt80x28long0x20long0x29(ptr noundef %0, i32 noundef %1, i64 noundef %6) #5
  ret i32 %13

39:                                               ; preds = %20
  tail call void @w2c_hermes_abort(ptr noundef %0) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass