	.file	"extr_clientloop.c_cleanup_exit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cleanup_exit
	.type	cleanup_exit, @function
cleanup_exit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR REQUEST_TTY_FORCE[rip]
	mov	ebp, edi
	xor	edi, edi
	cmp	QWORD PTR options[rip], rax
	sete	dil
	call	leave_raw_mode@PLT
	xor	eax, eax
	call	leave_non_blocking@PLT
	mov	rdi, QWORD PTR options[rip+8]
	test	rdi, rdi
	je	.L2
	cmp	DWORD PTR muxserver_sock[rip], -1
	jne	.L8
.L2:
	xor	eax, eax
	call	ssh_kill_proxy_command@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	_exit@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	unlink@PLT
	xor	eax, eax
	call	ssh_kill_proxy_command@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	_exit@PLT
	.cfi_endproc
.LFE0:
	.size	cleanup_exit, .-cleanup_exit
	.comm	options,16,16
	.comm	muxserver_sock,4,4
	.comm	REQUEST_TTY_FORCE,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_clientloop.c_cleanup_exit.c"
	.text
	.align	2
	.global	cleanup_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup_exit, %function
cleanup_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	ldr	r5, .L12+4
	ldr	r3, [r3]
	ldr	r2, [r5]
	mov	r4, r0
	sub	r0, r2, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	leave_raw_mode
	bl	leave_non_blocking
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L11
.L2:
	bl	ssh_kill_proxy_command
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	_exit
.L11:
	bl	unlink
	bl	ssh_kill_proxy_command
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	_exit
.L13:
	.align	2
.L12:
	.word	REQUEST_TTY_FORCE
	.word	options
	.word	muxserver_sock
	.size	cleanup_exit, .-cleanup_exit
	.comm	options,8,4
	.comm	muxserver_sock,4,4
	.comm	REQUEST_TTY_FORCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
