.set noat .set noreorder .set nomacro .text .align 2 .align 4 .globl ap_check_cmd_context .ent ap_check_cmd_context $ap_check_cmd_context..ng: ap_check_cmd_context: .frame $30,0,$26,0 .prologue 0 mov $31,$0 ret $31,($26),1 .end ap_check_cmd_context .section .rodata.str1.1,"aMS",@progbits,1 $LC0: .ascii "inetd\0" $LC1: .ascii "standalone\0" $LC2: .ascii "ServerType must be either 'inetd' or 'standalone'\0" .text .align 2 .align 4 .globl server_type .ent server_type server_type: .frame $30,0,$26,0 .mask 0x4000200,0 ldah $29,0($27) !gpdisp!1 lda $29,0($29) !gpdisp!1 $server_type..ng: lda $30,-16($30) lda $17,31($31) stq $9,8($30) mov $18,$9 stq $26,0($30) .prologue 1 cpys $f31,$f31,$f31 bsr $26,$ap_check_cmd_context..ng mov $9,$16 ldah $17,$LC0($29) !gprelhigh lda $17,$LC0($17) !gprellow lda $18,6($31) cpys $f31,$f31,$f31 mov $0,$1 beq $0,$L8 $L2: ldq $26,0($30) bis $31,$31,$31 mov $1,$0 ldq $9,8($30) lda $30,16($30) ret $31,($26),1 .align 4 $L8: ldq $27,memcmp($29) !literal!4 jsr $26,($27),memcmp !lituse_jsr!4 ldah $29,0($26) !gpdisp!5 lda $29,0($29) !gpdisp!5 ldah $17,$LC1($29) !gprelhigh lda $17,$LC1($17) !gprellow mov $9,$16 beq $0,$L9 lda $18,11($31) ldq $27,memcmp($29) !literal!2 jsr $26,($27),memcmp !lituse_jsr!2 ldah $29,0($26) !gpdisp!3 lda $29,0($29) !gpdisp!3 ldah $1,$LC2($29) !gprelhigh lda $1,$LC2($1) !gprellow bne $0,$L2 lda $2,1($31) ldq $1,ap_standalone($29) !literal stl $2,0($1) bis $31,$31,$31 $L5: mov $31,$1 br $31,$L2 $L9: ldq $1,ap_standalone($29) !literal cpys $f31,$f31,$f31 stl $31,0($1) br $31,$L5 .end server_type .align 2 .align 4 .globl main .ent main main: .frame $30,0,$26,0 .mask 0x4000000,0 ldah $29,0($27) !gpdisp!6 lda $29,0($29) !gpdisp!6 $main..ng: lda $30,-16($30) ldah $18,$LC1($29) !gprelhigh lda $18,$LC1($18) !gprellow stq $26,0($30) .prologue 1 mov $31,$16 mov $31,$17 bsr $26,$server_type..ng ldq $26,0($30) mov $31,$0 lda $30,16($30) ret $31,($26),1 .end main .comm ap_standalone,4,4 .ident "GCC: (GNU) 3.3.2"