	.file	"extr_mkdeps.c_apply_vpath.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	apply_vpath, @function
apply_vpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 16[rdi]
	test	rax, rax
	je	.L24
	mov	edx, DWORD PTR [rdi]
	mov	r13, rdi
	test	edx, edx
	je	.L24
	xor	ebp, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebp, 1
	cmp	DWORD PTR 0[r13], ebp
	jbe	.L24
	mov	rax, QWORD PTR 16[r13]
.L7:
	mov	rdx, QWORD PTR 8[r13]
	mov	ebx, ebp
	mov	rsi, r12
	mov	edi, DWORD PTR [rax+rbx*4]
	lea	r14, 0[0+rbx*4]
	mov	edx, DWORD PTR [rdx+rbx*4]
	call	strncmp@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR 8[r13]
	movsx	rbx, DWORD PTR [rax+rbx*4]
	add	rbx, r12
	movsx	edi, BYTE PTR [rbx]
	call	IS_DIR_SEPARATOR@PLT
	test	rax, rax
	je	.L3
	cmp	BYTE PTR 1[rbx], 46
	jne	.L6
	cmp	BYTE PTR 2[rbx], 46
	jne	.L6
	movsx	edi, BYTE PTR 3[rbx]
	call	IS_DIR_SEPARATOR@PLT
	test	rax, rax
	jne	.L3
.L6:
	mov	rax, QWORD PTR 8[r13]
	movsx	rax, DWORD PTR [rax+r14]
	lea	r12, 1[r12+rax]
	.p2align 4,,10
	.p2align 3
.L24:
	cmp	BYTE PTR [r12], 46
	jne	.L1
	movsx	edi, BYTE PTR 1[r12]
	call	IS_DIR_SEPARATOR@PLT
	test	rax, rax
	je	.L1
	add	r12, 2
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	edi, BYTE PTR [r12]
	call	IS_DIR_SEPARATOR@PLT
	test	rax, rax
	je	.L24
	add	r12, 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	apply_vpath, .-apply_vpath
	.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_mkdeps.c_apply_vpath.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	apply_vpath, %function
apply_vpath:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r5, r1
	beq	.L28
	ldr	r2, [r0]
	mov	r6, r0
	cmp	r2, #0
	beq	.L28
	mov	r4, #0
	b	.L7
.L3:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L28
	ldr	r3, [r6, #8]
.L7:
	ldr	r2, [r6, #4]
	mov	r1, r5
	ldr	r0, [r3, r4, lsl #2]
	ldr	r2, [r2, r4, lsl #2]
	bl	strncmp
	cmp	r0, #0
	lsl	r8, r4, #2
	bne	.L3
	ldr	r3, [r6, #4]
	ldr	r3, [r3, r4, lsl #2]
	ldrb	r0, [r5, r3]	@ zero_extendqisi2
	add	r7, r5, r3
	bl	IS_DIR_SEPARATOR
	cmp	r0, #0
	beq	.L3
	ldrb	r3, [r7, #1]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L6
	ldrb	r3, [r7, #2]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L6
	ldrb	r0, [r7, #3]	@ zero_extendqisi2
	bl	IS_DIR_SEPARATOR
	cmp	r0, #0
	bne	.L3
.L6:
	ldr	r3, [r6, #4]
	ldr	r3, [r3, r8]
	add	r3, r3, #1
	add	r5, r5, r3
.L28:
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L1
.L31:
	ldrb	r0, [r5, #1]	@ zero_extendqisi2
	bl	IS_DIR_SEPARATOR
	cmp	r0, #0
	beq	.L1
	add	r4, r5, #2
.L8:
	mov	r5, r4
	ldrb	r0, [r4], #1	@ zero_extendqisi2
	bl	IS_DIR_SEPARATOR
	cmp	r0, #0
	bne	.L8
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L31
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
	.size	apply_vpath, .-apply_vpath
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
