You are an expert at summarizing long articles. Proceed to summarize the following text: 
andre agassi swore at an umpire and then appeared to hit a ball at him , before losing to davis cup hero magnus larsson in the grand slam cup quarter-finals here on friday .
angry agassi loses to larsson