	.file	"492637.c"
	.intel_syntax noprefix
	.text
	.globl	socket_name
	.bss
	.align 32
	.type	socket_name, @object
	.size	socket_name, 50
socket_name:
	.zero	50
	.globl	socket_id
	.align 4
	.type	socket_id, @object
	.size	socket_id, 4
socket_id:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"   Este programa cria um servidor local "
	.align 8
.LC1:
	.string	"   no caminho especificado pelo usuario."
	.align 8
.LC2:
	.string	"   Para permitir que o cliente comunique-se"
	.align 8
.LC3:
	.string	"   com este servidor, o servidor deve ser"
	.align 8
.LC4:
	.string	"   executado inicialmente com um caminho definido,"
	.align 8
.LC5:
	.string	"   e o cliente devera ser executado em outra"
	.align 8
.LC6:
	.string	"   janela ou em outra aba do terminal, utilizando"
	.align 8
.LC7:
	.string	"   o mesmo caminho. O servidor escreve na tela"
	.align 8
.LC8:
	.string	"   todo texto enviado pelo cliente. Se o cliente"
	.align 8
.LC9:
	.string	"   transmitir o texto \"sair\", o servidor se"
	.align 8
.LC10:
	.string	"   encerra. Se o usuario pressionar CTRL-C,"
	.align 8
.LC11:
	.string	"   o servidor tambem se encerra."
.LC12:
	.string	"   Modo de Uso:"
.LC13:
	.string	"      %s <caminho_do_socket>\n"
.LC14:
	.string	"   Exemplo: %s /tmp/socket1\n"
	.align 8
.LC15:
	.string	"Definindo o tratamento de SIGINT... "
.LC16:
	.string	"Feito!\n"
.LC17:
	.string	"Abrindo o socket local... "
	.align 8
.LC18:
	.string	"Ligando o socket ao endereco local \"%s\"... "
	.align 8
.LC19:
	.string	"Tornando o socket passivo (para virar um servidor)... "
	.align 8
.LC20:
	.string	"Aguardando a conexao de um cliente... "
	.align 8
.LC21:
	.string	"Obtendo a informacao transmitida pelo cliente..."
	.align 8
