// File: /workspace/github_c_makefile_star2_O0/MikeyLHolm[P]Hive-lem-in/libftprintf/srcs/minwth_print.c
// Function: mod_len_dbl
static size_t	mod_len_dbl(t_tags *ids, size_t len)
{
	if (ids->period == 0)
		len += 7;
	if (ids->period == 1 && ids->maxwth > 0)
		len += ids->maxwth + 1;
	if (ids->current_flag[1] == '0')
		len += ids->minwth;
	if (ids->negative == -1 || ids->current_flag[3] == '+')
		len++;
	if (ids->current_flag[4] == '-' && ids->period == 1 && ids->maxwth == 0)
		len++;
	if (ids->current_flag[4] == '-' && ids->period == 1 && ids->maxwth == 0
	&& ids->current_flag[2] == ' ' && ids->negative == -1)
		len--;
	if (ids->current_flag[2] == ' ' && ids->current_flag[4] == '-'
	&& ids->negative == 1)
		len++;
	else if (ids->current_flag[2] == ' ' && ids->current_flag[4] == '-'
	&& ids->negative == -1 && ids->period == 1 && ids->maxwth == 0)
		len++;
	else if (ids->current_flag[2] == ' ' && ids->current_flag[4] != '-')
		len++;
	return (len);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0xafc3
movq -0x10(%rbp), %rax
addq $0x7, %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x1, 0x18(%rax)
jne 0xafed
movq -0x8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jbe 0xafed
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
addq $0x1, %rax
addq -0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movsbl 0x59(%rax), %eax
cmpl $0x30, %eax
jne 0xb00a
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
addq -0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x40(%rax)
je 0xb021
movq -0x8(%rbp), %rax
movsbl 0x5b(%rax), %eax
cmpl $0x2b, %eax
jne 0xb02d
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movsbl 0x5c(%rax), %eax
cmpl $0x2d, %eax
jne 0xb05c
movq -0x8(%rbp), %rax
cmpq $0x1, 0x18(%rax)
jne 0xb05c
movq -0x8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0xb05c
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movsbl 0x5c(%rax), %eax
cmpl $0x2d, %eax
jne 0xb0a2
movq -0x8(%rbp), %rax
cmpq $0x1, 0x18(%rax)
jne 0xb0a2
movq -0x8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0xb0a2
movq -0x8(%rbp), %rax
movsbl 0x5a(%rax), %eax
cmpl $0x20, %eax
jne 0xb0a2
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x40(%rax)
jne 0xb0a2
movq -0x10(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movsbl 0x5a(%rax), %eax
cmpl $0x20, %eax
jne 0xb0d4
movq -0x8(%rbp), %rax
movsbl 0x5c(%rax), %eax
cmpl $0x2d, %eax
jne 0xb0d4
movq -0x8(%rbp), %rax
cmpl $0x1, 0x40(%rax)
jne 0xb0d4
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xb146
movq -0x8(%rbp), %rax
movsbl 0x5a(%rax), %eax
cmpl $0x20, %eax
jne 0xb11c
movq -0x8(%rbp), %rax
movsbl 0x5c(%rax), %eax
cmpl $0x2d, %eax
jne 0xb11c
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x40(%rax)
jne 0xb11c
movq -0x8(%rbp), %rax
cmpq $0x1, 0x18(%rax)
jne 0xb11c
movq -0x8(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0xb11c
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xb144
movq -0x8(%rbp), %rax
movsbl 0x5a(%rax), %eax
cmpl $0x20, %eax
jne 0xb142
movq -0x8(%rbp), %rax
movsbl 0x5c(%rax), %eax
cmpl $0x2d, %eax
je 0xb142
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xb144
jmp 0xb146
movq -0x10(%rbp), %rax
popq %rbp
retq