// File: /workspace/github_c_makefile_star2_O2/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 0x1c1b(%rip), %rdi      # 0x666c
callq 0x3f3c
testq %rax, %rax
je 0x4a88
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x4a71
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x4a7d
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 0x1673(%rip), %rdi      # 0x6107
callq 0x3f3c
testq %rax, %rax
je 0x4aeb
movq 0x18(%r14), %rax
movb (%rax), %cl
addb $-0x68, %cl
rorb %cl
cmpb $0x9, %cl
ja 0x4bd7
movzbl %cl, %ecx
leaq 0x1b60(%rip), %rdx      # 0x661c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpb $0x68, 0x1(%rax)
movl (%rbx), %eax
jne 0x4c28
cmpl $0x28, %eax
ja 0x4c55
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4c61
movsbl 0x20(%r14), %esi
leaq 0x1bc0(%rip), %rdi      # 0x66b7
callq 0x3f3c
testq %rax, %rax
je 0x4b74
movq 0x18(%r14), %rax
movb (%rax), %cl
addb $-0x68, %cl
rorb %cl
cmpb $0x9, %cl
ja 0x4bc1
movzbl %cl, %ecx
leaq 0x1b25(%rip), %rdx      # 0x6644
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpb $0x68, 0x1(%rax)
movl (%rbx), %eax
jne 0x4c7f
cmpl $0x28, %eax
ja 0x4c9e
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4caa
cmpb $0x6c, 0x1(%rax)
movl (%rbx), %eax
jne 0x4bed
cmpl $0x28, %eax
ja 0x4c00
movq 0x10(%rbx), %rcx
addq %rax, %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4c0c
movsbl 0x20(%r14), %esi
leaq 0x1af0(%rip), %rdi      # 0x6670
callq 0x3f3c
testq %rax, %rax
je 0x4c3b
movzbl 0x20(%r14), %eax
cmpl $0x43, %eax
je 0x4bc1
cmpl $0x53, %eax
je 0x4a5b
cmpl $0x73, %eax
je 0x4c92
cmpl $0x70, %eax
je 0x4a5b
cmpl $0x63, %eax
jne 0x4bd7
movq 0x18(%r14), %rax
cmpb $0x6c, (%rax)
jne 0x4bd7
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x4c42
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x4c4e
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x4c14
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x4c20
cmpl $0x28, %eax
ja 0x4c00
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4c0c
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movq (%rcx), %rax
jmp 0x4a80
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movslq (%rax), %rax
jmp 0x4a80
cmpl $0x28, %eax
ja 0x4c6a
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4c76
xorl %eax, %eax
jmp 0x4a80
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movl (%rax), %eax
jmp 0x4a80
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movsbq (%rcx), %rax
jmp 0x4a80
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movswq (%rcx), %rax
jmp 0x4a80
cmpl $0x28, %eax
ja 0x4cb2
movq %rax, %rcx
addq 0x10(%rbx), %rcx
addl $0x8, %eax
movl %eax, (%rbx)
jmp 0x4cbe
movq 0x18(%r14), %rax
cmpb $0x6c, (%rax)
jmp 0x4a5b
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movzbl (%rcx), %eax
jmp 0x4a80
movq 0x8(%rbx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rbx)
movzwl (%rcx), %eax
jmp 0x4a80
nop