// File: /workspace/github_c_makefile_star2_O3/Orycterope[P]corewar/libft/printf/cast.c
// Function: get_arg
long long			get_arg(va_list args, t_conversion *conv)
{
	if (ft_strchr("DOU", conv->conversion) != NULL)
		return ((long long)va_arg(args, long int));
	if (ft_strchr("di", conv->conversion) != NULL)
		return (d_types(args, conv));
	else if (ft_strchr("ouxX", conv->conversion) != NULL)
		return (o_types(args, conv));
	else if (ft_strchr("cCsSp", conv->conversion) != NULL)
		return (c_types(args, conv));
	return (0);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movsbl 0x20(%rsi), %esi
leaq 0x17f3(%rip), %rdi      # 0x666c
callq 0x41bc
testq %rax, %rax
je 0x4eb0
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x4e99
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x4ea5
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movq (%rax), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movsbl 0x20(%r14), %esi
leaq 0x124b(%rip), %rdi      # 0x6107
callq 0x41bc
testq %rax, %rax
je 0x4f13
movq 0x18(%r14), %rax
movb (%rax), %cl
addb $-0x68, %cl
rorb %cl
cmpb $0x9, %cl
ja 0x502c
movzbl %cl, %ecx
leaq 0x1738(%rip), %rdx      # 0x661c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpb $0x68, 0x1(%rax)
movl (%rbx), %eax
jne 0x4ffd
cmpl $0x28, %eax
ja 0x507f
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x508b
movsbl 0x20(%r14), %esi
leaq 0x1798(%rip), %rdi      # 0x66b7
callq 0x41bc
testq %rax, %rax
je 0x4f91
movq 0x18(%r14), %rax
movb (%rax), %cl
addb $-0x68, %cl
rorb %cl
cmpb $0x9, %cl
ja 0x5056
movzbl %cl, %ecx
leaq 0x16fd(%rip), %rdx      # 0x6644
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpb $0x68, 0x1(%rax)
movl (%rbx), %eax
jne 0x50a9
cmpl $0x28, %eax
ja 0x50c8
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x50d4
cmpb $0x6c, 0x1(%rax)
movl (%rbx), %eax
jne 0x4fd6
cmpl $0x28, %eax
ja 0x4fe9
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4ff5
movsbl 0x20(%r14), %esi
leaq 0x16d3(%rip), %rdi      # 0x6670
callq 0x41bc
testq %rax, %rax
je 0x5017
movzbl 0x20(%r14), %eax
cmpl $0x62, %eax
jle 0x501e
cmpl $0x73, %eax
je 0x50bc
cmpl $0x70, %eax
je 0x4e83
cmpl $0x63, %eax
jne 0x502c
movq 0x18(%r14), %rax
cmpb $0x6c, (%rax)
jne 0x502c
jmp 0x5056
cmpl $0x28, %eax
ja 0x4fe9
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4ff5
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movq (%rcx), %rax
jmp 0x4ea8
cmpl $0x28, %eax
ja 0x5094
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x50a0
xorl %eax, %eax
jmp 0x4ea8
cmpl $0x43, %eax
je 0x5056
cmpl $0x53, %eax
je 0x4e83
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x5042
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x504e
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movslq (%rax), %rax
jmp 0x4ea8
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x506c
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x5078
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movl (%rax), %eax
jmp 0x4ea8
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movsbq (%rcx), %rax
jmp 0x4ea8
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movswq (%rcx), %rax
jmp 0x4ea8
cmpl $0x28, %eax
ja 0x50dc
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x50e8
movq 0x18(%r14), %rax
cmpb $0x6c, (%rax)
jmp 0x4e83
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movzbl (%rcx), %eax
jmp 0x4ea8
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movzwl (%rcx), %eax
jmp 0x4ea8