Correct diagram
--- Bottom of stack --- RSP + size (higher addresses)
arg N
arg N - 1
arg N - 2
...
arg 6
arg 5
[shadow space for arg 4]
[shadow space for arg 3]
[shadow space for arg 2]
[shadow space for arg 1]
(return address)
---- Top of stack ----- RSP (lower addresses)
[grows downward]
The return address is at the top of the stack (last pushed), followed by a shadow space for the first four parameters, followed by parameters 5 and beyond.
: (N) , .