Skip to content

Instantly share code, notes, and snippets.

@ridiculousfish
Created October 17, 2013 00:29
Show Gist options
  • Save ridiculousfish/7017342 to your computer and use it in GitHub Desktop.
Save ridiculousfish/7017342 to your computer and use it in GitHub Desktop.
.globl _ZN10parse_ll_t11parse_errorE13parse_token_tPKwz
.align 16, 0x90
.type _ZN10parse_ll_t11parse_errorE13parse_token_tPKwz,@function
_ZN10parse_ll_t11parse_errorE13parse_token_tPKwz: # @_ZN10parse_ll_t11parse_errorE13parse_token_tPKwz
.cfi_startproc
.cfi_personality 3, __gxx_personality_v0
.Leh_func_begin40:
.cfi_lsda 3, .Lexception40
# BB#0:
pushq %r15
.Ltmp520:
.cfi_def_cfa_offset 16
pushq %r14
.Ltmp521:
.cfi_def_cfa_offset 24
pushq %rbx
.Ltmp522:
.cfi_def_cfa_offset 32
subq $240, %rsp
.Ltmp523:
.cfi_def_cfa_offset 272
.Ltmp524:
.cfi_offset %rbx, -32
.Ltmp525:
.cfi_offset %r14, -24
.Ltmp526:
.cfi_offset %r15, -16
movq %rsi, %r14
movq %rdi, %r15
testb %al, %al
je .LBB40_2
# BB#1:
movaps %xmm0, 48(%rsp)
movaps %xmm1, 64(%rsp)
movaps %xmm2, 80(%rsp)
movaps %xmm3, 96(%rsp)
movaps %xmm4, 112(%rsp)
movaps %xmm5, 128(%rsp)
movaps %xmm6, 144(%rsp)
movaps %xmm7, 160(%rsp)
.LBB40_2:
movq %r9, 40(%rsp)
movq %r8, 32(%rsp)
movq %rcx, 24(%rsp)
movq %rdx, 16(%rsp)
setne %al
testb $7, %r15b
sete %bl
andb %al, %bl
je .LBB40_20
# BB#3:
movb $1, 48(%r15)
testq %r14, %r14
je .LBB40_14
# BB#4:
testb $1, %bl
je .LBB40_21
# BB#5:
movzbl 49(%r15), %eax
cmpq $2, %rax
jae .LBB40_22
# BB#6:
testb $1, %al
je .LBB40_14
# BB#7:
leaq 216(%rsp), %rdi
callq _ZN13parse_error_tC1Ev
leaq (%rsp), %rax
movq %rax, 208(%rsp)
leaq 304(%rsp), %rax
movq %rax, 200(%rsp)
movl $48, 196(%rsp)
movl $16, 192(%rsp)
.Ltmp501:
leaq 184(%rsp), %rdi
leaq 192(%rsp), %rdx
movq %r14, %rsi
callq _Z14vformat_stringPKwP13__va_list_tag
.Ltmp502:
# BB#8:
.Ltmp503:
leaq 216(%rsp), %rdi
leaq 184(%rsp), %rsi
callq _ZNSbIwSt11char_traitsIwESaIwEEaSERKS2_
.Ltmp504:
# BB#9:
.Ltmp508:
leaq 184(%rsp), %rdi
callq _ZNSbIwSt11char_traitsIwESaIwEED1Ev
.Ltmp509:
# BB#10:
leaq 272(%rsp), %rax
movups 16(%rax), %xmm0
movups %xmm0, 224(%rsp)
testb $1, %bl
je .LBB40_23
# BB#11:
addq $56, %r15
testb $7, %r15b
jne .LBB40_24
# BB#12:
.Ltmp510:
leaq 216(%rsp), %rsi
movq %r15, %rdi
callq _ZNSt6vectorI13parse_error_tSaIS0_EE9push_backERKS0_
.Ltmp511:
# BB#13:
leaq 216(%rsp), %rdi
callq _ZN13parse_error_tD1Ev
.LBB40_14:
addq $240, %rsp
popq %rbx
popq %r14
popq %r15
ret
.LBB40_20:
movl $__unnamed_216, %edi
movq %r15, %rsi
callq __ubsan_handle_type_mismatch_abort
.LBB40_21:
movl $__unnamed_217, %edi
movq %r15, %rsi
callq __ubsan_handle_type_mismatch_abort
.LBB40_22:
movl $__unnamed_218, %edi
movq %rax, %rsi
callq __ubsan_handle_load_invalid_value_abort
.LBB40_16:
.Ltmp505:
movq %rax, %rbx
.Ltmp506:
leaq 184(%rsp), %rax
movq %rax, %rdi
callq _ZNSbIwSt11char_traitsIwESaIwEED1Ev
.Ltmp507:
jmp .LBB40_17
.LBB40_23:
movl $__unnamed_219, %edi
movq %r15, %rsi
callq __ubsan_handle_type_mismatch_abort
.LBB40_24:
movl $__unnamed_220, %edi
movq %r15, %rsi
callq __ubsan_handle_type_mismatch_abort
.LBB40_15:
.Ltmp512:
movq %rax, %rbx
.LBB40_17:
.Ltmp513:
leaq 216(%rsp), %rax
movq %rax, %rdi
callq _ZN13parse_error_tD1Ev
.Ltmp514:
# BB#18:
movq %rbx, %rdi
callq _Unwind_Resume
.LBB40_19:
.Ltmp515:
movq %rax, %rdi
callq __clang_call_terminate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment