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