; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) #1

; 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 @i32_store16(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

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

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

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

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

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

38:                                               ; preds = %3
  %39 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %39, ptr %11, align 4, !tbaa !9
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %11, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = add i64 %43, 4
  %45 = call i32 @i32_load(ptr noundef %41, i64 noundef %44)
  store i32 %45, ptr %11, align 4, !tbaa !9
  %46 = load i32, ptr %11, align 4, !tbaa !9
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %73

48:                                               ; preds = %38
  %49 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %49, ptr %11, align 4, !tbaa !9
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = add i64 %53, 8
  %55 = call i32 @i32_load(ptr noundef %51, i64 noundef %54)
  store i32 %55, ptr %11, align 4, !tbaa !9
  %56 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %56, ptr %8, align 4, !tbaa !9
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  %59 = xor i1 %58, true
  %60 = zext i1 %59 to i32
  store i32 %60, ptr %11, align 4, !tbaa !9
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %48
  br label %139

64:                                               ; preds = %48
  %65 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %65, ptr %11, align 4, !tbaa !9
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = call i32 @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3AisGenerator0x28hermes0x3A0x3AESTree0x3A0x3AFunctionLikeNode0x2A0x29(ptr noundef %66, i32 noundef %67)
  store i32 %68, ptr %11, align 4, !tbaa !9
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %64
  br label %139

72:                                               ; preds = %64
  br label %73

73:                                               ; preds = %72, %38
  %74 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %74, ptr %11, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 4
  %80 = call i32 @i32_load(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %11, align 4, !tbaa !9
  %81 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %81, ptr %9, align 4, !tbaa !9
  %82 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %82, ptr %11, align 4, !tbaa !9
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 16
  %88 = call i64 @i64_load(ptr noundef %84, i64 noundef %87)
  store i64 %88, ptr %16, align 8, !tbaa !11
  %89 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %89, ptr %10, align 8, !tbaa !11
  %90 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %90, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %8, align 4, !tbaa !9
  store i32 65495, ptr %13, align 4, !tbaa !9
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %12, align 4, !tbaa !9
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %11, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 28
  %100 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %101, ptr %11, align 4, !tbaa !9
  store i32 259, ptr %12, align 4, !tbaa !9
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 36
  %107 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %103, i64 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %11, align 4, !tbaa !9
  %109 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %109, ptr %17, align 8, !tbaa !11
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 16
  %115 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %111, i64 noundef %114, i64 noundef %115)
  %116 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %116, ptr %11, align 4, !tbaa !9
  %117 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %117, ptr %17, align 8, !tbaa !11
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = add i64 %121, 40
  %123 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %119, i64 noundef %122, i64 noundef %123)
  %124 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %124, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %125 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %125, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = add i32 %127, %126
  store i32 %128, ptr %13, align 4, !tbaa !9
  %129 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %129, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = add i32 %131, %130
  store i32 %132, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = load i32, ptr %11, align 4, !tbaa !9
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %14, align 4, !tbaa !9
  %138 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %138)
  br label %139

139:                                              ; preds = %73, %71, %63
  %140 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %140, ptr %11, align 4, !tbaa !9
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = add i64 %144, 80
  %146 = call i32 @i32_load8_u(ptr noundef %142, i64 noundef %145)
  store i32 %146, ptr %11, align 4, !tbaa !9
  %147 = load i32, ptr %11, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %215

