	.file	"extr_libproc.c_proc_regionfilename.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	proc_regionfilename
	.type	proc_regionfilename, @function
proc_regionfilename:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR MAXPATHLEN[rip], rcx
	jle	.L2
	mov	eax, DWORD PTR ENOMEM[rip]
	mov	DWORD PTR errno[rip], eax
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbp, rdx
	mov	rdx, rsi
	mov	esi, DWORD PTR PROC_PIDREGIONPATHINFO2[rip]
	mov	r8d, 4
	lea	rcx, 4[rsp]
	call	proc_pidinfo@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	r8d, -1
	je	.L1
	mov	rdx, QWORD PTR MAXPATHLEN[rip]
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	strlcpy@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	proc_regionfilename, .-proc_regionfilename
	.comm	errno,4,4
	.comm	PROC_PIDREGIONPATHINFO2,4,4
	.comm	MAXPATHLEN,8,8
	.comm	ENOMEM,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_libproc.c_proc_regionfilename.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	proc_regionfilename
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_regionfilename, %function
proc_regionfilename:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L9
	sub	sp, sp, #20
	ldr	ip, [r5]
	cmp	ip, r3
	ldr	r3, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ble	.L2
	mov	r0, #0
	ldr	r2, .L9+8
	ldr	r3, .L9+12
	ldr	r2, [r2]
	str	r2, [r3]
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	ip, #4
	ldr	r3, .L9+16
	str	ip, [sp]
	mov	r4, r2
	mov	r2, r1
	ldr	r1, [r3]
	add	r3, sp, #8
	bl	proc_pidinfo
	cmn	r0, #1
	moveq	r0, #0
	beq	.L1
	mov	r0, r4
	ldr	r2, [r5]
	ldr	r1, [sp, #8]
	bl	strlcpy
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	MAXPATHLEN
	.word	.LC0
	.word	ENOMEM
	.word	errno
	.word	PROC_PIDREGIONPATHINFO2
	.size	proc_regionfilename, .-proc_regionfilename
	.comm	errno,4,4
	.comm	PROC_PIDREGIONPATHINFO2,4,4
	.comm	MAXPATHLEN,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
