	.file	"36414.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket"
.LC1:
	.string	"bind"
.LC2:
	.string	"[%5d] %s %s\n"
	.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, 720
	mov	DWORD PTR -708[rbp], edi
	mov	QWORD PTR -720[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7453294859326944303
	movabs	rdx, 7738151126166169958
	mov	QWORD PTR -560[rbp], rax
	mov	QWORD PTR -552[rbp], rdx
	mov	BYTE PTR -544[rbp], 0
	mov	DWORD PTR -704[rbp], 0
	mov	WORD PTR -672[rbp], 1
	lea	rax, -560[rbp]
	lea	rdx, -672[rbp]
	add	rdx, 2
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rax, -560[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 2
	mov	DWORD PTR -700[rbp], eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -696[rbp], eax
	cmp	DWORD PTR -696[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L2:
	mov	edx, DWORD PTR -700[rbp]
	lea	rcx, -672[rbp]
	mov	eax, DWORD PTR -696[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 3
	call	exit@PLT
.L3:
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -696[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -692[rbp], eax
	mov	eax, DWORD PTR -692[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
	lea	rax, -688[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -688[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	QWORD PTR -680[rbp], rax
	mov	rax, QWORD PTR -680[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -680[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -704[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -704[rbp], edx
	lea	rcx, -528[rbp]
	mov	rdx, QWORD PTR -680[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L3
	.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	"36414.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"socket\000"
	.align	2
.LC2:
	.ascii	"bind\000"
	.align	2
.LC3:
	.ascii	"[%5d] %s %s\012\000"
	.align	2
.LC0:
	.ascii	"/tmp/logfilesock\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 680
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #680
	str	r0, [fp, #-680]
	str	r1, [fp, #-684]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L5+4
	sub	ip, fp, #540
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strb	r3, [ip]
	mov	r3, #0
	str	r3, [fp, #-672]
	sub	r3, fp, #4
	sub	r3, r3, #648
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r2, fp, #540
	sub	r3, fp, #652
	add	r3, r3, #2
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #540
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #2
	str	r3, [fp, #-668]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-664]
	ldr	r3, [fp, #-664]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L5+8
	bl	perror
	mov	r0, #2
	bl	exit
.L2:
	sub	r3, fp, #652
	ldr	r2, [fp, #-668]
	mov	r1, r3
	ldr	r0, [fp, #-664]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L5+12
	bl	perror
	mov	r0, #3
	bl	exit
.L3:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-664]
	bl	read
	str	r0, [fp, #-660]
	sub	r2, fp, #520
	ldr	r3, [fp, #-660]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #676
	mov	r0, r3
	bl	time
	sub	r3, fp, #676
	mov	r0, r3
	bl	ctime
	str	r0, [fp, #-656]
	ldr	r0, [fp, #-656]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-656]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-672]
	add	r3, r1, #1
	str	r3, [fp, #-672]
	sub	r3, fp, #520
	ldr	r2, [fp, #-656]
	ldr	r0, .L5+16
	bl	printf
	ldr	r3, .L5+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L3
.L6:
	.align	2
.L5:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
