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

; 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 void @i32_store(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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AemitOptionalInitialization0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %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 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 i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !11
  store i32 %25, ptr %17, align 4, !tbaa !9
  store i32 96, ptr %18, align 4, !tbaa !9
  %26 = load i32, ptr %18, align 4, !tbaa !9
  %27 = load i32, ptr %17, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %17, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !11
  %33 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %33, ptr %17, align 4, !tbaa !9
  %34 = load i32, ptr %17, align 4, !tbaa !9
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %309

36:                                               ; preds = %5
  %37 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %37, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %38 = load i32, ptr %18, align 4, !tbaa !9
  %39 = load i32, ptr %17, align 4, !tbaa !9
  %40 = add i32 %39, %38
  store i32 %40, ptr %17, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %41, ptr %12, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load i32, ptr %17, align 4, !tbaa !9
  %44 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetInsertionBlock0x280x29(ptr noundef %42, i32 noundef %43)
  store i32 %44, ptr %17, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  %46 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %46, ptr %17, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 12
  %52 = call i32 @i32_load(ptr noundef %48, i64 noundef %51)
  store i32 %52, ptr %17, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %53, ptr %13, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  %56 = xor i1 %55, true
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %17, align 4, !tbaa !9
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %36
  br label %318

61:                                               ; preds = %36
  %62 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %62, ptr %17, align 4, !tbaa !9
  %63 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %63, ptr %18, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %18, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 44
  %69 = call i32 @i32_load(ptr noundef %65, i64 noundef %68)
  store i32 %69, ptr %18, align 4, !tbaa !9
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %70, i32 noundef %71, i32 noundef %72)
  store i32 %73, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %74, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %75, ptr %17, align 4, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %17, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = add i64 %79, 12
  %81 = call i32 @i32_load(ptr noundef %77, i64 noundef %80)
  store i32 %81, ptr %17, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %82, ptr %13, align 4, !tbaa !9
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = icmp ne i32 %83, 0
  %85 = xor i1 %84, true
  %86 = zext i1 %85 to i32
  store i32 %86, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %61
  br label %336

90:                                               ; preds = %61
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %17, align 4, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %92, ptr %18, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %18, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 44
  %98 = call i32 @i32_load(ptr noundef %94, i64 noundef %97)
  store i32 %98, ptr %18, align 4, !tbaa !9
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = load i32, ptr %18, align 4, !tbaa !9
  %102 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %99, i32 noundef %100, i32 noundef %101)
  store i32 %102, ptr %17, align 4, !tbaa !9
  %103 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %103, ptr %13, align 4, !tbaa !9
  %104 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %106, ptr %19, align 4, !tbaa !9
  %107 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %107, ptr %20, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralUndefined0x280x29(ptr noundef %108, i32 noundef %109)
  store i32 %110, ptr %20, align 4, !tbaa !9
  store i32 4, ptr %21, align 4, !tbaa !9
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = load i32, ptr %19, align 4, !tbaa !9
  %114 = load i32, ptr %20, align 4, !tbaa !9
  %115 = load i32, ptr %21, align 4, !tbaa !9
  %116 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBinaryOperatorInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABinaryOperatorInst0x3A0x3AOpKind0x29(ptr noundef %111, i32 noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115)
  store i32 %116, ptr %18, align 4, !tbaa !9
  %117 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %117, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = load i32, ptr %18, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %121, ptr %20, align 4, !tbaa !9
  %122 = load i32, ptr %20, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %126

124:                                              ; preds = %90
  %125 = load i32, ptr %18, align 4, !tbaa !9
  br label %128

