Complex sentence: In a post credit scene, Charlie wakes up, with Dom Kolb sitting beside him, from a dream extraction (which the dream was the whole movie).
Split into simpler sentences: In a post credit scene, Charlie wakes up with Dom Kolb sitting beside him. He just had gotten done giving Charlie a dream extraction (which the dream was the whole movie).