	.file	"extr_23763.c_shell.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[-] Connection closed.\n"
	.text
	.p2align 4
	.globl	shell
	.type	shell, @function
shell:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movsx	r14, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r14
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 560
	.cfi_def_cfa_offset 608
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 552[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	lea	r12, 16[rsp]
	lea	rbx, 32[rsp]
	mov	DWORD PTR [rsp], 1
	mov	QWORD PTR 8[rsp], 0
	.p2align 4,,10
	.p2align 3
.L2:
	xor	ecx, ecx
	xor	edx, edx
	xor	edi, edi
	mov	r8, r13
	mov	rsi, r12
	mov	QWORD PTR 24[rsp], r14
	mov	QWORD PTR 16[rsp], 1
	call	select@PLT
	cmp	eax, 1
	je	.L11
	mov	edx, 512
	mov	rsi, rbx
	xor	edi, edi
	call	read@PLT
	mov	edx, eax
	test	eax, eax
	jle	.L5
	xor	ecx, ecx
	mov	rsi, rbx
	mov	edi, ebp
	call	send@PLT
	test	eax, eax
	jg	.L2
.L5:
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	rax, QWORD PTR 552[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 560
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, 512
	xor	ecx, ecx
	mov	rsi, rbx
	mov	edi, ebp
	call	recv@PLT
	mov	edx, eax
	test	eax, eax
	jle	.L5
	mov	rsi, rbx
	mov	edi, 1
	call	write@PLT
	test	eax, eax
	jg	.L2
	jmp	.L5
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	shell, .-shell
	.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_23763.c_shell.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[-] Connection closed.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	shell
	.syntax unified
	.arm
	.fpu softvfp
	.type	shell, %function
shell:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	mov	r2, #0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	mov	r7, r3
	ldr	r1, .L13
	sub	sp, sp, #548
	ldr	r1, [r1]
	str	r1, [sp, #540]
	mov	r1,#0
	add	r6, sp, #12
	str	r3, [sp, #12]
	str	r2, [sp, #16]
.L2:
	mov	r3, #0
	str	r6, [sp]
	mov	r2, r3
	mov	r0, r3
	add	r1, sp, #20
	str	r7, [sp, #20]
	str	r5, [sp, #24]
	bl	select
	cmp	r0, #1
	mov	r4, r0
	beq	.L11
	mov	r2, #512
	mov	r0, #0
	add	r1, sp, #28
	bl	read
	subs	r2, r0, #0
	ble	.L5
	mov	r3, #0
	mov	r0, r5
	add	r1, sp, #28
	bl	send
	cmp	r0, #0
	bgt	.L2
.L5:
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #540]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #548
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r2, #512
	mov	r3, #0
	mov	r0, r5
	add	r1, sp, #28
	bl	recv
	subs	r2, r0, #0
	ble	.L5
	mov	r0, r4
	add	r1, sp, #28
	bl	write
	cmp	r0, #0
	bgt	.L2
	b	.L5
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC0
	.size	shell, .-shell
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
