clarify the purpose of this project
[nyanglibc.git] / nptl / cnd_timedwait.s
blob4eda4dcfda579f17e07613c2a8b544d1d837d339
1 .text
2 .p2align 4,,15
3 .globl __cnd_timedwait
4 .type __cnd_timedwait, @function
5 __cnd_timedwait:
6 subq $8, %rsp
7 call __pthread_cond_timedwait@PLT
8 cmpl $12, %eax
9 je .L3
10 jle .L13
11 cmpl $16, %eax
12 je .L6
13 cmpl $110, %eax
14 jne .L2
15 movl $4, %eax
16 .L1:
17 addq $8, %rsp
18 ret
19 .p2align 4,,10
20 .p2align 3
21 .L6:
22 movl $1, %eax
23 addq $8, %rsp
24 ret
25 .p2align 4,,10
26 .p2align 3
27 .L13:
28 testl %eax, %eax
29 je .L1
30 .L2:
31 movl $2, %eax
32 addq $8, %rsp
33 ret
34 .p2align 4,,10
35 .p2align 3
36 .L3:
37 movl $3, %eax
38 addq $8, %rsp
39 ret
40 .size __cnd_timedwait, .-__cnd_timedwait
41 .weak cnd_timedwait
42 .set cnd_timedwait,__cnd_timedwait