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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

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

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

declare i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) #2

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

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

55:                                               ; preds = %8
  %56 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %20, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = call i64 @i64_load(ptr noundef %58, i64 noundef %60)
  store i64 %61, ptr %30, align 8, !tbaa !11
  %62 = load i64, ptr %30, align 8, !tbaa !11
  store i64 %62, ptr %19, align 8, !tbaa !11
  br label %124

63:                                               ; preds = %8
  %64 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %64, ptr %20, align 4, !tbaa !9
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %20, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = call i32 @i32_load(ptr noundef %66, i64 noundef %68)
  store i32 %69, ptr %20, align 4, !tbaa !9
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %20, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 28
  %75 = call i32 @i32_load(ptr noundef %71, i64 noundef %74)
  store i32 %75, ptr %20, align 4, !tbaa !9
  %76 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %76, ptr %18, align 4, !tbaa !9
  %77 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %77, ptr %20, align 4, !tbaa !9
  %78 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %78, ptr %21, align 4, !tbaa !9
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = call i64 @i64_load(ptr noundef %80, i64 noundef %82)
  store i64 %83, ptr %31, align 8, !tbaa !11
  %84 = load i64, ptr %31, align 8, !tbaa !11
  store i64 %84, ptr %19, align 8, !tbaa !11
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 16
  %90 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %86, i64 noundef %89, i64 noundef %90)
  %91 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %91, ptr %20, align 4, !tbaa !9
  %92 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %92, ptr %31, align 8, !tbaa !11
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %20, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 24
  %98 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %94, i64 noundef %97, i64 noundef %98)
  %99 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %99, ptr %20, align 4, !tbaa !9
  store i32 36, ptr %21, align 4, !tbaa !9
  %100 = load i32, ptr %21, align 4, !tbaa !9
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = add i32 %101, %100
  store i32 %102, ptr %20, align 4, !tbaa !9
  %103 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %103, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %104 = load i32, ptr %22, align 4, !tbaa !9
  %105 = load i32, ptr %21, align 4, !tbaa !9
  %106 = add i32 %105, %104
  store i32 %106, ptr %21, align 4, !tbaa !9
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = load i32, ptr %21, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %107, i32 noundef %108, i32 noundef %109)
  store i32 %110, ptr %20, align 4, !tbaa !9
  %111 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %111, ptr %12, align 4, !tbaa !9
  %112 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %112, ptr %20, align 4, !tbaa !9
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %20, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = call i64 @i64_load(ptr noundef %114, i64 noundef %116)
  store i64 %117, ptr %30, align 8, !tbaa !11
  %118 = load i64, ptr %30, align 8, !tbaa !11
  store i64 %118, ptr %19, align 8, !tbaa !11
  %119 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %119, ptr %20, align 4, !tbaa !9
  %120 = load i32, ptr %20, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %63
  br label %179

123:                                              ; preds = %63
  br label %124

124:                                              ; preds = %123, %55
  %125 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %125, ptr %20, align 4, !tbaa !9
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = call i32 @i32_load(ptr noundef %127, i64 noundef %129)
  store i32 %130, ptr %20, align 4, !tbaa !9
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %20, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 28
  %136 = call i32 @i32_load(ptr noundef %132, i64 noundef %135)
  store i32 %136, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %137, ptr %12, align 4, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %138, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 28
  %144 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %140, i64 noundef %143, i32 noundef %144)
  %145 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %145, ptr %20, align 4, !tbaa !9
  store i32 63187, ptr %21, 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 %20, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 24
  %151 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %153, ptr %21, align 4, !tbaa !9
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %21, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = add i64 %157, 24
  %159 = call i64 @i64_load(ptr noundef %155, i64 noundef %158)
  store i64 %159, ptr %31, align 8, !tbaa !11
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %20, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = add i64 %163, 8
  %165 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %161, i64 noundef %164, i64 noundef %165)
  %166 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %166, ptr %20, align 4, !tbaa !9
  store i32 36, ptr %21, align 4, !tbaa !9
  %167 = load i32, ptr %21, align 4, !tbaa !9
  %168 = load i32, ptr %20, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %170, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %171 = load i32, ptr %22, align 4, !tbaa !9
  %172 = load i32, ptr %21, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %21, align 4, !tbaa !9
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = load i32, ptr %20, align 4, !tbaa !9
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %174, i32 noundef %175, i32 noundef %176)
  store i32 %177, ptr %20, align 4, !tbaa !9
  %178 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %178, ptr %12, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %124, %122
  store i32 176, ptr %20, align 4, !tbaa !9
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = load i32, ptr %20, align 4, !tbaa !9
  %182 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %180, i32 noundef %181)
  store i32 %182, ptr %20, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %184, ptr %20, align 4, !tbaa !9
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %20, align 4, !tbaa !9
  %190 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %190, ptr %10, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %191, ptr %20, align 4, !tbaa !9
  %192 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %192, ptr %31, align 8, !tbaa !11
  %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 %20, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %194, i64 noundef %196, i64 noundef %197)
  %198 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %198, ptr %20, align 4, !tbaa !9
  %199 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %199, ptr %31, align 8, !tbaa !11
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %20, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = add i64 %203, 24
  %205 = load i64, ptr %31, align 8, !tbaa !11
  call void @i64_store(ptr noundef %201, i64 noundef %204, i64 noundef %205)
  %206 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %206, ptr %20, align 4, !tbaa !9
  store i32 128, ptr %21, align 4, !tbaa !9
  %207 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %207, ptr %22, align 4, !tbaa !9
  %208 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %208, ptr %23, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %209, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %25, align 4, !tbaa !9
  %210 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %210, ptr %26, align 4, !tbaa !9
  %211 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %211, ptr %27, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %212, ptr %28, align 4, !tbaa !9
  %213 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %213, ptr %29, align 4, !tbaa !9
  %214 = load ptr, ptr %9, align 8, !tbaa !5
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = load i32, ptr %21, align 4, !tbaa !9
  %217 = load i32, ptr %22, align 4, !tbaa !9
  %218 = load i32, ptr %23, align 4, !tbaa !9
  %219 = load i32, ptr %24, align 4, !tbaa !9
  %220 = load i32, ptr %25, align 4, !tbaa !9
  %221 = load i32, ptr %26, align 4, !tbaa !9
  %222 = load i32, ptr %27, align 4, !tbaa !9
  %223 = load i32, ptr %28, align 4, !tbaa !9
  %224 = load i32, ptr %29, align 4, !tbaa !9
  %225 = call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224)
  store i32 %225, ptr %20, align 4, !tbaa !9
  %226 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %226, ptr %10, align 4, !tbaa !9
  %227 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %227, ptr %20, align 4, !tbaa !9
  store i32 32, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %21, align 4, !tbaa !9
  %229 = load i32, ptr %20, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %20, align 4, !tbaa !9
  %231 = load i32, ptr %20, align 4, !tbaa !9
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 3
  store i32 %231, ptr %233, align 8, !tbaa !13
  %234 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %234, ptr %20, align 4, !tbaa !9
  %235 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  ret i32 %235
}

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 = { "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 }

!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}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !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"