126:                                              ; preds = %90
  %127 = load i32, ptr %19, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %126, %124
  %129 = phi i32 [ %125, %124 ], [ %127, %126 ]
  store i32 %129, ptr %18, align 4, !tbaa !9
  %130 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %130, ptr %19, align 4, !tbaa !9
  %131 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %131, ptr %20, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = load i32, ptr %20, align 4, !tbaa !9
  %137 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCondBranchInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %132, i32 noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136)
  store i32 %137, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %138, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AsetInsertionBlock0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %140, i32 noundef %141, i32 noundef %142)
  %143 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = call i32 @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AgenExpression0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef %146, i32 noundef %147, i32 noundef %148, i32 noundef %149)
  store i32 %150, ptr %17, align 4, !tbaa !9
  %151 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %151, ptr %7, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %152, ptr %17, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetInsertionBlock0x280x29(ptr noundef %153, i32 noundef %154)
  store i32 %155, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %156, ptr %9, align 4, !tbaa !9
  %157 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %157, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %158, ptr %18, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBranchInst0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %159, i32 noundef %160, i32 noundef %161)
  store i32 %162, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %163, ptr %17, align 4, !tbaa !9
  %164 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %164, ptr %18, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AsetInsertionBlock0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %165, i32 noundef %166, i32 noundef %167)
  %168 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %169, ptr %18, align 4, !tbaa !9
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 68
  %175 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %171, i64 noundef %174, i32 noundef %175)
  %176 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 64
  %183 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %179, i64 noundef %182, i32 noundef %183)
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %17, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %18, align 4, !tbaa !9
  store i32 -64, ptr %19, align 4, !tbaa !9
  %186 = load i32, ptr %19, align 4, !tbaa !9
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = sub i32 %187, %186
  store i32 %188, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %189, ptr %8, align 4, !tbaa !9
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %17, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 52
  %195 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %196, ptr %17, align 4, !tbaa !9
  store i64 34359738370, ptr %22, align 8, !tbaa !17
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 56
  %202 = load i64, ptr %22, align 8, !tbaa !17
  call void @i64_store(ptr noundef %198, i64 noundef %201, i64 noundef %202)
  %203 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %17, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 24
  %210 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %211, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %212, ptr %18, align 4, !tbaa !9
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = add i64 %216, 20
  %218 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %217, i32 noundef %218)
  %219 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %219, ptr %17, align 4, !tbaa !9
  store i64 34359738370, ptr %22, align 8, !tbaa !17
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = add i64 %223, 12
  %225 = load i64, ptr %22, align 8, !tbaa !17
  call void @i64_store(ptr noundef %221, i64 noundef %224, i64 noundef %225)
  %226 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %226, ptr %17, align 4, !tbaa !9
  %227 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %227, ptr %18, align 4, !tbaa !9
  store i32 20, ptr %19, align 4, !tbaa !9
  %228 = load i32, ptr %19, align 4, !tbaa !9
  %229 = load i32, ptr %18, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %18, align 4, !tbaa !9
  %231 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %231, ptr %7, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 8
  %237 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %233, i64 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %18, align 4, !tbaa !9
  store i32 52, ptr %19, align 4, !tbaa !9
  %240 = load i32, ptr %19, align 4, !tbaa !9
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %18, align 4, !tbaa !9
  %243 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %243, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %244 = load i32, ptr %20, align 4, !tbaa !9
  %245 = load i32, ptr %19, align 4, !tbaa !9
  %246 = add i32 %245, %244
  store i32 %246, ptr %19, align 4, !tbaa !9
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = load i32, ptr %17, align 4, !tbaa !9
  %249 = load i32, ptr %18, align 4, !tbaa !9
  %250 = load i32, ptr %19, align 4, !tbaa !9
  %251 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreatePhiInst0x28llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3AValue0x2A0x2C0x208u0x3E0x20const0x260x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3ABasicBlock0x2A0x2C0x208u0x3E0x20const0x260x29(ptr noundef %247, i32 noundef %248, i32 noundef %249, i32 noundef %250)
  store i32 %251, ptr %17, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %252, ptr %12, align 4, !tbaa !9
  %253 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %253, ptr %17, align 4, !tbaa !9
  %254 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %254, ptr %18, align 4, !tbaa !9
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %18, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 8
  %260 = call i32 @i32_load(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %18, align 4, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %261, ptr %9, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = load i32, ptr %18, align 4, !tbaa !9
  %264 = icmp ne i32 %262, %263
  %265 = zext i1 %264 to i32
  store i32 %265, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %17, align 4, !tbaa !9
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %272

268:                                              ; preds = %128
  %269 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %269, ptr %17, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %270, i32 noundef %271)
  br label %272

