; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41c4d0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_59392____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_59392__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_59392_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_59392_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<59392> const&, BloombergLP::bslma::Allocator*) */ 0x0041c4d0 push rbp | 0x0041c4d1 push r15 | 0x0041c4d3 push r14 | 0x0041c4d5 push r13 | 0x0041c4d7 push r12 | 0x0041c4d9 push rbx | 0x0041c4da push rax | 0x0041c4db mov r14, rcx | r14 = rcx; 0x0041c4de mov r15, rsi | r15 = rsi; 0x0041c4e1 mov r12, rdi | r12 = rdi; 0x0041c4e4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041c4e9 je 0x41c4f1 | 0x0041c4eb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041c4ef jmp 0x41c4f5 | | } else { 0x0041c4f1 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041c4f5 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041c4f9 test r14, r14 | | if (r14 == 0) { 0x0041c4fc jne 0x41c512 | 0x0041c4fe mov r14, qword [rip + 0x2285ab] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041c505 test r14, r14 | | if (r14 != 0) { 0x0041c508 jne 0x41c512 | goto label_0; | } 0x0041c50a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041c50f mov r14, rax | r14 = rax; | } | label_0: 0x0041c512 mov rax, qword [r14] | rax = *(r14); 0x0041c515 mov esi, 0x40 | esi = 0x40; 0x0041c51a mov rdi, r14 | rdi = r14; 0x0041c51d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041c520 mov rbx, rax | rbx = rax; 0x0041c523 mov qword [rax], 0x41c620 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_59392___.invokerFunction_void_; 0x0041c52a lea rdi, [rax + 0x10] | 0x0041c52e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041c536 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041c53a movaps xmm0, xmmword [rip + 0x1505f] | xmm0 = .comment; 0x0041c541 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041c545 mov ecx, 0x432d0b | 0x0041c54a mov rsi, r13 | 0x0041c54d mov rdx, rbp | 0x0041c550 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"); 0x0041c555 mov edx, 0x422cd0 | 0x0041c55a mov rdi, r12 | 0x0041c55d mov rsi, r15 | 0x0041c560 mov rcx, rbx | 0x0041c563 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041c568 mov ebp, eax | 0x0041c56a test eax, eax | | if (eax != 0) { 0x0041c56c je 0x41c597 | 0x0041c56e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041c573 je 0x41c583 | 0x0041c575 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041c579 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041c57d mov rax, qword [rdi] | rax = *(rdi); 0x0041c580 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c583 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041c58b mov rax, qword [r14] | rax = *(r14); 0x0041c58e mov rdi, r14 | rdi = r14; 0x0041c591 mov rsi, rbx | rsi = rbx; 0x0041c594 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c597 mov eax, ebp | eax = ebp; 0x0041c599 add rsp, 8 | 0x0041c59d pop rbx | 0x0041c59e pop r12 | 0x0041c5a0 pop r13 | 0x0041c5a2 pop r14 | 0x0041c5a4 pop r15 | 0x0041c5a6 pop rbp | 0x0041c5a7 ret | return rax; | }