// File: /workspace/github_c_makefile_star2_O3/rpeepz[P]ft_ssl/libft/srcs/ft_printf/convert_o.c
// Function: convert_o
int				convert_o(t_mods modifiers, va_list ap, int i)
{
	uint64_t	num;
	int			nbyte;
	char		*tmp;
	char		*str;

	nbyte = 0;
	i == 16 ? modifiers.length = 'z' : 0;
	num = convert_length(modifiers.length, ap);
	if (modifiers.length == 'l' || modifiers.length / 2 == 'l' ||
		modifiers.length == 'z')
		tmp = num_string_u_base(num, 8);
	else
		tmp = ft_uitoa_base(num, 8);
	if (modifiers.fl.pound && tmp[0] != '0')
		str = ft_strjoin("0", tmp);
	else
		str = ft_strdup(tmp);
	free(tmp);
	(str[0] == '0' && modifiers.prcsn == 0 &&\
		!modifiers.fl.pound) ? str[0] = '\0' : 0;
	if (modifiers.fl.minus == 1)
		nbyte += left_justify(modifiers, str, nbyte);
	else
		nbyte += right_justify(modifiers, str, nbyte);
	return ((ft_pipewrench("-s", &str) + nbyte) - 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x50(%rsp), %r13
movl $0x7a, %eax
cmpl $0x10, %esi
jne 0x94b3
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x94d2
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x94de
movl 0x1c(%r13), %eax
cmpl $0x68, %eax
jne 0x9502
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x9530
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x953c
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movq (%rcx), %rdi
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x94f6
cmpl $0x7a, %eax
je 0x94f6
cmpl $0x6c, %eax
jne 0x953f
movl $0x8, %esi
callq 0x866e
jmp 0x9549
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0xd0, %ecx
jne 0x978a
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x97c5
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x97d1
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movzwl (%rax), %edi
movl $0x8, %esi
callq 0xb8b7
movq %rax, %r14
movl 0x4(%r13), %ebx
testl %ebx, %ebx
je 0x955a
cmpb $0x30, (%r14)
jne 0x9564
movq %r14, %rdi
callq 0x81d4
jmp 0x9573
leaq 0x3851(%rip), %rdi      # 0xcdbc
movq %r14, %rsi
callq 0x7ef0
movq %rax, %r12
movq %rax, 0x10(%rsp)
movq %r14, %rdi
callq 0x1030
cmpb $0x30, (%r12)
setne %al
movl 0x18(%r13), %ebp
orl %ebp, %ebx
setne %cl
orb %al, %cl
jne 0x959d
movb $0x0, (%r12)
movl (%r13), %r15d
cmpl $0x1, 0x8(%r13)
movl 0xc(%r13), %ebx
jne 0x95cf
movl 0x14(%r13), %r13d
movq %r12, %rdi
callq 0x8082
movq %rax, %r14
testl %ebx, %ebx
je 0x96dc
leaq 0x442f(%rip), %rsi      # 0xd9f9
jmp 0x96ec
movq %r12, %rdi
movl 0x10(%r13), %r12d
movl 0x14(%r13), %r13d
movq %rdi, 0x8(%rsp)
callq 0x8082
movq %rax, %r14
cmpl $-0x1, %ebp
je 0x9625
cmpl %r14d, %ebp
jl 0x9625
addl %ebp, %ebx
subl %ebx, %r13d
testl %r13d, %r13d
jle 0x9694
xorl %r15d, %r15d
leaq 0x3df1(%rip), %r12      # 0xd3fa
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r15d, %r13d
jg 0x9609
jmp 0x9697
cmpl %r14d, %r13d
jle 0x9694
testl %r12d, %r12d
setne %al
leaq 0x3785(%rip), %r12      # 0xcdbc
leaq 0x3dbc(%rip), %rcx      # 0xd3fa
cmoveq %rcx, %r12
cmpl $-0x1, %ebp
cmovneq %rcx, %r12
testl %r15d, %r15d
setne %cl
andb %al, %cl
xorl %r15d, %r15d
cmpb $0x1, %cl
jne 0x9672
leaq 0x3d9a(%rip), %rsi      # 0xd3fa
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
addl %r14d, %ebx
subl %ebx, %r13d
cmpl %r15d, %r13d
jle 0x9697
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
jmp 0x9678
xorl %r15d, %r15d
cmpl %r14d, %ebp
jle 0x96bf
leaq 0x3719(%rip), %r12      # 0xcdbc
decl %ebp
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %ebp
jg 0x96a3
movslq %r14d, %rdx
movl $0x1, %edi
movq 0x8(%rsp), %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
jmp 0x9764
testl %r15d, %r15d
je 0x97bd
leaq 0x3d0e(%rip), %rsi      # 0xd3fa
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
movq %r12, %rbx
cmpl %r14d, %ebp
jle 0x9729
leaq 0x36af(%rip), %r12      # 0xcdbc
decl %ebp
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %ebp
jg 0x970d
movslq %r14d, %rdx
movl $0x1, %edi
movq %rbx, %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
cmpl %r13d, %ebx
jge 0x9764
leaq 0x3caf(%rip), %r14      # 0xd3fa
movl $0x1, %edx
movl $0x1, %edi
movq %r14, %rsi
callq 0x1050
addl %eax, %ebx
cmpl %r13d, %ebx
jl 0x974b
leaq 0x363e(%rip), %rdi      # 0xcda9
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x743c
addl %ebx, %eax
decl %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x949d
cmpl $0x7a, %eax
je 0x949d
cmpl $0x6c, %eax
jne 0x97d9
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x97ef
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x97fb
xorl %r15d, %r15d
jmp 0x96fe
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movzbl (%rcx), %edi
jmp 0x94e1
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x9803
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x980f
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %rdi
jmp 0x94f6
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movslq (%rcx), %rdi
jmp 0x94e1
nop