; 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

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) #1

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

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

; 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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCreateArgumentsInst0x280x29(ptr noundef %0, i32 noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i64, 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 i64, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  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 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i32 80, ptr %10, align 4, !tbaa !9
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = load i32, ptr %10, align 4, !tbaa !9
  %19 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %17, i32 noundef %18)
  store i32 %19, ptr %10, align 4, !tbaa !9
  %20 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %20, ptr %5, align 4, !tbaa !9
  store i64 0, ptr %15, align 8, !tbaa !11
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 6
  %23 = load i32, ptr %10, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = add i64 %24, 68
  %26 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %22, i64 noundef %25, i64 noundef %26)
  %27 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %27, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = add i64 %31, 36
  %33 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %29, i64 noundef %32, i32 noundef %33)
  %34 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %34, ptr %10, align 4, !tbaa !9
  store i32 55, ptr %11, align 4, !tbaa !9
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %10, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 8
  %40 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %36, i64 noundef %39, i32 noundef %40)
  %41 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %41, ptr %10, align 4, !tbaa !9
  store i64 8589934592, ptr %15, align 8, !tbaa !11
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = add i64 %45, 20
  %47 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %43, i64 noundef %46, i64 noundef %47)
  %48 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %48, ptr %10, align 4, !tbaa !9
  store i64 0, ptr %15, align 8, !tbaa !11
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %50, i64 noundef %52, i64 noundef %53)
  %54 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %54, ptr %10, align 4, !tbaa !9
  store i32 458880, ptr %11, align 4, !tbaa !9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 10
  %60 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %56, i64 noundef %59, i32 noundef %60)
  %61 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %61, ptr %10, align 4, !tbaa !9
  store i64 8589934592, ptr %15, align 8, !tbaa !11
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %10, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 44
  %67 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %63, i64 noundef %66, i64 noundef %67)
  %68 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %68, ptr %10, align 4, !tbaa !9
  %69 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %69, ptr %11, align 4, !tbaa !9
  store i32 52, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %11, align 4, !tbaa !9
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = add i64 %76, 40
  %78 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %74, i64 noundef %77, i32 noundef %78)
  %79 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %79, ptr %10, align 4, !tbaa !9
  %80 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  store i32 28, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %11, align 4, !tbaa !9
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 16
  %89 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %85, i64 noundef %88, i32 noundef %89)
  %90 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %90, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = add i64 %94, 76
  %96 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %92, i64 noundef %95, i32 noundef %96)
  %97 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %97, ptr %10, align 4, !tbaa !9
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 8
  %103 = call i32 @i32_load(ptr noundef %99, i64 noundef %102)
  store i32 %103, ptr %10, align 4, !tbaa !9
  %104 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %104, ptr %7, align 4, !tbaa !9
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %256

107:                                              ; preds = %2
  %108 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %108, ptr %10, align 4, !tbaa !9
  %109 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %109, ptr %11, align 4, !tbaa !9
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 44
  %115 = call i32 @i32_load(ptr noundef %111, i64 noundef %114)
  store i32 %115, ptr %11, align 4, !tbaa !9
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 136
  %121 = call i64 @i64_load(ptr noundef %117, i64 noundef %120)
  store i64 %121, ptr %15, align 8, !tbaa !11
  %122 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %122, ptr %9, align 8, !tbaa !11
  store i64 1095216660480, ptr %16, align 8, !tbaa !11
  %123 = load i64, ptr %16, align 8, !tbaa !11
  %124 = load i64, ptr %15, align 8, !tbaa !11
  %125 = and i64 %124, %123
  store i64 %125, ptr %15, align 8, !tbaa !11
  store i64 0, ptr %16, align 8, !tbaa !11
  %126 = load i64, ptr %15, align 8, !tbaa !11
  %127 = load i64, ptr %16, align 8, !tbaa !11
  %128 = icmp ne i64 %126, %127
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %11, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %144

132:                                              ; preds = %107
  %133 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %133, ptr %11, align 4, !tbaa !9
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %11, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 4
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %11, align 4, !tbaa !9
  %140 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %140, ptr %6, align 4, !tbaa !9
  %141 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %141, ptr %15, align 8, !tbaa !11
  %142 = load i64, ptr %15, align 8, !tbaa !11
  %143 = trunc i64 %142 to i32
  store i32 %143, ptr %11, align 4, !tbaa !9
  br label %174

144:                                              ; preds = %107
  store i32 0, ptr %11, align 4, !tbaa !9
  %145 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 4
  %151 = call i32 @i32_load(ptr noundef %147, i64 noundef %150)
  store i32 %151, ptr %12, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %152, ptr %8, align 4, !tbaa !9
  %153 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %153, ptr %13, align 4, !tbaa !9
  store i32 36, ptr %14, align 4, !tbaa !9
  %154 = load i32, ptr %14, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = add i32 %155, %154
  store i32 %156, ptr %13, align 4, !tbaa !9
  %157 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %157, ptr %6, align 4, !tbaa !9
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = icmp eq i32 %158, %159
  %161 = zext i1 %160 to i32
  store i32 %161, ptr %12, align 4, !tbaa !9
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %144
  br label %174

165:                                              ; preds = %144
  %166 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %166, ptr %11, align 4, !tbaa !9
  %167 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %167, ptr %6, align 4, !tbaa !9
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %11, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 76
  %173 = call i32 @i32_load(ptr noundef %169, i64 noundef %172)
  store i32 %173, ptr %11, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %165, %164, %132
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 76
  %180 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %176, i64 noundef %179, i32 noundef %180)
  %181 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %181, ptr %10, align 4, !tbaa !9
  %182 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %182, ptr %11, align 4, !tbaa !9
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %11, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = add i64 %186, 12
  %188 = call i32 @i32_load(ptr noundef %184, i64 noundef %187)
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 72
  %194 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %193, i32 noundef %194)
  %195 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %195, ptr %10, align 4, !tbaa !9
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %10, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 16
  %201 = call i32 @i32_load(ptr noundef %197, i64 noundef %200)
  store i32 %201, ptr %10, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %4, align 4, !tbaa !9
  %203 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %203, ptr %10, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %11, align 4, !tbaa !9
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %10, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 36
  %210 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %211, ptr %10, align 4, !tbaa !9
  %212 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %212, ptr %11, align 4, !tbaa !9
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %10, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = add i64 %216, 68
  %218 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %217, i32 noundef %218)
  %219 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %219, ptr %10, align 4, !tbaa !9
  %220 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %220, ptr %11, align 4, !tbaa !9
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %11, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = call i32 @i32_load(ptr noundef %222, i64 noundef %224)
  store i32 %225, ptr %11, align 4, !tbaa !9
  %226 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %226, ptr %4, align 4, !tbaa !9
  %227 = load ptr, ptr %3, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %228, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %232, ptr %10, align 4, !tbaa !9
  %233 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %233, ptr %11, align 4, !tbaa !9
  %234 = load ptr, ptr %3, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %10, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = add i64 %237, 4
  %239 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %235, i64 noundef %238, i32 noundef %239)
  %240 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %240, ptr %10, align 4, !tbaa !9
  %241 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %241, ptr %11, align 4, !tbaa !9
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %10, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 4
  %247 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %243, i64 noundef %246, i32 noundef %247)
  %248 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %248, ptr %10, align 4, !tbaa !9
  %249 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %249, ptr %11, align 4, !tbaa !9
  %250 = load ptr, ptr %3, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %10, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %251, i64 noundef %253, i32 noundef %254)
  %255 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %255, ptr %10, align 4, !tbaa !9
  br label %274

