// File: /workspace/github_c_makefile_star2_O0/rpeepz[P]ft_ssl/srcs/hash/hash.c
// Function: hash
void			hash(char *input, char *to_hash, t_ssl *ssl, int i)
{
	if ((!(ssl->flag & 0x38000) &&
	(ssl->flag & S_FLAG || (i >= 0 && ssl->fd[i]))))
	{
		ft_printf("%s (", ft_strtoupper(input));
		ssl->fd[i] < 1 ? ft_putchar('\"') : 0;
		ft_printf("%s", to_hash);
		ssl->fd[i] < 1 ? ft_putchar('\"') : 0;
		ft_printf(") = ");
	}
	!(ssl->flag & 0x70000) && (ssl->flag & P_FLAG || (ssl->fd[i] && ssl->flag))
	? ft_printf("%s", to_hash) : 0;
	ft_printf("%s%c", get_hash(&to_hash, &input, ssl, i),
	((!(ssl->flag & R_FLAG) || ssl->flag & Q_FLAG) || (ssl->flag & R_FLAG &&
	!(ssl->flag & Q_FLAG) && (ssl->flag & P_FLAG)) ? '\n' : ' '));
	if (ssl->flag & R_FLAG && !(ssl->flag & 0x18000))
	{
		ssl->fd[i] < 1 ? ft_putchar('\"') : 0;
		(ssl->fd[i] || ssl->flag & R_FLAG) ? ft_printf("%s", input) : 0;
		ssl->fd[i] < 1 ? ft_putchar('\"') : 0;
		ft_putchar('\n');
	}
	ft_strdel(&to_hash);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x38000, %eax          # imm = 0x38000
cmpl $0x0, %eax
jne 0x3afa
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x40000, %eax          # imm = 0x40000
cmpl $0x0, %eax
jne 0x3a86
cmpl $0x0, -0x1c(%rbp)
jl 0x3afa
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x0, 0xc(%rax,%rcx,4)
je 0x3afa
movq -0x8(%rbp), %rdi
callq 0xa490
movq %rax, %rsi
leaq 0x10293(%rip), %rdi     # 0x13d2c
movb $0x0, %al
callq 0xad50
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x1, 0xc(%rax,%rcx,4)
jge 0x3abb
movl $0x22, %edi
callq 0xb280
jmp 0x3abd
jmp 0x3abd
movq -0x10(%rbp), %rsi
leaq 0xfb1a(%rip), %rdi      # 0x135e2
movb $0x0, %al
callq 0xad50
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x1, 0xc(%rax,%rcx,4)
jge 0x3aea
movl $0x22, %edi
callq 0xb280
jmp 0x3aec
jmp 0x3aec
leaq 0x1023e(%rip), %rdi     # 0x13d31
movb $0x0, %al
callq 0xad50
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x70000, %eax          # imm = 0x70000
cmpl $0x0, %eax
jne 0x3b49
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
jne 0x3b35
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x0, 0xc(%rax,%rcx,4)
je 0x3b49
movq -0x18(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x3b49
movq -0x10(%rbp), %rsi
leaq 0xfaa2(%rip), %rdi      # 0x135e2
movb $0x0, %al
callq 0xad50
jmp 0x3b4b
jmp 0x3b4b
movq -0x18(%rbp), %rdx
movl -0x1c(%rbp), %ecx
leaq -0x10(%rbp), %rdi
leaq -0x8(%rbp), %rsi
callq 0x38f0
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
andl $0x20000, %ecx          # imm = 0x20000
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x1d(%rbp)
je 0x3bda
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
andl $0x10000, %ecx          # imm = 0x10000
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x1d(%rbp)
jne 0x3bda
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
andl $0x20000, %ecx          # imm = 0x20000
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x29(%rbp)
je 0x3bd4
movq -0x18(%rbp), %rax
movl 0x4(%rax), %ecx
andl $0x10000, %ecx          # imm = 0x10000
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x29(%rbp)
jne 0x3bd4
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x8000, %eax           # imm = 0x8000
cmpl $0x0, %eax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
movb %al, -0x1d(%rbp)
movq -0x28(%rbp), %rsi
movb -0x1d(%rbp), %cl
movl $0x20, %edx
movl $0xa, %eax
testb $0x1, %cl
cmovnel %eax, %edx
leaq 0x1013e(%rip), %rdi     # 0x13d36
movb $0x0, %al
callq 0xad50
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
je 0x3c9f
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x18000, %eax          # imm = 0x18000
cmpl $0x0, %eax
jne 0x3c9f
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x1, 0xc(%rax,%rcx,4)
jge 0x3c40
movl $0x22, %edi
callq 0xb280
jmp 0x3c42
jmp 0x3c42
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x0, 0xc(%rax,%rcx,4)
jne 0x3c62
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
je 0x3c76
movq -0x8(%rbp), %rsi
leaq 0xf975(%rip), %rdi      # 0x135e2
movb $0x0, %al
callq 0xad50
jmp 0x3c78
jmp 0x3c78
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
cmpl $0x1, 0xc(%rax,%rcx,4)
jge 0x3c93
movl $0x22, %edi
callq 0xb280
jmp 0x3c95
jmp 0x3c95
movl $0xa, %edi
callq 0xb280
leaq -0x10(%rbp), %rdi
callq 0xbc20
addq $0x30, %rsp
popq %rbp
retq
nop