; 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: 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: 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) #2

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

; 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, i32 noundef) #3

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

106:                                              ; preds = %6
  %107 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = call i32 @i32_load(ptr noundef %109, i64 noundef %111)
  store i32 %112, ptr %16, align 4, !tbaa !9
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 28
  %118 = call i32 @i32_load(ptr noundef %114, i64 noundef %117)
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %120, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 28
  %126 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %122, i64 noundef %125, i32 noundef %126)
  %127 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %127, ptr %16, align 4, !tbaa !9
  store i32 213048, ptr %17, align 4, !tbaa !9
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = add i64 %131, 24
  %133 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %129, i64 noundef %132, i32 noundef %133)
  %134 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %134, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = add i64 %139, 24
  %141 = call i64 @i64_load(ptr noundef %137, i64 noundef %140)
  store i64 %141, ptr %28, align 8, !tbaa !11
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 8
  %147 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %143, i64 noundef %146, i64 noundef %147)
  %148 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %148, ptr %16, align 4, !tbaa !9
  store i32 36, ptr %17, align 4, !tbaa !9
  %149 = load i32, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = add i32 %150, %149
  store i32 %151, ptr %16, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %152, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %17, align 4, !tbaa !9
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef %156, i32 noundef %157, i32 noundef %158)
  store i32 %159, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %106, %6
  store i32 176, ptr %16, align 4, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %162, i32 noundef %163)
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %166, ptr %16, align 4, !tbaa !9
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = call i32 @i32_load(ptr noundef %168, i64 noundef %170)
  store i32 %171, ptr %16, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %172, ptr %8, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %173, ptr %16, align 4, !tbaa !9
  %174 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %174, ptr %28, align 8, !tbaa !11
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %176, i64 noundef %178, i64 noundef %179)
  %180 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %181, ptr %28, align 8, !tbaa !11
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %16, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 24
  %187 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %183, i64 noundef %186, i64 noundef %187)
  %188 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %188, ptr %16, align 4, !tbaa !9
  store i32 128, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %189, ptr %18, align 4, !tbaa !9
  %190 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %190, ptr %19, align 4, !tbaa !9
  %191 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %191, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %22, align 4, !tbaa !9
  %193 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %193, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %24, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %194, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %26, align 4, !tbaa !9
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %19, align 4, !tbaa !9
  %200 = load i32, ptr %20, align 4, !tbaa !9
  %201 = load i32, ptr %21, align 4, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !9
  %203 = load i32, ptr %23, align 4, !tbaa !9
  %204 = load i32, ptr %24, align 4, !tbaa !9
  %205 = load i32, ptr %25, align 4, !tbaa !9
  %206 = load i32, ptr %26, align 4, !tbaa !9
  %207 = call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef %195, i32 noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206)
  store i32 %207, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %208, ptr %8, align 4, !tbaa !9
  %209 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %209, ptr %16, align 4, !tbaa !9
  store i32 32, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 3
  store i32 %213, ptr %215, align 8, !tbaa !13
  %216 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %216, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret i32 %217
}

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #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, i32 noundef) local_unnamed_addr #2

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

26:                                               ; preds = %6
  %27 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %13)
  %28 = zext i32 %27 to i64
  %29 = add nuw nsw i64 %28, 28
  %30 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %29)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %19, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %20, i32 noundef 213048)
  %31 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %20)
  %32 = add nuw nsw i64 %18, 8
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %32, i64 noundef %31)
  %33 = add i32 %30, 36
  %34 = add i32 %8, -24
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringTable0x3A0x3AgetString0x28llvh0x3A0x3AStringRef0x29(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %34)
  br label %36

36:                                               ; preds = %26, %6
  %.0 = phi i32 [ %35, %26 ], [ %25, %6 ]
  %37 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 176) #3
  %38 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %13)
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %18, i64 noundef %12)
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %20, i64 noundef %12)
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3AFunction0x3A0x3AFunction0x28hermes0x3A0x3AValueKind0x2C0x20hermes0x3A0x3AModule0x2A0x2C0x20hermes0x3A0x3AScopeDesc0x2A0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AFunction0x3A0x3ADefinitionKind0x2C0x20bool0x2C0x20hermes0x3A0x3ASourceVisibility0x2C0x20bool0x2C0x20llvh0x3A0x3ASMRange0x2C0x20hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %37, i32 noundef 128, i32 noundef %38, i32 noundef %2, i32 noundef %.0, i32 noundef 0, i32 noundef %3, i32 noundef %4, i32 noundef 1, i32 noundef %9, i32 noundef 0)
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %39
}

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