	.file	"extr_143.c_back_connection.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[-] %s\n"
.LC1:
	.string	"[+] Let's rock on!\n"
.LC2:
	.string	"/bin/uname -a ; /usr/bin/id;\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"[-] Connection closed by remote host,exiting...\n"
	.section	.rodata.str1.1
.LC4:
	.string	"%s"
	.text
	.p2align 4
	.globl	back_connection
	.type	back_connection, @function
back_connection:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 4096
	.cfi_def_cfa_offset 4136
	or	QWORD PTR [rsp], 0
	sub	rsp, 56
	.cfi_def_cfa_offset 4192
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	xor	edx, edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 4136[rsp], rax
	xor	eax, eax
	mov	rbx, rdi
	mov	edi, DWORD PTR AF_INET[rip]
	call	socket@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L19
.L2:
	mov	eax, DWORD PTR AF_INET[rip]
	mov	edi, DWORD PTR D_BACK[rip]
	mov	DWORD PTR 28[rsp], eax
	call	htons@PLT
	lea	rsi, 16[rsp]
	mov	edx, 4
	mov	edi, ebp
	mov	DWORD PTR 24[rsp], eax
	mov	QWORD PTR 16[rsp], rbx
	call	connect@PLT
	cmp	eax, -1
	je	.L20
	mov	edi, DWORD PTR stdout[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	fprintf@PLT
	lea	rdi, .LC2[rip]
	call	strlen@PLT
	xor	ecx, ecx
	lea	rsi, .LC2[rip]
	mov	edi, ebp
	mov	edx, eax
	call	send@PLT
	test	eax, eax
	js	.L21
.L4:
	lea	rbx, 12[rsp]
	lea	r12, 32[rsp]
	lea	r13, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbx
	call	FD_ZERO@PLT
	xor	edi, edi
	mov	rsi, rbx
	call	FD_SET@PLT
	mov	rsi, rbx
	mov	edi, ebp
	call	FD_SET@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, rbx
	mov	edi, 255
	call	select@PLT
	cmp	eax, -1
	je	.L22
.L5:
	xor	esi, esi
	mov	rdi, r12
	mov	edx, 4096
	call	memset@PLT
	mov	rsi, rbx
	mov	edi, ebp
	call	FD_ISSET@PLT
	test	rax, rax
	jne	.L23
.L6:
	xor	edi, edi
	mov	rsi, rbx
	call	FD_ISSET@PLT
	test	rax, rax
	je	.L8
	mov	rsi, r12
	mov	edx, 4096
	xor	edi, edi
	call	read@PLT
	mov	rdi, r12
	call	strlen@PLT
	mov	rsi, r12
	mov	edi, ebp
	mov	edx, eax
	call	write@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L23:
	xor	ecx, ecx
	mov	edx, 4096
	mov	rsi, r12
	mov	edi, ebp
	call	recv@PLT
	cmp	eax, -1
	je	.L24
.L7:
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, r13
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, ebp
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, ebp
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L7
.L19:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L2
.L21:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, ebp
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L4
.L20:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	xor	eax, eax
	call	fprintf@PLT
	mov	edi, ebp
	call	close@PLT
	mov	rax, QWORD PTR 4136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 4152
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	back_connection, .-back_connection
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	SOCK_STREAM,4,4
	.comm	D_BACK,4,4
	.comm	AF_INET,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_143.c_back_connection.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[-] %s\012\000"
	.align	2
.LC1:
	.ascii	"[+] Let's rock on!\012\000"
	.align	2
.LC2:
	.ascii	"/bin/uname -a ; /usr/bin/id;\012\000"
	.align	2
.LC3:
	.ascii	"[-] Connection closed by remote host,exiting...\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	back_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	back_connection, %function
back_connection:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L27
	sub	sp, sp, #4096
	sub	sp, sp, #36
	ldr	r7, .L27+4
	ldr	r1, [r3]
	ldr	ip, .L27+8
	add	r3, sp, #4096
	mov	r5, r0
	mov	r2, #0
	ldr	r0, [r7]
	add	r3, r3, #28
	ldr	ip, [ip]
	str	ip, [r3]
	mov	ip,#0
	bl	socket
	subs	r4, r0, #0
	ldr	r6, .L27+12
	ldr	r8, .L27+16
	blt	.L17
.L2:
	ldr	r2, .L27+20
	ldr	r3, [r7]
	ldr	r0, [r2]
	str	r3, [sp, #24]
	bl	htons
	add	r1, sp, #32
	str	r0, [sp, #20]
	mov	r2, #4
	mov	r0, r4
	str	r5, [r1, #-16]!
	bl	connect
	cmn	r0, #1
	beq	.L21
	ldr	r3, .L27+24
	ldr	r1, .L27+28
	ldr	r0, [r3]
	bl	fprintf
	mov	r3, #0
	mov	r2, #29
	mov	r0, r4
	ldr	r1, .L27+32
	bl	send
	cmp	r0, #0
	blt	.L22
.L4:
	ldr	r9, .L27+36
	ldr	r7, .L27+40
	ldr	r10, .L27+44
.L9:
	mov	r5, #0
.L8:
	add	r0, sp, #12
	bl	FD_ZERO
	add	r1, sp, #12
	mov	r0, #0
	bl	FD_SET
	add	r1, sp, #12
	mov	r0, r4
	bl	FD_SET
	mov	r3, #0
	mov	r0, #255
	mov	r2, r3
	str	r5, [sp]
	add	r1, sp, #12
	bl	select
	cmn	r0, #1
	beq	.L23
.L5:
	mov	r2, #4096
	mov	r1, #0
	add	r0, sp, #28
	bl	memset
	mov	r0, r4
	add	r1, sp, #12
	bl	FD_ISSET
	cmp	r0, #0
	bne	.L24
.L6:
	mov	r0, #0
	add	r1, sp, #12
	bl	FD_ISSET
	cmp	r0, #0
	beq	.L8
	add	r1, sp, #28
	mov	r2, #4096
	mov	r0, #0
	bl	read
	add	r0, sp, #28
	bl	strlen
	add	r1, sp, #28
	mov	r2, r0
	mov	r0, r4
	bl	write
	b	.L9
.L24:
	mov	r3, #0
	mov	r2, #4096
	mov	r0, r4
	add	r1, sp, #28
	bl	recv
	cmn	r0, #1
	beq	.L25
.L7:
	mov	r1, r7
	ldr	r0, [r6]
	add	r2, sp, #28
	bl	fprintf
	b	.L6
.L23:
	ldr	r0, [r8]
	ldr	fp, [r6]
	bl	strerror
	mov	r1, r9
	mov	r2, r0
	mov	r0, fp
	bl	fprintf
	mov	r0, r4
	bl	close
	mov	r0, #1
	bl	exit
	b	.L5
.L25:
	mov	r1, r10
	ldr	r0, [r6]
	bl	fprintf
	mov	r0, r4
	bl	close
	mov	r0, #1
	bl	exit
	b	.L7
.L17:
	ldr	r0, [r8]
	ldr	r9, [r6]
	bl	strerror
	ldr	r1, .L27+36
	mov	r2, r0
	mov	r0, r9
	bl	fprintf
	mov	r0, #1
	bl	exit
	b	.L2
.L22:
	ldr	r0, [r8]
	ldr	r5, [r6]
	bl	strerror
	ldr	r1, .L27+36
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	mov	r0, r4
	bl	close
	mov	r0, #1
	bl	exit
	b	.L4
.L21:
	ldr	r0, [r8]
	ldr	r5, [r6]
	bl	strerror
	ldr	r1, .L27+36
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	mov	r0, r4
	bl	close
	add	r3, sp, #4096
	ldr	r2, .L27+8
	add	r3, r3, #28
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L26
	mov	r0, #0
	add	sp, sp, #4096
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	SOCK_STREAM
	.word	AF_INET
	.word	.LC5
	.word	stderr
	.word	errno
	.word	D_BACK
	.word	stdout
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	.LC4
	.word	.LC3
	.size	back_connection, .-back_connection
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	SOCK_STREAM,4,4
	.comm	D_BACK,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
