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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3AFunctionTypeAnnotationNode0x3A0x3AFunctionTypeAnnotationNode0x28llvh0x3A0x3Asimple_ilist0x3Chermes0x3A0x3AESTree0x3A0x3ANode0x3E0x260x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #3 {
  %8 = alloca ptr, align 8
  %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 i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 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 8, ptr %24) #4
  %25 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %25, ptr %19, align 4, !tbaa !9
  store i64 0, ptr %24, align 8, !tbaa !11
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %19, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = add i64 %29, 12
  %31 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %27, i64 noundef %30, i64 noundef %31)
  %32 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %32, ptr %19, align 4, !tbaa !9
  store i32 131, ptr %20, align 4, !tbaa !9
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %19, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 8
  %38 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %34, i64 noundef %37, i32 noundef %38)
  %39 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %39, ptr %19, align 4, !tbaa !9
  store i64 0, ptr %24, align 8, !tbaa !11
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %19, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %41, i64 noundef %43, i64 noundef %44)
  %45 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %45, ptr %19, align 4, !tbaa !9
  store i64 0, ptr %24, align 8, !tbaa !11
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %19, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 20
  %51 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %47, i64 noundef %50, i64 noundef %51)
  %52 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %52, ptr %19, align 4, !tbaa !9
  %53 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %53, ptr %20, align 4, !tbaa !9
  store i32 28, ptr %21, align 4, !tbaa !9
  %54 = load i32, ptr %21, align 4, !tbaa !9
  %55 = load i32, ptr %20, align 4, !tbaa !9
  %56 = add i32 %55, %54
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %57, ptr %15, align 4, !tbaa !9
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %19, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = add i64 %61, 32
  %63 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %59, i64 noundef %62, i32 noundef %63)
  %64 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %64, ptr %19, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %65, ptr %20, align 4, !tbaa !9
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.w2c_hermes, ptr %66, i32 0, i32 6
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = add i64 %69, 28
  %71 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %67, i64 noundef %70, i32 noundef %71)
  %72 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %72, ptr %19, align 4, !tbaa !9
  %73 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %73, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = load i32, ptr %20, align 4, !tbaa !9
  %76 = icmp eq i32 %74, %75
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %19, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %7
  br label %174

81:                                               ; preds = %7
  %82 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %82, ptr %19, align 4, !tbaa !9
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %19, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 4
  %88 = call i32 @i32_load(ptr noundef %84, i64 noundef %87)
  store i32 %88, ptr %19, align 4, !tbaa !9
  %89 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %89, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %90, ptr %20, align 4, !tbaa !9
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = icmp eq i32 %91, %92
  %94 = zext i1 %93 to i32
  store i32 %94, ptr %19, align 4, !tbaa !9
  %95 = load i32, ptr %19, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %81
  br label %174

98:                                               ; preds = %81
  %99 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %99, ptr %19, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %100, ptr %20, align 4, !tbaa !9
  %101 = load i32, ptr %19, align 4, !tbaa !9
  %102 = load i32, ptr %20, align 4, !tbaa !9
  %103 = icmp eq i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %19, align 4, !tbaa !9
  %105 = load i32, ptr %19, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %98
  br label %208

108:                                              ; preds = %98
  %109 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %109, ptr %19, align 4, !tbaa !9
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %19, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = call i32 @i32_load(ptr noundef %111, i64 noundef %113)
  store i32 %114, ptr %19, align 4, !tbaa !9
  %115 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %116, ptr %19, align 4, !tbaa !9
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = call i32 @i32_load(ptr noundef %118, i64 noundef %120)
  store i32 %121, ptr %19, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %122, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %123, ptr %20, align 4, !tbaa !9
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %19, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 4
  %129 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %130, ptr %19, align 4, !tbaa !9
  %131 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %131, ptr %20, align 4, !tbaa !9
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %135, i32 noundef %136)
  %137 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %137, ptr %19, align 4, !tbaa !9
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = call i32 @i32_load(ptr noundef %139, i64 noundef %141)
  store i32 %142, ptr %19, align 4, !tbaa !9
  %143 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %143, ptr %10, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %144, ptr %19, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %145, ptr %20, align 4, !tbaa !9
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 4
  %151 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %153, ptr %20, align 4, !tbaa !9
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %19, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %155, i64 noundef %157, i32 noundef %158)
  %159 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %159, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %160, ptr %20, align 4, !tbaa !9
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %19, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 4
  %166 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %162, i64 noundef %165, i32 noundef %166)
  %167 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %167, ptr %19, align 4, !tbaa !9
  %168 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %168, ptr %20, align 4, !tbaa !9
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %19, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %170, i64 noundef %172, i32 noundef %173)
  br label %174