149:                                              ; preds = %139
  %150 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %150, ptr %11, align 4, !tbaa !9
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 4
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %11, align 4, !tbaa !9
  %157 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %157, ptr %9, align 4, !tbaa !9
  %158 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %11, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 16
  %164 = call i64 @i64_load(ptr noundef %160, i64 noundef %163)
  store i64 %164, ptr %16, align 8, !tbaa !11
  %165 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %165, ptr %10, align 8, !tbaa !11
  %166 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %166, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %8, align 4, !tbaa !9
  store i32 49859, ptr %13, align 4, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %12, align 4, !tbaa !9
  %170 = add i32 %169, %168
  store i32 %170, ptr %12, align 4, !tbaa !9
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %11, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 28
  %176 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %172, i64 noundef %175, i32 noundef %176)
  %177 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %177, ptr %11, align 4, !tbaa !9
  store i32 259, ptr %12, align 4, !tbaa !9
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 36
  %183 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %179, i64 noundef %182, i32 noundef %183)
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %11, align 4, !tbaa !9
  %185 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %185, ptr %17, align 8, !tbaa !11
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %11, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 8
  %191 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %187, i64 noundef %190, i64 noundef %191)
  %192 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %192, ptr %11, align 4, !tbaa !9
  %193 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %193, ptr %17, align 8, !tbaa !11
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 40
  %199 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %195, i64 noundef %198, i64 noundef %199)
  %200 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %200, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %201 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %201, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load i32, ptr %13, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %13, align 4, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %205, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %206 = load i32, ptr %15, align 4, !tbaa !9
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = load i32, ptr %11, align 4, !tbaa !9
  %211 = load i32, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214)
  br label %215

215:                                              ; preds = %149, %139
  %216 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %216, ptr %11, align 4, !tbaa !9
  store i32 28, ptr %12, align 4, !tbaa !9
  %217 = load i32, ptr %12, align 4, !tbaa !9
  %218 = load i32, ptr %11, align 4, !tbaa !9
  %219 = add i32 %218, %217
  store i32 %219, ptr %11, align 4, !tbaa !9
  %220 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %220, ptr %12, align 4, !tbaa !9
  %221 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %221, ptr %13, align 4, !tbaa !9
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %13, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 28
  %227 = call i32 @i32_load(ptr noundef %223, i64 noundef %226)
  store i32 %227, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load ptr, ptr %4, align 8, !tbaa !5
  %230 = load i32, ptr %11, align 4, !tbaa !9
  %231 = load i32, ptr %12, align 4, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3ASemanticValidator0x2C0x20true0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3ASemanticValidator0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233)
  %234 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %234, ptr %11, align 4, !tbaa !9
  store i32 48, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %12, align 4, !tbaa !9
  %236 = load i32, ptr %11, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %11, align 4, !tbaa !9
  %238 = load i32, ptr %11, align 4, !tbaa !9
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 3
  store i32 %238, ptr %240, align 8, !tbaa !13
  br label %259

241:                                              ; preds = %3
  store i32 0, ptr %11, align 4, !tbaa !9
  %242 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %242, ptr %7, align 4, !tbaa !9
  store i32 128459, ptr %12, align 4, !tbaa !9
  %243 = load i32, ptr %12, align 4, !tbaa !9
  %244 = load i32, ptr %11, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %11, align 4, !tbaa !9
  %246 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %246, ptr %12, align 4, !tbaa !9
  store i32 79805, ptr %13, align 4, !tbaa !9
  %247 = load i32, ptr %13, align 4, !tbaa !9
  %248 = load i32, ptr %12, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %12, align 4, !tbaa !9
  store i32 236, ptr %13, align 4, !tbaa !9
  %250 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %250, ptr %14, align 4, !tbaa !9
  store i32 65865, ptr %15, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = add i32 %252, %251
  store i32 %253, ptr %14, align 4, !tbaa !9
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = load i32, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %13, align 4, !tbaa !9
  %258 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257, i32 noundef %258)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

259:                                              ; preds = %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!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_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(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 void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Asem0x3A0x3ASemanticValidator0x3A0x3Avisit0x28hermes0x3A0x3AESTree0x3A0x3AYieldExpressionNode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -48
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %1 to i64
  %9 = add nuw nsw i64 %8, 76
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %52, label %11

11:                                               ; preds = %3
  %12 = zext i32 %10 to i64
  %13 = add nuw nsw i64 %12, 4
  %14 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %13)
  %.not144 = icmp eq i32 %14, 0
  br i1 %.not144, label %20, label %15

