// File: /workspace/github_c_makefile_star2_O1/charMstr[P]minishell/libft/ft_split.c
// Function: ft_split
char			**ft_split(char const *s, char c)
{
	int		err;
	char	**result;

	err = -1;
	if (s)
	{
		if ((result = (char **)malloc(sizeof(char *) * w_len(s, c))))
			if ((err = ft_malloc_w_len(s, c, result)) < 0)
				return (ft_tab_filled(s, c, result));
		while (err >= 0)
			free(result[err--]);
		free(result);
	}
	return (NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xa102
movl %esi, %ebx
movq %rdi, %r14
movabsq $-0x100000000, %r10     # imm = 0xFFFFFFFF00000000
movabsq $0x100000000, %r13      # imm = 0x100000000
movb (%rdi), %bpl
testb %bpl, %bpl
je 0x9ff6
xorl %eax, %eax
xorl %ecx, %ecx
movslq %ecx, %rdi
leaq -0x1(%rdi), %rsi
incq %rdi
shlq $0x20, %rcx
addq %r10, %rcx
movq %rcx, %r8
movq %rdi, %rcx
movq %r8, %rdx
movb 0x1(%r14,%rsi), %r9b
testb %r9b, %r9b
je 0x9fb9
incq %rsi
leaq 0x1(%rcx), %rdi
leaq (%rdx,%r13), %r8
cmpb %bl, %r9b
je 0x9f99
movb -0x1(%r14,%rcx), %sil
incq %rcx
addq %r13, %rdx
testb %sil, %sil
je 0x9fce
cmpb %bl, %sil
jne 0x9fb9
xorl %esi, %esi
cmpb %bl, -0x3(%r14,%rcx)
setne %sil
addl %esi, %eax
sarq $0x20, %rdx
addq $-0x2, %rcx
cmpb $0x0, (%r14,%rdx)
jne 0x9f85
movl %eax, %eax
leaq 0x8(,%rax,8), %rdi
jmp 0x9ffb
movl $0x8, %edi
callq 0x2190
movq %rax, %r15
testq %rax, %rax
je 0xa0c6
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb %bpl, %bpl
movabsq $-0x100000000, %r9      # imm = 0xFFFFFFFF00000000
je 0xa0de
movb %bpl, 0x7(%rsp)
xorl %ebp, %ebp
xorl %r12d, %r12d
movslq %r12d, %rcx
decq %rcx
shlq $0x20, %r12
addq %r9, %r12
movq %r12, %rax
movq %rcx, %r12
movb 0x1(%r14,%r12), %cl
incq %r12
addq %r13, %rax
testb %cl, %cl
je 0xa054
cmpb %bl, %cl
je 0xa041
sarq $0x20, %rax
movb (%r14,%rax), %cl
testb %cl, %cl
sete %dl
cmpb %bl, %cl
sete %cl
orb %dl, %cl
movl $0x1, %edi
jne 0xa088
movq %r12, %rax
movb 0x1(%r14,%rax), %cl
incq %rax
incq %rdi
movq %rax, %r12
testb %cl, %cl
je 0xa088
cmpb %bl, %cl
jne 0xa072
cmpb %bl, -0x1(%r14,%rax)
je 0xa0ac
callq 0x2190
movslq %ebp, %rcx
movq %rax, (%r15,%rcx,8)
testq %rax, %rax
je 0xa0cd
incl %ebp
movabsq $-0x100000000, %r9      # imm = 0xFFFFFFFF00000000
movslq %r12d, %rax
cmpb $0x0, (%r14,%rax)
jne 0xa02e
movb 0x7(%rsp), %bpl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xa0de
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xa0e2
movl %ebp, %eax
movabsq $-0x100000000, %r9      # imm = 0xFFFFFFFF00000000
movb 0x7(%rsp), %bpl
testl %eax, %eax
js 0xa117
testl %eax, %eax
js 0xa0fa
movl %eax, %ebx
incq %rbx
movq -0x8(%r15,%rbx,8), %rdi
callq 0x2240
decq %rbx
jg 0xa0eb
movq %r15, %rdi
callq 0x2240
xorl %r15d, %r15d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
testb %bpl, %bpl
je 0xa1b7
xorl %ecx, %ecx
movslq %ecx, %rsi
decq %rsi
shlq $0x20, %rcx
addq %r9, %rcx
movq %rcx, %rdx
movq %rsi, %rcx
movb 0x1(%r14,%rcx), %sil
incq %rcx
addq %r13, %rdx
cmpb %bl, %sil
jne 0xa14c
testb %sil, %sil
jne 0xa137
sarq $0x20, %rdx
movb (%r14,%rdx), %dil
cmpb %bl, %dil
sete %sil
testb %dil, %dil
sete %r8b
orb %sil, %r8b
movslq %eax, %rsi
je 0xa16e
xorl %edi, %edi
jmp 0xa195
movq (%r15,%rsi,8), %r8
movq %rcx, %rdx
xorl %ecx, %ecx
movb %dil, (%r8,%rcx)
incq %rcx
movb 0x1(%r14,%rdx), %dil
incq %rdx
cmpb %bl, %dil
je 0xa190
testb %dil, %dil
jne 0xa177
movl %ecx, %edi
movq %rdx, %rcx
cmpb %bl, -0x1(%r14,%rdx)
je 0xa1a7
leal 0x1(%rsi), %eax
movq (%r15,%rsi,8), %rdx
movb $0x0, (%rdx,%rdi)
movslq %ecx, %rdx
cmpb $0x0, (%r14,%rdx)
jne 0xa124
cltq
movq $0x0, (%r15,%rax,8)
jmp 0xa105