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]
/
login
/
getutmp.s
blob
fa2219cc59dcc03a903893e40a5ddc17f1e8692a
1
.text
2
.p2align 4,,15
3
.globl getutmp
4
.type getutmp, @function
5
getutmp
:
6
movq
(%
rdi
), %
rdx
7
movq
%
rdi
, %
rax
8
movq
%
rdx
, (%
rsi
)
9
movq
376
(%
rdi
), %
rdx
10
leaq
8
(%
rsi
), %
rdi
11
andq $
-
8
, %
rdi
12
movq
%
rdx
,
376
(%
rsi
)
13
subq
%
rdi
, %
rsi
14
movq
%
rsi
, %
rcx
15
subq
%
rsi
, %
rax
16
addl $
384
, %
ecx
17
movq
%
rax
, %
rsi
18
shrl $
3
, %
ecx
19
rep movsq
20
ret
21
.size getutmp, .-getutmp
22
.globl getutmpx
23
.set getutmpx,getutmp