; assembly | /* r2dec pseudo code output */ | /* bdlcc_multipriorityqueue.t/none @ 0x4315e0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_MULTIPRIORITYQUEUE_TEST_CASE_8.ProducerThread__unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__MULTIPRIORITYQUEUE_TEST_CASE_8::ProducerThread_const__BloombergLP::bslma::Allocato () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_MULTIPRIORITYQUEUE_TEST_CASE_8_ProducerThread_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_MULTIPRIORITYQUEUE_TEST_CASE_8::ProducerThread_const_BloombergLP::bslma::Allocato (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&, MULTIPRIORITYQUEUE_TEST_CASE_8::ProducerThread const&, BloombergLP::bslma::Allocator*) */ 0x004315e0 push rbp | 0x004315e1 push r15 | 0x004315e3 push r14 | 0x004315e5 push r13 | 0x004315e7 push r12 | 0x004315e9 push rbx | 0x004315ea push rax | 0x004315eb mov r14, rcx | r14 = rcx; 0x004315ee mov r15, rsi | r15 = rsi; 0x004315f1 mov r12, rdi | r12 = rdi; 0x004315f4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x004315f9 je 0x431601 | 0x004315fb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x004315ff jmp 0x431605 | | } else { 0x00431601 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x00431605 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x00431609 test r14, r14 | | if (r14 == 0) { 0x0043160c jne 0x431622 | 0x0043160e mov r14, qword [rip + 0x259f0b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x00431615 test r14, r14 | | if (r14 != 0) { 0x00431618 jne 0x431622 | goto label_0; | } 0x0043161a call 0x43ad30 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0043161f mov r14, rax | r14 = rax; | } | label_0: 0x00431622 mov rax, qword [r14] | rax = *(r14); 0x00431625 mov esi, 0x40 | esi = 0x40; 0x0043162a mov rdi, r14 | rdi = r14; 0x0043162d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x00431630 mov rbx, rax | rbx = rax; 0x00431633 mov qword [rax], 0x431730 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_MULTIPRIORITYQUEUE_TEST_CASE_8::ProducerThread_.invokerFunction_void_; 0x0043163a lea rdi, [rax + 0x10] | 0x0043163e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x00431646 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0043164a movaps xmm0, xmmword [rip + 0x3219f] | xmm0 = .comment; 0x00431651 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x00431655 mov ecx, 0x4655c7 | 0x0043165a mov rsi, r13 | 0x0043165d mov rdx, rbp | 0x00431660 call 0x43ed70 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, r13, rbp, "string<...>::assign(i,j): string too long"); 0x00431665 mov edx, 0x43be70 | 0x0043166a mov rdi, r12 | 0x0043166d mov rsi, r15 | 0x00431670 mov rcx, rbx | 0x00431673 call 0x43c800 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00431678 mov ebp, eax | 0x0043167a test eax, eax | | if (eax != 0) { 0x0043167c je 0x4316a7 | 0x0043167e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x00431683 je 0x431693 | 0x00431685 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x00431689 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0043168d mov rax, qword [rdi] | rax = *(rdi); 0x00431690 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00431693 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0043169b mov rax, qword [r14] | rax = *(r14); 0x0043169e mov rdi, r14 | rdi = r14; 0x004316a1 mov rsi, rbx | rsi = rbx; 0x004316a4 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x004316a7 mov eax, ebp | eax = ebp; 0x004316a9 add rsp, 8 | 0x004316ad pop rbx | 0x004316ae pop r12 | 0x004316b0 pop r13 | 0x004316b2 pop r14 | 0x004316b4 pop r15 | 0x004316b6 pop rbp | 0x004316b7 ret | return rax; | }