Table schema:
CREATE TABLE table_13710464_1 (losing_pitcher VARCHAR, attendance VARCHAR)

Question: Who was the losing pitcher when 40583 attended?
SQL: SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = 40583