// File: /workspace/github_c_makefile_star2_O1/AugustinLopez[P]Fancy_Ft_Malloc/minilibft/printf/pf_double.c
// Function: pf_putdouble
void				pf_putdouble(t_printf *pf)
{
	char	*str;

	pf_load_string(pf, &str);
	if (str && str[0] == '-' && minus_edge_case(pf, str))
		return ;
	(pf->flag & (F_NEGATIF | F_PLUS | F_SPACE)) ? --pf->length : 0;
	pf->padding = pf->length - pf->precision;
	!(pf->flag & F_ZERO) ? pf_padding(pf, 0) : 0;
	(pf->flag & (F_NEGATIF | F_PLUS | F_SPACE)) ? pf_sign(pf) : 0;
	((pf->flag & F_ZERO)) ? pf_padding(pf, 0) : 0;
	pf->padding = pf->precision - pf->printed;
	str ? pf_buffer_write(pf, str, pf->printed) : 0;
	pf->option_padding = 1;
	str ? pf_padding(pf, 0) : 0;
	pf->option_padding = 0;
	pf->padding = pf->length - pf->precision;
	pf_padding(pf, 1);
	if (str)
		free(str);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl 0x90(%rdi), %esi
movl $0x6, %eax
btl $0x15, %esi
jae 0x6a2e
movl 0x8(%rbx), %eax
movl %eax, 0x8(%rbx)
btl $0x14, %esi
jb 0x6a52
movl 0x6c(%rbx), %edx
cmpq $0xa0, %rdx
ja 0x6a85
movq %rdx, %rcx
addq 0x78(%rbx), %rcx
addl $0x10, %edx
movl %edx, 0x6c(%rbx)
jmp 0x6a91
movq 0x70(%rbx), %rcx
addq $0xf, %rcx
andq $-0x10, %rcx
leaq 0x10(%rcx), %rdx
movq %rdx, 0x70(%rbx)
fldt (%rcx)
fld %st(0)
fchs
fucomi %st(1), %st
seta %r15b
fxch %st(1)
fcmovnbe %st(1), %st
fstp %st(1)
movslq %eax, %rdi
fstpt (%rsp)
callq 0x3640
jmp 0x6ab5
movq 0x70(%rbx), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, 0x70(%rbx)
movsd (%rcx), %xmm1
movapd 0x18f3(%rip), %xmm0     # 0x8390
xorpd %xmm1, %xmm0
ucomisd %xmm1, %xmm0
seta %r15b
maxsd %xmm1, %xmm0
movslq %eax, %rdi
callq 0x30b0
movq %rax, %r14
movzbl %r15b, %eax
shll $0x1f, %eax
orl %eax, 0x90(%rbx)
movq %r14, %rdi
movl $0x2e, %esi
callq 0x35b0
movq %rax, %r15
movslq %r15d, %r12
leaq (%r14,%r12), %rdi
callq 0x3140
addl %r15d, %eax
movl %eax, 0x18(%rbx)
testl %r12d, %r12d
je 0x6af3
addl 0x8(%rbx), %r15d
movl %r15d, %eax
movl %eax, 0x8(%rbx)
testq %r14, %r14
je 0x6bd0
cmpb $0x2d, (%r14)
jne 0x6bd0
movb 0x1(%r14), %r12b
cmpb $0x30, %r12b
jne 0x6bb3
movl 0x4(%rbx), %ecx
movl 0x90(%rbx), %edx
subl %eax, %ecx
movl %ecx, 0x14(%rbx)
movl %edx, %eax
orl $0x80000000, %eax       # imm = 0x80000000
movl %eax, 0x90(%rbx)
btl $0x18, %edx
jb 0x6b42
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
leaq 0x1(%r14), %r15
movq %rbx, %rdi
callq 0x32f0
testb $0x1, 0x93(%rbx)
je 0x6b61
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movl 0x8(%rbx), %eax
movslq 0x18(%rbx), %rdx
subl %edx, %eax
movl %eax, 0x14(%rbx)
decq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3500
movl $0x1, 0x1c(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movl $0x0, 0x1c(%rbx)
movl 0x4(%rbx), %eax
subl 0x8(%rbx), %eax
movl %eax, 0x14(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3430
movq %r14, %rdi
callq 0x3110
jmp 0x6bbd
andl $0x7d7fffff, 0x90(%rbx) # imm = 0x7D7FFFFF
cmpb $0x30, %r12b
jne 0x6bd0
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl 0x90(%rbx), %eax
testl $0x82800000, %eax       # imm = 0x82800000
je 0x6be0
decl 0x4(%rbx)
movl 0x4(%rbx), %ecx
subl 0x8(%rbx), %ecx
movl %ecx, 0x14(%rbx)
btl $0x18, %eax
jb 0x6bf9
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movzwl 0x92(%rbx), %eax
testl $0x8280, %eax           # imm = 0x8280
je 0x6c0f
movq %rbx, %rdi
callq 0x32f0
testb $0x1, 0x93(%rbx)
je 0x6c22
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movl 0x8(%rbx), %eax
movslq 0x18(%rbx), %rdx
subl %edx, %eax
movl %eax, 0x14(%rbx)
testq %r14, %r14
je 0x6c3e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3500
movl $0x1, 0x1c(%rbx)
testq %r14, %r14
je 0x6c85
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3430
movl $0x0, 0x1c(%rbx)
movl 0x4(%rbx), %eax
subl 0x8(%rbx), %eax
movl %eax, 0x14(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3430
movq %r14, %rdi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3110
movl $0x0, 0x1c(%rbx)
movl 0x4(%rbx), %eax
subl 0x8(%rbx), %eax
movl %eax, 0x14(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3430
nop