clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_rwlockattr_setkind_np.shared.s
blob184e34498c57c36f84a470cd3983678dddf8aaa1
1 .text
2 .p2align 4,,15
3 .globl pthread_rwlockattr_setkind_np
4 .type pthread_rwlockattr_setkind_np, @function
5 pthread_rwlockattr_setkind_np:
6 cmpl $2, %esi
7 ja .L3
8 movl %esi, (%rdi)
9 xorl %eax, %eax
10 ret
11 .p2align 4,,10
12 .p2align 3
13 .L3:
14 movl $22, %eax
15 ret
16 .size pthread_rwlockattr_setkind_np, .-pthread_rwlockattr_setkind_np