// File: /workspace/github_c_makefile_star2_O2/MikeyLHolm[P]Hive-lem-in/source/lem_in.c
// Function: main
int				main(int ac, char **av)
{
	t_info		*info;

	if (!(info = (t_info*)malloc(sizeof(t_info))))
		exit_error_no_info(ERR_MALLOC);
	parse_flags(ac, av, info);
	if (ac > 0 && !(info->flag_storage & HELP))
	{
		if (info->flag_storage & VERBOSE)
			ft_printf(BOLD_MAGENTA "Verbose mode activated!\n" RESET);
		lem_in(ac, av[1], info);
	}
	else if (info->flag_storage & HELP)
		help_print();
	else
		exit_error(ERR_USAGE, info);
	if (info->flag_storage & LEAKS)
		system("leaks lem-in");
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movl %edi, %r14d
movl $0x18b0, %edi           # imm = 0x18B0
callq 0x1070
movq %rax, %rbx
testq %rax, %rax
jne 0x2589
leaq 0x5025(%rip), %rdi      # 0x75a9
callq 0x3190
movl %r14d, %edi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x1741
testl %r14d, %r14d
setg %cl
movl 0x1040(%rbx), %eax
testb $0x4, %al
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x25fd
testb $0x40, %al
je 0x25c1
leaq 0x5076(%rip), %rdi      # 0x7630
xorl %eax, %eax
callq 0x4574
pushq $0x10
popq %rdi
callq 0x1070
movq %rax, %r14
testq %rax, %rax
jne 0x25e0
leaq 0x4fd1(%rip), %rdi      # 0x75a9
movq %rbx, %rsi
callq 0x31ab
andl $0x0, 0x1880(%rbx)
movl $0x41f, %eax            # imm = 0x41F
cmpq $0x620, %rax            # imm = 0x620
je 0x2619
orl $-0x1, (%rbx,%rax,4)
incq %rax
jmp 0x25ec
testb $0x4, %al
jne 0x2768
leaq 0x5048(%rip), %rdi      # 0x7654
movq %rbx, %rsi
callq 0x31ab
jmp 0x27ff
testb $0x1, 0x1040(%rbx)
jne 0x2626
orl $-0x1, 0x28(%rbx)
andq $0x0, 0x2c(%rbx)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x1888(%rbx)
movaps 0x4fcd(%rip), %xmm0     # 0x7610
movups %xmm0, 0x1060(%rbx)
movaps 0x4fcf(%rip), %xmm0     # 0x7620
movups %xmm0, 0x1050(%rbx)
pushq $0x8
popq %rdi
callq 0x1070
andq $0x0, (%rax)
movq %rax, 0x8(%rbx)
andl $0x0, 0x1070(%rbx)
andq $0x0, 0x1890(%rbx)
movl 0x1880(%rbx), %edi
leaq -0x30(%rbp), %rsi
callq 0x47b0
testl %eax, %eax
jne 0x2699
leaq 0x4fe9(%rip), %rdi      # 0x767a
movq %rbx, %rsi
callq 0x31ab
movq -0x30(%rbp), %rdi
callq 0x4228
movq %rax, (%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1a23
movq -0x30(%rbp), %rdi
callq 0x1030
movq %r14, %rdi
movq %rbx, %rsi
callq 0x33e0
cmpl $0x0, 0x1884(%rbx)
je 0x2772
movq %r14, -0x38(%rbp)
leaq 0x4ffb(%rip), %rsi      # 0x76d7
pushq $0x1
popq %r14
pushq $0x1
popq %r12
movl %r14d, %edi
movq %r12, %rdx
callq 0x1040
leaq 0x529d(%rip), %r13      # 0x7993
movl %r14d, %r15d
cmpl 0x28(%rbx), %r15d
jg 0x2746
movl %r14d, %edi
leaq 0x5348(%rip), %rsi      # 0x7a51
movq %r12, %rdx
callq 0x1040
movl %r15d, %edi
callq 0x4148
movl %r14d, %edi
leaq 0x531c(%rip), %rsi      # 0x7a3f
movq %r12, %rdx
callq 0x1040
movq (%rbx), %rdi
callq 0x4194
movl %r14d, %edi
movq %r13, %rsi
movq %r12, %rdx
callq 0x1040
incl %r15d
jmp 0x26f9
leaq 0x4f8a(%rip), %rsi      # 0x76d7
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1040
movl 0x30(%rbx), %eax
movl %eax, 0x2c(%rbx)
andl $0x0, 0x30(%rbx)
movq -0x38(%rbp), %r14
jmp 0x27d0
callq 0x1620
jmp 0x27ff
movq %rbx, %rdi
callq 0x3321
movq %rbx, %rdi
callq 0x1cee
movq %rbx, %rdi
callq 0x1bf4
movq %rbx, %rdi
callq 0x3eda
testb $0x20, 0x1040(%rbx)
jne 0x27af
leaq 0x4f35(%rip), %rsi      # 0x76d7
pushq $0x1
popq %rdi
pushq $0x1
popq %rdx
callq 0x1040
jmp 0x27c8
movl 0x28(%rbx), %esi
leaq 0x4f05(%rip), %rdi      # 0x76be
xorl %eax, %eax
callq 0x4574
movq %rbx, %rdi
callq 0x38a0
movq %rbx, %rdi
callq 0x118c
testb $0x10, 0x1040(%rbx)
je 0x27f7
movl 0x1890(%rbx), %esi
movl 0x1054(%rbx), %edx
movl %edx, %ecx
subl %esi, %ecx
leaq 0x4e9e(%rip), %rdi      # 0x768e
xorl %eax, %eax
callq 0x4574
movq %r14, %rdi
callq 0x24fc
testb $0x8, 0x1040(%rbx)
je 0x2814
leaq 0x4e5e(%rip), %rdi      # 0x766d
callq 0x1050
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)