	.file	"extr_varlena.c_SplitDirectoriesString.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SplitDirectoriesString
	.type	SplitDirectoriesString, @function
SplitDirectoriesString:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR NIL[rip]
	mov	QWORD PTR [rdx], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbp, 1
.L2:
	movsx	edi, BYTE PTR 0[rbp]
	call	scanner_isspace@PLT
	test	rax, rax
	jne	.L3
	movsx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	je	.L46
	cmp	dil, 34
	je	.L26
.L51:
	test	dil, dil
	je	.L9
	cmp	dil, bl
	je	.L9
	mov	r14, rbp
	mov	r13, rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L48:
	test	dil, dil
	je	.L28
.L6:
	call	scanner_isspace@PLT
	movsx	edi, BYTE PTR 1[r13]
	add	r13, 1
	test	rax, rax
	cmove	r14, r13
	cmp	dil, bl
	jne	.L48
.L28:
	cmp	rbp, r14
	jne	.L14
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	movsx	edi, BYTE PTR 1[r13]
	add	r13, 1
.L14:
	call	scanner_isspace@PLT
	test	rax, rax
	jne	.L15
	movzx	eax, BYTE PTR 0[r13]
	cmp	al, bl
	je	.L18
	test	al, al
	je	.L49
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L18:
	.cfi_restore_state
	movsx	edi, BYTE PTR 1[r13]
	add	r13, 1
	call	scanner_isspace@PLT
	test	rax, rax
	jne	.L18
	mov	BYTE PTR [r14], 0
	mov	rdi, rbp
	call	strlen@PLT
	mov	r8d, eax
	movsx	rax, DWORD PTR MAXPGPATH[rip]
	cmp	r8d, eax
	jge	.L50
.L45:
	mov	rdi, rbp
	call	pstrdup@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	canonicalize_path@PLT
	mov	rdi, QWORD PTR [r12]
	mov	rsi, rbp
	mov	rbp, r13
	call	lappend@PLT
	mov	QWORD PTR [r12], rax
	movsx	edi, BYTE PTR 0[r13]
	cmp	dil, 34
	jne	.L51
	.p2align 4,,10
	.p2align 3
.L26:
	lea	r15, 1[rbp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L52:
	movsx	edi, BYTE PTR 1[rax]
	lea	r15, 1[rax]
	mov	r13, r15
	cmp	dil, 34
	jne	.L10
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, r15
	mov	rdi, r14
	mov	edx, eax
	call	memmove@PLT
.L5:
	mov	esi, 34
	mov	rdi, r15
	call	strchr@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L52
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L49:
	mov	BYTE PTR [r14], 0
	mov	rdi, rbp
	call	strlen@PLT
	mov	r8d, eax
	movsx	rax, DWORD PTR MAXPGPATH[rip]
	cmp	r8d, eax
	jl	.L43
	mov	BYTE PTR -1[rbp+rax], 0
.L43:
	mov	rdi, rbp
	call	pstrdup@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	canonicalize_path@PLT
	mov	rdi, QWORD PTR [r12]
	mov	rsi, rbp
	call	lappend@PLT
	mov	QWORD PTR [r12], rax
.L46:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
.L10:
	.cfi_restore_state
	add	rbp, 1
	jmp	.L14
.L50:
	mov	BYTE PTR -1[rbp+rax], 0
	jmp	.L45
	.cfi_endproc
.LFE0:
	.size	SplitDirectoriesString, .-SplitDirectoriesString
	.comm	NIL,8,8
	.comm	MAXPGPATH,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_varlena.c_SplitDirectoriesString.c"
	.text
	.align	2
	.global	SplitDirectoriesString
	.syntax unified
	.arm
	.fpu softvfp
	.type	SplitDirectoriesString, %function
SplitDirectoriesString:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r2
	mov	r4, r0
	mov	r8, r1
	ldr	r3, .L42
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [r2]
.L2:
	mov	r7, r4
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	scanner_isspace
	subs	r5, r0, #0
	bne	.L2
	ldrb	r3, [r7]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r10, .L42+4
.L18:
	cmp	r3, #34
	beq	.L23
	cmp	r3, r8
	cmpne	r3, #0
	beq	.L1
	mov	r6, r7
	add	fp, r7, #1
.L10:
	mov	r0, r3
	bl	scanner_isspace
	ldrb	r3, [fp]	@ zero_extendqisi2
	cmp	r0, #0
	moveq	r6, fp
	cmp	r3, r8
	cmpne	r3, #0
	mov	r4, fp
	add	fp, fp, #1
	bne	.L10
	cmp	r7, r6
	bne	.L12
	b	.L1
.L13:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
.L12:
	mov	r0, r3
	bl	scanner_isspace
	cmp	r0, #0
	bne	.L13
	ldrb	fp, [r4]	@ zero_extendqisi2
	cmp	fp, r8
	beq	.L38
	cmp	fp, #0
	beq	.L39
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L39:
	mov	r0, r7
	strb	fp, [r6]
	bl	strlen
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r0, r3
	blt	.L40
	add	r3, r7, r3
	strb	fp, [r3, #-1]
	mov	r0, r7
	bl	pstrdup
	mov	r4, r0
	bl	canonicalize_path
	mov	r1, r4
	ldr	r0, [r9]
	bl	lappend
	str	r0, [r9]
.L3:
	mov	r5, #1
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	add	fp, r7, #1
	b	.L4
.L41:
	mov	fp, r6
	ldrb	r3, [fp, #1]!	@ zero_extendqisi2
	cmp	r3, #34
	mov	r4, fp
	bne	.L8
	bl	strlen
	mov	r1, fp
	mov	r2, r0
	mov	r0, r6
	bl	memmove
.L4:
	mov	r0, fp
	mov	r1, #34
	bl	strchr
	subs	r6, r0, #0
	bne	.L41
	b	.L1
.L8:
	add	r7, r7, #1
	b	.L12
.L38:
	add	r4, r4, #1
.L15:
	mov	fp, r4
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	scanner_isspace
	subs	r3, r0, #0
	bne	.L15
	mov	r0, r7
	strb	r3, [r6]
	str	r3, [sp, #4]
	bl	strlen
	ldr	r2, [r10]
	ldr	r3, [sp, #4]
	cmp	r0, r2
	addge	r2, r7, r2
	strbge	r3, [r2, #-1]
	mov	r0, r7
	bl	pstrdup
	mov	r4, r0
	bl	canonicalize_path
	mov	r1, r4
	ldr	r0, [r9]
	bl	lappend
	str	r0, [r9]
	mov	r7, fp
	ldrb	r3, [fp]	@ zero_extendqisi2
	b	.L18
.L40:
	mov	r0, r7
	bl	pstrdup
	mov	r4, r0
	bl	canonicalize_path
	mov	r1, r4
	ldr	r0, [r9]
	bl	lappend
	mov	r5, #1
	str	r0, [r9]
	b	.L1
.L43:
	.align	2
.L42:
	.word	NIL
	.word	MAXPGPATH
	.size	SplitDirectoriesString, .-SplitDirectoriesString
	.comm	NIL,4,4
	.comm	MAXPGPATH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
