// File: /workspace/github_c_makefile_star2_O3/info-telecom-strasbourg[P]code-generator/src/other_flags.cpp
// Function: flag_a(char*)
void flag_a (char *optarg_) {
	string name, ext_c, ext_h, src, include, extension;
	string optarg_str = optarg_;

	parse_extension (optarg_, extension);

	if (extension != optarg_) {
		cout << "\033[1;33mwarning\033[0m: ignoring \""<< extension
 			<< "\". Using the extensions defined in the config file.\n\n";
	}

	name = optarg_str.substr(0, optarg_str.length() - extension.length() - 1);

	GET_CONFIG (

	ext_c = ds->c_extension;
	ext_h = ds->h_extension;
	src = cut_file (ds->source);
	include = cut_file (ds->include);

	)
	
   	create_file (name, ext_c, src, IS_SOURCE);
   	create_file (name, ext_h, include, IS_INCLUDE);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rdi, %rbx
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xd8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x218(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0x3e6a
leaq 0x1f8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0x3e6a
leaq 0x238(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x5f8d
leaq 0x248(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x496f
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x208(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4990
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x2060
testl %eax, %eax
je 0x49e3
movq 0x5620(%rip), %rdi      # 0x9fc8
leaq 0x2c60(%rip), %rsi      # 0x760f
movl $0x1e, %edx
callq 0x2210
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x55fe(%rip), %rdi      # 0x9fc8
callq 0x2210
leaq 0x2c58(%rip), %rsi      # 0x762e
movl $0x35, %edx
movq %rax, %rdi
callq 0x2210
movq 0x30(%rsp), %rcx
notq %rcx
leaq 0x218(%rsp), %rsi
addq 0x8(%rsi), %rcx
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x21f0
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x2250
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4a2f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x287e(%rip), %rdi      # 0x72b4
leaq 0x288b(%rip), %rsi      # 0x72c8
callq 0x2220
testq %rax, %rax
je 0x5017
movq %rax, %rbp
movl $0x380, %edi            # imm = 0x380
callq 0x2280
movq %rax, %rbx
movl $0x80, %esi
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rcx
callq 0x22d0
leaq 0x80(%rbx), %r14
movl $0x80, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbp, %rcx
callq 0x22d0
leaq 0x100(%rbx), %r13
movl $0x80, %esi
movl $0x1, %edx
movq %r13, %rdi
movq %rbp, %rcx
callq 0x22d0
leaq 0x180(%rbx), %rdi
movl $0x80, %esi
movl $0x1, %edx
movq %rdi, 0xf0(%rsp)
movq %rbp, %rcx
callq 0x22d0
leaq 0x200(%rbx), %rdi
movl $0x80, %esi
movl $0x1, %edx
movq %rdi, 0xe8(%rsp)
movq %rbp, %rcx
callq 0x22d0
leaq 0x280(%rbx), %r12
movl $0x80, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x22d0
leaq 0x300(%rbx), %r15
movl $0x80, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbp, %rcx
callq 0x22d0
leaq 0x27c1(%rip), %rsi      # 0x72ea
movq %rbx, %rdi
callq 0x22b0
testl %eax, %eax
je 0x501c
leaq 0x27aa(%rip), %rsi      # 0x72ea
movq %r14, %rdi
callq 0x22b0
testl %eax, %eax
je 0x5021
movq %r14, %rbp
leaq 0x2790(%rip), %rsi      # 0x72ea
movq %r13, %rdi
callq 0x22b0
testl %eax, %eax
je 0x5026
leaq 0x2779(%rip), %rsi      # 0x72ea
movq 0xf0(%rsp), %rdi
callq 0x22b0
testl %eax, %eax
je 0x502b
leaq 0x275d(%rip), %rsi      # 0x72ea
movq 0xe8(%rsp), %rdi
callq 0x22b0
testl %eax, %eax
je 0x5030
leaq 0x2741(%rip), %rsi      # 0x72ea
movq %r12, %rdi
callq 0x22b0
testl %eax, %eax
je 0x500d
cmpb $0x0, (%r12)
je 0x500d
leaq 0x271f(%rip), %rsi      # 0x72ea
movq %r15, %rdi
callq 0x22b0
testl %eax, %eax
je 0x5012
cmpb $0x0, (%r15)
je 0x5012
leaq 0xc8(%rsp), %r14
movq 0x8(%r14), %r13
movq %r12, %rdi
callq 0x20a0
movq %r14, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x2300
leaq 0xa8(%rsp), %r14
movq 0x8(%r14), %r12
movq %r15, %rdi
callq 0x20a0
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r15, %rcx
movq %rax, %r8
callq 0x2300
leaq 0x1d8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rbx, %rsi
callq 0x3e6a
leaq 0x8(%rsp), %rdi
leaq 0x1d8(%rsp), %rsi
callq 0x60d2
leaq 0x18(%rsp), %r12
leaq 0x88(%rsp), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x2250
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x4c89
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x1e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4caa
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x1c8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rbp, %rdi
callq 0x20a0
leaq (%rax,%rbp), %rdx
leaq 0x1b8(%rsp), %rdi
movq %rbp, %rsi
callq 0x4110
leaq 0x8(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x60d2
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x2250
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x4d0b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x1b8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4d28
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2230
leaq 0x1a8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x198(%rsp), %rdi
callq 0x3f06
leaq 0x188(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
callq 0x3f06
leaq 0x168(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
leaq 0x158(%rsp), %rdi
callq 0x3f06
leaq 0x198(%rsp), %rdi
leaq 0x178(%rsp), %rsi
leaq 0x158(%rsp), %rdx
xorl %ecx, %ecx
callq 0x4321
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x4deb
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e08
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x198(%rsp), %rdi
cmpq %r14, %rdi
je 0x4e25
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x148(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x3f06
leaq 0x128(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x118(%rsp), %rdi
callq 0x3f06
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x3f06
leaq 0x138(%rsp), %rdi
leaq 0x118(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
movl $0x1, %ecx
callq 0x4321
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4edd
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x4efa
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f17
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x228(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0x58(%rsp), %rbx
leaq 0xd8(%rsp), %r14
je 0x4f45
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4f61
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4f7d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4fa2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4fc7
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fe4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4ffb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21d0
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x251e
callq 0x24f9
callq 0x25fc
callq 0x25d7
callq 0x25b2
callq 0x258d
callq 0x2568
callq 0x2543
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x505a
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x505a
movq %rax, %rbx
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x507c
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x507c
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x5168
movq 0x148(%rsp), %rsi
jmp 0x5152
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x50bf
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x50bf
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x50e1
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x50e1
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r14, %rdi
je 0x5168
movq 0x1a8(%rsp), %rsi
jmp 0x5152
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5168
movq 0x1c8(%rsp), %rsi
jmp 0x5152
jmp 0x5165
movq %rax, %rbx
leaq 0x1e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5168
movq 0x1e8(%rsp), %rsi
jmp 0x5152
jmp 0x5165
jmp 0x5165
movq %rax, %rbx
leaq 0x208(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5168
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x5168
jmp 0x5165
movq %rax, %rbx
jmp 0x5189
jmp 0x5165
movq %rax, %rbx
leaq 0x228(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5189
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x51a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x51c1
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x51e6
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x520b
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5230
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x524c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2340