256:                                              ; preds = %2
  store i32 0, ptr %10, align 4, !tbaa !9
  %257 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %257, ptr %5, align 4, !tbaa !9
  store i32 152722, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %11, align 4, !tbaa !9
  %259 = load i32, ptr %10, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %10, align 4, !tbaa !9
  %261 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %261, ptr %11, align 4, !tbaa !9
  store i32 80936, ptr %12, align 4, !tbaa !9
  %262 = load i32, ptr %12, align 4, !tbaa !9
  %263 = load i32, ptr %11, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %11, align 4, !tbaa !9
  store i32 228, ptr %12, align 4, !tbaa !9
  %265 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %265, ptr %13, align 4, !tbaa !9
  store i32 65834, ptr %14, align 4, !tbaa !9
  %266 = load i32, ptr %14, align 4, !tbaa !9
  %267 = load i32, ptr %13, align 4, !tbaa !9
  %268 = add i32 %267, %266
  store i32 %268, ptr %13, align 4, !tbaa !9
  %269 = load ptr, ptr %3, align 8, !tbaa !5
  %270 = load i32, ptr %10, align 4, !tbaa !9
  %271 = load i32, ptr %11, align 4, !tbaa !9
  %272 = load i32, ptr %12, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

274:                                              ; preds = %174
  %275 = load i32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 %275
}

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

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 #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCreateArgumentsInst0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 80) #4
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %3 to i64
  %6 = add nuw nsw i64 %5, 68
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %6, i64 noundef 0)
  %7 = add nuw nsw i64 %5, 36
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %7, i32 noundef 0)
  %8 = add nuw nsw i64 %5, 8
  tail call void @i32_store8(ptr noundef nonnull %4, i64 noundef %8, i32 noundef 55)
  %9 = add nuw nsw i64 %5, 20
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %9, i64 noundef 8589934592)
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %5, i64 noundef 0)
  %10 = add nuw nsw i64 %5, 10
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %10, i32 noundef 458880)
  %11 = add nuw nsw i64 %5, 44
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %11, i64 noundef 8589934592)
  %12 = add i32 %3, 52
  %13 = add nuw nsw i64 %5, 40
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %13, i32 noundef %12)
  %14 = add i32 %3, 28
  %15 = add nuw nsw i64 %5, 16
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %15, i32 noundef %14)
  %16 = add nuw nsw i64 %5, 76
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %16, i32 noundef 0)
  %17 = zext i32 %1 to i64
  %18 = add nuw nsw i64 %17, 8
  %19 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %18)
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %50, label %20

20:                                               ; preds = %2
  %21 = zext i32 %19 to i64
  %22 = add nuw nsw i64 %21, 44
  %23 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %22)
  %24 = zext i32 %23 to i64
  %25 = add nuw nsw i64 %24, 136
  %26 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %25)
  %27 = and i64 %26, 1095216660480
  %.not152 = icmp eq i64 %27, 0
  %28 = add nuw nsw i64 %17, 4
  %29 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %28)
  br i1 %.not152, label %32, label %30

30:                                               ; preds = %20
  %31 = trunc i64 %26 to i32
  br label %39

32:                                               ; preds = %20
  %33 = add i32 %19, 36
  %34 = icmp eq i32 %29, %33
  br i1 %34, label %39, label %35

35:                                               ; preds = %32
  %36 = zext i32 %29 to i64
  %37 = add nuw nsw i64 %36, 76
  %38 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %37)
  br label %39

39:                                               ; preds = %32, %35, %30
  %.0 = phi i32 [ %31, %30 ], [ 0, %32 ], [ %38, %35 ]
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %16, i32 noundef %.0)
  %40 = add nuw nsw i64 %17, 12
  %41 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %40)
  %42 = add nuw nsw i64 %5, 72
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %42, i32 noundef %41)
  %43 = add nuw nsw i64 %17, 16
  %44 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %43)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %7, i32 noundef %19)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef %44)
  %45 = zext i32 %29 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %45)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %5, i32 noundef %46)
  %47 = add nuw nsw i64 %5, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %47, i32 noundef %29)
  %48 = zext i32 %46 to i64
  %49 = add nuw nsw i64 %48, 4
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %49, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %45, i32 noundef %3)
  ret i32 %3

50:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 152722, i32 noundef 80936, i32 noundef 228, i32 noundef 65834) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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