	.file	"extr_sh.func.c_doeval_cleanup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	doeval_cleanup, @function
doeval_cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR 56[rdi]
	mov	rbx, rdi
	mov	QWORD PTR doneinp[rip], 0
	mov	DWORD PTR evalvec[rip], eax
	mov	eax, DWORD PTR 52[rdi]
	mov	DWORD PTR evalp[rip], eax
	mov	eax, DWORD PTR 48[rdi]
	mov	DWORD PTR didcch[rip], eax
	mov	rax, QWORD PTR 40[rdi]
	mov	rdi, QWORD PTR SHIN[rip]
	mov	QWORD PTR didfds[rip], rax
	cmp	QWORD PTR [rbx], rdi
	je	.L2
	call	xclose@PLT
.L2:
	mov	rdi, QWORD PTR SHOUT[rip]
	cmp	QWORD PTR 8[rbx], rdi
	je	.L3
	call	xclose@PLT
.L3:
	mov	rdi, QWORD PTR SHDIAG[rip]
	cmp	QWORD PTR 16[rbx], rdi
	je	.L4
	call	xclose@PLT
.L4:
	mov	esi, DWORD PTR 32[rbx]
	mov	rdi, QWORD PTR [rbx]
	call	dmove@PLT
	mov	esi, 1
	mov	rdi, rax
	mov	QWORD PTR SHIN[rip], rax
	call	close_on_exec@PLT
	mov	esi, DWORD PTR 28[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	call	dmove@PLT
	mov	esi, 1
	mov	rdi, rax
	mov	QWORD PTR SHOUT[rip], rax
	call	close_on_exec@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	call	dmove@PLT
	mov	esi, 1
	mov	rdi, rax
	mov	QWORD PTR SHDIAG[rip], rax
	call	close_on_exec@PLT
	cmp	QWORD PTR didfds[rip], 0
	jne	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR SHIN[rip]
	xor	esi, esi
	call	dcopy@PLT
	mov	esi, 1
	mov	rdi, rax
	call	close_on_exec@PLT
	mov	rdi, QWORD PTR SHOUT[rip]
	mov	esi, 1
	call	dcopy@PLT
	mov	esi, 1
	mov	rdi, rax
	call	close_on_exec@PLT
	mov	rdi, QWORD PTR SHDIAG[rip]
	mov	esi, 2
	call	dcopy@PLT
	mov	esi, 1
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	rdi, rax
	jmp	close_on_exec@PLT
	.cfi_endproc
.LFE0:
	.size	doeval_cleanup, .-doeval_cleanup
	.comm	evalvec,4,4
	.comm	evalp,4,4
	.comm	doneinp,8,8
	.comm	didfds,8,8
	.comm	didcch,4,4
	.comm	SHOUT,8,8
	.comm	SHIN,8,8
	.comm	SHDIAG,8,8
	.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_sh.func.c_doeval_cleanup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	doeval_cleanup, %function
doeval_cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r2, #0
	ldr	r7, .L8
	ldr	r1, [r0]
	ldr	ip, [r4, #36]
	ldr	r3, .L8+4
	ldr	r0, [r7]
	str	ip, [r3]
	cmp	r1, r0
	ldr	r3, .L8+8
	ldr	r1, [r4, #32]
	ldr	ip, [r4, #28]
	str	r1, [r3]
	ldr	r3, .L8+12
	ldr	r1, [r4, #24]
	str	ip, [r3]
	ldr	r8, .L8+16
	ldr	r3, .L8+20
	str	r1, [r8]
	str	r2, [r3]
	beq	.L2
	bl	xclose
.L2:
	ldr	r6, .L8+24
	ldr	r3, [r4, #4]
	ldr	r0, [r6]
	cmp	r3, r0
	beq	.L3
	bl	xclose
.L3:
	ldr	r5, .L8+28
	ldr	r3, [r4, #8]
	ldr	r0, [r5]
	cmp	r3, r0
	beq	.L4
	bl	xclose
.L4:
	ldr	r1, [r4, #20]
	ldr	r0, [r4]
	bl	dmove
	mov	r1, #1
	str	r0, [r7]
	bl	close_on_exec
	ldr	r1, [r4, #16]
	ldr	r0, [r4, #4]
	bl	dmove
	mov	r1, #1
	str	r0, [r6]
	bl	close_on_exec
	ldr	r1, [r4, #12]
	ldr	r0, [r4, #8]
	bl	dmove
	mov	r1, #1
	str	r0, [r5]
	bl	close_on_exec
	ldr	r3, [r8]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, #0
	ldr	r0, [r7]
	bl	dcopy
	mov	r1, #1
	bl	close_on_exec
	mov	r1, #1
	ldr	r0, [r6]
	bl	dcopy
	mov	r1, #1
	bl	close_on_exec
	mov	r1, #2
	ldr	r0, [r5]
	bl	dcopy
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #1
	b	close_on_exec
.L9:
	.align	2
.L8:
	.word	SHIN
	.word	evalvec
	.word	evalp
	.word	didcch
	.word	didfds
	.word	doneinp
	.word	SHOUT
	.word	SHDIAG
	.size	doeval_cleanup, .-doeval_cleanup
	.comm	evalvec,4,4
	.comm	evalp,4,4
	.comm	doneinp,4,4
	.comm	didfds,4,4
	.comm	didcch,4,4
	.comm	SHOUT,4,4
	.comm	SHIN,4,4
	.comm	SHDIAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
