ref: c79199da3e3565e28c2220a8474712a9fabc76e4
dir: /src/libc/arch/amd64/memchr.s/
.file "memchr.s" .text .globl memchr,_memchr _memchr: memchr: cmpq $0,%rdx je notfound movq %rdx,%rcx movb %sil,%al cld repne scasb je found notfound: xor %eax,%eax ret found: leaq -1(%rdi),%rax ret