Paste
#82638: Untitled C paste by 113.108.133.42
~ cat txt
.file "radix_sorting.cpp"
.local _ZStL8__ioinit
.comm _ZStL8__ioinit,1,1
.section .rodata
.LC0:
.string "%u\n"
.LC1:
.string "%d"
.LC2:
.string "%s"
.LC3:
.string "%d\n"
.text
.globl main
.type main, @function
main:
.LFB971:
.cfi_startproc
.cfi_personality 0,__gxx_personality_v0
.cfi_lsda 0,.LLSDA971
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %edi
pushl %esi
pushl %ebx
andl $-16, %esp
subl $1160192, %esp
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
movl $-1, 1160164(%esp)
leal 80052(%esp), %esi
movl %esi, 28(%esp)
movl $26, 24(%esp)
jmp .L2
.L5:
movl 28(%esp), %edi
movl %edi, 20(%esp)
movl $10000, %ebx
jmp .L3
.L4:
movl 20(%esp), %eax
movl %eax, (%esp)
.LEHB0:
call _ZNSsC1Ev
.LEHE0:
addl $4, 20(%esp)
subl $1, %ebx
.L3:
cmpl $-1, %ebx
setne %al
testb %al, %al
jne .L4
addl $40004, 28(%esp)
subl $1, 24(%esp)
.L2:
cmpl $-1, 24(%esp)
setne %al
testb %al, %al
jne .L5
movl 1160164(%esp), %eax
movl %eax, 4(%esp)
movl $.LC0, (%esp)
.LEHB1:
call printf
leal 1160160(%esp), %eax
movl %eax, 4(%esp)
movl $.LC1, (%esp)
call scanf
movl $0, 1160188(%esp)
movl $40004, 8(%esp)
movl $0, 4(%esp)
leal 44(%esp), %eax
movl %eax, (%esp)
call memset
movl $0, 1160184(%esp)
jmp .L6
.L7:
movl $60, (%esp)
call _Znaj
movl %eax, %edx
movl 1160184(%esp), %eax
movl %edx, 40048(%esp,%eax,4)
addl $1, 1160184(%esp)
.L6:
movl 1160184(%esp), %edx
movl 1160160(%esp), %eax
cmpl %eax, %edx
setb %al
testb %al, %al
jne .L7
movl $0, 1160180(%esp)
jmp .L8
.L10:
movl 1160180(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, 4(%esp)
movl $.LC2, (%esp)
call scanf
movl 1160180(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
movl %eax, 4(%esp)
movl $.LC3, (%esp)
call printf
movl 1160180(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
cmpl 1160188(%esp), %eax
ja .L9
movl 1160180(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
movl %eax, 4(%esp)
movl $.LC3, (%esp)
call printf
movl 1160180(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
movl %eax, 1160188(%esp)
.L9:
addl $1, 1160180(%esp)
.L8:
movl 1160180(%esp), %edx
movl 1160160(%esp), %eax
cmpl %eax, %edx
setb %al
testb %al, %al
jne .L10
movl 1160188(%esp), %eax
movl %eax, 4(%esp)
movl $.LC3, (%esp)
call printf
movl $0, 1160176(%esp)
jmp .L11
.L15:
movl 1160176(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
cmpl 1160188(%esp), %eax
jae .L12
movl 1160176(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call strlen
movl %eax, 1160172(%esp)
jmp .L13
.L14:
movl 1160176(%esp), %eax
movl 40048(%esp,%eax,4), %edx
movl 1160172(%esp), %eax
addl %edx, %eax
movb $96, (%eax)
addl $1, 1160172(%esp)
.L13:
movl 1160172(%esp), %eax
cmpl 1160188(%esp), %eax
setb %al
testb %al, %al
jne .L14
movl 1160176(%esp), %eax
movl 40048(%esp,%eax,4), %edx
movl 1160188(%esp), %eax
addl %edx, %eax
movb $0, (%eax)
.L12:
addl $1, 1160176(%esp)
.L11:
movl 1160176(%esp), %edx
movl 1160160(%esp), %eax
cmpl %eax, %edx
setb %al
testb %al, %al
jne .L15
movl $0, 1160168(%esp)
jmp .L16
.L17:
movl 1160168(%esp), %eax
movl 40048(%esp,%eax,4), %eax
movl %eax, (%esp)
call puts
.LEHE1:
addl $1, 1160168(%esp)
.L16:
movl 1160168(%esp), %edx
movl 1160160(%esp), %eax
cmpl %eax, %edx
setb %al
testb %al, %al
jne .L17
movl $0, %esi
leal 80052(%esp), %ebx
addl $1080108, %ebx
.L19:
leal 80052(%esp), %eax
cmpl %eax, %ebx
je .L20
subl $4, %ebx
movl %ebx, (%esp)
.LEHB2:
call _ZNSsD1Ev
.LEHE2:
jmp .L19
.L20:
movl %esi, %eax
jmp .L33
.L30:
movl %eax, 16(%esp)
testl %edi, %edi
je .L22
movl $10000, %eax
subl %ebx, %eax
sall $2, %eax
leal (%edi,%eax), %ebx
.L23:
cmpl %edi, %ebx
je .L22
subl $4, %ebx
movl %ebx, (%esp)
call _ZNSsD1Ev
jmp .L23
.L22:
movl 16(%esp), %edi
testl %esi, %esi
je .L24
imull $-40004, 24(%esp), %eax
addl $1040104, %eax
leal (%esi,%eax), %ebx
.L25:
cmpl %esi, %ebx
je .L24
subl $4, %ebx
movl %ebx, (%esp)
call _ZNSsD1Ev
jmp .L25
.L24:
movl %edi, %eax
jmp .L26
.L32:
movl %eax, %esi
leal 80052(%esp), %ebx
addl $1080108, %ebx
.L29:
leal 80052(%esp), %eax
cmpl %eax, %ebx
je .L28
subl $4, %ebx
movl %ebx, (%esp)
call _ZNSsD1Ev
jmp .L29
.L28:
movl %esi, %eax
jmp .L26
.L31:
.L26:
movl %eax, (%esp)
.LEHB3:
call _Unwind_Resume
.LEHE3:
.L33:
leal -12(%ebp), %esp
popl %ebx
.cfi_restore 3
popl %esi
.cfi_restore 6
popl %edi
.cfi_restore 7
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE971:
.globl __gxx_personality_v0
.section .gcc_except_table,"a",@progbits
.LLSDA971:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 .LLSDACSE971-.LLSDACSB971
.LLSDACSB971:
.uleb128 .LEHB0-.LFB971
.uleb128 .LEHE0-.LEHB0
.uleb128 .L30-.LFB971
.uleb128 0
.uleb128 .LEHB1-.LFB971
.uleb128 .LEHE1-.LEHB1
.uleb128 .L32-.LFB971
.uleb128 0
.uleb128 .LEHB2-.LFB971
.uleb128 .LEHE2-.LEHB2
.uleb128 .L31-.LFB971
.uleb128 0
.uleb128 .LEHB3-.LFB971
.uleb128 .LEHE3-.LEHB3
.uleb128 0
.uleb128 0
.LLSDACSE971:
.text
.size main, .-main
.type _Z41__static_initialization_and_destruction_0ii, @function
_Z41__static_initialization_and_destruction_0ii:
.LFB1009:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $24, %esp
cmpl $1, 8(%ebp)
jne .L34
cmpl $65535, 12(%ebp)
jne .L34
movl $_ZStL8__ioinit, (%esp)
call _ZNSt8ios_base4InitC1Ev
movl $__dso_handle, 8(%esp)
movl $_ZStL8__ioinit, 4(%esp)
movl $_ZNSt8ios_base4InitD1Ev, (%esp)
call __cxa_atexit
.L34:
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1009:
.size _Z41__static_initialization_and_destruction_0ii, .-_Z41__static_initialization_and_destruction_0ii
.type _GLOBAL__sub_I_main, @function
_GLOBAL__sub_I_main:
.LFB1010:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $24, %esp
movl $65535, 4(%esp)
movl $1, (%esp)
call _Z41__static_initialization_and_destruction_0ii
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1010:
.size _GLOBAL__sub_I_main, .-_GLOBAL__sub_I_main
.section .init_array,"aw"
.align 4
.long _GLOBAL__sub_I_main
.section .rodata
.align 4
.type _ZZL18__gthread_active_pvE20__gthread_active_ptr, @object
.size _ZZL18__gthread_active_pvE20__gthread_active_ptr, 4
_ZZL18__gthread_active_pvE20__gthread_active_ptr:
.long _ZL22__gthrw_pthread_cancelm
.weakref _ZL22__gthrw_pthread_cancelm,pthread_cancel
.hidden __dso_handle
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits