clarify the purpose of this project
[nyanglibc.git] / nptl_db / td_thr_event_getmsg.shared.s
blobe159b397053d0cdadac0360ecbd525af647436db
1 .text
2 .section .rodata.str1.1,"aMS",@progbits,1
3 .LC0:
4 .string "td_thr_event_getmsg\n"
5 .LC1:
6 .string "td_thr_event_getmsg.c"
7 .section .rodata.str1.8,"aMS",@progbits,1
8 .align 8
9 .LC2:
10 .string "(th->th_ta_p)->ta_sizeof_td_eventbuf_t != 0"
11 .section .rodata.str1.1
12 .LC3:
13 .string "libpthread.so.0"
14 .LC4:
15 .string "err == TD_OK"
16 .text
17 .p2align 4,,15
18 .globl td_thr_event_getmsg
19 .type td_thr_event_getmsg, @function
20 td_thr_event_getmsg:
21 pushq %rbp
22 movq %rsp, %rbp
23 pushq %r13
24 pushq %r12
25 pushq %rbx
26 movq %rsi, %r12
27 movq %rdi, %rbx
28 subq $72, %rsp
29 movl __td_debug(%rip), %edx
30 testl %edx, %edx
31 jne .L28
32 .L2:
33 movq (%rbx), %rdi
34 movq 8(%rbx), %rax
35 leaq -88(%rbp), %r8
36 xorl %ecx, %ecx
37 movl $9, %edx
38 leaq 124(%rdi), %rsi
39 movq %rax, -88(%rbp)
40 call _td_locate_field
41 testl %eax, %eax
42 jne .L1
43 movq (%rbx), %rdi
44 movl 216(%rdi), %ecx
45 testl %ecx, %ecx
46 je .L29
47 .L4:
48 leaq 30(%rcx), %rax
49 movq 16(%rdi), %rdi
50 movq -88(%rbp), %rsi
51 shrq $4, %rax
52 salq $4, %rax
53 subq %rax, %rsp
54 leaq 15(%rsp), %r13
55 andq $-16, %r13
56 movq %r13, %rdx
57 call ps_pdread@PLT
58 testl %eax, %eax
59 jne .L19
60 movq (%rbx), %rdi
61 leaq -80(%rbp), %r9
62 xorl %ecx, %ecx
63 movq %r13, %r8
64 movl $19, %edx
65 leaq 220(%rdi), %rsi
66 call _td_fetch_value_local
67 testl %eax, %eax
68 jne .L1
69 movl -80(%rbp), %eax
70 testl %eax, %eax
71 je .L18
72 movq (%rbx), %rdi
73 leaq -72(%rbp), %r9
74 xorl %ecx, %ecx
75 movq %r13, %r8
76 movl $20, %edx
77 leaq 232(%rdi), %rsi
78 call _td_fetch_value_local
79 testl %eax, %eax
80 je .L30
81 .L1:
82 leaq -24(%rbp), %rsp
83 popq %rbx
84 popq %r12
85 popq %r13
86 popq %rbp
87 ret
88 .p2align 4,,10
89 .p2align 3
90 .L29:
91 leaq 216(%rdi), %rsi
92 movl $18, %edx
93 call _td_check_sizeof
94 testl %eax, %eax
95 jne .L1
96 movq (%rbx), %rdi
97 movl 216(%rdi), %ecx
98 jmp .L4
99 .p2align 4,,10
100 .p2align 3
101 .L28:
102 leaq .LC0(%rip), %rsi
103 movl $20, %edx
104 movl $2, %edi
105 call write@PLT
106 jmp .L2
107 .p2align 4,,10
108 .p2align 3
109 .L18:
110 movl $10, %eax
111 jmp .L1
112 .p2align 4,,10
113 .p2align 3
114 .L30:
115 movq -72(%rbp), %rax
116 movq %rbx, 8(%r12)
117 xorl %esi, %esi
118 movq %r13, %rdi
119 movq %rax, 16(%r12)
120 movq -80(%rbp), %rax
121 movl %eax, (%r12)
122 movq (%rbx), %r12
123 movl 216(%r12), %edx
124 call memset@PLT
125 movl 216(%r12), %ecx
126 testl %ecx, %ecx
127 je .L31
128 movq 16(%r12), %rdi
129 movq -88(%rbp), %rsi
130 movq %r13, %rdx
131 call ps_pdwrite@PLT
132 testl %eax, %eax
133 jne .L19
134 movq (%rbx), %rdi
135 movq 304(%rdi), %r8
136 testq %r8, %r8
137 je .L32
138 movq %r8, -56(%rbp)
139 .L9:
140 leaq 312(%rdi), %rsi
141 leaq -64(%rbp), %r9
142 xorl %ecx, %ecx
143 movl $28, %edx
144 call _td_fetch_value
145 testl %eax, %eax
146 jne .L1
147 cmpq $0, -64(%rbp)
148 leaq -48(%rbp), %r12
149 leaq -56(%rbp), %r13
150 jne .L16
151 jmp .L20
152 .p2align 4,,10
153 .p2align 3
154 .L35:
155 movq -48(%rbp), %rdx
156 movq -64(%rbp), %rax
157 cmpq %rax, %rdx
158 je .L20
159 cmpq 8(%rbx), %rax
160 movq (%rbx), %rdi
161 leaq 160(%rdi), %rsi
162 je .L33
163 xorl %ecx, %ecx
164 movq %r13, %r8
165 movl $12, %edx
166 movq %rax, -56(%rbp)
167 call _td_locate_field
168 testl %eax, %eax
169 jne .L34
170 movq -48(%rbp), %rax
171 testq %rax, %rax
172 movq %rax, -64(%rbp)
173 je .L20
174 .L16:
175 movq (%rbx), %rdi
176 movq 8(%rbx), %r8
177 xorl %ecx, %ecx
178 movq %r12, %r9
179 movl $12, %edx
180 leaq 160(%rdi), %rsi
181 call _td_fetch_value
182 testl %eax, %eax
183 je .L35
184 jmp .L1
185 .p2align 4,,10
186 .p2align 3
187 .L19:
188 movl $1, %eax
189 jmp .L1
190 .L20:
191 movl $15, %eax
192 jmp .L1
193 .L32:
194 leaq 304(%rdi), %rcx
195 movq 16(%rdi), %rdi
196 leaq .LC3(%rip), %rsi
197 movl $27, %edx
198 call td_mod_lookup
199 testl %eax, %eax
200 jne .L19
201 movq (%rbx), %rdi
202 movq 304(%rdi), %r8
203 testq %r8, %r8
204 movq %r8, -56(%rbp)
205 jne .L9
206 leaq 304(%rdi), %rcx
207 movq 16(%rdi), %rdi
208 leaq .LC3(%rip), %rsi
209 movl $27, %edx
210 call td_mod_lookup
211 testl %eax, %eax
212 jne .L19
213 movq (%rbx), %rdi
214 movq 304(%rdi), %r8
215 jmp .L9
216 .L33:
217 leaq -40(%rbp), %r8
218 movq %rdx, -40(%rbp)
219 xorl %ecx, %ecx
220 movl $12, %edx
221 call _td_locate_field
222 testl %eax, %eax
223 jne .L36
224 movq -56(%rbp), %r8
225 cmpq -40(%rbp), %r8
226 movl $15, %eax
227 je .L1
228 movq (%rbx), %rdi
229 movq -48(%rbp), %r9
230 xorl %ecx, %ecx
231 movl $-1, %edx
232 leaq 312(%rdi), %rsi
233 call _td_store_value
234 testl %eax, %eax
235 jne .L1
236 movq (%rbx), %rdi
237 movq -64(%rbp), %r8
238 xorl %r9d, %r9d
239 xorl %ecx, %ecx
240 movl $12, %edx
241 leaq 160(%rdi), %rsi
242 call _td_store_value
243 jmp .L1
244 .L31:
245 leaq __PRETTY_FUNCTION__.9063(%rip), %rcx
246 leaq .LC1(%rip), %rsi
247 leaq .LC2(%rip), %rdi
248 movl $63, %edx
249 call __assert_fail@PLT
250 .L34:
251 leaq __PRETTY_FUNCTION__.9063(%rip), %rcx
252 leaq .LC1(%rip), %rsi
253 leaq .LC4(%rip), %rdi
254 movl $112, %edx
255 call __assert_fail@PLT
256 .L36:
257 leaq __PRETTY_FUNCTION__.9063(%rip), %rcx
258 leaq .LC1(%rip), %rsi
259 leaq .LC4(%rip), %rdi
260 movl $95, %edx
261 call __assert_fail@PLT
262 .size td_thr_event_getmsg, .-td_thr_event_getmsg
263 .section .rodata.str1.16,"aMS",@progbits,1
264 .align 16
265 .type __PRETTY_FUNCTION__.9063, @object
266 .size __PRETTY_FUNCTION__.9063, 20
267 __PRETTY_FUNCTION__.9063:
268 .string "td_thr_event_getmsg"
269 .hidden _td_store_value
270 .hidden td_mod_lookup
271 .hidden _td_fetch_value
272 .hidden _td_check_sizeof
273 .hidden _td_fetch_value_local
274 .hidden _td_locate_field
275 .hidden __td_debug