Last active
January 17, 2017 02:58
-
-
Save codebrainz/1dc6734d796c0e85ca7a86a884123946 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000000000680 <vStringStripLeading>: | |
680: 41 54 push %r12 | |
682: 55 push %rbp | |
683: 53 push %rbx | |
684: 48 8b 2f mov (%rdi),%rbp | |
687: 48 85 ed test %rbp,%rbp | |
68a: 74 2e je 6ba <vStringStripLeading+0x3a> | |
68c: 49 89 fc mov %rdi,%r12 | |
68f: 31 db xor %ebx,%ebx | |
691: e8 00 00 00 00 callq 696 <vStringStripLeading+0x16> | |
696: 49 8b 7c 24 10 mov 0x10(%r12),%rdi | |
69b: 48 8b 10 mov (%rax),%rdx | |
69e: eb 09 jmp 6a9 <vStringStripLeading+0x29> | |
6a0: 48 83 c3 01 add $0x1,%rbx | |
6a4: 48 39 eb cmp %rbp,%rbx | |
6a7: 74 17 je 6c0 <vStringStripLeading+0x40> | |
6a9: 48 0f be 04 1f movsbq (%rdi,%rbx,1),%rax | |
6ae: f6 44 42 01 20 testb $0x20,0x1(%rdx,%rax,2) | |
6b3: 75 eb jne 6a0 <vStringStripLeading+0x20> | |
6b5: 48 85 db test %rbx,%rbx | |
6b8: 75 06 jne 6c0 <vStringStripLeading+0x40> | |
6ba: 5b pop %rbx | |
6bb: 5d pop %rbp | |
6bc: 41 5c pop %r12 | |
6be: c3 retq | |
6bf: 90 nop | |
6c0: 48 89 ea mov %rbp,%rdx | |
6c3: 48 8d 34 1f lea (%rdi,%rbx,1),%rsi | |
6c7: 48 29 da sub %rbx,%rdx | |
6ca: e8 00 00 00 00 callq 6cf <vStringStripLeading+0x4f> | |
6cf: 49 8b 04 24 mov (%r12),%rax | |
6d3: 49 8b 54 24 10 mov 0x10(%r12),%rdx | |
6d8: 48 29 d8 sub %rbx,%rax | |
6db: 49 89 04 24 mov %rax,(%r12) | |
6df: c6 04 02 00 movb $0x0,(%rdx,%rax,1) | |
6e3: 5b pop %rbx | |
6e4: 5d pop %rbp | |
6e5: 41 5c pop %r12 | |
6e7: c3 retq | |
6e8: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) | |
6ef: 00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000000000680 <vStringStripLeading>: | |
680: 53 push %rbx | |
681: 48 89 fb mov %rdi,%rbx | |
684: e8 00 00 00 00 callq 689 <vStringStripLeading+0x9> | |
689: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) | |
690: 48 8b 4b 10 mov 0x10(%rbx),%rcx | |
694: 48 8b 10 mov (%rax),%rdx | |
697: 48 0f be 31 movsbq (%rcx),%rsi | |
69b: f6 44 72 01 20 testb $0x20,0x1(%rdx,%rsi,2) | |
6a0: 74 3d je 6df <vStringStripLeading+0x5f> | |
6a2: 48 8b 13 mov (%rbx),%rdx | |
6a5: 48 85 d2 test %rdx,%rdx | |
6a8: 74 35 je 6df <vStringStripLeading+0x5f> | |
6aa: 48 83 fa 01 cmp $0x1,%rdx | |
6ae: 76 31 jbe 6e1 <vStringStripLeading+0x61> | |
6b0: ba 01 00 00 00 mov $0x1,%edx | |
6b5: 0f 1f 00 nopl (%rax) | |
6b8: 0f b6 34 11 movzbl (%rcx,%rdx,1),%esi | |
6bc: 40 88 74 11 ff mov %sil,-0x1(%rcx,%rdx,1) | |
6c1: 48 8b 33 mov (%rbx),%rsi | |
6c4: 48 83 c2 01 add $0x1,%rdx | |
6c8: 48 8b 4b 10 mov 0x10(%rbx),%rcx | |
6cc: 48 39 d6 cmp %rdx,%rsi | |
6cf: 77 e7 ja 6b8 <vStringStripLeading+0x38> | |
6d1: 48 8d 56 ff lea -0x1(%rsi),%rdx | |
6d5: 48 89 13 mov %rdx,(%rbx) | |
6d8: c6 44 31 ff 00 movb $0x0,-0x1(%rcx,%rsi,1) | |
6dd: eb b1 jmp 690 <vStringStripLeading+0x10> | |
6df: 5b pop %rbx | |
6e0: c3 retq | |
6e1: be 01 00 00 00 mov $0x1,%esi | |
6e6: 48 8d 56 ff lea -0x1(%rsi),%rdx | |
6ea: 48 89 13 mov %rdx,(%rbx) | |
6ed: c6 44 31 ff 00 movb $0x0,-0x1(%rcx,%rsi,1) | |
6f2: eb 9c jmp 690 <vStringStripLeading+0x10> | |
6f4: 66 90 xchg %ax,%ax | |
6f6: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) | |
6fd: 00 00 00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment