clarify the purpose of this project
[nyanglibc.git] / inet / ether_ntoa_r.s
blob04c1110f97589d8b0cc2376b41de12001c3c0250
1 .text
2 .section .rodata.str1.1,"aMS",@progbits,1
3 .LC0:
4 .string "%x:%x:%x:%x:%x:%x"
5 .text
6 .p2align 4,,15
7 .globl ether_ntoa_r
8 .hidden ether_ntoa_r
9 .type ether_ntoa_r, @function
10 ether_ntoa_r:
11 pushq %rbx
12 movzbl 5(%rdi), %eax
13 movq %rsi, %rbx
14 movzbl (%rdi), %edx
15 movzbl 1(%rdi), %ecx
16 leaq .LC0(%rip), %rsi
17 pushq %rax
18 movzbl 4(%rdi), %eax
19 pushq %rax
20 movzbl 3(%rdi), %r9d
21 xorl %eax, %eax
22 movzbl 2(%rdi), %r8d
23 movq %rbx, %rdi
24 call sprintf
25 popq %rax
26 movq %rbx, %rax
27 popq %rdx
28 popq %rbx
29 ret
30 .size ether_ntoa_r, .-ether_ntoa_r
31 .hidden sprintf