// File: /workspace/github_c_makefile_star2_O2/rpeepz[P]ft_ssl/libft/srcs/ft_printf/convert_i.c
// Function: convert_i
int				convert_i(t_mods modifiers, va_list ap)
{
	int64_t	num;
	int		nbyte;
	int		neg;
	char	*str;

	nbyte = 0;
	num = convert_length(modifiers.length, ap);
	neg = (num < 0) ? 1 : 0;
	neg == 1 ? num *= -1 : 0;
	str = num_string_base(num, 10);
	str[0] == '0' && modifiers.prcsn == 0 ? str[0] = '\0' : 0;
	if (modifiers.fl.minus == 1)
		nbyte += left_justify(modifiers, str, nbyte, neg);
	else
		nbyte += right_justify(modifiers, str, nbyte, neg);
	return ((ft_pipewrench("-s", &str) + nbyte) - 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
leaq 0x90(%rsp), %r15
movl 0x1c(%r15), %eax
cmpl $0x68, %eax
jne 0x81a5
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x81c8
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x81d4
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0xd0, %ecx
jne 0x81da
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x8209
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x8215
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movswq (%rax), %r12
jmp 0x822a
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x81f3
cmpl $0x7a, %eax
je 0x81f3
cmpl $0x6c, %eax
jne 0x8521
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x821b
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x8227
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movsbq (%rax), %r12
jmp 0x822a
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %r12
movq %r12, %rdi
negq %rdi
cmovsq %r12, %rdi
pushq $0xa
popq %rsi
callq 0x7940
movq %rax, %r13
movq %rax, 0x50(%rsp)
cmpb $0x30, (%rax)
sete %al
movl 0x18(%r15), %ebx
testl %ebx, %ebx
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x825f
movb $0x0, (%r13)
cmpl $0x1, 0x8(%r15)
movq %r13, 0x20(%rsp)
jne 0x82a3
movl (%r15), %ebp
movl 0xc(%r15), %r14d
movl 0x14(%r15), %eax
movl %eax, 0x2c(%rsp)
movq %r13, %rdi
callq 0x739e
movq %rax, %r15
testq %r12, %r12
js 0x83a4
testl %r14d, %r14d
je 0x83ad
leaq 0x46bb(%rip), %rsi      # 0xc959
jmp 0x83bc
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movaps %xmm1, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movq %r13, %rdi
callq 0x739e
movq %rax, %r14
testl %r14d, %r14d
sete %al
testq %r12, %r12
setns %cl
orb %al, %cl
jne 0x834a
movl 0x40(%rsp), %ebp
xorl %esi, %esi
movl 0x48(%rsp), %ebx
testl %ebp, %ebp
je 0x82ff
testl %ebx, %ebx
jns 0x82ff
cmpl %r14d, 0x44(%rsp)
jle 0x82ff
leaq 0x4666(%rip), %rsi      # 0xc957
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
movq %rax, %rsi
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
pushq $0x1
popq %rdx
movl %r14d, %edi
callq 0x8553
movl %eax, %r15d
testl %ebp, %ebp
je 0x8330
testl %ebx, %ebx
jg 0x8330
testl %r15d, %r15d
jne 0x84b5
leaq 0x4620(%rip), %rsi      # 0xc957
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
addl %eax, %r15d
jmp 0x84b5
testq %r12, %r12
js 0x8434
movl 0x3c(%rsp), %ebp
movl 0x48(%rsp), %ebx
testl %ebp, %ebp
je 0x843d
cmpl $0x0, 0x40(%rsp)
je 0x843d
testl %ebx, %ebx
jns 0x843d
cmpl %r14d, 0x44(%rsp)
jle 0x843d
orl $-0x1, 0x30(%rsp)
leaq 0x45cc(%rip), %rsi      # 0xc959
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
movq %rax, %rsi
pushq $-0x1
popq %r12
jmp 0x8444
leaq 0x45ac(%rip), %rsi      # 0xc957
jmp 0x83bc
testl %ebp, %ebp
je 0x8537
leaq 0x3f86(%rip), %rsi      # 0xc342
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
movq %rax, %r14
leaq 0x39eb(%rip), %r12      # 0xbdbc
pushq $0x1
popq %rbp
pushq $0x1
popq %r13
cmpl %r15d, %ebx
jle 0x83f1
decl %ebx
movl %ebp, %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1050
addl %eax, %r14d
jmp 0x83d8
movslq %r15d, %rdx
pushq $0x1
popq %rbp
movl %ebp, %edi
movq 0x20(%rsp), %rsi
callq 0x1050
leaq 0x3f38(%rip), %rbx      # 0xc342
pushq $0x1
popq %r15
movl 0x2c(%rsp), %r12d
movl %r14d, %ecx
movl %eax, %r14d
addl %ecx, %r14d
cmpl %r12d, %r14d
jge 0x84fa
movl %ebp, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x1050
jmp 0x8413
xorl %r15d, %r15d
movl 0x48(%rsp), %ebx
jmp 0x84b5
xorl %esi, %esi
movl 0x30(%rsp), %r12d
testl %ebp, %ebp
setne %r13b
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %ebp, %edx
callq 0x8553
movl %eax, %r15d
cmpl $-0x1, %r12d
setne %al
andb %r13b, %al
cmpb $0x1, %al
jne 0x848d
leaq 0x44da(%rip), %rsi      # 0xc959
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
addl %eax, %r15d
testl %ebp, %ebp
movq 0x20(%rsp), %r13
jne 0x84b5
testl %r12d, %r12d
je 0x84b5
testl %r15d, %r15d
jne 0x84b5
leaq 0x3e9b(%rip), %rsi      # 0xc342
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1050
movq %rax, %r15
cmpl %r14d, %ebx
jle 0x84e6
leaq 0x38fb(%rip), %r12      # 0xbdbc
pushq $0x1
popq %rbp
pushq $0x1
popq %r13
cmpl %r14d, %ebx
jle 0x84e1
decl %ebx
movl %ebp, %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1050
addl %eax, %r15d
jmp 0x84c8
movq 0x20(%rsp), %r13
movslq %r14d, %rdx
pushq $0x1
popq %rdi
movq %r13, %rsi
callq 0x1050
movq %rax, %r14
addl %r15d, %r14d
leaq 0x38a8(%rip), %rdi      # 0xbda9
leaq 0x50(%rsp), %rsi
xorl %eax, %eax
callq 0x67f0
addl %r14d, %eax
decl %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x853f
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x854b
xorl %r14d, %r14d
jmp 0x83ca
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movslq (%rax), %r12
jmp 0x822a