Eh.. It's easier said than done. First I am sure not that skilled in assembler (let alone the one for x86_64. This is the very first time I took a look at it). Then to do any kext debugging and see what really is going on one needs a second Mac, as explained by Apple. Sure one can't put a breakpoint in the frame buffer code while using the same computer, can he?
Oh, and last but not least the assembler crashes. Bloody XCode 6.1...
try posting in the apple support forum, maybe someone can be more helpful that us