// File: /workspace/github_c_makefile_star2_O0/AugustinLopez[P]Fancy_Ft_Malloc/minilibft/printf/pf_parsing.c
// Function: pf_parse_length_precision
static inline void	pf_parse_length_precision(t_printf *pf)
{
	if ('0' < *pf->format && *pf->format < ':')
		pf->length = pf_parse_atoi(&pf->format);
	if (*pf->format == '.' && (pf->flag |= F_DOT) && pf->format++)
		pf->precision = pf_parse_atoi(&pf->format);
	pf_parse_flag(pf);
	while (1)
	{
		if (*pf->format == 'h')
			pf->flag |= (pf->format[1] == 'h'
				&& ++pf->format) ? F_2SHORT : F_1SHORT;
		else if (*pf->format == 'l')
			pf->flag |= (pf->format[1] == 'l'
				&& ++pf->format) ? F_2LONG : F_1LONG;
		else if (*pf->format == 'j')
			pf->flag |= F_INTMAX;
		else if (*pf->format == 'z')
			pf->flag |= F_SIZE_T;
		else if (*pf->format == 'L')
			pf->flag |= F_LDBL;
		else
			break ;
		++pf->format;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %ecx
movl $0x30, %eax
cmpl %ecx, %eax
jge 0x88bf
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x3a, %eax
jge 0x88bf
movq -0x8(%rbp), %rdi
addq $0x80, %rdi
callq 0x3370
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x8924
movq -0x8(%rbp), %rcx
movl 0x90(%rcx), %eax
orl $0x200000, %eax         # imm = 0x200000
movl %eax, 0x90(%rcx)
cmpl $0x0, %eax
je 0x8924
movq -0x8(%rbp), %rcx
movq 0x80(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x80(%rcx)
cmpq $0x0, %rax
je 0x8924
movq -0x8(%rbp), %rdi
addq $0x80, %rdi
callq 0x3370
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x8(%rbp), %rdi
callq 0x8730
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x68, %eax
jne 0x89a1
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl 0x1(%rax), %ecx
xorl %eax, %eax
cmpl $0x68, %ecx
movb %al, -0x9(%rbp)
jne 0x8979
movq -0x8(%rbp), %rcx
movq 0x80(%rcx), %rax
addq $0x1, %rax
movq %rax, 0x80(%rcx)
cmpq $0x0, %rax
setne %al
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %dl
movl $0x40000, %ecx          # imm = 0x40000
movl $0x80000, %eax          # imm = 0x80000
testb $0x1, %dl
cmovnel %eax, %ecx
movq -0x8(%rbp), %rax
orl 0x90(%rax), %ecx
movl %ecx, 0x90(%rax)
jmp 0x8aa0
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x6c, %eax
jne 0x8a15
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl 0x1(%rax), %ecx
xorl %eax, %eax
cmpl $0x6c, %ecx
movb %al, -0xa(%rbp)
jne 0x89ed
movq -0x8(%rbp), %rcx
movq 0x80(%rcx), %rax
addq $0x1, %rax
movq %rax, 0x80(%rcx)
cmpq $0x0, %rax
setne %al
movb %al, -0xa(%rbp)
movb -0xa(%rbp), %dl
movl $0x10000, %ecx          # imm = 0x10000
movl $0x20000, %eax          # imm = 0x20000
testb $0x1, %dl
cmovnel %eax, %ecx
movq -0x8(%rbp), %rax
orl 0x90(%rax), %ecx
movl %ecx, 0x90(%rax)
jmp 0x8a9e
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x6a, %eax
jne 0x8a40
movq -0x8(%rbp), %rax
movl 0x90(%rax), %ecx
orl $0x20000000, %ecx       # imm = 0x20000000
movl %ecx, 0x90(%rax)
jmp 0x8a9c
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x7a, %eax
jne 0x8a6b
movq -0x8(%rbp), %rax
movl 0x90(%rax), %ecx
orl $0x40000000, %ecx       # imm = 0x40000000
movl %ecx, 0x90(%rax)
jmp 0x8a9a
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rax
movsbl (%rax), %eax
cmpl $0x4c, %eax
jne 0x8a96
movq -0x8(%rbp), %rax
movl 0x90(%rax), %ecx
orl $0x100000, %ecx         # imm = 0x100000
movl %ecx, 0x90(%rax)
jmp 0x8a98
jmp 0x8abb
jmp 0x8a9a
jmp 0x8a9c
jmp 0x8a9e
jmp 0x8aa0
movq -0x8(%rbp), %rax
movq 0x80(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x80(%rax)
jmp 0x892d
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)