The *.s assembly file is generated by compile the code with -save-temps using gcc. E.g. gcc -save-temps -c sum.c