; 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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

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

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

declare i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateFunction0x28hermes0x3A0x3AScopeDesc0x2A0x2C0x20llvh0x3A0x3AStringRef0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20llvh0x3A0x3ASMRange0x2C0x20bool0x2C0x20hermes0x3A0x3AFunction0x2A0x29(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 #2 {
  %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 %3 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %19

16:                                               ; preds = %8
  %17 = zext i32 %6 to i64
  %18 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %17)
  %.pre = zext i32 %1 to i64
  %.pre127 = zext i32 %11 to i64
  %.pre129 = add nuw nsw i64 %.pre127, 24
  br label %34

19:                                               ; preds = %8
  %20 = zext i32 %1 to i64
  %21 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %20)
  %22 = zext i32 %21 to i64
  %23 = add nuw nsw i64 %22, 28
  %24 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %23)
  %25 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %13)
  %26 = zext i32 %11 to i64
  %27 = add nuw nsw i64 %26, 16
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %27, i64 noundef %25)
  %28 = add nuw nsw i64 %26, 24
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %28, i64 noundef %25)
  %29 = add i32 %24, 36
  %30 = add i32 %10, -16
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #3
  %32 = zext i32 %6 to i64
  %33 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %32)
  %.not126 = icmp eq i32 %31, 0
  br i1 %.not126, label %34, label %45

34:                                               ; preds = %19, %16
  %.pre-phi130 = phi i64 [ %28, %19 ], [ %.pre129, %16 ]
  %.pre-phi128 = phi i64 [ %26, %19 ], [ %.pre127, %16 ]
  %.pre-phi = phi i64 [ %20, %19 ], [ %.pre, %16 ]
  %.0124 = phi i64 [ %33, %19 ], [ %18, %16 ]
  %35 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %.pre-phi)
  %36 = zext i32 %35 to i64
  %37 = add nuw nsw i64 %36, 28
  %38 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %37)
  %39 = add nuw nsw i64 %.pre-phi128, 28
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %39, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %.pre-phi130, i32 noundef 63187)
  %40 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %.pre-phi130)
  %41 = add nuw nsw i64 %.pre-phi128, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %41, i64 noundef %40)
  %42 = add i32 %38, 36
  %43 = add i32 %10, -24
  %44 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %43) #3
  br label %45

45:                                               ; preds = %19, %34
  %.pre-phi133 = phi i64 [ %28, %19 ], [ %.pre-phi130, %34 ]
  %.pre-phi132 = phi i64 [ %26, %19 ], [ %.pre-phi128, %34 ]
  %.pre-phi131 = phi i64 [ %20, %19 ], [ %.pre-phi, %34 ]
  %.1 = phi i64 [ %33, %19 ], [ %.0124, %34 ]
  %.0 = phi i32 [ %31, %19 ], [ %44, %34 ]
  %46 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 176) #3
  %47 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %.pre-phi131)
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %.pre-phi132, i64 noundef %.1)
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %.pre-phi133, i64 noundef %.1)
  %48 = tail call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %46, i32 noundef 128, i32 noundef %47, i32 noundef %2, i32 noundef %.0, i32 noundef 0, i32 noundef %4, i32 noundef %5, i32 noundef %7, i32 noundef %11)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret i32 %48
}

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 = { "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 = { 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 }

!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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass