Function at 0x14000ccf0
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
lea rax, str.realloc
mov qword [rsp + 0x60], rax
lea r12, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_system_alloc.nim
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], 0
mov word [rsp + 0x78], 0
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r15, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x14000cdf6
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x7a], cx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000cd86
call fcn.1400153a0
test rbx, rbx
jle 0x14000ce0f
mov qword [rsp + 0x68], 0x431
lea rax, str.alloc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000ce7f
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000ce93
call fcn.1400153a0
jmp 0x14000ce93
mov word [rsp + 0x7a], 0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
test rbx, rbx
jg 0x14000cd8f
test rsi, rsi
je 0x14000d13d
mov qword [rsp + 0x68], 0x436
lea rax, str.dealloc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000d10c
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000d120
call fcn.1400153a0
jmp 0x14000d120
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov qword [rsp + 0x38], 0x41c
mov rcx, rdi
mov rdx, rbx
call fcn.1400098f0
mov r14, rax
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
test rsi, rsi
je 0x14000d140
mov qword [rsp + 0x68], 0x433
lea rax, str.ptrSize
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], 0
mov word [rsp + 0xa8], 0
mov rax, qword [r15]
test rax, rax
je 0x14000cf2d
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0xaa], cx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000cf4a
call fcn.1400153a0
jmp 0x14000cf4a
mov word [rsp + 0xaa], 0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
mov qword [rsp + 0x98], 0x40e
lea rax, str.pageAddr
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000cfad
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000cfc1
call fcn.1400153a0
mov rax, qword [r15]
jmp 0x14000cfc1
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov r13, rsi
and r13, 0xfffffffffffff000
mov rax, qword [rax]
mov qword [r15], rax
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x98], 0x411
lea rax, str.isSmallChunk
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000d038
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000d04c
call fcn.1400153a0
mov rax, qword [r15]
jmp 0x14000d04c
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
lea r8, [rbp - 0x30]
cmp qword [r13 + 8], 0xfb1
mov rax, qword [rax]
mov qword [r15], rax
cmovl r8, rbp
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
cmp r8, rbx
cmovge r8, rbx
mov rcx, r14
mov rdx, rsi
call fcn.14003eb80
mov qword [rsp + 0x68], 0x434
lea rax, str.dealloc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000d0d9
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000d0ed
call fcn.1400153a0
jmp 0x14000d0ed
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov qword [rsp + 0x38], 0x42d
mov rcx, rdi
mov rdx, rsi
call fcn.14000c640
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
jmp 0x14000d140
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov qword [rsp + 0x38], 0x42d
mov rcx, rdi
mov rdx, rsi
call fcn.14000c640
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
xor r14d, r14d
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
mov rax, r14
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret