; 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_hermes0x3A0x3AESTree0x3A0x3ADeclareComponentNode0x3A0x3ADeclareComponentNode0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20llvh0x3A0x3Asimple_ilist0x3Chermes0x3A0x3AESTree0x3A0x3ANode0x3E0x260x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(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 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
  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 8, ptr %23) #4
  %24 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %24, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %18, align 4, !tbaa !9
  %28 = zext i32 %27 to i64
  %29 = add i64 %28, 12
  %30 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %26, i64 noundef %29, i64 noundef %30)
  %31 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %31, ptr %18, align 4, !tbaa !9
  store i32 164, ptr %19, align 4, !tbaa !9
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.w2c_hermes, ptr %32, i32 0, i32 6
  %34 = load i32, ptr %18, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = add i64 %35, 8
  %37 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %33, i64 noundef %36, i32 noundef %37)
  %38 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %38, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %18, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %40, i64 noundef %42, i64 noundef %43)
  %44 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %44, ptr %18, align 4, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %45, ptr %19, align 4, !tbaa !9
  %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 %18, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 28
  %51 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %47, i64 noundef %50, i32 noundef %51)
  %52 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %52, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %18, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 20
  %58 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %54, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %59, ptr %18, align 4, !tbaa !9
  %60 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %60, ptr %19, align 4, !tbaa !9
  store i32 32, ptr %20, align 4, !tbaa !9
  %61 = load i32, ptr %20, align 4, !tbaa !9
  %62 = load i32, ptr %19, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %19, align 4, !tbaa !9
  %64 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %64, ptr %10, align 4, !tbaa !9
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 36
  %70 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %66, i64 noundef %69, i32 noundef %70)
  %71 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %71, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %72, ptr %19, align 4, !tbaa !9
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %18, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = add i64 %76, 32
  %78 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %74, i64 noundef %77, i32 noundef %78)
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %18, align 4, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %19, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = load i32, ptr %19, align 4, !tbaa !9
  %83 = icmp eq i32 %81, %82
  %84 = zext i1 %83 to i32
  store i32 %84, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %7
  br label %181

88:                                               ; preds = %7
  %89 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %89, ptr %18, align 4, !tbaa !9
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 4
  %95 = call i32 @i32_load(ptr noundef %91, i64 noundef %94)
  store i32 %95, ptr %18, align 4, !tbaa !9
  %96 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %96, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %97, ptr %19, align 4, !tbaa !9
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = load i32, ptr %19, align 4, !tbaa !9
  %100 = icmp eq i32 %98, %99
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %18, align 4, !tbaa !9
  %102 = load i32, ptr %18, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %88
  br label %181

105:                                              ; preds = %88
  %106 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %106, ptr %18, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %107, ptr %19, align 4, !tbaa !9
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = icmp eq i32 %108, %109
  %111 = zext i1 %110 to i32
  store i32 %111, ptr %18, align 4, !tbaa !9
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %115

114:                                              ; preds = %105
  br label %207

115:                                              ; preds = %105
  %116 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %116, ptr %18, 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 %18, 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 %18, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %122, ptr %16, align 4, !tbaa !9
  %123 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %123, ptr %18, 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 %18, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = call i32 @i32_load(ptr noundef %125, i64 noundef %127)
  store i32 %128, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %130, ptr %19, align 4, !tbaa !9
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %18, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = add i64 %134, 4
  %136 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %135, i32 noundef %136)
  %137 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %137, ptr %18, align 4, !tbaa !9
  %138 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %138, ptr %19, align 4, !tbaa !9
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %140, i64 noundef %142, i32 noundef %143)
  %144 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = call i32 @i32_load(ptr noundef %146, i64 noundef %148)
  store i32 %149, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %150, ptr %11, align 4, !tbaa !9
  %151 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %151, ptr %18, align 4, !tbaa !9
  %152 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 4
  %158 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %154, i64 noundef %157, i32 noundef %158)
  %159 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %159, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %19, 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 %18, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %162, i64 noundef %164, i32 noundef %165)
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %167, ptr %19, align 4, !tbaa !9
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %18, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 4
  %173 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %174, ptr %18, align 4, !tbaa !9
  %175 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %177, i64 noundef %179, i32 noundef %180)
  br label %181

181:                                              ; preds = %115, %104, %87
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %18, align 4, !tbaa !9
  %183 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %183, ptr %19, align 4, !tbaa !9
  %184 = load ptr, ptr %8, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 48
  %189 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %185, i64 noundef %188, i32 noundef %189)
  %190 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %190, ptr %18, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %191, ptr %19, align 4, !tbaa !9
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = add i64 %195, 44
  %197 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %193, i64 noundef %196, i32 noundef %197)
  %198 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %198, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %199, ptr %19, align 4, !tbaa !9
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %18, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = add i64 %203, 40
  %205 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %201, i64 noundef %204, i32 noundef %205)
  %206 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %206, ptr %18, align 4, !tbaa !9
  br label %225

207:                                              ; preds = %114
  store i32 0, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %208, ptr %9, align 4, !tbaa !9
  store i32 142905, ptr %19, align 4, !tbaa !9
  %209 = load i32, ptr %19, align 4, !tbaa !9
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %19, align 4, !tbaa !9
  store i32 83477, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = add i32 %214, %213
  store i32 %215, ptr %19, align 4, !tbaa !9
  store i32 61, ptr %20, align 4, !tbaa !9
  %216 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %216, ptr %21, align 4, !tbaa !9
  store i32 72011, ptr %22, align 4, !tbaa !9
  %217 = load i32, ptr %22, align 4, !tbaa !9
  %218 = load i32, ptr %21, align 4, !tbaa !9
  %219 = add i32 %218, %217
  store i32 %219, ptr %21, align 4, !tbaa !9
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load i32, ptr %18, align 4, !tbaa !9
  %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
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

225:                                              ; preds = %181
  %226 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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 %226
}

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_hermes0x3A0x3AESTree0x3A0x3ADeclareComponentNode0x3A0x3ADeclareComponentNode0x28hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20llvh0x3A0x3Asimple_ilist0x3Chermes0x3A0x3AESTree0x3A0x3ANode0x3E0x260x260x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x2C0x20hermes0x3A0x3AESTree0x3A0x3ANode0x2A0x29(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 164)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %9, i64 noundef 0)
  %12 = add nuw nsw i64 %9, 28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %2)
  %13 = add nuw nsw i64 %9, 20
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %13, i64 noundef 0)
  %14 = add i32 %1, 32
  %15 = add nuw nsw i64 %9, 36
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %15, i32 noundef %14)
  %16 = add nuw nsw i64 %9, 32
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %16, i32 noundef %14)
  %17 = icmp eq i32 %14, %3
  br i1 %17, label %37, label %18

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

23:                                               ; preds = %18
  %24 = icmp eq i32 %14, %21
  br i1 %24, label %41, label %25

25:                                               ; preds = %23
  %26 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %19)
  %27 = zext i32 %21 to i64
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %27)
  %29 = zext i32 %28 to i64
  %30 = add nuw nsw i64 %29, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %19, i32 noundef %28)
  %31 = zext i32 %14 to i64
  %32 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  %33 = zext i32 %26 to i64
  %34 = add nuw nsw i64 %33, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %34, i32 noundef %14)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef %32)
  %35 = zext i32 %32 to i64
  %36 = add nuw nsw i64 %35, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %36, i32 noundef %21)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %26)
  br label %37

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

41:                                               ; preds = %23
  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