; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41cb60 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_64512____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_64512__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_64512_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_64512_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<64512> const&, BloombergLP::bslma::Allocator*) */ 0x0041cb60 push rbp | 0x0041cb61 push r15 | 0x0041cb63 push r14 | 0x0041cb65 push r13 | 0x0041cb67 push r12 | 0x0041cb69 push rbx | 0x0041cb6a push rax | 0x0041cb6b mov r14, rcx | r14 = rcx; 0x0041cb6e mov r15, rsi | r15 = rsi; 0x0041cb71 mov r12, rdi | r12 = rdi; 0x0041cb74 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041cb79 je 0x41cb81 | 0x0041cb7b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041cb7f jmp 0x41cb85 | | } else { 0x0041cb81 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041cb85 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041cb89 test r14, r14 | | if (r14 == 0) { 0x0041cb8c jne 0x41cba2 | 0x0041cb8e mov r14, qword [rip + 0x227f1b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041cb95 test r14, r14 | | if (r14 != 0) { 0x0041cb98 jne 0x41cba2 | goto label_0; | } 0x0041cb9a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041cb9f mov r14, rax | r14 = rax; | } | label_0: 0x0041cba2 mov rax, qword [r14] | rax = *(r14); 0x0041cba5 mov esi, 0x40 | esi = 0x40; 0x0041cbaa mov rdi, r14 | rdi = r14; 0x0041cbad call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041cbb0 mov rbx, rax | rbx = rax; 0x0041cbb3 mov qword [rax], 0x41ccb0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_64512___.invokerFunction_void_; 0x0041cbba lea rdi, [rax + 0x10] | 0x0041cbbe mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041cbc6 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041cbca movaps xmm0, xmmword [rip + 0x149cf] | xmm0 = .comment; 0x0041cbd1 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041cbd5 mov ecx, 0x432d0b | 0x0041cbda mov rsi, r13 | 0x0041cbdd mov rdx, rbp | 0x0041cbe0 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"); 0x0041cbe5 mov edx, 0x422cd0 | 0x0041cbea mov rdi, r12 | 0x0041cbed mov rsi, r15 | 0x0041cbf0 mov rcx, rbx | 0x0041cbf3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041cbf8 mov ebp, eax | 0x0041cbfa test eax, eax | | if (eax != 0) { 0x0041cbfc je 0x41cc27 | 0x0041cbfe cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041cc03 je 0x41cc13 | 0x0041cc05 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041cc09 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041cc0d mov rax, qword [rdi] | rax = *(rdi); 0x0041cc10 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041cc13 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041cc1b mov rax, qword [r14] | rax = *(r14); 0x0041cc1e mov rdi, r14 | rdi = r14; 0x0041cc21 mov rsi, rbx | rsi = rbx; 0x0041cc24 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041cc27 mov eax, ebp | eax = ebp; 0x0041cc29 add rsp, 8 | 0x0041cc2d pop rbx | 0x0041cc2e pop r12 | 0x0041cc30 pop r13 | 0x0041cc32 pop r14 | 0x0041cc34 pop r15 | 0x0041cc36 pop rbp | 0x0041cc37 ret | return rax; | }