; assembly | /* r2dec pseudo code output */ | /* bdlcc_queue.t/none @ 0x41c110 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____seqtst2::Control___BloombergLP::bdlf::Bind_BoundTuple1_seqtst2::Control______unsigned_long__BloombergLP::bslmt::ThreadAttributes_co () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_seqtst2::Control_BloombergLP::bdlf::Bind_BoundTuple1_seqtst2::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*) */ 0x0041c110 push rbp | 0x0041c111 push r15 | 0x0041c113 push r14 | 0x0041c115 push r13 | 0x0041c117 push r12 | 0x0041c119 push rbx | 0x0041c11a push rax | 0x0041c11b mov r14, rcx | r14 = rcx; 0x0041c11e mov r12, rdx | r12 = rdx; 0x0041c121 mov r15, rsi | r15 = rsi; 0x0041c124 mov qword [rsp], rdi | *(rsp) = rdi; 0x0041c128 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041c12d je 0x41c135 | 0x0041c12f mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041c133 jmp 0x41c139 | | } else { 0x0041c135 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041c139 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041c13d test r14, r14 | | if (r14 == 0) { 0x0041c140 jne 0x41c156 | 0x0041c142 mov r14, qword [rip + 0x24bac7] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041c149 test r14, r14 | | if (r14 != 0) { 0x0041c14c jne 0x41c156 | goto label_0; | } 0x0041c14e call 0x421f80 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041c153 mov r14, rax | r14 = rax; | } | label_0: 0x0041c156 mov rax, qword [r14] | rax = *(r14); 0x0041c159 mov esi, 0x48 | esi = 0x48; 0x0041c15e mov rdi, r14 | rdi = r14; 0x0041c161 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041c164 mov rbx, rax | rbx = rax; 0x0041c167 mov qword [rax], 0x41c280 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____seqtst2::Control___BloombergLP::bdlf::Bind_BoundTuple1_seqtst2::Control_____::invokerFunction_void_; 0x0041c16e mov rax, qword [r12] | rax = *(r12); 0x0041c172 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x0041c176 mov rax, qword [r12 + 8] | rax = *((r12 + 8)); 0x0041c17b mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x0041c17f lea rdi, [rbx + 0x18] | 0x0041c183 mov qword [rbx + 0x18], 0 | *((rbx + 0x18)) = 0; 0x0041c18b mov qword [rbx + 0x40], r14 | *((rbx + 0x40)) = r14; 0x0041c18f movaps xmm0, xmmword [rip + 0x2cb8a] | xmm0 = .comment; 0x0041c196 movups xmmword [rbx + 0x30], xmm0 | __asm ("movups xmmword [rbx + 0x30], xmm0"); 0x0041c19a mov ecx, 0x44a06b | 0x0041c19f mov rsi, r13 | 0x0041c1a2 mov rdx, rbp | 0x0041c1a5 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"); 0x0041c1aa mov edx, 0x423180 | 0x0041c1af mov rdi, qword [rsp] | 0x0041c1b3 mov rsi, r15 | 0x0041c1b6 mov rcx, rbx | 0x0041c1b9 call 0x4238c0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041c1be mov ebp, eax | 0x0041c1c0 test eax, eax | | if (eax != 0) { 0x0041c1c2 je 0x41c1ed | 0x0041c1c4 cmp qword [rbx + 0x38], 0x17 | | if (*((rbx + 0x38)) != 0x17) { 0x0041c1c9 je 0x41c1d9 | 0x0041c1cb mov rsi, qword [rbx + 0x18] | rsi = *((rbx + 0x18)); 0x0041c1cf mov rdi, qword [rbx + 0x40] | rdi = *((rbx + 0x40)); 0x0041c1d3 mov rax, qword [rdi] | rax = *(rdi); 0x0041c1d6 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c1d9 mov qword [rbx + 0x30], 0xffffffffffffffff | *((rbx + 0x30)) = 0xffffffffffffffff; 0x0041c1e1 mov rax, qword [r14] | rax = *(r14); 0x0041c1e4 mov rdi, r14 | rdi = r14; 0x0041c1e7 mov rsi, rbx | rsi = rbx; 0x0041c1ea call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c1ed mov eax, ebp | eax = ebp; 0x0041c1ef add rsp, 8 | 0x0041c1f3 pop rbx | 0x0041c1f4 pop r12 | 0x0041c1f6 pop r13 | 0x0041c1f8 pop r14 | 0x0041c1fa pop r15 | 0x0041c1fc pop rbp | 0x0041c1fd ret | return rax; | }