272:                                              ; preds = %268, %128
  %273 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %273, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = load i32, ptr %17, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %277, ptr %7, align 4, !tbaa !9
  %278 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %278, ptr %17, align 4, !tbaa !9
  %279 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %279, ptr %18, align 4, !tbaa !9
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %18, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 52
  %285 = call i32 @i32_load(ptr noundef %281, i64 noundef %284)
  store i32 %285, ptr %18, align 4, !tbaa !9
  %286 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %286, ptr %9, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %18, align 4, !tbaa !9
  %289 = icmp ne i32 %287, %288
  %290 = zext i1 %289 to i32
  store i32 %290, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %17, align 4, !tbaa !9
  %292 = icmp ne i32 %291, 0
  br i1 %292, label %293, label %297

293:                                              ; preds = %272
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  %295 = load ptr, ptr %6, align 8, !tbaa !5
  %296 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %295, i32 noundef %296)
  br label %297

297:                                              ; preds = %293, %272
  %298 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %298, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %299 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %299, ptr %19, align 4, !tbaa !9
  %300 = load i32, ptr %19, align 4, !tbaa !9
  %301 = icmp ne i32 %300, 0
  br i1 %301, label %302, label %304

302:                                              ; preds = %297
  %303 = load i32, ptr %17, align 4, !tbaa !9
  br label %306

304:                                              ; preds = %297
  %305 = load i32, ptr %18, align 4, !tbaa !9
  br label %306

306:                                              ; preds = %304, %302
  %307 = phi i32 [ %303, %302 ], [ %305, %304 ]
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %308, ptr %8, align 4, !tbaa !9
  br label %309

309:                                              ; preds = %306, %5
  %310 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %310, ptr %17, align 4, !tbaa !9
  store i32 96, ptr %18, align 4, !tbaa !9
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 3
  store i32 %314, ptr %316, align 8, !tbaa !11
  %317 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %317, ptr %17, align 4, !tbaa !9
  br label %354

318:                                              ; preds = %60
  store i32 0, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %319, ptr %11, align 4, !tbaa !9
  store i32 152722, ptr %18, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = add i32 %321, %320
  store i32 %322, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %323, ptr %18, align 4, !tbaa !9
  store i32 80936, ptr %19, align 4, !tbaa !9
  %324 = load i32, ptr %19, align 4, !tbaa !9
  %325 = load i32, ptr %18, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %18, align 4, !tbaa !9
  store i32 228, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %327, ptr %20, align 4, !tbaa !9
  store i32 65834, ptr %21, align 4, !tbaa !9
  %328 = load i32, ptr %21, align 4, !tbaa !9
  %329 = load i32, ptr %20, align 4, !tbaa !9
  %330 = add i32 %329, %328
  store i32 %330, ptr %20, align 4, !tbaa !9
  %331 = load ptr, ptr %6, align 8, !tbaa !5
  %332 = load i32, ptr %17, align 4, !tbaa !9
  %333 = load i32, ptr %18, align 4, !tbaa !9
  %334 = load i32, ptr %19, align 4, !tbaa !9
  %335 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %331, i32 noundef %332, i32 noundef %333, i32 noundef %334, i32 noundef %335)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

336:                                              ; preds = %89
  store i32 0, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %337, ptr %11, align 4, !tbaa !9
  store i32 152722, ptr %18, align 4, !tbaa !9
  %338 = load i32, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = add i32 %339, %338
  store i32 %340, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %341, ptr %18, align 4, !tbaa !9
  store i32 80936, ptr %19, align 4, !tbaa !9
  %342 = load i32, ptr %19, align 4, !tbaa !9
  %343 = load i32, ptr %18, align 4, !tbaa !9
  %344 = add i32 %343, %342
  store i32 %344, ptr %18, align 4, !tbaa !9
  store i32 228, ptr %19, align 4, !tbaa !9
  %345 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %345, ptr %20, align 4, !tbaa !9
  store i32 65834, ptr %21, align 4, !tbaa !9
  %346 = load i32, ptr %21, align 4, !tbaa !9
  %347 = load i32, ptr %20, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %20, align 4, !tbaa !9
  %349 = load ptr, ptr %6, align 8, !tbaa !5
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  %353 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352, i32 noundef %353)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

