def METHOD_NAME(session, url, compiler, options, source, filters):
    r = session.post(
        url + "api/compiler/" + compiler + "/compile",
        json={
            "source": source,
            "options": options,
            "filters": {key: True for key in filters},
        },
        headers={"Accept": "application/json"},
        timeout=_TIMEOUT,
    )
    r.raise_for_status()
    def fixup(obj):
        try:
            if "text" in obj:
                obj["text"] = re.sub(r"/tmp/compiler-explorer-[^/]+", "/tmp", obj["text"])
            return obj
        except:
            print("Issues with obj '{}'".format(obj))
            raise
    result = r.json()
    if "asm" not in result:
        result["asm"] = []
    result["asm"] = [fixup(obj) for obj in result["asm"]]
    return result