clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_mutex_destroy.shared.s
blob7a502b2ce573e3ba76fc803473e6a7a8e92e4734
1 .text
2 .p2align 4,,15
3 .globl __GI___pthread_mutex_destroy
4 .hidden __GI___pthread_mutex_destroy
5 .type __GI___pthread_mutex_destroy, @function
6 __GI___pthread_mutex_destroy:
7 movl 16(%rdi), %eax
8 testb $16, %al
9 jne .L2
10 movl 12(%rdi), %edx
11 movl $16, %eax
12 testl %edx, %edx
13 jne .L1
14 .L2:
15 movl $-1, 16(%rdi)
16 xorl %eax, %eax
17 .L1:
18 rep ret
19 .size __GI___pthread_mutex_destroy, .-__GI___pthread_mutex_destroy
20 .weak pthread_mutex_destroy
21 .set pthread_mutex_destroy,__GI___pthread_mutex_destroy
22 .globl __pthread_mutex_destroy
23 .set __pthread_mutex_destroy,__GI___pthread_mutex_destroy