	.file	"170452682.c"
	.intel_syntax noprefix
	.text
	.type	sig_handle, @function
sig_handle:
.LFB6:
	.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 stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 2
	call	close@PLT
	mov	edi, 1
	call	close@PLT
	mov	edi, 0
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	sig_handle, .-sig_handle
	.section	.rodata
.LC0:
	.string	"recv"
	.align 8
.LC1:
	.string	"=============================================================================="
.LC2:
	.string	"Unknown"
.LC3:
	.string	"Received from %s [%s]\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -16468[rbp], edi
	mov	QWORD PTR -16480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16456[rbp], 0
	mov	DWORD PTR -16460[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -16460[rbp]
	lea	rsi, sig_handle[rip]
	mov	edi, eax
	call	signal@PLT
	mov	eax, DWORD PTR -16460[rbp]
	add	eax, 1
	mov	DWORD PTR -16460[rbp], eax
.L3:
	mov	eax, DWORD PTR -16460[rbp]
	cmp	eax, 31
	jle	.L4
	cmp	DWORD PTR -16468[rbp], 1
	jle	.L5
	mov	rax, QWORD PTR -16480[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -8224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L6
.L5:
	lea	rax, -8224[rbp]
	movabs	rbx, 7162256330477892655
	movabs	rsi, 7959390436536167798
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	mov	DWORD PTR 16[rax], 1814979939
	mov	WORD PTR 20[rax], 26479
	mov	BYTE PTR 22[rax], 0
.L6:
	mov	edi, 1
	call	close@PLT
	lea	rax, -8224[rbp]
	mov	edx, 432
	mov	esi, 1089
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	test	eax, eax
	jns	.L7
	lea	rax, -8224[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	edi, 2
	call	close@PLT
	mov	edi, 1
	call	dup@PLT
.L11:
	lea	rax, -16416[rbp]
	mov	edx, 8192
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -16460[rbp], 16
	lea	rax, -16448[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -16460[rbp]
	lea	rdx, -16448[rbp]
	lea	rax, -16416[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 8192
	mov	rsi, rax
	mov	edi, 0
	call	recvfrom@PLT
	test	rax, rax
	jns	.L8
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L8:
	lea	rax, -16448[rbp]
	lea	rcx, 4[rax]
	lea	rax, -16420[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	xmemcpy@PLT
	lea	rax, -16420[rbp]
	mov	edx, 2
	mov	esi, 4
	mov	rdi, rax
	call	gethostbyaddr@PLT
	mov	QWORD PTR -16456[rbp], rax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	cmp	QWORD PTR -16456[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -16456[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR -16456[rbp]
	mov	rbx, QWORD PTR [rax]
	jmp	.L10
.L9:
	lea	rbx, .LC2[rip]
.L10:
	mov	eax, DWORD PTR -16444[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rbx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -16416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L11
	.cfi_endproc
.LFE7:
	.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	"170452682.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sig_handle, %function
sig_handle:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #2
	bl	close
	mov	r0, #1
	bl	close
	mov	r0, #0
	bl	close
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	stdout
	.size	sig_handle, .-sig_handle
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/tmp/recv-announce.log\000"
	.align	2
.LC1:
	.ascii	"recv\000"
	.align	2
.LC2:
	.ascii	"==================================================="
	.ascii	"===========================\000"
	.align	2
.LC3:
	.ascii	"Unknown\000"
	.align	2
.LC4:
	.ascii	"Received from %s [%s]\012\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 = 16424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #16384
	sub	sp, sp, #52
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r0, [r3, #-36]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r1, [r3, #-40]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L5
.L6:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r1, .L15+4
	mov	r0, r3
	bl	signal
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-32]
.L5:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #31
	ble	.L6
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #1
	ble	.L7
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	b	.L8
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L15+8
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strh	r1, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r1, #16
	strb	r3, [ip]
.L8:
	mov	r0, #1
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #432
	ldr	r1, .L15+12
	mov	r0, r3
	bl	open
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	mov	r0, #2
	bl	close
	mov	r0, #1
	bl	dup
.L13:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #8192
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-32]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #16384
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #8192
	mov	r0, #0
	bl	recvfrom
	mov	r3, r0
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L15+16
	bl	perror
	mov	r0, #2
	bl	exit
.L10:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #24
	add	r1, r3, #4
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #4
	mov	r0, r3
	bl	xmemcpy
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #2
	mov	r1, #4
	mov	r0, r3
	bl	gethostbyaddr
	str	r0, [r4, #-28]
	ldr	r0, .L15+20
	bl	puts
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	inet_ntoa
	mov	r1, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	ldr	r3, [r3]
	b	.L12
.L11:
	ldr	r3, .L15+24
.L12:
	mov	r2, r3
	ldr	r0, .L15+28
	bl	printf
	ldr	r3, .L15+32
	ldr	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	ldr	r3, .L15+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L13
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	sig_handle
	.word	.LC0
	.word	1089
	.word	.LC1
	.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