.LC22:
	.string	"Fechando a conexao com o cliente... "
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -68[rbp], 1
	jg	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, socket_name[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	lea	rsi, sigint_handler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR socket_id[rip], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, socket_name[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	WORD PTR -48[rbp], 1
	lea	rax, -48[rbp]
	add	rax, 2
	lea	rsi, socket_name[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR socket_id[rip]
	lea	rcx, -48[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 54
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR socket_id[rip]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR socket_id[rip]
	lea	rdx, -56[rbp]
	lea	rcx, -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	print_client_message
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	jmp	.L3
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC23:
	.string	"\nRecebido o sinal CTRL+C... vamos desligar o servidor!\n"
	.text
	.globl	sigint_handler
	.type	sigint_handler, @function
sigint_handler:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	call	end_server
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sigint_handler, .-sigint_handler
	.section	.rodata
	.align 8
.LC24:
	.string	"\nMensagem enviada pelo cliente tem "
.LC25:
	.string	"%d bytes."
.LC26:
	.string	"\n\n   Mensagem = %s\n\n"
.LC27:
	.string	"sair"
	.align 8
.LC28:
	.string	"Cliente pediu para o servidor fechar.\n"
	.text
	.globl	print_client_message
	.type	print_client_message, @function
print_client_message:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	lea	rcx, -20[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	call	end_server
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_client_message, .-print_client_message
	.section	.rodata
.LC29:
	.string	"Apagando \"%s\" do sistema... "
.LC30:
	.string	"Fechando o socket local... "
	.text
	.globl	end_server
	.type	end_server, @function
end_server:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, socket_name[rip]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, socket_name[rip]
	call	unlink@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR socket_id[rip]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	end_server, .-end_server
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"492637.c"
	.text
	.comm	socket_name,50,4
	.comm	socket_id,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"   Este programa cria um servidor local \000"
	.align	2
.LC1:
	.ascii	"   no caminho especificado pelo usuario.\000"
	.align	2
.LC2:
	.ascii	"   Para permitir que o cliente comunique-se\000"
	.align	2
.LC3:
	.ascii	"   com este servidor, o servidor deve ser\000"
	.align	2
.LC4:
	.ascii	"   executado inicialmente com um caminho definido,\000"
	.align	2
.LC5:
	.ascii	"   e o cliente devera ser executado em outra\000"
	.align	2
.LC6:
	.ascii	"   janela ou em outra aba do terminal, utilizando\000"
	.align	2
.LC7:
	.ascii	"   o mesmo caminho. O servidor escreve na tela\000"
	.align	2
.LC8:
	.ascii	"   todo texto enviado pelo cliente. Se o cliente\000"
	.align	2
.LC9:
	.ascii	"   transmitir o texto \"sair\", o servidor se\000"
	.align	2
.LC10:
	.ascii	"   encerra. Se o usuario pressionar CTRL-C,\000"
	.align	2
.LC11:
	.ascii	"   o servidor tambem se encerra.\000"
	.align	2
.LC12:
	.ascii	"   Modo de Uso:\000"
	.align	2
.LC13:
	.ascii	"      %s <caminho_do_socket>\012\000"
	.align	2
.LC14:
	.ascii	"   Exemplo: %s /tmp/socket1\012\000"
	.align	2
.LC15:
	.ascii	"Definindo o tratamento de SIGINT... \000"
	.align	2
.LC16:
	.ascii	"Feito!\012\000"
	.align	2
.LC17:
	.ascii	"Abrindo o socket local... \000"
	.align	2
.LC18:
	.ascii	"Ligando o socket ao endereco local \"%s\"... \000"
	.align	2
.LC19:
	.ascii	"Tornando o socket passivo (para virar um servidor)."
	.ascii	".. \000"
	.align	2
.LC20:
	.ascii	"Aguardando a conexao de um cliente... \000"
	.align	2
.LC21:
	.ascii	"Obtendo a informacao transmitida pelo cliente...\000"
	.align	2
.LC22:
	.ascii	"Fechando a conexao com o cliente... \000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bgt	.L2
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	puts
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+24
	bl	puts
	ldr	r0, .L5+28
	bl	puts
	ldr	r0, .L5+32
	bl	puts
	ldr	r0, .L5+36
	bl	puts
	ldr	r0, .L5+40
	bl	puts
	ldr	r0, .L5+44
	bl	puts
	ldr	r0, .L5+48
	bl	puts
	ldr	r0, .L5+52
	bl	puts
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+56
	bl	printf
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+60
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+64
	bl	strcpy
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L5+72
	bl	fwrite
	ldr	r1, .L5+76
	mov	r0, #2
	bl	signal
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L5+84
	bl	fwrite
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	mov	r3, r0
	ldr	r2, .L5+88
	str	r3, [r2]
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	ldr	r3, .L5+68
	ldr	r3, [r3]
	ldr	r2, .L5+64
	ldr	r1, .L5+92
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	strh	r3, [fp, #-40]	@ movhi
	sub	r3, fp, #40
	add	r3, r3, #2
	ldr	r1, .L5+64
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L5+88
	ldr	r3, [r3]
	sub	r1, fp, #40
	mov	r2, #16
	mov	r0, r3
	bl	bind
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #54
	mov	r1, #1
	ldr	r0, .L5+96
	bl	fwrite
	ldr	r3, .L5+88
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	listen
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
.L3:
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L5+100
	bl	fwrite
	ldr	r3, .L5+88
	ldr	r3, [r3]
	sub	r2, fp, #48
	sub	r1, fp, #24
	mov	r0, r3
	bl	accept
	str	r0, [fp, #-44]
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L5+104
	bl	fwrite
	ldr	r0, [fp, #-44]
	bl	print_client_message
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L5+108
	bl	fwrite
	ldr	r0, [fp, #-44]
	bl	close
	ldr	r3, .L5+68
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L5+80
	bl	fwrite
	b	.L3
.L6:
	.align	2
.L5:
	.word	.LC23
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	socket_name
	.word	stderr
	.word	.LC15
	.word	sigint_handler
	.word	.LC16
	.word	.LC17
	.word	socket_id
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.section	.rodata
	.align	2
.LC24:
	.ascii	"\012Recebido o sinal CTRL+C... vamos desligar o ser"
	.ascii	"vidor!\012\000"
	.text
	.align	2
	.global	sigint_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigint_handler, %function
sigint_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L8
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L8+4
	bl	fwrite
	bl	end_server
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	stderr
	.word	.LC24
	.size	sigint_handler, .-sigint_handler
	.section	.rodata
	.align	2
.LC25:
	.ascii	"\012Mensagem enviada pelo cliente tem \000"
	.align	2
.LC26:
	.ascii	"%d bytes.\000"
	.align	2
.LC27:
	.ascii	"\012\012   Mensagem = %s\012\012\000"
	.align	2
.LC28:
	.ascii	"sair\000"
	.align	2
.LC29:
	.ascii	"Cliente pediu para o servidor fechar.\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_client_message
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_client_message, %function
print_client_message:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L13+8
	bl	fwrite
	sub	r3, fp, #16
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	read
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L13+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	read
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L13+16
	mov	r0, r3
	bl	fprintf
	ldr	r1, .L13+20
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, .L13+4
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L13+24
	bl	fwrite
	bl	end_server
.L11:
	ldr	r0, [fp, #-12]
	bl	free
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC30
	.word	stderr
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	print_client_message, .-print_client_message
	.section	.rodata
	.align	2
.LC31:
	.ascii	"Apagando \"%s\" do sistema... \000"
	.align	2
.LC32:
	.ascii	"Fechando o socket local... \000"
	.text
	.align	2
	.global	end_server
	.syntax unified
	.arm
	.fpu softvfp
	.type	end_server, %function
end_server:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16+4
	ldr	r1, .L16+8
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L16+4
	bl	unlink
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L16+12
	bl	fwrite
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L16+16
	bl	fwrite
	ldr	r3, .L16+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L16+12
	bl	fwrite
	mov	r0, #0
	bl	exit
.L17:
	.align	2
.L16:
	.word	stderr
	.word	socket_name
	.word	.LC31
	.word	.LC16
	.word	.LC32
	.word	socket_id
	.size	end_server, .-end_server
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
