.set noat .set noreorder .set nomacro .section .rodata.str1.1,"aMS",@progbits,1 $LC0: .ascii "hello world\0" $LC1: .ascii "llo world\0" .text .align 2 .align 4 .globl fn .ent fn fn: .frame $30,0,$26,0 .mask 0x4000600,0 ldah $29,0($27) !gpdisp!1 lda $29,0($29) !gpdisp!1 $fn..ng: lda $30,-32($30) lda $18,10($31) ldq $27,memcmp($29) !literal!11 stq $9,8($30) mov $16,$9 ldah $16,$LC0($29) !gprelhigh stq $10,16($30) lda $16,$LC0($16) !gprellow stq $26,0($30) .prologue 1 mov $17,$10 ldah $17,$LC1($29) !gprelhigh lda $16,2($16) lda $17,$LC1($17) !gprellow jsr $26,($27),memcmp !lituse_jsr!11 ldah $29,0($26) !gpdisp!12 lda $29,0($29) !gpdisp!12 lda $17,104($31) bne $0,$L11 ldq $16,-8($10) ldq $27,strchr($29) !literal!9 jsr $26,($27),strchr !lituse_jsr!9 ldah $29,0($26) !gpdisp!10 cmpeq $0,$9,$0 lda $29,0($29) !gpdisp!10 mov $9,$16 cpys $f31,$f31,$f31 lda $17,104($31) beq $0,$L11 ldq $27,strchr($29) !literal!7 jsr $26,($27),strchr !lituse_jsr!7 ldah $29,0($26) !gpdisp!8 cmpeq $0,$9,$0 lda $29,0($29) !gpdisp!8 cpys $f31,$f31,$f31 mov $9,$16 beq $0,$L11 lda $17,119($31) ldq $27,strchr($29) !literal!5 jsr $26,($27),strchr !lituse_jsr!5 ldah $29,0($26) !gpdisp!6 lda $1,6($9) mov $0,$16 cmpeq $0,$1,$0 lda $29,0($29) !gpdisp!6 lda $17,111($31) beq $0,$L11 ldq $27,strchr($29) !literal!3 jsr $26,($27),strchr !lituse_jsr!3 ldah $29,0($26) !gpdisp!4 lda $1,7($9) cmpeq $0,$1,$0 cpys $f31,$f31,$f31 lda $29,0($29) !gpdisp!4 beq $0,$L11 ldq $26,0($30) ldq $9,8($30) ldq $10,16($30) lda $30,32($30) ret $31,($26),1 $L11: ldq $27,abort($29) !literal!2 jsr $26,($27),abort !lituse_jsr!2 .end fn .section .rodata.str1.1 $LC2: .ascii "bye bye world\0" .section .rodata .align 3 $LC3: .quad $LC0 .quad $LC2 .text .align 2 .align 4 .globl main .ent main main: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!13 lda $29,0($29) !gpdisp!13 $main..ng: ldah $1,$LC3($29) !gprelhigh lda $2,$LC3($1) !gprellow lda $30,-32($30) ldq $3,$LC3($1) !gprellow ldah $16,$LC0($29) !gprelhigh ldq $4,8($2) lda $16,$LC0($16) !gprellow stq $26,0($30) .prologue 1 lda $17,24($30) stq $3,16($30) stq $4,24($30) cpys $f31,$f31,$f31 bsr $26,$fn..ng ldq $26,0($30) mov $31,$0 lda $30,32($30) ret $31,($26),1 .end main .align 2 .align 4 .ent strpbrk strpbrk: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!14 lda $29,0($29) !gpdisp!14 $strpbrk..ng: lda $30,-16($30) ldq $27,abort($29) !literal!15 stq $26,0($30) .prologue 1 jsr $26,($27),abort !lituse_jsr!15 .end strpbrk .ident "GCC: (GNU) 3.3.2"