repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
libio
/
getwchar_u.shared.s
blob
e621c5093e29eeb2ee38fbec78e8b0d7e8831d42
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl getwchar_unlocked
9
.type getwchar_unlocked, @function
10
getwchar_unlocked
:
11
movq stdin@GOTPCREL
(%
rip
), %
rax
12
movq
(%
rax
), %
rdi
13
movq
160
(%
rdi
), %
rax
14
testq
%
rax
, %
rax
15
je
.L2
16
movq
(%
rax
), %
rdx
17
cmpq
8
(%
rax
), %
rdx
18
jnb
.L2
19
leaq
4
(%
rdx
), %
rcx
20
movq
%
rcx
, (%
rax
)
21
movl
(%
rdx
), %
eax
22
ret
23
.p2align 4,,10
24
.p2align 3
25
.L2:
26
jmp __GI___wuflow
27
.size getwchar_unlocked, .-getwchar_unlocked