; assembly | /* r2dec pseudo code output */ | /* bdlcc_queue.t/none @ 0x41cb90 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____seqtst3::Control___BloombergLP::bdlf::Bind_BoundTuple1_seqtst3::Control______unsigned_long__BloombergLP::bslmt::ThreadAttributes_co () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_seqtst3::Control_BloombergLP::bdlf::Bind_BoundTuple1_seqtst3::Control_unsigned_long_BloombergLP::bslmt::ThreadAttributes_co (int64_t arg4, int64_t arg3, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator > >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, BloombergLP::bdlf::Bind > const&, BloombergLP::bslma::Allocator*) */ 0x0041cb90 push rbp | 0x0041cb91 push r15 | 0x0041cb93 push r14 | 0x0041cb95 push r13 | 0x0041cb97 push r12 | 0x0041cb99 push rbx | 0x0041cb9a push rax | 0x0041cb9b mov r14, rcx | r14 = rcx; 0x0041cb9e mov r12, rdx | r12 = rdx; 0x0041cba1 mov r15, rsi | r15 = rsi; 0x0041cba4 mov qword [rsp], rdi | *(rsp) = rdi; 0x0041cba8 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041cbad je 0x41cbb5 | 0x0041cbaf mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041cbb3 jmp 0x41cbb9 | | } else { 0x0041cbb5 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041cbb9 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041cbbd test r14, r14 | | if (r14 == 0) { 0x0041cbc0 jne 0x41cbd6 | 0x0041cbc2 mov r14, qword [rip + 0x24b047] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041cbc9 test r14, r14 | | if (r14 != 0) { 0x0041cbcc jne 0x41cbd6 | goto label_0; | } 0x0041cbce call 0x421f80 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041cbd3 mov r14, rax | r14 = rax; | } | label_0: 0x0041cbd6 mov rax, qword [r14] | rax = *(r14); 0x0041cbd9 mov esi, 0x48 | esi = 0x48; 0x0041cbde mov rdi, r14 | rdi = r14; 0x0041cbe1 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041cbe4 mov rbx, rax | rbx = rax; 0x0041cbe7 mov qword [rax], 0x41cd00 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____seqtst3::Control___BloombergLP::bdlf::Bind_BoundTuple1_seqtst3::Control_____::invokerFunction_void_; 0x0041cbee mov rax, qword [r12] | rax = *(r12); 0x0041cbf2 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x0041cbf6 mov rax, qword [r12 + 8] | rax = *((r12 + 8)); 0x0041cbfb mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x0041cbff lea rdi, [rbx + 0x18] | 0x0041cc03 mov qword [rbx + 0x18], 0 | *((rbx + 0x18)) = 0; 0x0041cc0b mov qword [rbx + 0x40], r14 | *((rbx + 0x40)) = r14; 0x0041cc0f movaps xmm0, xmmword [rip + 0x2c10a] | xmm0 = .comment; 0x0041cc16 movups xmmword [rbx + 0x30], xmm0 | __asm ("movups xmmword [rbx + 0x30], xmm0"); 0x0041cc1a mov ecx, 0x44a06b | 0x0041cc1f mov rsi, r13 | 0x0041cc22 mov rdx, rbp | 0x0041cc25 call 0x4267a0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x18, r13, rbp, "string<...>::assign(i,j): string too long"); 0x0041cc2a mov edx, 0x423180 | 0x0041cc2f mov rdi, qword [rsp] | 0x0041cc33 mov rsi, r15 | 0x0041cc36 mov rcx, rbx | 0x0041cc39 call 0x4238c0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041cc3e mov ebp, eax | 0x0041cc40 test eax, eax | | if (eax != 0) { 0x0041cc42 je 0x41cc6d | 0x0041cc44 cmp qword [rbx + 0x38], 0x17 | | if (*((rbx + 0x38)) != 0x17) { 0x0041cc49 je 0x41cc59 | 0x0041cc4b mov rsi, qword [rbx + 0x18] | rsi = *((rbx + 0x18)); 0x0041cc4f mov rdi, qword [rbx + 0x40] | rdi = *((rbx + 0x40)); 0x0041cc53 mov rax, qword [rdi] | rax = *(rdi); 0x0041cc56 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041cc59 mov qword [rbx + 0x30], 0xffffffffffffffff | *((rbx + 0x30)) = 0xffffffffffffffff; 0x0041cc61 mov rax, qword [r14] | rax = *(r14); 0x0041cc64 mov rdi, r14 | rdi = r14; 0x0041cc67 mov rsi, rbx | rsi = rbx; 0x0041cc6a call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041cc6d mov eax, ebp | eax = ebp; 0x0041cc6f add rsp, 8 | 0x0041cc73 pop rbx | 0x0041cc74 pop r12 | 0x0041cc76 pop r13 | 0x0041cc78 pop r14 | 0x0041cc7a pop r15 | 0x0041cc7c pop rbp | 0x0041cc7d ret | return rax; | }