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