	.file	"extr_parse.c_Parse_include_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/.."
.LC1:
	.string	"../"
.LC2:
	.string	"Could not find %s"
.LC3:
	.string	"Cannot open %s"
	.text
	.p2align 4
	.type	Parse_include_file, @function
Parse_include_file:
.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, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	BYTE PTR [rdi], 47
	mov	QWORD PTR 8[rsp], rdx
	mov	DWORD PTR 4[rsp], ecx
	je	.L2
	test	rsi, rsi
	je	.L3
.L20:
	mov	rdi, QWORD PTR sysIncPath[rip]
	call	Lst_IsEmpty@PLT
	mov	rsi, QWORD PTR sysIncPath[rip]
	mov	rdi, r12
	test	rax, rax
	cmovne	rsi, QWORD PTR defIncPath[rip]
	call	Dir_FindFile@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L16
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	jne	.L1
	mov	edi, DWORD PTR PARSE_FATAL[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	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
	jmp	Parse_Error@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	bmake_strdup@PLT
	or	rbx, rax
	mov	r13, rax
	jne	.L8
.L3:
	mov	rax, QWORD PTR curFile[rip]
	mov	rdi, QWORD PTR [rax]
	call	bmake_strdup@PLT
	mov	esi, 47
	mov	rdi, rax
	mov	r15, rax
	call	strrchr@PLT
	test	rax, rax
	je	.L54
	mov	BYTE PTR [rax], 0
	mov	rbx, r12
	lea	r14, 1[r15]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, 47
	mov	rdi, r14
	call	strrchr@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L14
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	add	rbx, 3
	call	strcmp@PLT
	test	rax, rax
	je	.L14
	mov	BYTE PTR 0[rbp], 0
.L10:
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	mov	r13, rbx
	call	strncmp@PLT
	test	rax, rax
	je	.L15
.L14:
	mov	edx, DWORD PTR STR_ADDSLASH[rip]
	mov	rsi, r13
	mov	rdi, r15
	call	str_concat@PLT
	mov	rsi, QWORD PTR parseIncPath[rip]
	mov	rdi, rax
	mov	r14, rax
	call	Dir_FindFile@PLT
	mov	r13, rax
	test	rax, rax
	je	.L55
	mov	rdi, r14
	call	free@PLT
	mov	rdi, r15
	call	free@PLT
.L16:
	mov	esi, DWORD PTR O_RDONLY[rip]
	mov	rdi, r13
	call	open@PLT
	mov	esi, eax
	cmp	eax, -1
	je	.L56
	mov	rdi, r13
	call	loadfile@PLT
	mov	rbx, rax
	xor	eax, eax
	call	ParseSetIncludedFile@PLT
	mov	ecx, DWORD PTR loadedfile_nextbuf[rip]
	mov	r8, rbx
	xor	esi, esi
	mov	edx, -1
	mov	rdi, r13
	call	Parse_SetInput@PLT
	mov	rax, QWORD PTR curFile[rip]
	mov	QWORD PTR 8[rax], rbx
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L1
	mov	QWORD PTR doing_depend[rip], rax
.L1:
	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
.L56:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L57
.L25:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	free@PLT
	.p2align 4,,10
	.p2align 3
.L54:
	.cfi_restore_state
	mov	rdi, r15
	call	free@PLT
.L9:
	mov	rdi, r12
	mov	esi, 46
	call	strrchr@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L19
	call	Suff_GetPath@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L19
	mov	rdi, r12
	call	Dir_FindFile@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rsi, QWORD PTR parseIncPath[rip]
	mov	rdi, r12
	call	Dir_FindFile@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L16
	mov	rsi, QWORD PTR dirSearchPath[rip]
	mov	rdi, r12
	call	Dir_FindFile@PLT
	mov	r13, rax
	.p2align 4,,10
	.p2align 3
.L8:
	test	r13, r13
	jne	.L16
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L57:
	mov	edi, DWORD PTR PARSE_FATAL[rip]
	mov	rdx, r13
	lea	rsi, .LC3[rip]
	call	Parse_Error@PLT
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L55:
	mov	rsi, QWORD PTR dirSearchPath[rip]
	mov	rdi, r14
	call	Dir_FindFile@PLT
	mov	rdi, r14
	mov	r13, rax
	call	free@PLT
	mov	rdi, r15
	call	free@PLT
	test	r13, r13
	jne	.L16
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	Parse_include_file, .-Parse_include_file
	.comm	sysIncPath,8,8
	.comm	parseIncPath,8,8
	.comm	loadedfile_nextbuf,4,4
	.comm	doing_depend,8,8
	.comm	dirSearchPath,8,8
	.comm	defIncPath,8,8
	.comm	curFile,8,8
	.comm	STR_ADDSLASH,4,4
	.comm	PARSE_FATAL,4,4
	.comm	O_RDONLY,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_parse.c_Parse_include_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/..\000"
	.align	2
.LC1:
	.ascii	"Could not find %s\000"
	.align	2
.LC2:
	.ascii	"Cannot open %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Parse_include_file, %function
Parse_include_file:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldrb	ip, [r0]	@ zero_extendqisi2
	sub	sp, sp, #20
	cmp	ip, #47
	mov	r5, r0
	mov	r6, r1
	mov	r7, r2
	str	r3, [sp, #8]
	beq	.L2
	cmp	r1, #0
	beq	.L3
.L21:
	ldr	r4, .L61
	ldr	r0, [r4]
	bl	Lst_IsEmpty
	cmp	r0, #0
	bne	.L4
	ldr	r1, [r4]
.L22:
	mov	r0, r5
	bl	Dir_FindFile
	subs	r4, r0, #0
	bne	.L17
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L55
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	bl	bmake_strdup
	orrs	r3, r0, r6
	mov	r4, r0
	bne	.L8
.L3:
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	bmake_strdup
	mov	r1, #47
	str	r0, [sp, #12]
	bl	strrchr
	cmp	r0, #0
	beq	.L56
	mov	r3, #0
	mov	r4, r5
	strb	r3, [r0]
	ldr	r3, [sp, #12]
	ldr	r10, .L61+8
	add	r9, r3, #1
.L10:
	ldrb	r3, [r4]	@ zero_extendqisi2
	mov	r8, r4
	cmp	r3, #46
	beq	.L57
.L14:
	ldr	r3, .L61+12
	mov	r1, r8
	ldr	r2, [r3]
	ldr	r0, [sp, #12]
	bl	str_concat
	ldr	r3, .L61+16
	mov	r6, r0
	ldr	r1, [r3]
	bl	Dir_FindFile
	subs	r4, r0, #0
	beq	.L58
	mov	r0, r6
	bl	free
	ldr	r0, [sp, #12]
	bl	free
.L17:
	ldr	r3, .L61+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	open
	cmn	r0, #1
	mov	r1, r0
	beq	.L59
	mov	r0, r4
	bl	loadfile
	mov	r5, r0
	bl	ParseSetIncludedFile
	ldr	r3, .L61+24
	str	r5, [sp]
	ldr	r3, [r3]
	mov	r0, r4
	mvn	r2, #0
	mov	r1, #0
	bl	Parse_SetInput
	ldr	r3, .L61+4
	cmp	r7, #0
	ldr	r3, [r3]
	str	r5, [r3, #4]
	beq	.L1
	ldr	r3, .L61+28
	str	r7, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L57:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L14
	ldrb	r6, [r4, #2]	@ zero_extendqisi2
	add	r4, r4, #3
	subs	r6, r6, #47
	bne	.L14
	mov	r1, #47
	mov	r0, r9
	bl	strrchr
	subs	fp, r0, #0
	beq	.L14
	mov	r1, r10
	bl	strcmp
	cmp	r0, #0
	beq	.L14
	strb	r6, [fp]
	b	.L10
.L4:
	ldr	r3, .L61+32
	ldr	r1, [r3]
	b	.L22
.L56:
	ldr	r0, [sp, #12]
	bl	free
.L9:
	mov	r1, #46
	mov	r0, r5
	bl	strrchr
	cmp	r0, #0
	beq	.L20
	bl	Suff_GetPath
	subs	r1, r0, #0
	beq	.L20
	mov	r0, r5
	bl	Dir_FindFile
	subs	r4, r0, #0
	bne	.L17
.L20:
	ldr	r3, .L61+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	Dir_FindFile
	subs	r4, r0, #0
	bne	.L17
	ldr	r3, .L61+36
	mov	r0, r5
	ldr	r1, [r3]
	bl	Dir_FindFile
	mov	r4, r0
.L8:
	cmp	r4, #0
	bne	.L17
	b	.L21
.L59:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L60
.L26:
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	free
.L55:
	mov	r2, r5
	ldr	r3, .L61+40
	ldr	r1, .L61+44
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	Parse_Error
.L60:
	ldr	r3, .L61+40
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L61+48
	bl	Parse_Error
	b	.L26
.L58:
	ldr	r3, .L61+36
	mov	r0, r6
	ldr	r1, [r3]
	bl	Dir_FindFile
	mov	r4, r0
	mov	r0, r6
	bl	free
	ldr	r0, [sp, #12]
	bl	free
	cmp	r4, #0
	bne	.L17
	b	.L9
.L62:
	.align	2
.L61:
	.word	sysIncPath
	.word	curFile
	.word	.LC0
	.word	STR_ADDSLASH
	.word	parseIncPath
	.word	O_RDONLY
	.word	loadedfile_nextbuf
	.word	doing_depend
	.word	defIncPath
	.word	dirSearchPath
	.word	PARSE_FATAL
	.word	.LC1
	.word	.LC2
	.size	Parse_include_file, .-Parse_include_file
	.comm	sysIncPath,4,4
	.comm	parseIncPath,4,4
	.comm	loadedfile_nextbuf,4,4
	.comm	doing_depend,4,4
	.comm	dirSearchPath,4,4
	.comm	defIncPath,4,4
	.comm	curFile,4,4
	.comm	STR_ADDSLASH,4,4
	.comm	PARSE_FATAL,4,4
	.comm	O_RDONLY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