15:                                               ; preds = %11
  %16 = add nuw nsw i64 %12, 8
  %17 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %16)
  %.not145 = icmp eq i32 %17, 0
  br i1 %.not145, label %33, label %18

18:                                               ; preds = %15
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3AisGenerator0x28hermes0x3A0x3AESTree0x3A0x3AFunctionLikeNode0x2A0x29(ptr noundef nonnull %0, i32 noundef %17) #4
  %.not146 = icmp eq i32 %19, 0
  br i1 %.not146, label %20, label %33

20:                                               ; preds = %18, %11
  %21 = add nuw nsw i64 %8, 4
  %22 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %21)
  %23 = zext i32 %2 to i64
  %24 = add nuw nsw i64 %23, 16
  %25 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %24)
  %26 = zext i32 %6 to i64
  %27 = add nuw nsw i64 %26, 28
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %27, i32 noundef 65495)
  %28 = add nuw nsw i64 %26, 36
  tail call void @i32_store16(ptr noundef nonnull %7, i64 noundef %28, i32 noundef 259)
  %29 = add nuw nsw i64 %26, 16
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %29, i64 noundef %25)
  %30 = add nuw nsw i64 %26, 40
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %30, i64 noundef %25)
  %31 = add i32 %5, -32
  %32 = add i32 %5, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef 0, i32 noundef %31, i32 noundef %32, i32 noundef 0) #4
  br label %33

33:                                               ; preds = %18, %15, %20
  %34 = add nuw nsw i64 %8, 80
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %34)
  %.not147 = icmp eq i32 %35, 0
  br i1 %.not147, label %._crit_edge, label %36

._crit_edge:                                      ; preds = %33
  %.pre = add i32 %5, -20
  %.pre148 = zext i32 %2 to i64
  br label %49

36:                                               ; preds = %33
  %37 = add nuw nsw i64 %8, 4
  %38 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %37)
  %39 = zext i32 %2 to i64
  %40 = add nuw nsw i64 %39, 16
  %41 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %40)
  %42 = zext i32 %6 to i64
  %43 = add nuw nsw i64 %42, 28
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %43, i32 noundef 49859)
  %44 = add nuw nsw i64 %42, 36
  tail call void @i32_store16(ptr noundef nonnull %7, i64 noundef %44, i32 noundef 259)
  %45 = add nuw nsw i64 %42, 8
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %45, i64 noundef %41)
  %46 = add nuw nsw i64 %42, 40
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %46, i64 noundef %41)
  %47 = add i32 %5, -40
  %48 = add i32 %5, -20
  tail call void @w2c_hermes_hermes0x3A0x3ASourceErrorManager0x3A0x3Amessage0x28hermes0x3A0x3ASourceErrorManager0x3A0x3ADiagKind0x2C0x20llvh0x3A0x3ASMRange0x2C0x20llvh0x3A0x3ATwine0x20const0x260x2C0x20hermes0x3A0x3ASubsystem0x29(ptr noundef nonnull %0, i32 noundef %38, i32 noundef 0, i32 noundef %47, i32 noundef %48, i32 noundef 0) #4
  br label %49

49:                                               ; preds = %._crit_edge, %36
  %.pre-phi149 = phi i64 [ %.pre148, %._crit_edge ], [ %39, %36 ]
  %.pre-phi = phi i32 [ %.pre, %._crit_edge ], [ %48, %36 ]
  %50 = add nuw nsw i64 %.pre-phi149, 28
  %51 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %50)
  tail call void @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3ARecursiveVisitorDispatch0x3Chermes0x3A0x3Asem0x3A0x3ASemanticValidator0x2C0x20true0x3E0x3A0x3Avisit0x28hermes0x3A0x3Asem0x3A0x3ASemanticValidator0x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef nonnull %0, i32 noundef %.pre-phi, i32 noundef %1, i32 noundef %51, i32 noundef %2) #4
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void

52:                                               ; preds = %3
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128459, i32 noundef 79805, i32 noundef 236, i32 noundef 65865) #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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass