	.file	"243892630.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Beacon socket creation failed"
	.align 8
.LC1:
	.string	"Beacon sending permission set failed"
.LC2:
	.string	"192.168.1.1"
.LC3:
	.string	"Beacon sendto failed"
	.text
	.type	send_trigger_packet, @function
send_trigger_packet:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 1
	mov	edi, -893723974
	call	htonl@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	edx, 17
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L6
.L2:
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], -1
	jne	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L6
.L4:
	mov	WORD PTR -48[rbp], 2
	lea	rdi, .LC2[rip]
	call	inet_addr@PLT
	mov	ebx, eax
	mov	edi, -256
	call	htonl@PLT
	not	eax
	or	eax, ebx
	mov	DWORD PTR -44[rbp], eax
	mov	edi, 48812
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	lea	rdx, -48[rbp]
	lea	rsi, -60[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	r9d, 16
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	send_trigger_packet, .-send_trigger_packet
	.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
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	call	send_trigger_packet
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"243892630.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Beacon socket creation failed\000"
	.align	2
.LC1:
	.ascii	"Beacon sending permission set failed\000"
	.align	2
.LC2:
	.ascii	"192.168.1.1\000"
	.align	2
.LC3:
	.ascii	"Beacon sendto failed\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_trigger_packet, %function
send_trigger_packet:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r0, .L8+4
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r2, #17
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L8+8
	bl	perror
	mov	r3, #1
	b	.L6
.L2:
	sub	r3, fp, #48
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #6
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	setsockopt
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L8+12
	bl	perror
	ldr	r0, [fp, #-40]
	bl	close
	mov	r3, #1
	b	.L6
.L4:
	mov	r3, #2
	strh	r3, [fp, #-32]	@ movhi
	ldr	r0, .L8+16
	bl	inet_addr
	mov	r4, r0
	mvn	r0, #255
	bl	htonl
	mov	r3, r0
	mvn	r3, r3
	orr	r3, r4, r3
	str	r3, [fp, #-28]
	ldr	r0, .L8+20
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-30]	@ movhi
	sub	r1, fp, #44
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-40]
	bl	sendto
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L8+24
	bl	perror
	ldr	r0, [fp, #-40]
	bl	close
	mov	r3, #1
	b	.L6
.L5:
	ldr	r0, [fp, #-40]
	bl	close
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	-893723974
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	48812
	.word	.LC3
	.size	send_trigger_packet, .-send_trigger_packet
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
	bl	send_trigger_packet
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
