	.file	"extr_gensnmptree.c_path_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"too many -I directives"
	.text
	.p2align 4
	.type	path_new, @function
path_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR npaths[rip]
	cmp	eax, DWORD PTR MAX_PATHS[rip]
	jge	.L5
.L2:
	mov	edx, DWORD PTR stdpaths[rip]
	mov	rcx, QWORD PTR paths[rip]
	sub	eax, edx
	cdqe
	sal	rax, 2
	lea	rdi, 4[rcx+rax]
	lea	rsi, [rcx+rax]
	call	memmove@PLT
	mov	eax, DWORD PTR npaths[rip]
	mov	rdx, QWORD PTR paths[rip]
	mov	rdi, rbp
	sub	eax, DWORD PTR stdpaths[rip]
	cdqe
	lea	rbx, [rdx+rax*4]
	call	savestr@PLT
	mov	DWORD PTR [rbx], eax
	add	DWORD PTR npaths[rip], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	report@PLT
	mov	eax, DWORD PTR npaths[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	path_new, .-path_new
	.comm	stdpaths,4,4
	.comm	paths,8,8
	.comm	npaths,4,4
	.comm	MAX_PATHS,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_gensnmptree.c_path_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"too many -I directives\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	path_new, %function
path_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L6
	ldr	r4, .L6+4
	ldr	r2, [r2]
	ldr	r3, [r4]
	mov	r6, r0
	cmp	r3, r2
	bge	.L5
.L2:
	ldr	r5, .L6+8
	ldr	r7, .L6+12
	ldr	r2, [r5]
	ldr	r0, [r7]
	sub	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, r3, #4
	add	r1, r0, r1
	add	r0, r0, r3
	bl	memmove
	ldr	r3, [r5]
	ldr	r5, [r4]
	mov	r0, r6
	sub	r5, r5, r3
	ldr	r6, [r7]
	bl	savestr
	str	r0, [r6, r5, lsl #2]
	ldr	r3, [r4]
	add	r3, r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, .L6+16
	bl	report
	ldr	r3, [r4]
	b	.L2
.L7:
	.align	2
.L6:
	.word	MAX_PATHS
	.word	npaths
	.word	stdpaths
	.word	paths
	.word	.LC0
	.size	path_new, .-path_new
	.comm	stdpaths,4,4
	.comm	paths,4,4
	.comm	npaths,4,4
	.comm	MAX_PATHS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
