; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/assume @ 0x41ed40 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_126976____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_126976__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_126976_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_126976_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<126976> const&, BloombergLP::bslma::Allocator*) */ 0x0041ed40 push rbp | 0x0041ed41 push r15 | 0x0041ed43 push r14 | 0x0041ed45 push r13 | 0x0041ed47 push r12 | 0x0041ed49 push rbx | 0x0041ed4a push rax | 0x0041ed4b mov r14, rcx | r14 = rcx; 0x0041ed4e mov r15, rsi | r15 = rsi; 0x0041ed51 mov r12, rdi | r12 = rdi; 0x0041ed54 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0041ed58 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041ed5d je 0x41ed65 | 0x0041ed5f mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x0041ed63 jmp 0x41ed69 | | } else { 0x0041ed65 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0041ed69 mov rax, qword [r14] | rax = *(r14); 0x0041ed6c mov esi, 0x40 | esi = 0x40; 0x0041ed71 mov rdi, r14 | rdi = r14; 0x0041ed74 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041ed77 mov rbx, rax | rbx = rax; 0x0041ed7a mov qword [rax], 0x41ee80 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_126976___.invokerFunction_void_; 0x0041ed81 lea rdi, [rax + 0x10] | 0x0041ed85 mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041ed8d mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041ed91 movaps xmm0, xmmword [rip + 0x122d8] | xmm0 = .comment; 0x0041ed98 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041ed9c mov ecx, 0x4327df | 0x0041eda1 mov rsi, rbp | 0x0041eda4 mov rdx, r13 | 0x0041eda7 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"); 0x0041edac mov edx, 0x4227b0 | 0x0041edb1 mov rdi, r12 | 0x0041edb4 mov rsi, r15 | 0x0041edb7 mov rcx, rbx | 0x0041edba call 0x422e20 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041edbf mov ebp, eax | 0x0041edc1 test eax, eax | | if (eax != 0) { 0x0041edc3 je 0x41edee | 0x0041edc5 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041edca je 0x41edda | 0x0041edcc mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041edd0 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041edd4 mov rax, qword [rdi] | rax = *(rdi); 0x0041edd7 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041edda mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041ede2 mov rax, qword [r14] | rax = *(r14); 0x0041ede5 mov rdi, r14 | rdi = r14; 0x0041ede8 mov rsi, rbx | rsi = rbx; 0x0041edeb call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041edee mov eax, ebp | eax = ebp; 0x0041edf0 add rsp, 8 | 0x0041edf4 pop rbx | 0x0041edf5 pop r12 | 0x0041edf7 pop r13 | 0x0041edf9 pop r14 | 0x0041edfb pop r15 | 0x0041edfd pop rbp | 0x0041edfe ret | return rax; | }