	.file	"extr_file.c_isc_file_splitpath.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/"
.LC1:
	.string	"."
	.text
	.p2align 4
	.globl	isc_file_splitpath
	.type	isc_file_splitpath, @function
isc_file_splitpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rsi, rsi
	setne	dil
	call	REQUIRE@PLT
	mov	esi, 47
	mov	rdi, r14
	call	strrchr@PLT
	cmp	r14, rax
	je	.L15
	test	rax, rax
	je	.L4
	lea	rbx, 1[rax]
	mov	rdi, rbp
	mov	rdx, rbx
	sub	rdx, r14
	mov	esi, edx
	mov	QWORD PTR 8[rsp], rdx
	call	isc_mem_allocate@PLT
	mov	rdx, QWORD PTR 8[rsp]
	test	rax, rax
	mov	r15, rax
	je	.L8
	mov	rsi, r14
	mov	rdi, rax
	call	strlcpy@PLT
.L7:
	cmp	BYTE PTR [rbx], 0
	je	.L16
	mov	QWORD PTR 0[r13], r15
	mov	eax, DWORD PTR ISC_R_SUCCESS[rip]
	mov	QWORD PTR [r12], rbx
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	rbx, r14
	call	isc_mem_strdup@PLT
	mov	r15, rax
.L3:
	test	r15, r15
	jne	.L7
.L8:
	mov	eax, DWORD PTR ISC_R_NOMEMORY[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	lea	rbx, 1[r14]
	call	isc_mem_strdup@PLT
	mov	r15, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, r15
	mov	rdi, rbp
	call	isc_mem_free@PLT
	mov	eax, DWORD PTR ISC_R_INVALIDFILE[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	isc_file_splitpath, .-isc_file_splitpath
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOMEMORY,4,4
	.comm	ISC_R_INVALIDFILE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_file.c_isc_file_splitpath.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/\000"
	.align	2
.LC1:
	.ascii	".\000"
	.text
	.align	2
	.global	isc_file_splitpath
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_file_splitpath, %function
isc_file_splitpath:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r7, r0
	subs	r0, r1, #0
	movne	r0, #1
	mov	r9, r2
	mov	r8, r3
	bl	REQUIRE
	mov	r0, r5
	mov	r1, #47
	bl	strrchr
	cmp	r5, r0
	beq	.L15
	cmp	r0, #0
	beq	.L4
	add	r4, r0, #1
	sub	r10, r4, r5
	mov	r1, r10
	mov	r0, r7
	bl	isc_mem_allocate
	subs	r6, r0, #0
	beq	.L8
	mov	r2, r10
	mov	r1, r5
	bl	strlcpy
.L7:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L17
	str	r6, [r9]
	ldr	r0, [r3]
	str	r4, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r0, r7
	ldr	r1, .L17+4
	bl	isc_mem_strdup
	mov	r4, r5
	mov	r6, r0
.L3:
	cmp	r6, #0
	bne	.L7
.L8:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r0, r7
	ldr	r1, .L17+12
	bl	isc_mem_strdup
	add	r4, r5, #1
	mov	r6, r0
	b	.L3
.L16:
	mov	r1, r6
	mov	r0, r7
	bl	isc_mem_free
	ldr	r3, .L17+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	.align	2
.L17:
	.word	ISC_R_SUCCESS
	.word	.LC1
	.word	ISC_R_NOMEMORY
	.word	.LC0
	.word	ISC_R_INVALIDFILE
	.size	isc_file_splitpath, .-isc_file_splitpath
	.comm	ISC_R_SUCCESS,4,4
	.comm	ISC_R_NOMEMORY,4,4
	.comm	ISC_R_INVALIDFILE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
