dq = "\""

def tohexstr(dashed):
    hexes = [int(x, 16) for x in dashed.split("-")]
    s1 = dq + "".join(f"\\x{x:02x}" for x in hexes) + dq
    hexes[-1] |= 0x80
    s2 = dq + "".join(f"\\x{x:02x}" for x in hexes) + dq
    return f"{{ {s1:<16}, {s2:<16} }}"