Skip to content

Instantly share code, notes, and snippets.

@saper
Created January 1, 2016 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saper/887019521e9d330b5745 to your computer and use it in GitHub Desktop.
Save saper/887019521e9d330b5745 to your computer and use it in GitHub Desktop.
out/Release/obj.target/v8_base/deps/v8/src/modules.o: file format elf64-x86-64-freebsd
Disassembly of section .text._ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_:
0000000000000000 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_>:
0: 55 push %rbp
1: 48 89 e5 mov %rsp,%rbp
4: 41 57 push %r15
6: 41 56 push %r14
8: 41 55 push %r13
a: 41 54 push %r12
c: 53 push %rbx
d: 48 83 ec 18 sub $0x18,%rsp
11: 48 89 4d c8 mov %rcx,-0x38(%rbp)
15: 41 89 d7 mov %edx,%r15d
18: 48 89 75 d0 mov %rsi,-0x30(%rbp)
1c: 49 89 fd mov %rdi,%r13
1f: 49 8b 45 08 mov 0x8(%r13),%rax
23: 41 8b 4d 10 mov 0x10(%r13),%ecx
27: 8d 51 ff lea -0x1(%rcx),%edx
2a: 44 21 fa and %r15d,%edx
2d: 48 8d 14 52 lea (%rdx,%rdx,2),%rdx
31: 48 8d 1c d0 lea (%rax,%rdx,8),%rbx
35: 48 8b 34 d0 mov (%rax,%rdx,8),%rsi
39: 48 85 f6 test %rsi,%rsi
3c: 74 45 je 83 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x83>
3e: 48 8d 0c 49 lea (%rcx,%rcx,2),%rcx
42: 4c 8d 24 c8 lea (%rax,%rcx,8),%r12
46: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
4d: 00 00 00
50: 44 39 7b 10 cmp %r15d,0x10(%rbx)
54: 75 0c jne 62 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x62>
56: 48 8b 7d d0 mov -0x30(%rbp),%rdi
5a: 41 ff 55 00 callq *0x0(%r13)
5e: 84 c0 test %al,%al
60: 75 17 jne 79 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x79>
62: 48 83 c3 18 add $0x18,%rbx
66: 4c 39 e3 cmp %r12,%rbx
69: 72 04 jb 6f <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x6f>
6b: 49 8b 5d 08 mov 0x8(%r13),%rbx
6f: 48 8b 33 mov (%rbx),%rsi
72: 48 85 f6 test %rsi,%rsi
75: 75 d9 jne 50 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x50>
77: eb 0a jmp 83 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x83>
79: 48 83 3b 00 cmpq $0x0,(%rbx)
7d: 0f 85 44 01 00 00 jne 1c7 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1c7>
83: 48 8b 45 d0 mov -0x30(%rbp),%rax
87: 48 89 03 mov %rax,(%rbx)
8a: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx)
91: 00
92: 44 89 7b 10 mov %r15d,0x10(%rbx)
96: 41 8b 45 14 mov 0x14(%r13),%eax
9a: 89 43 14 mov %eax,0x14(%rbx)
9d: 41 8b 45 14 mov 0x14(%r13),%eax
a1: 44 8d 60 01 lea 0x1(%rax),%r12d
a5: 45 89 65 14 mov %r12d,0x14(%r13)
a9: 44 89 e1 mov %r12d,%ecx
ac: c1 e9 02 shr $0x2,%ecx
af: 8d 44 01 01 lea 0x1(%rcx,%rax,1),%eax
b3: 45 8b 75 10 mov 0x10(%r13),%r14d
b7: 44 39 f0 cmp %r14d,%eax
ba: 0f 82 07 01 00 00 jb 1c7 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1c7>
c0: 49 8b 5d 08 mov 0x8(%r13),%rbx
c4: 45 01 f6 add %r14d,%r14d
c7: 4a 8d 04 f5 00 00 00 lea 0x0(,%r14,8),%rax
ce: 00
cf: 48 8d 34 40 lea (%rax,%rax,2),%rsi
d3: 48 8b 7d c8 mov -0x38(%rbp),%rdi
d7: e8 00 00 00 00 callq dc <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0xdc>
dc: 48 85 c0 test %rax,%rax
df: 49 89 45 08 mov %rax,0x8(%r13)
e3: 74 35 je 11a <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x11a>
e5: 45 89 75 10 mov %r14d,0x10(%r13)
e9: 45 85 f6 test %r14d,%r14d
ec: 74 22 je 110 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x110>
ee: 4b 8d 0c 76 lea (%r14,%r14,2),%rcx
f2: 48 8d 0c c8 lea (%rax,%rcx,8),%rcx
f6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
fd: 00 00 00
100: 48 c7 00 00 00 00 00 movq $0x0,(%rax)
107: 48 83 c0 18 add $0x18,%rax
10b: 48 39 c8 cmp %rcx,%rax
10e: 72 f0 jb 100 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x100>
110: 41 c7 45 14 00 00 00 movl $0x0,0x14(%r13)
117: 00
118: eb 0a jmp 124 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x124>
11a: bf 00 00 00 00 mov $0x0,%edi
11f: e8 00 00 00 00 callq 124 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x124>
124: 45 85 e4 test %r12d,%r12d
127: 4c 8b 75 c8 mov -0x38(%rbp),%r14
12b: 74 43 je 170 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x170>
12d: 48 83 c3 14 add $0x14,%rbx
131: 66 66 66 66 66 66 2e data16 data16 data16 data16 data16 nopw %cs:0x0(%rax,%rax,1)
138: 0f 1f 84 00 00 00 00
13f: 00
140: 48 8b 73 ec mov -0x14(%rbx),%rsi
144: 48 85 f6 test %rsi,%rsi
147: 74 1e je 167 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x167>
149: 8b 53 fc mov -0x4(%rbx),%edx
14c: 4c 89 ef mov %r13,%rdi
14f: 4c 89 f1 mov %r14,%rcx
152: e8 00 00 00 00 callq 157 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x157>
157: 48 8b 4b f4 mov -0xc(%rbx),%rcx
15b: 48 89 48 08 mov %rcx,0x8(%rax)
15f: 8b 0b mov (%rbx),%ecx
161: 89 48 14 mov %ecx,0x14(%rax)
164: 41 ff cc dec %r12d
167: 48 83 c3 18 add $0x18,%rbx
16b: 45 85 e4 test %r12d,%r12d
16e: 75 d0 jne 140 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x140>
170: 49 8b 45 08 mov 0x8(%r13),%rax
174: 41 8b 4d 10 mov 0x10(%r13),%ecx
178: 8d 51 ff lea -0x1(%rcx),%edx
17b: 44 21 fa and %r15d,%edx
17e: 48 8d 14 52 lea (%rdx,%rdx,2),%rdx
182: 48 8d 1c d0 lea (%rax,%rdx,8),%rbx
186: 48 8b 34 d0 mov (%rax,%rdx,8),%rsi
18a: 48 85 f6 test %rsi,%rsi
18d: 74 38 je 1c7 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1c7>
18f: 48 8d 0c 49 lea (%rcx,%rcx,2),%rcx
193: 4c 8d 24 c8 lea (%rax,%rcx,8),%r12
197: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1)
19e: 00 00
1a0: 44 39 7b 10 cmp %r15d,0x10(%rbx)
1a4: 75 0c jne 1b2 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1b2>
1a6: 48 8b 7d d0 mov -0x30(%rbp),%rdi
1aa: 41 ff 55 00 callq *0x0(%r13)
1ae: 84 c0 test %al,%al
1b0: 75 15 jne 1c7 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1c7>
1b2: 48 83 c3 18 add $0x18,%rbx
1b6: 4c 39 e3 cmp %r12,%rbx
1b9: 72 04 jb 1bf <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1bf>
1bb: 49 8b 5d 08 mov 0x8(%r13),%rbx
1bf: 48 8b 33 mov (%rbx),%rsi
1c2: 48 85 f6 test %rsi,%rsi
1c5: 75 d9 jne 1a0 <_ZN2v88internal19TemplateHashMapImplINS0_20ZoneAllocationPolicyEE14LookupOrInsertEPvjS2_+0x1a0>
1c7: 48 89 d8 mov %rbx,%rax
1ca: 48 83 c4 18 add $0x18,%rsp
1ce: 5b pop %rbx
1cf: 41 5c pop %r12
1d1: 41 5d pop %r13
1d3: 41 5e pop %r14
1d5: 41 5f pop %r15
1d7: 5d pop %rbp
1d8: c3 retq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment