// Metro module 4269 (f4270). import * as _toInteger from "./toInteger_4270"; import * as _baseFindIndex from "./baseFindIndex"; import * as _baseIteratee from "./baseIteratee"; const { max, min } = Math; module.exports = function findLastIndex(a0, a1, a2) { const r10 = a0 == null ? 0 : a0.length; if (r10) { let r6 = r10 - 1; if (a2 !== void 0) { const r20 = _toInteger(a2); r6 = a2 < 0 ? max(r10 + r20, 0) : min(r20, r10 - 1); } return _baseFindIndex(a0, _baseIteratee(a1, 3), r6, true); } return -1; };