// File: /workspace/github_c_makefile_star2_O1/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), %r14
cmpl $0x10, %esi
jne 0x8d5c
movl $0x7a, 0x1c(%r14)
movl 0x1c(%r14), %eax
cmpl $0x68, %eax
jne 0x8d7b
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x8d9e
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x8daa
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0xd0, %ecx
jne 0x8daf
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x8dde
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x8dea
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movzwl (%rcx), %edi
jmp 0x8dfe
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x8dc8
cmpl $0x7a, %eax
je 0x8dc8
cmpl $0x6c, %eax
jne 0x907b
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x8def
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x8dfb
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movzbl (%rcx), %edi
jmp 0x8dfe
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movq (%rcx), %rdi
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x8e17
cmpl $0x7a, %eax
je 0x8e17
cmpl $0x6c, %eax
jne 0x8fb7
movl $0x8, %esi
callq 0x7f7e
movq %rax, %rbx
movl 0x4(%r14), %r15d
testl %r15d, %r15d
je 0x8e32
cmpb $0x30, (%rbx)
jne 0x8e3c
movq %rbx, %rdi
callq 0x7ab8
jmp 0x8e4b
leaq 0x3f79(%rip), %rdi      # 0xcdbc
movq %rbx, %rsi
callq 0x77bc
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
callq 0x1030
movq 0x8(%rsp), %rax
cmpb $0x30, (%rax)
setne %cl
movl 0x18(%r14), %ebp
orl %ebp, %r15d
setne %dl
orb %cl, %dl
jne 0x8e74
movb $0x0, (%rax)
movl (%r14), %r15d
cmpl $0x1, 0x8(%r14)
movq 0x8(%rsp), %rdi
movl 0xc(%r14), %ebx
movq %rdi, 0x10(%rsp)
jne 0x8eac
movl 0x14(%r14), %r13d
callq 0x7952
movq %rax, %r14
testl %ebx, %ebx
je 0x8fc6
leaq 0x4ab2(%rip), %rsi      # 0xd959
jmp 0x8fd6
movl 0x10(%r14), %r12d
movl 0x14(%r14), %r13d
callq 0x7952
movq %rax, %r14
cmpl %r14d, %ebp
setl %al
cmpl $-0x1, %ebp
sete %cl
orb %al, %cl
je 0x8f3f
cmpl %r14d, %r13d
jle 0x8f6f
testl %r12d, %r12d
setne %al
leaq 0x3eda(%rip), %r12      # 0xcdbc
leaq 0x4471(%rip), %rcx      # 0xd35a
cmoveq %rcx, %r12
cmpl $-0x1, %ebp
cmovneq %rcx, %r12
testl %r15d, %r15d
setne %cl
andb %al, %cl
xorl %r15d, %r15d
cmpb $0x1, %cl
jne 0x8f1d
leaq 0x444f(%rip), %rsi      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
addl %r14d, %ebx
subl %ebx, %r13d
cmpl %r15d, %r13d
jle 0x8f72
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
jmp 0x8f23
addl %ebp, %ebx
subl %ebx, %r13d
testl %r13d, %r13d
jle 0x8f6f
xorl %r15d, %r15d
leaq 0x4407(%rip), %r12      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r15d, %r13d
jg 0x8f53
jmp 0x8f72
xorl %r15d, %r15d
cmpl %r14d, %ebp
jle 0x8f9a
leaq 0x3e3e(%rip), %r12      # 0xcdbc
decl %ebp
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %ebp
jg 0x8f7e
movslq %r14d, %rdx
movl $0x1, %edi
movq 0x10(%rsp), %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
jmp 0x904d
movl $0x8, %esi
callq 0xb093
jmp 0x8e21
testl %r15d, %r15d
je 0x9073
leaq 0x4384(%rip), %rsi      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
cmpl %r14d, %ebp
jle 0x9010
leaq 0x3dc8(%rip), %r12      # 0xcdbc
decl %ebp
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %ebp
jg 0x8ff4
movslq %r14d, %rdx
movl $0x1, %edi
movq 0x10(%rsp), %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
cmpl %r13d, %ebx
jge 0x904d
leaq 0x4326(%rip), %r14      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
movq %r14, %rsi
callq 0x1050
addl %eax, %ebx
cmpl %r13d, %ebx
jl 0x9034
leaq 0x3d55(%rip), %rdi      # 0xcda9
leaq 0x8(%rsp), %rsi
xorl %eax, %eax
callq 0x6d18
addl %ebx, %eax
decl %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x8fe8
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x9091
movq %rdx, %rcx
addq 0x10(%rdi), %rcx
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x909d
movq 0x8(%rdi), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rdi)
movslq (%rcx), %rdi
jmp 0x8dfe
nopl (%rax)