; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41a630 */ | #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_ () | uint64_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*) */ 0x0041a630 push rbp | 0x0041a631 push r15 | 0x0041a633 push r14 | 0x0041a635 push r13 | 0x0041a637 push r12 | 0x0041a639 push rbx | 0x0041a63a push rax | 0x0041a63b mov r14, rcx | r14 = rcx; 0x0041a63e mov r15, rsi | r15 = rsi; 0x0041a641 mov r12, rdi | r12 = rdi; 0x0041a644 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041a649 je 0x41a651 | 0x0041a64b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041a64f jmp 0x41a655 | | } else { 0x0041a651 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041a655 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041a659 test r14, r14 | | if (r14 == 0) { 0x0041a65c jne 0x41a672 | 0x0041a65e mov r14, qword [rip + 0x22a44b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041a665 test r14, r14 | | if (r14 != 0) { 0x0041a668 jne 0x41a672 | goto label_0; | } 0x0041a66a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041a66f mov r14, rax | r14 = rax; | } | label_0: 0x0041a672 mov rax, qword [r14] | rax = *(r14); 0x0041a675 mov esi, 0x40 | esi = 0x40; 0x0041a67a mov rdi, r14 | rdi = r14; 0x0041a67d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041a680 mov rbx, rax | rbx = rax; 0x0041a683 mov qword [rax], 0x41a780 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_17408___.invokerFunction_void_; 0x0041a68a lea rdi, [rax + 0x10] | 0x0041a68e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041a696 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041a69a movaps xmm0, xmmword [rip + 0x16eff] | xmm0 = .comment; 0x0041a6a1 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041a6a5 mov ecx, 0x432d0b | 0x0041a6aa mov rsi, r13 | 0x0041a6ad mov rdx, rbp | 0x0041a6b0 call 0x4254b0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, r13, rbp, "string<...>::assign(i,j): string too long"); 0x0041a6b5 mov edx, 0x422cd0 | 0x0041a6ba mov rdi, r12 | 0x0041a6bd mov rsi, r15 | 0x0041a6c0 mov rcx, rbx | 0x0041a6c3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041a6c8 mov ebp, eax | 0x0041a6ca test eax, eax | | if (eax != 0) { 0x0041a6cc je 0x41a6f7 | 0x0041a6ce cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041a6d3 je 0x41a6e3 | 0x0041a6d5 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041a6d9 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041a6dd mov rax, qword [rdi] | rax = *(rdi); 0x0041a6e0 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041a6e3 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041a6eb mov rax, qword [r14] | rax = *(r14); 0x0041a6ee mov rdi, r14 | rdi = r14; 0x0041a6f1 mov rsi, rbx | rsi = rbx; 0x0041a6f4 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041a6f7 mov eax, ebp | eax = ebp; 0x0041a6f9 add rsp, 8 | 0x0041a6fd pop rbx | 0x0041a6fe pop r12 | 0x0041a700 pop r13 | 0x0041a702 pop r14 | 0x0041a704 pop r15 | 0x0041a706 pop rbp | 0x0041a707 ret | return rax; | }