// File: /workspace/github_c_makefile_star2_O1/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), %rbp
movl 0x1c(%rbp), %eax
cmpl $0x68, %eax
jne 0x8888
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x88ab
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x88b7
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0xd0, %ecx
jne 0x88bd
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x88ec
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x88f8
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movswq (%rax), %r12
jmp 0x890d
leal -0xd8(%rax), %ecx
cmpl $0x2, %ecx
jb 0x88d6
cmpl $0x7a, %eax
je 0x88d6
cmpl $0x6c, %eax
jne 0x8c0a
movl (%rdi), %ecx
cmpq $0x28, %rcx
ja 0x88fe
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x890a
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movsbq (%rax), %r12
jmp 0x890d
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq (%rax), %r12
movq %r12, %rdi
negq %rdi
cmovsq %r12, %rdi
movl $0xa, %esi
callq 0x7ff9
movq %rax, 0x48(%rsp)
cmpb $0x30, (%rax)
sete %cl
movl 0x18(%rbp), %r13d
testl %r13d, %r13d
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x8940
movb $0x0, (%rax)
cmpl $0x1, 0x8(%rbp)
movq 0x48(%rsp), %rdi
jne 0x8980
movl (%rbp), %ebx
movl 0xc(%rbp), %r15d
movl 0x14(%rbp), %ebp
movq %rdi, 0x50(%rsp)
callq 0x7952
movq %rax, %r14
testq %r12, %r12
js 0x8b07
testl %r15d, %r15d
je 0x8b10
leaq 0x4fde(%rip), %rsi      # 0xd959
jmp 0x8b1f
movups (%rbp), %xmm0
movups 0x10(%rbp), %xmm1
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movq %rdi, %r13
callq 0x7952
movq %rax, %r14
testl %r14d, %r14d
sete %al
testq %r12, %r12
setns %cl
orb %al, %cl
jne 0x8a36
movl 0x30(%rsp), %r12d
xorl %esi, %esi
movl 0x38(%rsp), %ebx
testl %r12d, %r12d
je 0x89e5
testl %ebx, %ebx
jns 0x89e5
cmpl %r14d, 0x34(%rsp)
jle 0x89e5
leaq 0x4f84(%rip), %rsi      # 0xd957
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %rsi
movups (%rbp), %xmm0
movups 0x10(%rbp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r14d, %edi
movl $0x1, %edx
callq 0x8c3c
movl %eax, %r15d
testl %r12d, %r12d
je 0x8a18
testl %ebx, %ebx
jg 0x8a18
testl %r15d, %r15d
jne 0x8b9a
leaq 0x4f38(%rip), %rsi      # 0xd957
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
addl %eax, %r15d
jmp 0x8b9a
testq %r12, %r12
js 0x8b97
movl 0x2c(%rsp), %ebp
xorl %esi, %esi
testl %ebp, %ebp
je 0x8a7f
cmpl $0x0, 0x30(%rsp)
je 0x8a7f
cmpl $0x0, 0x38(%rsp)
jns 0x8a7f
cmpl %r14d, 0x34(%rsp)
jle 0x8a7f
movl $0xffffffff, 0x20(%rsp) # imm = 0xFFFFFFFF
leaq 0x4eec(%rip), %rsi      # 0xd959
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %rsi
testl %ebp, %ebp
setne %bl
movaps 0x20(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %ebp, %edx
callq 0x8c3c
movl %eax, %r15d
movl 0x20(%rsp), %r12d
cmpl $-0x1, %r12d
setne %al
andb %bl, %al
cmpb $0x1, %al
jne 0x8acf
leaq 0x4e9c(%rip), %rsi      # 0xd959
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
addl %eax, %r15d
testl %ebp, %ebp
jne 0x8b9a
testl %r12d, %r12d
je 0x8b9a
testl %r15d, %r15d
jne 0x8b9a
leaq 0x486a(%rip), %rsi      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
jmp 0x8b9a
leaq 0x4e49(%rip), %rsi      # 0xd957
jmp 0x8b1f
testl %ebx, %ebx
je 0x8c20
leaq 0x483b(%rip), %rsi      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
callq 0x1050
movq %rax, %r15
cmpl %r14d, %r13d
jle 0x8b5a
leaq 0x427f(%rip), %r12      # 0xcdbc
decl %r13d
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %r13d
jg 0x8b3d
movslq %r14d, %rdx
movl $0x1, %edi
movq 0x50(%rsp), %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
cmpl %ebp, %ebx
jge 0x8be4
leaq 0x47dd(%rip), %r14      # 0xd35a
movl $0x1, %edx
movl $0x1, %edi
movq %r14, %rsi
callq 0x1050
addl %eax, %ebx
cmpl %ebp, %ebx
jl 0x8b7d
jmp 0x8be4
xorl %r15d, %r15d
movl 0x38(%rsp), %ebp
cmpl %r14d, %ebp
jle 0x8bce
leaq 0x4212(%rip), %r12      # 0xcdbc
decl %ebp
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1050
addl %eax, %r15d
cmpl %r14d, %ebp
jg 0x8baa
leal -0x1(%r14), %eax
movl %eax, 0x38(%rsp)
movslq %r14d, %rdx
movl $0x1, %edi
movq %r13, %rsi
callq 0x1050
movq %rax, %rbx
addl %r15d, %ebx
leaq 0x41be(%rip), %rdi      # 0xcda9
leaq 0x48(%rsp), %rsi
xorl %eax, %eax
callq 0x6d18
addl %ebx, %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 0x8c28
movq %rcx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %ecx
movl %ecx, (%rdi)
jmp 0x8c34
xorl %r15d, %r15d
jmp 0x8b31
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movslq (%rax), %r12
jmp 0x890d