def METHOD_NAME(
    func1: PrimFunc,
    func2: PrimFunc,
    *args: Any,
    **kwargs: Any,
) -> None:
    """
    Asserts that PrimFuncs func1 and func2 are structurally equal, setting both
    their global symbol attributes to main so that the global symbol
    will not be a point of comparison.
    """
    assert_structural_equal(
        func1.with_attr("global_symbol", "main"),
        func2.with_attr("global_symbol", "main"),
        *args,
        **kwargs,
    )