clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_cond_init.shared.s
blob1ebaa5456de6b175acb79afcadd7aa018e165293
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __pthread_cond_init,pthread_cond_init@@GLIBC_2.3.2
7 #NO_APP
8 .p2align 4,,15
9 .globl __GI___pthread_cond_init
10 .hidden __GI___pthread_cond_init
11 .type __GI___pthread_cond_init, @function
12 __GI___pthread_cond_init:
13 pxor %xmm0, %xmm0
14 testq %rsi, %rsi
15 movups %xmm0, (%rdi)
16 movups %xmm0, 16(%rdi)
17 movups %xmm0, 32(%rdi)
18 je .L10
19 movl (%rsi), %eax
20 testb $1, %al
21 je .L4
22 orl $1, 36(%rdi)
23 .L4:
24 testb $2, %al
25 je .L10
26 orl $2, 36(%rdi)
27 .L10:
28 xorl %eax, %eax
29 ret
30 .size __GI___pthread_cond_init, .-__GI___pthread_cond_init
31 .globl __pthread_cond_init
32 .set __pthread_cond_init,__GI___pthread_cond_init