	.file	"29276.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"gen_prices.txt"
.LC2:
	.string	"/tmp/9Lq7BNBnBycd6nxy.socket"
.LC3:
	.string	"Enviando valor: %f \n"
.LC4:
	.string	"Ordem Recebida: "
	.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, 2256
	mov	DWORD PTR -2244[rbp], edi
	mov	QWORD PTR -2256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2224[rbp], 0
	mov	QWORD PTR -2216[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -2208[rbp], rax
	cmp	QWORD PTR -2208[rbp], 0
	jne	.L2
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -2236[rbp], 0
	mov	DWORD PTR -2232[rbp], 0
	lea	rax, -2080[rbp]
	mov	edx, 1025
	mov	esi, 48
	mov	rdi, rax
	call	memset@PLT
	lea	rdi, .LC2[rip]
	call	unlink@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -2236[rbp], eax
	lea	rax, -2192[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -2192[rbp], 1
	lea	rax, -2192[rbp]
	add	rax, 2
	mov	edx, 107
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2236[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR -2236[rbp]
	mov	esi, 20
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR -2236[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -2232[rbp], eax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -2224[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rdx, QWORD PTR -2224[rbp]
	lea	rax, -2080[rbp]
	mov	esi, 1025
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -2080[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -2080[rbp]
	mov	eax, DWORD PTR -2232[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -2228[rbp], 0
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -2232[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -2228[rbp], eax
	cmp	DWORD PTR -2228[rbp], 0
	jle	.L3
	mov	eax, DWORD PTR -2228[rbp]
	cdqe
	mov	BYTE PTR -1040[rbp+rax], 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L3:
	mov	rdx, QWORD PTR -2208[rbp]
	lea	rcx, -2216[rbp]
	lea	rax, -2224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -2200[rbp], rax
	cmp	QWORD PTR -2200[rbp], -1
	jne	.L4
	mov	rax, QWORD PTR -2208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -2224[rbp]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -2224[rbp]
	mov	rdi, rax
	call	free@PLT
.L5:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"29276.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"gen_prices.txt\000"
	.align	2
.LC2:
	.ascii	"/tmp/9Lq7BNBnBycd6nxy.socket\000"
	.align	2
.LC3:
	.ascii	"Enviando valor: %f \012\000"
	.align	2
.LC4:
	.ascii	"Ordem Recebida: \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2208
	str	r0, [fp, #-2208]
	str	r1, [fp, #-2212]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2204]
	mov	r3, #0
	str	r3, [fp, #-2200]
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	fopen
	str	r0, [fp, #-2196]
	ldr	r3, [fp, #-2196]
	cmp	r3, #0
	bne	.L2
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-2192]
	mov	r3, #0
	str	r3, [fp, #-2188]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L7+12
	mov	r1, #48
	mov	r0, r3
	bl	memset
	ldr	r0, .L7+16
	bl	unlink
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-2192]
	sub	r3, fp, #2160
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #2160
	sub	r3, r3, #12
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #2160
	sub	r3, r3, #4
	sub	r3, r3, #12
	add	r3, r3, #2
	mov	r2, #107
	ldr	r1, .L7+16
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #2160
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-2192]
	bl	bind
	mov	r1, #20
	ldr	r0, [fp, #-2192]
	bl	listen
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-2192]
	bl	accept
	str	r0, [fp, #-2188]
	b	.L3
.L4:
	ldr	r3, [fp, #-2204]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L7+20
	bl	printf
	ldr	r2, [fp, #-2204]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L7+12
	mov	r0, r3
	bl	snprintf
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-2188]
	bl	write
	mov	r3, #0
	str	r3, [fp, #-2180]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-2188]
	bl	read
	str	r0, [fp, #-2180]
	ldr	r3, [fp, #-2180]
	cmp	r3, #0
	ble	.L3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-2180]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L7+24
	bl	printf
	ldr	r3, .L7+28
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	fputs
.L3:
	sub	r1, fp, #2192
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-2196]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-2184]
	ldr	r3, [fp, #-2184]
	cmn	r3, #1
	bne	.L4
	ldr	r0, [fp, #-2196]
	bl	fclose
	ldr	r3, [fp, #-2204]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-2204]
	mov	r0, r3
	bl	free
.L5:
	mov	r0, #0
	bl	exit
.L8:
	.align	2
.L7:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	1025
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
