// File: /workspace/github_c_makefile_star2_O1/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 0x5fd2
leaq 0x248(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49a8
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x208(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49c9
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x2060
testl %eax, %eax
je 0x4a1c
movq 0x55e7(%rip), %rdi      # 0x9fc8
leaq 0x2c27(%rip), %rsi      # 0x760f
movl $0x1e, %edx
callq 0x2210
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x55c5(%rip), %rdi      # 0x9fc8
callq 0x2210
leaq 0x2c1f(%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 0x4a68
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x2845(%rip), %rdi      # 0x72b4
leaq 0x2852(%rip), %rsi      # 0x72c8
callq 0x2220
testq %rax, %rax
je 0x5050
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 0x2788(%rip), %rsi      # 0x72ea
movq %rbx, %rdi
callq 0x22b0
testl %eax, %eax
je 0x5055
leaq 0x2771(%rip), %rsi      # 0x72ea
movq %r14, %rdi
callq 0x22b0
testl %eax, %eax
je 0x505a
movq %r14, %rbp
leaq 0x2757(%rip), %rsi      # 0x72ea
movq %r13, %rdi
callq 0x22b0
testl %eax, %eax
je 0x505f
leaq 0x2740(%rip), %rsi      # 0x72ea
movq 0xf0(%rsp), %rdi
callq 0x22b0
testl %eax, %eax
je 0x5064
leaq 0x2724(%rip), %rsi      # 0x72ea
movq 0xe8(%rsp), %rdi
callq 0x22b0
testl %eax, %eax
je 0x5069
leaq 0x2708(%rip), %rsi      # 0x72ea
movq %r12, %rdi
callq 0x22b0
testl %eax, %eax
je 0x5046
cmpb $0x0, (%r12)
je 0x5046
leaq 0x26e6(%rip), %rsi      # 0x72ea
movq %r15, %rdi
callq 0x22b0
testl %eax, %eax
je 0x504b
cmpb $0x0, (%r15)
je 0x504b
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 0x6117
leaq 0x18(%rsp), %r12
leaq 0x88(%rsp), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x2250
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x4cc2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x1e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4ce3
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 0x4100
leaq 0x8(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x6117
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x2250
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x4d44
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x1b8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4d61
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 0x3f04
leaq 0x188(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
callq 0x3f04
leaq 0x168(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
leaq 0x158(%rsp), %rdi
callq 0x3f04
leaq 0x198(%rsp), %rdi
leaq 0x178(%rsp), %rsi
leaq 0x158(%rsp), %rdx
xorl %ecx, %ecx
callq 0x4309
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x4e24
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e41
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x198(%rsp), %rdi
cmpq %r14, %rdi
je 0x4e5e
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 0x3f04
leaq 0x128(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x118(%rsp), %rdi
callq 0x3f04
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x3f04
leaq 0x138(%rsp), %rdi
leaq 0x118(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
movl $0x1, %ecx
callq 0x4309
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4f16
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f33
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f50
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 0x4f7e
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4f9a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4fb6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4fdb
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x5000
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x501d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5034
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 0x5093
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x5093
movq %rax, %rbx
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x50b5
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x50b5
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x51a1
movq 0x148(%rsp), %rsi
jmp 0x518b
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x50f8
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x50f8
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x511a
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x511a
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r14, %rdi
je 0x51a1
movq 0x1a8(%rsp), %rsi
jmp 0x518b
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
cmpq %r15, %rdi
je 0x51a1
movq 0x1c8(%rsp), %rsi
jmp 0x518b
jmp 0x519e
movq %rax, %rbx
leaq 0x1e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51a1
movq 0x1e8(%rsp), %rsi
jmp 0x518b
jmp 0x519e
jmp 0x519e
movq %rax, %rbx
leaq 0x208(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51a1
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x51a1
jmp 0x519e
movq %rax, %rbx
jmp 0x51c2
jmp 0x519e
movq %rax, %rbx
leaq 0x228(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51c2
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x51de
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x51fa
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x521f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x5244
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5269
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5285
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2340