// File: /workspace/github_c_makefile_star2_O3/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 0x1080
movq %rax, %rbx
testq %rax, %rax
jne 0x27c9
leaq 0x4de5(%rip), %rdi      # 0x75a9
callq 0x346c
movl %r14d, %edi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x17d9
testl %r14d, %r14d
setg %cl
movl 0x1040(%rbx), %eax
testb $0x4, %al
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x29b8
testb $0x40, %al
je 0x2805
leaq 0x4e32(%rip), %rdi      # 0x7630
xorl %eax, %eax
callq 0x4adc
movl $0x10, %edi
callq 0x1080
movq %rax, %r15
testq %rax, %rax
jne 0x2826
leaq 0x4d8b(%rip), %rdi      # 0x75a9
movq %rbx, %rsi
callq 0x348b
movl $0x0, 0x1880(%rbx)
movq %rbx, %rdi
addq $0x107c, %rdi           # imm = 0x107C
movl $0x804, %edx            # imm = 0x804
movl $0xff, %esi
callq 0x1060
testb $0x1, 0x1040(%rbx)
jne 0x2859
movl $0xffffffff, 0x28(%rbx) # imm = 0xFFFFFFFF
xorl %r14d, %r14d
movq %r14, 0x2c(%rbx)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x1888(%rbx)
movaps 0x4d98(%rip), %xmm0     # 0x7610
movups %xmm0, 0x1060(%rbx)
movaps 0x4d9a(%rip), %xmm0     # 0x7620
movups %xmm0, 0x1050(%rbx)
movl $0x8, %edi
callq 0x1080
movq %rax, 0x8(%rbx)
movq %r14, (%rax)
movl $0x0, 0x1070(%rbx)
movq %r14, 0x1890(%rbx)
leaq -0x30(%rbp), %rsi
xorl %edi, %edi
callq 0x4d10
testl %eax, %eax
jne 0x28cd
leaq 0x4db5(%rip), %rdi      # 0x767a
movq %rbx, %rsi
callq 0x348b
movq -0x30(%rbp), %rdi
callq 0x471c
movq %rax, (%r15)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1b17
movq -0x30(%rbp), %rdi
callq 0x1030
movq %r15, %rdi
movq %rbx, %rsi
callq 0x36f8
cmpl $0x0, 0x1884(%rbx)
je 0x29da
movq %r15, -0x38(%rbp)
leaq 0x4dc7(%rip), %rsi      # 0x76d7
movl $0x1, %edx
movl $0x1, %edi
callq 0x1040
cmpl $0x0, 0x28(%rbx)
jle 0x298c
xorl %r15d, %r15d
leaq 0x5122(%rip), %r12      # 0x7a51
leaq 0x5109(%rip), %r13      # 0x7a3f
leaq 0x5056(%rip), %r14      # 0x7993
incl %r15d
movl $0x1, %edx
movl $0x1, %edi
movq %r12, %rsi
callq 0x1040
movl %r15d, %edi
callq 0x4600
movl $0x1, %edx
movl $0x1, %edi
movq %r13, %rsi
callq 0x1040
movq (%rbx), %rdi
callq 0x4668
movl $0x1, %edx
movl $0x1, %edi
movq %r14, %rsi
callq 0x1040
cmpl 0x28(%rbx), %r15d
jl 0x293d
leaq 0x4d44(%rip), %rsi      # 0x76d7
movl $0x1, %edx
movl $0x1, %edi
callq 0x1040
movl 0x30(%rbx), %eax
movl %eax, 0x2c(%rbx)
movl $0x0, 0x30(%rbx)
movq -0x38(%rbp), %r15
jmp 0x2a3c
testb $0x4, %al
jne 0x29d0
leaq 0x4c91(%rip), %rdi      # 0x7654
movq %rbx, %rsi
callq 0x348b
jmp 0x2a6b
callq 0x16b8
jmp 0x2a6b
movq %rbx, %rdi
callq 0x362e
movq %rbx, %rdi
callq 0x1e4b
movq %rbx, %rdi
callq 0x1d3c
movq %rbx, %rdi
callq 0x4350
testb $0x20, 0x1040(%rbx)
jne 0x2a1b
leaq 0x4ccd(%rip), %rsi      # 0x76d7
movl $0x1, %edx
movl $0x1, %edi
callq 0x1040
jmp 0x2a34
movl 0x28(%rbx), %esi
leaq 0x4c99(%rip), %rdi      # 0x76be
xorl %eax, %eax
callq 0x4adc
movq %rbx, %rdi
callq 0x3c18
movq %rbx, %rdi
callq 0x119c
testb $0x10, 0x1040(%rbx)
je 0x2a63
movl 0x1890(%rbx), %esi
movl 0x1054(%rbx), %edx
movl %edx, %ecx
subl %esi, %ecx
leaq 0x4c32(%rip), %rdi      # 0x768e
xorl %eax, %eax
callq 0x4adc
movq %r15, %rdi
callq 0x2714
testb $0x8, 0x1040(%rbx)
je 0x2a80
leaq 0x4bf2(%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)