throw ERT.badarg(k, n, list);
int index = idx.value;
while (!src.isNil()) {
EObject elm = src.head();
ETuple tup;
if ((tup = elm.testTuple()) != null) {
if (tup.arity() >= index) {
if (tup.elm(index).equals(k)) {
return new ETuple2(ERT.am_value, tup);
}
}