Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / nptl / pthread_mutexattr_settype.s
blob59c6fa4bb0d19813db008b6986be7238f117cf3f
1 .text
2 .p2align 4,,15
3 .globl __pthread_mutexattr_settype
4 .type __pthread_mutexattr_settype, @function
5 __pthread_mutexattr_settype:
6 cmpl $3, %esi
7 movl $22, %eax
8 ja .L1
9 testl %esi, %esi
10 movl $512, %eax
11 cmove %eax, %esi
12 movl (%rdi), %eax
13 andl $-251662336, %eax
14 orl %eax, %esi
15 xorl %eax, %eax
16 movl %esi, (%rdi)
17 .L1:
18 rep ret
19 .size __pthread_mutexattr_settype, .-__pthread_mutexattr_settype
20 .weak pthread_mutexattr_settype
21 .set pthread_mutexattr_settype,__pthread_mutexattr_settype
22 .weak pthread_mutexattr_setkind_np
23 .set pthread_mutexattr_setkind_np,__pthread_mutexattr_settype