You can simplify lines 645 thru 651 to:

```
DS_RET_VALUE(D_ARG(argnum));
return R_RET;
```