// File: /workspace/github_c_makefile_star2_O3/rpeepz[P]ft_ssl/libft/srcs/ft_sprintf/get_mod.c
// Function: get_mod
t_mod			get_mod(char **str, va_list ap)
{
	t_mod modifiers;

	modifiers.fl = get_flags(str);
	modifiers.width = get_width(str, ap);
	if (modifiers.width < 0)
	{
		modifiers.width *= -1;
		modifiers.fl.minus = 1;
	}
	modifiers.prcsn = get_precision(str, ap);
	modifiers.length = get_length(str);
	return (modifiers);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
xorl %ebp, %ebp
movl %ebp, 0x14(%rsp)
movl %ebp, 0x10(%rsp)
movl %ebp, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %ebp, 0x4(%rsp)
movq (%rsi), %rax
movsbl (%rax), %edi
callq 0x8538
movl $0x0, %ecx
movl $0x0, %edx
movl $0x0, %esi
movl $0x0, %edi
movl $0x0, %r8d
testl %eax, %eax
je 0xa634
movq %r15, 0x18(%rsp)
movq %rbx, 0x20(%rsp)
leaq 0x14(%rsp), %r12
leaq 0x8(%rsp), %r15
leaq 0xc(%rsp), %rbx
leaq 0x4(%rsp), %r13
movq (%r14), %rax
movzbl (%rax), %ecx
cmpl $0x2a, %ecx
jle 0xa5df
cmpl $0x2b, %ecx
je 0xa5f3
cmpl $0x2d, %ecx
je 0xa5f8
cmpl $0x30, %ecx
jne 0xa601
movq %r13, %rdx
jmp 0xa5fb
movq %r12, %rdx
cmpl $0x20, %ecx
je 0xa5fb
cmpl $0x23, %ecx
jne 0xa601
leaq 0x10(%rsp), %rdx
jmp 0xa5fb
movq %r15, %rdx
jmp 0xa5fb
movq %rbx, %rdx
movl $0x1, (%rdx)
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movsbl 0x1(%rax), %edi
callq 0x8538
testl %eax, %eax
jne 0xa5c0
movl 0x14(%rsp), %r8d
movl 0x10(%rsp), %edi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
movl 0x4(%rsp), %ecx
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r15
movl %r8d, (%rbx)
movl %edi, 0x4(%rbx)
movl %esi, 0x8(%rbx)
movl %edx, 0xc(%rbx)
movl %ecx, 0x10(%rbx)
movq (%r14), %rax
movb (%rax), %al
cmpb $0x2a, %al
jne 0xa67f
movl (%r15), %ecx
cmpq $0x28, %rcx
ja 0xa664
movq %rcx, %rax
addq 0x10(%r15), %rax
addl $0x8, %ecx
movl %ecx, (%r15)
jmp 0xa670
movq 0x8(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%r15)
movl (%rax), %ebp
movq (%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movb 0x1(%rax), %al
movsbl %al, %edi
callq 0x7314
testl %eax, %eax
je 0xa6b4
movq (%r14), %rdi
callq 0x7154
movl %eax, %ebp
movq (%r14), %rax
movsbl (%rax), %edi
callq 0x7314
testl %eax, %eax
je 0xa6b4
movq (%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movsbl 0x1(%rax), %edi
jmp 0xa69b
movq (%r14), %rax
cmpb $0x2a, (%rax)
jne 0xa6eb
movl (%r15), %ecx
cmpq $0x28, %rcx
ja 0xa6d4
movq %rcx, %rax
addq 0x10(%r15), %rax
addl $0x8, %ecx
movl %ecx, (%r15)
jmp 0xa6e0
movq 0x8(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%r15)
movl (%rax), %ebp
movq (%r14), %rax
incq %rax
movq %rax, (%r14)
movl %ebp, 0x14(%rbx)
testl %ebp, %ebp
jns 0xa6fe
negl %ebp
movl %ebp, 0x14(%rbx)
movl $0x1, 0x8(%rbx)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpb $0x2e, (%rax)
jne 0xa782
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movsbl 0x1(%rax), %edi
callq 0x7314
movq (%r14), %rdi
testl %eax, %eax
je 0xa745
callq 0x7154
movl %eax, %ebp
movq (%r14), %rax
movsbl (%rax), %edi
callq 0x7314
testl %eax, %eax
je 0xa775
movq (%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movsbl 0x1(%rax), %edi
jmp 0xa72c
xorl %ebp, %ebp
cmpb $0x2a, (%rdi)
jne 0xa775
movl (%r15), %ecx
cmpq $0x28, %rcx
ja 0xa764
movq %rcx, %rax
addq 0x10(%r15), %rax
addl $0x8, %ecx
movl %ecx, (%r15)
jmp 0xa770
movq 0x8(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%r15)
movl (%rax), %ebp
incq (%r14)
testl %ebp, %ebp
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmovnsl %ebp, %ecx
movq (%r14), %rax
movl %ecx, 0x18(%rbx)
movzbl (%rax), %ebp
cmpl $0x4c, %ebp
je 0xa7d6
cmpl $0x6c, %ebp
je 0xa7a9
cmpl $0x68, %ebp
jne 0xa7c1
movl $0x68, %ebp
movl $0xd0, %ecx
cmpb $0x68, 0x1(%rax)
je 0xa7b9
jmp 0xa7d6
movl $0x6c, %ebp
movl $0xd8, %ecx
cmpb $0x6c, 0x1(%rax)
jne 0xa7d6
addq $0x2, %rax
movl %ecx, %ebp
jmp 0xa7d9
movsbl %bpl, %edi
callq 0x855f
testl %eax, %eax
je 0xa7f8
movq (%r14), %rax
movl $0x7a, %ebp
incq %rax
movq %rax, (%r14)
movsbl (%rax), %edi
callq 0x855f
testl %eax, %eax
je 0xa7fa
movq (%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, (%r14)
movsbl 0x1(%rax), %edi
jmp 0xa7df
xorl %ebp, %ebp
movl %ebp, 0x1c(%rbx)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop