Function at 0x14013c720
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r9
mov ebx, r8d
mov r14, rdx
mov rdi, rcx
call fcn.14019c5f0
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], edx
lea rcx, [rbp - 0x20]
mov rdx, r14
mov r8d, ebx
call fcn.14019c960
cmp edx, 0x3b9aca00
jne 0x14013c87f
call fcn.14019c5f0
mov r8d, 0x38640900
mov rcx, rax
xor r9d, r9d
call fcn.14019ca00
mov rbx, rax
mov r14d, edx
mov eax, dword [0x1402f3ec0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa8]
cmp eax, 1
je 0x14013c7dd
test eax, eax
jne 0x14013ca55
mov eax, dword [0x1402f3ec0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x58]
lea rdx, [0x1401412c0]
call fcn.1401a9fa0
mov byte [r15 + 0xa8], 1
mov eax, dword [0x1402f3ec0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14013ca49
lea rcx, [rax + 1]
mov edx, dword [0x1402f3ec0]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x58], rcx
mov rdx, qword [rdx + 0x60]
cmp rdx, 2
je 0x14013ca66
mov eax, dword [0x1402f3ec0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x68]
mov ecx, 1
mov r8d, 1
lock xadd qword [rax], r8
test rdx, rdx
je 0x14013c97b
mov edx, 0x118
test r8, r8
jns 0x14013c98b
jmp 0x14013cad7
mov ecx, dword [0x1402f3ec0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
movzx ecx, byte [rcx + 0xa8]
cmp ecx, 1
je 0x14013c8de
test ecx, ecx
jne 0x14013ca55
mov ebx, edx
mov r14, rax
mov eax, dword [0x1402f3ec0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x58]
lea rdx, [0x1401412c0]
call fcn.1401a9fa0
mov byte [r15 + 0xa8], 1
mov rax, r14
mov edx, ebx
mov ecx, dword [0x1402f3ec0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov rcx, qword [rcx + 0x58]
movabs r8, 0x7ffffffffffffffe
cmp rcx, r8
ja 0x14013ca49
lea r8, [rcx + 1]
mov r9d, dword [0x1402f3ec0]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
mov qword [r9 + 0x58], r8
mov r9, qword [r9 + 0x60]
cmp r9, 2
je 0x14013ca82
mov ecx, dword [0x1402f3ec0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov rcx, qword [rcx + 0x68]
mov r8d, 1
mov r10d, 1
lock xadd qword [rcx], r10
test r9, r9
je 0x14013c9d8
mov r9d, 0x118
test r10, r10
jns 0x14013c9ea
jmp 0x14013cad7
test r8, r8
js 0x14013cad7
mov edx, 0xb8
xor ecx, ecx
mov r8d, dword [0x1402f3ec0]
mov r9, qword gs:[0x58]
mov r8, qword [r9 + r8*8]
dec qword [r8 + 0x58]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
cmp dword [rax + rdx + 0x80], 0x3b9aca00
je 0x14013caad
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rbx
mov dword [rdi + 0x18], r14d
jmp 0x14013ca35
test r10, r10
js 0x14013cad7
mov r9d, 0xb8
xor r8d, r8d
mov r10d, dword [0x1402f3ec0]
mov r11, qword gs:[0x58]
mov r10, qword [r11 + r10*8]
dec qword [r10 + 0x58]
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], rcx
cmp dword [rcx + r9 + 0x80], 0x3b9aca00
je 0x14013cac3
mov qword [rdi], r8
mov qword [rdi + 8], rcx
mov qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], edx
mov byte [rdi + 0x70], 0
mov rax, rdi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Usersdweller.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.1_src_runtimecontextcurrent.rs
call fcn.1401d9ba0
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, rsi
call fcn.1401d57a0
mov ecx, dword [0x1402f3ec0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x58], rax
jmp 0x14013ca9c
mov eax, dword [0x1402f3ec0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x58], rcx
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, rsi
call fcn.1401d57a0
lea rcx, [0x140246b90]
mov edx, 0x73
mov r8, rsi
call fcn.1401d9c20
jmp 0x14013cad7
lea rcx, [0x140246b90]
mov edx, 0x73
mov r8, rsi
call fcn.1401d9c20
ud2