174:                                              ; preds = %108, %97, %80
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %176, ptr %20, align 4, !tbaa !9
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %19, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 48
  %182 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %181, i32 noundef %182)
  %183 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %183, ptr %19, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %184, ptr %20, align 4, !tbaa !9
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = add i64 %188, 44
  %190 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %186, i64 noundef %189, i32 noundef %190)
  %191 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %191, ptr %19, align 4, !tbaa !9
  %192 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %192, ptr %20, align 4, !tbaa !9
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = add i64 %196, 40
  %198 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %194, i64 noundef %197, i32 noundef %198)
  %199 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %199, ptr %19, align 4, !tbaa !9
  %200 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %200, ptr %20, align 4, !tbaa !9
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %19, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 36
  %206 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %207, ptr %19, align 4, !tbaa !9
  br label %226

208:                                              ; preds = %107
  store i32 0, ptr %19, align 4, !tbaa !9
  %209 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %209, ptr %9, align 4, !tbaa !9
  store i32 142905, ptr %20, align 4, !tbaa !9
  %210 = load i32, ptr %20, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %19, align 4, !tbaa !9
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %20, align 4, !tbaa !9
  store i32 83477, ptr %21, align 4, !tbaa !9
  %214 = load i32, ptr %21, align 4, !tbaa !9
  %215 = load i32, ptr %20, align 4, !tbaa !9
  %216 = add i32 %215, %214
  store i32 %216, ptr %20, align 4, !tbaa !9
  store i32 61, ptr %21, align 4, !tbaa !9
  %217 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %217, ptr %22, align 4, !tbaa !9
  store i32 72011, ptr %23, align 4, !tbaa !9
  %218 = load i32, ptr %23, align 4, !tbaa !9
  %219 = load i32, ptr %22, align 4, !tbaa !9
  %220 = add i32 %219, %218
  store i32 %220, ptr %22, align 4, !tbaa !9
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = load i32, ptr %20, align 4, !tbaa !9
  %224 = load i32, ptr %21, align 4, !tbaa !9
  %225 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224, i32 noundef %225)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

226:                                              ; preds = %174
  %227 = load i32, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %15) #4
  ret i32 %227
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3AESTree0x3A0x3AFunctionTypeAnnotationNode0x3A0x3AFunctionTypeAnnotationNode0x28llvh0x3A0x3Asimple_ilist0x3Chermes0x3A0x3AESTree0x3A0x3ANode0x3E0x260x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #2 {
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %1 to i64
  %10 = add nuw nsw i64 %9, 12
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %10, i64 noundef 0)
  %11 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %11, i32 noundef 131)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %9, i64 noundef 0)
  %12 = add nuw nsw i64 %9, 20
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %12, i64 noundef 0)
  %13 = add i32 %1, 28
  %14 = add nuw nsw i64 %9, 32
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %14, i32 noundef %13)
  %15 = add nuw nsw i64 %9, 28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %15, i32 noundef %13)
  %16 = icmp eq i32 %13, %2
  br i1 %16, label %36, label %17

17:                                               ; preds = %7
  %18 = zext i32 %2 to i64
  %19 = add nuw nsw i64 %18, 4
  %20 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %19)
  %21 = icmp eq i32 %20, %2
  br i1 %21, label %36, label %22

22:                                               ; preds = %17
  %23 = icmp eq i32 %13, %20
  br i1 %23, label %41, label %24

24:                                               ; preds = %22
  %25 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %18)
  %26 = zext i32 %20 to i64
  %27 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %28 = zext i32 %27 to i64
  %29 = add nuw nsw i64 %28, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %29, i32 noundef %2)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %18, i32 noundef %27)
  %30 = zext i32 %13 to i64
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %30)
  %32 = zext i32 %25 to i64
  %33 = add nuw nsw i64 %32, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %33, i32 noundef %13)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %31)
  %34 = zext i32 %31 to i64
  %35 = add nuw nsw i64 %34, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %20)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %25)
  br label %36

36:                                               ; preds = %17, %7, %24
  %37 = add nuw nsw i64 %9, 48
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %37, i32 noundef %6)
  %38 = add nuw nsw i64 %9, 44
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %38, i32 noundef %5)
  %39 = add nuw nsw i64 %9, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %39, i32 noundef %4)
  %40 = add nuw nsw i64 %9, 36
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %40, i32 noundef %3)
  ret i32 %1

41:                                               ; preds = %22
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 142905, i32 noundef 83477, i32 noundef 61, i32 noundef 72011)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable
}

attributes #0 = { 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 #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 = { 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 = { noreturn nounwind }

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

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


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