354:                                              ; preds = %309
  %355 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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
  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
  ret i32 %355
}

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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, 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 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 i32 @i32_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 void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AemitOptionalInitialization0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -96
  store i32 %8, ptr %6, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %57, label %9

9:                                                ; preds = %5
  %10 = add i32 %1, 4
  %11 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetInsertionBlock0x280x29(ptr noundef nonnull %0, i32 noundef %10) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %1 to i64
  %14 = add nuw nsw i64 %13, 12
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %.not220 = icmp eq i32 %15, 0
  br i1 %.not220, label %58, label %16

16:                                               ; preds = %9
  %17 = zext i32 %15 to i64
  %18 = add nuw nsw i64 %17, 44
  %19 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %18)
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %19) #4
  %21 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %.not221 = icmp eq i32 %21, 0
  br i1 %.not221, label %59, label %22

22:                                               ; preds = %16
  %23 = zext i32 %21 to i64
  %24 = add nuw nsw i64 %23, 44
  %25 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %24)
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %25) #4
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralUndefined0x280x29(ptr noundef nonnull %0, i32 noundef %10) #4
  %28 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBinaryOperatorInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABinaryOperatorInst0x3A0x3AOpKind0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %2, i32 noundef %27, i32 noundef 4) #4
  %29 = add i32 %28, 8
  %.not222 = icmp eq i32 %28, 0
  %30 = select i1 %.not222, i32 0, i32 %29
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCondBranchInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %30, i32 noundef %26, i32 noundef %20) #4
  tail call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AsetInsertionBlock0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %20) #4
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AgenExpression0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AIdentifier0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %4)
  %33 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetInsertionBlock0x280x29(ptr noundef nonnull %0, i32 noundef %10) #4
  %34 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBranchInst0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %26) #4
  tail call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AsetInsertionBlock0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %26) #4
  %35 = zext i32 %8 to i64
  %36 = add nuw nsw i64 %35, 68
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %36, i32 noundef %32)
  %37 = add nuw nsw i64 %35, 64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %37, i32 noundef %2)
  %38 = add i32 %7, -32
  %39 = add nuw nsw i64 %35, 52
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %39, i32 noundef %38)
  %40 = add nuw nsw i64 %35, 56
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %40, i64 noundef 34359738370)
  %41 = add nuw nsw i64 %35, 24
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %41, i32 noundef %33)
  %42 = add nuw nsw i64 %35, 20
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %42, i32 noundef %11)
  %43 = add nuw nsw i64 %35, 12
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %43, i64 noundef 34359738370)
  %44 = add i32 %7, -76
  %45 = add nuw nsw i64 %35, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %45, i32 noundef %44)
  %46 = add i32 %7, -44
  %47 = add i32 %7, -88
  %48 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreatePhiInst0x28llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3AValue0x2A0x2C0x208u0x3E0x20const0x260x2C0x20llvh0x3A0x3ASmallVector0x3Chermes0x3A0x3ABasicBlock0x2A0x2C0x208u0x3E0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %46, i32 noundef %47) #4
  %49 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %45)
  %.not223 = icmp eq i32 %44, %49
  br i1 %.not223, label %51, label %50

50:                                               ; preds = %22
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %49) #4
  br label %51

51:                                               ; preds = %50, %22
  %52 = add i32 %48, 8
  %53 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %39)
  %.not224 = icmp eq i32 %38, %53
  br i1 %.not224, label %55, label %54

54:                                               ; preds = %51
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %53) #4
  br label %55

55:                                               ; preds = %54, %51
  %.not225 = icmp eq i32 %48, 0
  %56 = select i1 %.not225, i32 0, i32 %52
  br label %57

57:                                               ; preds = %55, %5
  %.0 = phi i32 [ %56, %55 ], [ %2, %5 ]
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %.0

58:                                               ; preds = %9
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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

59:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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