clarify the purpose of this project
[nyanglibc.git] / locale / nl_langinfo_l.shared.s
blob8cedb1f81ffda090c441f9313c46319e0687dcd2
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .section .rodata.str1.1,"aMS",@progbits,1
7 .LC0:
8 .string ""
9 #NO_APP
10 .text
11 .p2align 4,,15
12 .globl __GI___nl_langinfo_l
13 .hidden __GI___nl_langinfo_l
14 .type __GI___nl_langinfo_l, @function
15 __GI___nl_langinfo_l:
16 movl %edi, %eax
17 sarl $16, %eax
18 cmpl $6, %eax
19 je .L4
20 cmpl $12, %eax
21 jbe .L7
22 .L4:
23 leaq .LC0(%rip), %rax
24 .L1:
25 rep ret
26 .p2align 4,,10
27 .p2align 3
28 .L7:
29 movzwl %di, %edi
30 cltq
31 cmpl $65535, %edi
32 je .L8
33 movq (%rsi,%rax,8), %rdx
34 leaq .LC0(%rip), %rax
35 cmpl %edi, 56(%rdx)
36 jbe .L1
37 movq 64(%rdx,%rdi,8), %rax
38 ret
39 .p2align 4,,10
40 .p2align 3
41 .L8:
42 movq 128(%rsi,%rax,8), %rax
43 ret
44 .size __GI___nl_langinfo_l, .-__GI___nl_langinfo_l
45 .globl __nl_langinfo_l
46 .set __nl_langinfo_l,__GI___nl_langinfo_l
47 .weak nl_langinfo_l
48 .set nl_langinfo_l,__nl_langinfo_l