clarify the purpose of this project
[nyanglibc.git] / wctype / towctrans_l.s
blob16eee5c4a425342b1d04c994d4936e5affc4a6f7
1 .text
2 .p2align 4,,15
3 .globl __towctrans_l
4 .type __towctrans_l, @function
5 __towctrans_l:
6 testq %rsi, %rsi
7 movl %edi, %eax
8 je .L2
9 movl (%rsi), %ecx
10 movl %edi, %edx
11 shrl %cl, %edx
12 cmpl 4(%rsi), %edx
13 jnb .L2
14 addl $5, %edx
15 movl (%rsi,%rdx,4), %edx
16 testl %edx, %edx
17 je .L2
18 movl 8(%rsi), %ecx
19 shrl %cl, %edi
20 movl %edi, %ecx
21 andl 12(%rsi), %ecx
22 leaq (%rsi,%rcx,4), %rcx
23 movl (%rcx,%rdx), %edx
24 testl %edx, %edx
25 je .L2
26 movl %eax, %ecx
27 andl 16(%rsi), %ecx
28 leaq (%rsi,%rcx,4), %rcx
29 addl (%rcx,%rdx), %eax
30 .L2:
31 rep ret
32 .size __towctrans_l, .-__towctrans_l
33 .weak towctrans_l
34 .set towctrans_l,__towctrans_l