Untitled diff

Created Diff never expires
61 removals
95 lines
59 additions
96 lines
.section .rodata.str1.1,"aMS",@progbits,1
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.LC0:
.string "%d, "
.string "%d, "
.text
.text
.p2align 4,,15
.p2align 4,,15
.globl main
.globl main
.type main, @function
.type main, @function
main:
main:
.LFB22:
.LFB22:
.cfi_startproc
.cfi_startproc
pushq %rbp #
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
xorl %eax, %eax # array_ptr
xorl %ebp, %ebp # n
xorl %esi, %esi # n
.cfi_offset 6, -16
pushq %rbx #
pushq %rbx #
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
subq $40, %rsp #,
subq $40, %rsp #,
.cfi_def_cfa_offset 64
.cfi_def_cfa_offset 64
cmpq $12, %rax #, array_ptr
movw $50, (%rsp) #, array
movw $50, (%rsp) #, array
movw $-62, 2(%rsp) #, array
movw $-62, 2(%rsp) #, array
movq %rsp, %rbx #, tmp89
.cfi_offset 3, -24
movw $10, 4(%rsp) #, array
movw $10, 4(%rsp) #, array
movw $617, 6(%rsp) #, array
movw $617, 6(%rsp) #, array
movq %rsp, %rax #, array_ptr
movw $-174, 8(%rsp) #, array
movw $-174, 8(%rsp) #, array
movw $22, 10(%rsp) #, array
movw $22, 10(%rsp) #, array
leaq 24(%rsp), %rdi #, tmp90
movw $274, 12(%rsp) #, array
movw $274, 12(%rsp) #, array
movw $22, 14(%rsp) #, array
movw $22, 14(%rsp) #, array
movw $7, 16(%rsp) #, array
movw $7, 16(%rsp) #, array
movw $28, 18(%rsp) #, array
movw $28, 18(%rsp) #, array
movw $-2888, 20(%rsp) #, array
movw $-2888, 20(%rsp) #, array
movw $16, 22(%rsp) #, array
movw $16, 22(%rsp) #, array
movw $6, 24(%rsp) #, array
movw $6, 24(%rsp) #, array
je .L11 #,
jmp .L9 #
.cfi_offset 3, -24
.cfi_offset 6, -16
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L4:
.L4:
leaq 1(%rax), %rdx #, array_ptr
movzwl (%rax), %edx #* array_ptr, D.4023
movzwl (%rsp,%rax,2), %ecx # array, D.4023
movzwl 2(%rax), %ecx #, D.4025
movzwl (%rsp,%rdx,2), %ebx # array, D.4025
leaq 2(%rax), %rsi #, array_ptr
cmpw %bx, %cx # D.4025, D.4023
cmpw %cx, %dx # D.4025, D.4023
jle .L3 #,
jle .L3 #,
xorl %ebx, %ecx # D.4025, D.4028
xorl %ecx, %edx # D.4025, D.4028
movl $1, %esi #, n
movl $1, %ebp #, n
movw %cx, (%rsp,%rax,2) # D.4028, array
movw %dx, (%rax) # D.4028,* array_ptr
xorw (%rsp,%rdx,2), %cx # array, D.4028
xorl %ecx, %edx #, D.4028
movw %cx, (%rsp,%rdx,2) # D.4028, array
xorw %dx, (%rax) # D.4028,* array_ptr
xorw %cx, (%rsp,%rax,2) # D.4028, array
movw %dx, 2(%rax) # D.4028,
.L3:
.L3:
movq %rdx, %rax # array_ptr, array_ptr
movq %rsi, %rax # array_ptr, array_ptr
cmpq $12, %rax #, array_ptr
.L9:
cmpq %rdi, %rax # tmp90, array_ptr
jne .L4 #,
jne .L4 #,
.L11:
testb %bpl, %bpl # n
testb %sil, %sil # n
je .L11 #,
je .L12 #,
xorl %ebp, %ebp # n
xorl %esi, %esi # n
movq %rsp, %rax #, array_ptr
xorl %eax, %eax # array_ptr
jmp .L9 #
jmp .L4 #
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L12:
.L11:
xorl %ebx, %ebx # array_ptr
leaq 26(%rbx), %rbp #, D.4051
movq %rsp, %rbp #, tmp86
movq %rsp, %rbx #, array_ptr
.p2align 4,,10
.p2align 4,,10
.p2align 3
.p2align 3
.L6:
.L6:
movswl 0(%rbp,%rbx,2), %esi # array, tmp84
movswl (%rbx), %esi #* array_ptr, D.4030
xorl %eax, %eax #
xorl %eax, %eax #
addq $2, %rbx #, array_ptr
movl $.LC0, %edi #,
movl $.LC0, %edi #,
addq $1, %rbx #, array_ptr
call printf #
call printf #
cmpq $13, %rbx #, array_ptr
cmpq %rbp, %rbx # D.4051, array_ptr
jne .L6 #,
jne .L6 #,
movl $10, %edi #,
movl $10, %edi #,
call putchar #
call putchar #
addq $40, %rsp #,
addq $40, %rsp #,
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
xorl %eax, %eax #
xorl %eax, %eax #
popq %rbx #
popq %rbx #
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
popq %rbp #
popq %rbp #
.cfi_def_cfa_offset 8
.cfi_def_cfa_offset 8
ret
ret
.cfi_endproc
.cfi_endproc
.LFE22:
.LFE22:
.size main, .-main
.size main, .-main
.ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]"
.ident "GCC: (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]"
.section .comment.SUSE.OPTs,"MS",@progbits,1
.section .comment.SUSE.OPTs,"MS",@progbits,1
.string "Ospwg"
.string "Ospwg"
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",@progbits