; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/assume @ 0x41a500 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_17408____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_17408__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_17408_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_17408_const_BloombergLP::bslma::Allocator_ (int64_t arg4, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, STACKSIZE_TEST_CASE_NAMESPACE::Func<17408> const&, BloombergLP::bslma::Allocator*) */ 0x0041a500 push rbp | 0x0041a501 push r15 | 0x0041a503 push r14 | 0x0041a505 push r13 | 0x0041a507 push r12 | 0x0041a509 push rbx | 0x0041a50a push rax | 0x0041a50b mov r14, rcx | r14 = rcx; 0x0041a50e mov r15, rsi | r15 = rsi; 0x0041a511 mov r12, rdi | r12 = rdi; 0x0041a514 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0041a518 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041a51d je 0x41a525 | 0x0041a51f mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x0041a523 jmp 0x41a529 | | } else { 0x0041a525 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0041a529 mov rax, qword [r14] | rax = *(r14); 0x0041a52c mov esi, 0x40 | esi = 0x40; 0x0041a531 mov rdi, r14 | rdi = r14; 0x0041a534 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041a537 mov rbx, rax | rbx = rax; 0x0041a53a mov qword [rax], 0x41a640 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_17408___.invokerFunction_void_; 0x0041a541 lea rdi, [rax + 0x10] | 0x0041a545 mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041a54d mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041a551 movaps xmm0, xmmword [rip + 0x16b18] | xmm0 = .comment; 0x0041a558 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041a55c mov ecx, 0x4327df | 0x0041a561 mov rsi, rbp | 0x0041a564 mov rdx, r13 | 0x0041a567 call 0x424f70 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, rbp, r13, "string<...>::assign(i,j): string too long"); 0x0041a56c mov edx, 0x4227b0 | 0x0041a571 mov rdi, r12 | 0x0041a574 mov rsi, r15 | 0x0041a577 mov rcx, rbx | 0x0041a57a call 0x422e20 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041a57f mov ebp, eax | 0x0041a581 test eax, eax | | if (eax != 0) { 0x0041a583 je 0x41a5ae | 0x0041a585 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041a58a je 0x41a59a | 0x0041a58c mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041a590 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041a594 mov rax, qword [rdi] | rax = *(rdi); 0x0041a597 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041a59a mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041a5a2 mov rax, qword [r14] | rax = *(r14); 0x0041a5a5 mov rdi, r14 | rdi = r14; 0x0041a5a8 mov rsi, rbx | rsi = rbx; 0x0041a5ab call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041a5ae mov eax, ebp | eax = ebp; 0x0041a5b0 add rsp, 8 | 0x0041a5b4 pop rbx | 0x0041a5b5 pop r12 | 0x0041a5b7 pop r13 | 0x0041a5b9 pop r14 | 0x0041a5bb pop r15 | 0x0041a5bd pop rbp | 0x0041a5be ret | return rax; | }