; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x420ad0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_1049600____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_1049600__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_1049600_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_1049600_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<1049600> const&, BloombergLP::bslma::Allocator*) */ 0x00420ad0 push rbp | 0x00420ad1 push r15 | 0x00420ad3 push r14 | 0x00420ad5 push r13 | 0x00420ad7 push r12 | 0x00420ad9 push rbx | 0x00420ada push rax | 0x00420adb mov r14, rcx | r14 = rcx; 0x00420ade mov r15, rsi | r15 = rsi; 0x00420ae1 mov r12, rdi | r12 = rdi; 0x00420ae4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x00420ae9 je 0x420af1 | 0x00420aeb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x00420aef jmp 0x420af5 | | } else { 0x00420af1 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x00420af5 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x00420af9 test r14, r14 | | if (r14 == 0) { 0x00420afc jne 0x420b12 | 0x00420afe mov r14, qword [rip + 0x223fab] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x00420b05 test r14, r14 | | if (r14 != 0) { 0x00420b08 jne 0x420b12 | goto label_0; | } 0x00420b0a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x00420b0f mov r14, rax | r14 = rax; | } | label_0: 0x00420b12 mov rax, qword [r14] | rax = *(r14); 0x00420b15 mov esi, 0x40 | esi = 0x40; 0x00420b1a mov rdi, r14 | rdi = r14; 0x00420b1d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x00420b20 mov rbx, rax | rbx = rax; 0x00420b23 mov qword [rax], 0x420c20 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_1049600___.invokerFunction_void_; 0x00420b2a lea rdi, [rax + 0x10] | 0x00420b2e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x00420b36 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x00420b3a movaps xmm0, xmmword [rip + 0x10a5f] | xmm0 = .comment; 0x00420b41 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x00420b45 mov ecx, 0x432d0b | 0x00420b4a mov rsi, r13 | 0x00420b4d mov rdx, rbp | 0x00420b50 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"); 0x00420b55 mov edx, 0x422cd0 | 0x00420b5a mov rdi, r12 | 0x00420b5d mov rsi, r15 | 0x00420b60 mov rcx, rbx | 0x00420b63 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00420b68 mov ebp, eax | 0x00420b6a test eax, eax | | if (eax != 0) { 0x00420b6c je 0x420b97 | 0x00420b6e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x00420b73 je 0x420b83 | 0x00420b75 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x00420b79 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x00420b7d mov rax, qword [rdi] | rax = *(rdi); 0x00420b80 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00420b83 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x00420b8b mov rax, qword [r14] | rax = *(r14); 0x00420b8e mov rdi, r14 | rdi = r14; 0x00420b91 mov rsi, rbx | rsi = rbx; 0x00420b94 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00420b97 mov eax, ebp | eax = ebp; 0x00420b99 add rsp, 8 | 0x00420b9d pop rbx | 0x00420b9e pop r12 | 0x00420ba0 pop r13 | 0x00420ba2 pop r14 | 0x00420ba4 pop r15 | 0x00420ba6 pop rbp | 0x00420ba7 ret | return rax; | }