clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_mutexattr_getprotocol.shared.s
blob53ed016cc1d81a52095f7d759afb6ae4b5ae3eea
1 .text
2 .p2align 4,,15
3 .globl pthread_mutexattr_getprotocol
4 .type pthread_mutexattr_getprotocol, @function
5 pthread_mutexattr_getprotocol:
6 movl (%rdi), %eax
7 sarl $28, %eax
8 andl $3, %eax
9 movl %eax, (%rsi)
10 xorl %eax, %eax
11 ret
12 .size pthread_mutexattr_getprotocol, .-pthread_mutexattr_getprotocol