Function at 0x140046f30
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp qword [rcx], 0
mov rsi, qword [rdx]
mov rdi, qword [rdx + 8]
mov rbx, rcx
je 0x1400470e8
call sym.new__pureZasyncfutures_u211
lea rdx, [rsp + 0x20]
mov r8d, 1
mov qword [rsp + 0x20], rsi
mov rbp, rax
mov rcx, rax
mov qword [rsp + 0x28], rdi
call sym.eqcopy___system_u3888
mov rsi, qword [rbp + 0x10]
mov qword [rbp + 0x10], 0
test rsi, rsi
je 0x1400470cc
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
cmp rax, 0xf
ja 0x1400470b0
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, rsi
call sym.eqdestroy___pureZasyncfutures_u115
mov rcx, qword [0x1400f8300]
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rdi, rax
jne 0x14004709e
mov edx, 8
mov rcx, rsi
call sym.nimRawDispose
movzx eax, byte [rdi]
test al, al
jne 0x14004709e
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140047130
xor r8d, r8d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call sym.eqcopy___pureZasyncfutures_u165
cmp byte [rdi], 0
mov rbx, qword [rsp + 0x38]
je 0x140047039
jmp 0x14004709e
sub rax, 0x10
jo 0x1400471c1
mov qword [rsi - 0x10], rax
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
xor ecx, ecx
call sym.rememberCycle__system_u3375
cmp byte [rdi], 0
jne 0x14004709e
mov rsi, rbx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140047140
mov rax, qword [rbx - 0x10]
add rax, 0x10
jo 0x1400471b7
mov qword [rbx - 0x10], rax
mov rax, qword [rsi - 0x10]
mov qword [rsp + 0x38], rbx
lea rdx, [rsi - 0x10]
cmp rax, 0xf
ja 0x140047018
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, rsi
call sym.eqdestroy___pureZasyncfutures_u115
cmp byte [rdi], 0
jne 0x14004709e
mov edx, 8
mov rcx, rsi
call sym.nimRawDispose
cmp byte [rdi], 0
je 0x140047039
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
sub rax, 0x10
jo 0x1400471cb
mov qword [rsi - 0x10], rax
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
xor ecx, ecx
call sym.rememberCycle__system_u3375
mov rcx, qword [0x1400f8300]
call dbg.__emutls_get_address
mov rdi, rax
movzx eax, byte [rax]
jmp 0x140046fd9
mov qword [rsp + 0x20], rsi
lea rsi, [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
mov qword [rsp + 0x28], rdi
call sym.eqcopy___system_u3888
cmp qword [rbx + 0x10], 0
je 0x14004709e
movdqa xmm0, xmmword [0x1400ecfa0]
mov rcx, rsi
movaps xmmword [rsp + 0x20], xmm0
call sym.failedAssertImpl__stdZassertions_u310
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov qword [rbx + 0x10], rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov qword [rsi + 0x10], rbp
cmp byte [rdi], 0
jne 0x14004709e
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
cmp rax, 0xf
jbe 0x140047180
sub rax, 0x10
jo 0x1400471e7
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
xor ecx, ecx
mov qword [rsi - 0x10], rax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.rememberCycle__system_u3375
lea r8, sym.rttiDestroy__pureZasyncfutures_u498
mov ecx, 1
call sym.rememberCycle__system_u3375
mov rcx, rsi
call sym.eqdestroy___pureZasyncfutures_u115
cmp byte [rdi], 0
jne 0x14004709e
mov edx, 8
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.nimRawDispose
call sym.raiseOverflow
jmp 0x14004705b
call sym.raiseOverflow
jmp 0x140047034
call sym.raiseOverflow
mov rcx, qword [0x1400f8300]
call dbg.__emutls_get_address
mov rdi, rax
movzx eax, byte [rax]
jmp 0x140046fd9
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.raiseOverflow