	.file	"189926.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"in fileNameDetect - thrown filename to detect : %s\n"
	.align 8
.LC1:
	.string	"in fileNameDetect - thrown pointer to nameDest : %p\n"
	.align 8
.LC2:
	.string	"in fileNameDetect - thrown pointer to extDest : %p\n"
	.align 8
.LC3:
	.string	"\343\203\225\343\202\241\343\202\244\343\203\253\345\220\215\343\201\214\351\225\267\351\201\216\343\201\216\343\201\276\343\201\231\343\200\202"
	.align 8
.LC4:
	.string	"\343\203\241\343\203\242\343\203\252\343\201\214\347\242\272\344\277\235\343\201\247\343\201\215\343\201\276\343\201\233\343\202\223\343\201\247\343\201\227\343\201\237\343\200\202"
	.align 8
.LC5:
	.string	"in fileNameDetect - throwing internalFilename : %s\n"
	.align 8
.LC6:
	.string	"in fileNameDetect - throwing ftype : %s\n"
	.align 8
.LC7:
	.string	"in fileNameDetect - *nameDest : %s\n"
	.align 8
.LC8:
	.string	"in fileNameDetect - *extDest : %s\n"
	.text
	.globl	fileNameDetect
	.type	fileNameDetect, @function
fileNameDetect:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L4:
	add	DWORD PTR -40[rbp], 1
	cmp	DWORD PTR -40[rbp], 2147483647
	jne	.L2
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L1
.L2:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L5
.L7:
	sub	DWORD PTR -40[rbp], 1
	add	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -40[rbp], 0
	jns	.L5
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L7
.L6:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L1
.L8:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L1
.L9:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -32[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L10:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L11
	mov	DWORD PTR -28[rbp], 0
	jmp	.L12
.L13:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L13
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L14:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	mov	DWORD PTR -32[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L16:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L18:
	cmp	QWORD PTR -8[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L20:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fileNameDetect, .-fileNameDetect
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"189926.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"in fileNameDetect - thrown filename to detect : %s\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"in fileNameDetect - thrown pointer to nameDest : %p"
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"in fileNameDetect - thrown pointer to extDest : %p\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"\343\203\225\343\202\241\343\202\244\343\203\253\345"
	.ascii	"\220\215\343\201\214\351\225\267\351\201\216\343\201"
	.ascii	"\216\343\201\276\343\201\231\343\200\202\000"
	.align	2
.LC4:
	.ascii	"\343\203\241\343\203\242\343\203\252\343\201\214\347"
	.ascii	"\242\272\344\277\235\343\201\247\343\201\215\343\201"
	.ascii	"\276\343\201\233\343\202\223\343\201\247\343\201\227"
	.ascii	"\343\201\237\343\200\202\000"
	.align	2
.LC5:
	.ascii	"in fileNameDetect - throwing internalFilename : %s\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"in fileNameDetect - throwing ftype : %s\012\000"
	.align	2
.LC7:
	.ascii	"in fileNameDetect - *nameDest : %s\012\000"
	.align	2
.LC8:
	.ascii	"in fileNameDetect - *extDest : %s\012\000"
	.text
	.align	2
	.global	fileNameDetect
	.syntax unified
	.arm
	.fpu softvfp
	.type	fileNameDetect, %function
fileNameDetect:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-40]
	ldr	r0, .L21
	bl	printf
	ldr	r1, [fp, #-44]
	ldr	r0, .L21+4
	bl	printf
	ldr	r1, [fp, #-48]
	ldr	r0, .L21+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L4:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #-2147483647
	bne	.L2
	ldr	r0, .L21+12
	bl	puts
	b	.L1
.L2:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L5
.L7:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L5
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L5:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L7
.L6:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L21+16
	bl	puts
	b	.L1
.L8:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	memset
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L21+16
	bl	puts
	b	.L1
.L9:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L10
.L11:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L10:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L11
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L12
.L13:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L12:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L13
	ldr	r1, [fp, #-20]
	ldr	r0, .L21+20
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L14
.L15:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L16
.L17:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L16:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+32
	bl	printf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L18
	ldr	r0, [fp, #-20]
	bl	free
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L20
	ldr	r0, [fp, #-16]
	bl	free
.L20:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	fileNameDetect, .-fileNameDetect
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
