// File: /workspace/github_c_makefile_star2_O2/AugustinLopez[P]Fancy_Ft_Malloc/minilibft/printf/pf_number.c
// Function: pf_putnbr
void				pf_putnbr(t_printf *pf)
{
	intmax_t	n;

	if (pf->flag & F_1LONG)
		n = (intmax_t)va_arg(pf->ap, long);
	else if (pf->flag & F_2LONG)
		n = (intmax_t)va_arg(pf->ap, long long);
	else if (pf->flag & F_1SHORT)
		n = (short)va_arg(pf->ap, int);
	else if (pf->flag & F_2SHORT)
		n = (char)va_arg(pf->ap, int);
	else if (pf->flag & F_INTMAX)
		n = (intmax_t)va_arg(pf->ap, intmax_t);
	else if (pf->flag & F_SIZE_T)
		n = (intmax_t)va_arg(pf->ap, ssize_t);
	else
		n = (intmax_t)va_arg(pf->ap, int);
	if (pf->flag & F_DOT)
		pf->flag &= ~F_ZERO;
	if (n < 0 && (pf->flag |= F_NEGATIF))
		n = -n;
	pf->printed = 1;
	pf_itoa((uintmax_t)n, pf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
movl 0x90(%rdi), %eax
btl $0x10, %eax
jb 0x59c3
btl $0x11, %eax
jb 0x59c3
btl $0x12, %eax
jb 0x5b13
btl $0x13, %eax
jb 0x5b2b
btl $0x1d, %eax
jb 0x59c3
btl $0x1e, %eax
movl 0x68(%rbx), %ecx
jb 0x5b6d
cmpl $0x28, %ecx
ja 0x5b81
movq %rcx, %rdx
addq 0x78(%rbx), %rdx
addl $0x8, %ecx
movl %ecx, 0x68(%rbx)
jmp 0x5b8d
movl 0x68(%rbx), %edx
cmpq $0x28, %rdx
ja 0x59db
movq %rdx, %rcx
addq 0x78(%rbx), %rcx
addl $0x8, %edx
movl %edx, 0x68(%rbx)
jmp 0x59e7
movq 0x70(%rbx), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x70(%rbx)
movq (%rcx), %rsi
movl %eax, %edx
andl $0xfeffffff, %edx       # imm = 0xFEFFFFFF
testl $0x200000, %eax         # imm = 0x200000
cmovel %eax, %edx
movl %edx, %ecx
orl $0x80000000, %ecx       # imm = 0x80000000
testq %rsi, %rsi
cmovnsl %edx, %ecx
movq %rsi, %r14
negq %r14
cmovsq %rsi, %r14
testl $0x200000, %eax         # imm = 0x200000
jne 0x5a1e
testq %rsi, %rsi
jns 0x5a24
movl %ecx, 0x90(%rbx)
movl $0x1, 0x18(%rbx)
pushq $0x1
popq %rdi
pushq $0xa
popq %r8
movq %r14, %rax
cmpq $0xa, %rax
jb 0x5a47
xorl %edx, %edx
divq %r8
incl %edi
movl %edi, 0x18(%rbx)
jmp 0x5a35
btl $0x1b, %ecx
jae 0x5a65
xorl %eax, %eax
cmpl $0x4, %edi
jb 0x5a60
leal -0x1(%rdi), %eax
pushq $0x3
popq %r8
xorl %edx, %edx
divl %r8d
addl %eax, %edi
movl %edi, 0x18(%rbx)
testq %rsi, %rsi
jne 0x5a79
movl %ecx, %eax
andl $0x200000, %eax         # imm = 0x200000
je 0x5a79
cmpl $0x0, 0x8(%rbx)
je 0x5adb
movl %ecx, %eax
andl $0x82800000, %eax       # imm = 0x82800000
je 0x5a85
decl 0x4(%rbx)
movl 0x8(%rbx), %edx
cmpl %edi, %edx
jge 0x5a91
movl %edi, 0x8(%rbx)
movl %edi, %edx
movl 0x4(%rbx), %esi
subl %edx, %esi
movl %esi, 0x14(%rbx)
btl $0x18, %ecx
jb 0x5ab4
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movl $0x82800000, %eax       # imm = 0x82800000
andl 0x90(%rbx), %eax
testl %eax, %eax
je 0x5ac0
movq %rbx, %rdi
callq 0x32e0
pushq $0xa
popq %rsi
leaq -0x60(%rbp), %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x58dd
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl 0x4(%rbx), %eax
movl %eax, 0x14(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movzwl 0x92(%rbx), %eax
testw $0x8280, %ax            # imm = 0x8280
je 0x5b00
movq %rbx, %rdi
callq 0x32e0
pushq $0x1
popq %rsi
movq %rbx, %rdi
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x3430
movl 0x68(%rbx), %edx
cmpq $0x28, %rdx
ja 0x5b43
movq %rdx, %rcx
addq 0x78(%rbx), %rcx
addl $0x8, %edx
movl %edx, 0x68(%rbx)
jmp 0x5b4f
movl 0x68(%rbx), %edx
cmpq $0x28, %rdx
ja 0x5b58
movq %rdx, %rcx
addq 0x78(%rbx), %rcx
addl $0x8, %edx
movl %edx, 0x68(%rbx)
jmp 0x5b64
movq 0x70(%rbx), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x70(%rbx)
movswq (%rcx), %rsi
jmp 0x59ea
movq 0x70(%rbx), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x70(%rbx)
movsbq (%rcx), %rsi
jmp 0x59ea
cmpl $0x28, %ecx
ja 0x5b95
movq 0x78(%rbx), %rdx
addq %rcx, %rdx
addl $0x8, %ecx
movl %ecx, 0x68(%rbx)
jmp 0x5ba1
movq 0x70(%rbx), %rdx
leaq 0x8(%rdx), %rcx
movq %rcx, 0x70(%rbx)
movslq (%rdx), %rsi
jmp 0x59ea
movq 0x70(%rbx), %rdx
leaq 0x8(%rdx), %rcx
movq %rcx, 0x70(%rbx)
movq (%rdx), %rsi
jmp 0x59ea