def METHOD_NAME() -> None:
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument(
        "ips_or_macs",
        nargs="*",
        help=(
            "Display results for specified IP (or networks) or MAC addresses"
            " (or MAC address regexps)."
        ),
    )
    parser.add_argument("-s", "--sensor")
    parser.add_argument("-c", "--count", action="store_true")
    parser.add_argument(
        "-r", "--resolve", action="store_true", help="Resolve MAC manufacturer"
    )
    args = parser.parse_args()
    flts: Tuple[List[str], List[str]] = ([], [])  # MAC & IP filters
    for arg in args.ips_or_macs:
        if arg[:1] in "-!~":
            neg = True
            arg = arg[1:]
        else:
            neg = False
        match = MAC_ADDR.search(arg)
        if match:
            flts[0].append(
                db.passive.searchmac(mac=arg.lower(), neg=neg),
            )
        elif arg.startswith("/") and "/" in arg[1:]:
            flts[0].append(
                db.passive.searchmac(mac=utils.str2regexp(arg.lower()), neg=neg),
            )
        elif "/" in arg:
            flts[1].append(db.passive.searchnet(arg, neg=neg))
        else:
            flts[1].append(db.passive.searchhost(arg, neg=neg))
    if not flts[0]:
        flts[0].append(db.passive.searchmac())
    flt = db.passive.flt_or(*flts[0])
    if flts[1]:
        flt = db.passive.flt_and(flt, db.passive.flt_or(*flts[1]))
    if args.sensor is not None:
        flt = db.passive.flt_and(flt, db.passive.searchsensor(args.sensor))
    if args.count:
        print(db.passive.count(flt))
        return
    for rec in db.passive.get(
        flt, sort=[("value", 1), ("recontype", 1), ("source", 1), ("addr", 1)]
    ):
        rec["times"] = "s" if rec["count"] > 1 else ""
        if not rec.get("sensor"):
            rec["sensor"] = "-"
        if args.resolve:
            try:
                manuf_res = utils.mac2manuf(rec["value"])
                assert manuf_res is not None
                manuf = manuf_res[0]
            except (TypeError, ValueError, AssertionError):
                pass
            else:
                rec["value"] = "%s (%s)" % (rec["value"], manuf)
        if "addr" in rec:
            print(
                "%(value)s %(source)s %(addr)s on %(sensor)s (%(recontype)s %(count)s "
                "time%(times)s, %(firstseen)s - %(lastseen)s)" % rec
            )
            continue
        if rec["source"] == "WLAN_ASSOCIATED" and args.resolve:
            try:
                manuf_res = utils.mac2manuf(rec["targetval"])
                assert manuf_res is not None
                manuf = manuf_res[0]
            except (TypeError, ValueError, AssertionError):
                pass
            else:
                rec["targetval"] = "%s (%s)" % (rec["targetval"], manuf)
        print(
            "%(value)s %(source)s %(targetval)s on %(sensor)s (%(recontype)s %(count)s "
            "time%(times)s, %(firstseen)s - %(lastseen)s)" % rec
        )