	.file	"extr_popenve.c_popenve.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	popenve
	.type	popenve, @function
popenve:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 16[rsp], rdi
	lea	rdi, 48[rsp]
	mov	QWORD PTR 24[rsp], rsi
	lea	rsi, 40[rsp]
	mov	QWORD PTR 32[rsp], rdx
	mov	QWORD PTR 40[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	pdes_get@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L1
	xor	eax, eax
	call	vfork@PLT
	endbr64
	mov	r12d, eax
	cmp	eax, -1
	je	.L4
	test	eax, eax
	je	.L5
.L6:
	mov	edx, r12d
	mov	r12, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	lea	rdi, 48[rsp]
	mov	rsi, r12
	call	pdes_parent@PLT
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 8[rsp], rax
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	mov	rax, QWORD PTR 8[rsp]
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rsi, QWORD PTR 40[rsp]
	lea	rdi, 48[rsp]
	call	pdes_child@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	call	execve@PLT
	mov	edi, 127
	call	_exit@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR errno[rip]
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, 48[rsp]
	call	pdes_error@PLT
	mov	DWORD PTR errno[rip], r12d
	mov	QWORD PTR 8[rsp], 0
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	popenve, .-popenve
	.comm	pidlist_lock,4,4
	.comm	errno,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_popenve.c_popenve.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	popenve
	.syntax unified
	.arm
	.fpu softvfp
	.type	popenve, %function
popenve:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	ip, r1
	mov	lr, r0
	sub	sp, sp, #44
	str	r3, [sp, #20]
	ldr	r3, .L11
	str	lr, [sp, #8]
	str	ip, [sp, #12]
	str	r2, [sp, #16]
	add	r1, sp, #20
	add	r0, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	pdes_get
	subs	r3, r0, #0
	str	r3, [sp, #4]
	beq	.L1
	bl	vfork
	cmn	r0, #1
	mov	r4, r0
	beq	.L4
	cmp	r0, #0
	beq	.L5
.L6:
	mov	r2, r4
	ldr	r4, [sp, #4]
	ldr	r3, [sp, #20]
	mov	r1, r4
	add	r0, sp, #28
	bl	pdes_parent
	ldr	r3, [r4]
	str	r3, [sp, #4]
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	ldr	r0, [sp, #4]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	ldr	r1, [sp, #20]
	add	r0, sp, #28
	bl	pdes_child
	add	r0, sp, #8
	ldm	r0, {r0, r1, r2}
	bl	execve
	mov	r0, #127
	bl	_exit
	b	.L6
.L4:
	ldr	r4, .L11+4
	ldr	r1, [sp, #4]
	add	r0, sp, #28
	ldr	r5, [r4]
	bl	pdes_error
	mov	r3, #0
	str	r5, [r4]
	str	r3, [sp, #4]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	errno
	.size	popenve, .-popenve
	.comm	pidlist_lock,4,4
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
