// File: /workspace/github_c_makefile_star2_O0/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
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x10000, %eax          # imm = 0x10000
cmpl $0x0, %eax
je 0x763d
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x20(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x14(%rbp)
cmpl $0x28, %eax
ja 0x7616
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x28(%rbp)
jmp 0x762d
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x78fe
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
je 0x76ab
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x38(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x2c(%rbp)
cmpl $0x28, %eax
ja 0x7684
movq -0x38(%rbp), %rcx
movl -0x2c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x40(%rbp)
jmp 0x769b
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x78fc
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x40000, %eax          # imm = 0x40000
cmpl $0x0, %eax
je 0x771c
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x50(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x44(%rbp)
cmpl $0x28, %eax
ja 0x76f2
movq -0x50(%rbp), %rcx
movl -0x44(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x58(%rbp)
jmp 0x7709
movq -0x50(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movl (%rax), %eax
movswq %ax, %rax
movq %rax, -0x10(%rbp)
jmp 0x78fa
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x80000, %eax          # imm = 0x80000
cmpl $0x0, %eax
je 0x778d
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x68(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x5c(%rbp)
cmpl $0x28, %eax
ja 0x7763
movq -0x68(%rbp), %rcx
movl -0x5c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x70(%rbp)
jmp 0x777a
movq -0x68(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movl (%rax), %eax
movsbq %al, %rax
movq %rax, -0x10(%rbp)
jmp 0x78f8
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x20000000, %eax       # imm = 0x20000000
cmpl $0x0, %eax
je 0x7804
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x80(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x74(%rbp)
cmpl $0x28, %eax
ja 0x77d7
movq -0x80(%rbp), %rcx
movl -0x74(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x88(%rbp)
jmp 0x77f1
movq -0x80(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x78f6
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x40000000, %eax       # imm = 0x40000000
cmpl $0x0, %eax
je 0x7887
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0x98(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0x8c(%rbp)
cmpl $0x28, %eax
ja 0x785a
movq -0x98(%rbp), %rcx
movl -0x8c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xa0(%rbp)
jmp 0x7877
movq -0x98(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x78f4
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x68, %rcx
movq %rcx, -0xb0(%rbp)
movl 0x68(%rax), %eax
movl %eax, -0xa4(%rbp)
cmpl $0x28, %eax
ja 0x78c9
movq -0xb0(%rbp), %rcx
movl -0xa4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xb8(%rbp)
jmp 0x78e6
movq -0xb0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movslq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x78f6
jmp 0x78f8
jmp 0x78fa
jmp 0x78fc
jmp 0x78fe
movq -0x8(%rbp), %rax
movl 0x90(%rax), %eax
andl $0x200000, %eax         # imm = 0x200000
cmpl $0x0, %eax
je 0x7928
movq -0x8(%rbp), %rax
movl 0x90(%rax), %ecx
andl $0xfeffffff, %ecx       # imm = 0xFEFFFFFF
movl %ecx, 0x90(%rax)
cmpq $0x0, -0x10(%rbp)
jge 0x7953
movq -0x8(%rbp), %rcx
movl 0x90(%rcx), %eax
orl $0x80000000, %eax       # imm = 0x80000000
movl %eax, 0x90(%rcx)
cmpl $0x0, %eax
je 0x7953
xorl %eax, %eax
subq -0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl $0x1, 0x18(%rax)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x7980
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)