; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41c700 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_61440____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_61440__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_61440_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_61440_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<61440> const&, BloombergLP::bslma::Allocator*) */ 0x0041c700 push rbp | 0x0041c701 push r15 | 0x0041c703 push r14 | 0x0041c705 push r13 | 0x0041c707 push r12 | 0x0041c709 push rbx | 0x0041c70a push rax | 0x0041c70b mov r14, rcx | r14 = rcx; 0x0041c70e mov r15, rsi | r15 = rsi; 0x0041c711 mov r12, rdi | r12 = rdi; 0x0041c714 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041c719 je 0x41c721 | 0x0041c71b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041c71f jmp 0x41c725 | | } else { 0x0041c721 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041c725 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041c729 test r14, r14 | | if (r14 == 0) { 0x0041c72c jne 0x41c742 | 0x0041c72e mov r14, qword [rip + 0x22837b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041c735 test r14, r14 | | if (r14 != 0) { 0x0041c738 jne 0x41c742 | goto label_0; | } 0x0041c73a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041c73f mov r14, rax | r14 = rax; | } | label_0: 0x0041c742 mov rax, qword [r14] | rax = *(r14); 0x0041c745 mov esi, 0x40 | esi = 0x40; 0x0041c74a mov rdi, r14 | rdi = r14; 0x0041c74d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041c750 mov rbx, rax | rbx = rax; 0x0041c753 mov qword [rax], 0x41c850 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_61440___.invokerFunction_void_; 0x0041c75a lea rdi, [rax + 0x10] | 0x0041c75e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041c766 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041c76a movaps xmm0, xmmword [rip + 0x14e2f] | xmm0 = .comment; 0x0041c771 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041c775 mov ecx, 0x432d0b | 0x0041c77a mov rsi, r13 | 0x0041c77d mov rdx, rbp | 0x0041c780 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"); 0x0041c785 mov edx, 0x422cd0 | 0x0041c78a mov rdi, r12 | 0x0041c78d mov rsi, r15 | 0x0041c790 mov rcx, rbx | 0x0041c793 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041c798 mov ebp, eax | 0x0041c79a test eax, eax | | if (eax != 0) { 0x0041c79c je 0x41c7c7 | 0x0041c79e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041c7a3 je 0x41c7b3 | 0x0041c7a5 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041c7a9 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041c7ad mov rax, qword [rdi] | rax = *(rdi); 0x0041c7b0 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c7b3 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041c7bb mov rax, qword [r14] | rax = *(r14); 0x0041c7be mov rdi, r14 | rdi = r14; 0x0041c7c1 mov rsi, rbx | rsi = rbx; 0x0041c7c4 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c7c7 mov eax, ebp | eax = ebp; 0x0041c7c9 add rsp, 8 | 0x0041c7cd pop rbx | 0x0041c7ce pop r12 | 0x0041c7d0 pop r13 | 0x0041c7d2 pop r14 | 0x0041c7d4 pop r15 | 0x0041c7d6 pop rbp | 0x0041c7d7 ret | return rax; | }