	.file	"45449200.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"bind error"
.LC1:
	.string	"listen error"
.LC2:
	.string	"accept error"
	.align 8
.LC3:
	.string	"Read Data %s (%d) : %s and %d\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
	push	r12
	push	rbx
	sub	rsp, 1184
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -1188[rbp], edi
	mov	QWORD PTR -1200[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1120[rbp], 0
	mov	QWORD PTR -1112[rbp], 0
	mov	WORD PTR -1132[rbp], 0
	mov	WORD PTR -1130[rbp], -1
	mov	WORD PTR -1128[rbp], 4096
	mov	WORD PTR -1126[rbp], 0
	mov	WORD PTR -1124[rbp], 1
	mov	WORD PTR -1122[rbp], 4096
	mov	DWORD PTR -1168[rbp], 427
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L2
	mov	eax, 1
	jmp	.L20
.L2:
	lea	rax, -1072[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -1072[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -1068[rbp], eax
	mov	edi, 3600
	call	htons@PLT
	mov	WORD PTR -1070[rbp], ax
	lea	rcx, -1072[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L4:
	mov	eax, DWORD PTR -1164[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L20
.L5:
	mov	esi, 1
	mov	edi, 17
	call	signal@PLT
.L19:
	lea	rax, -1056[rbp]
	mov	edx, 1028
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1180[rbp], 16
	lea	rdx, -1180[rbp]
	lea	rcx, -1088[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1160[rbp], eax
	cmp	DWORD PTR -1160[rbp], -1
	jne	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	mov	eax, 0
	jmp	.L20
.L6:
	call	fork@PLT
	mov	DWORD PTR -1156[rbp], eax
	cmp	DWORD PTR -1156[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -1164[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 950
	mov	esi, 1028
	mov	edi, eax
	call	shmget@PLT
	mov	DWORD PTR -1152[rbp], eax
	mov	eax, DWORD PTR -1152[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -1120[rbp], rax
	mov	rax, QWORD PTR -1120[rbp]
	mov	QWORD PTR -1104[rbp], rax
	mov	eax, DWORD PTR -1168[rbp]
	add	eax, 1
	mov	edx, 950
	mov	esi, 1
	mov	edi, eax
	call	shmget@PLT
	mov	DWORD PTR -1148[rbp], eax
	mov	eax, DWORD PTR -1148[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -1112[rbp], rax
	mov	rax, QWORD PTR -1112[rbp]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1096[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -1168[rbp]
	add	eax, 2
	mov	edx, 950
	mov	esi, 1
	mov	edi, eax
	call	semget@PLT
	mov	DWORD PTR -1144[rbp], eax
	mov	DWORD PTR -1176[rbp], 1
	mov	edx, DWORD PTR -1176[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	ecx, edx
	mov	edx, 16
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	semctl@PLT
	call	fork@PLT
	mov	DWORD PTR -1140[rbp], eax
	cmp	DWORD PTR -1140[rbp], 0
	jne	.L9
	lea	rax, -1056[rbp]
	mov	edx, 1028
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1160[rbp]
	mov	edx, 1028
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1136[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	ntohl@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	r12d, DWORD PTR -32[rbp]
	movzx	eax, WORD PTR -1086[rbp]
	movzx	ebx, ax
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rax, -1056[rbp]
	mov	r8d, r12d
	mov	rcx, rax
	mov	edx, ebx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -1132[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
	mov	rax, QWORD PTR -1104[rbp]
	lea	rdx, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	DWORD PTR 1024[rax], edx
	mov	rax, QWORD PTR -1096[rbp]
	mov	BYTE PTR [rax], 1
	lea	rcx, -1126[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
.L15:
	lea	rcx, -1132[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
	lea	rax, -1056[rbp]
	mov	edx, 1028
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -1104[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -1172[rbp], 0
	jmp	.L10
.L14:
	cmp	DWORD PTR -1172[rbp], 0
	jne	.L11
	movzx	eax, BYTE PTR -1056[rbp]
	mov	BYTE PTR -1181[rbp], al
.L11:
	mov	eax, DWORD PTR -1172[rbp]
	cdqe
	movzx	eax, BYTE PTR -1056[rbp+rax]
	test	al, al
	je	.L12
	mov	eax, DWORD PTR -1172[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -1172[rbp]
	cdqe
	movzx	edx, BYTE PTR -1056[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -1056[rbp+rax], dl
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -1172[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -1181[rbp]
	mov	BYTE PTR -1056[rbp+rax], dl
.L13:
	add	DWORD PTR -1172[rbp], 1
.L10:
	mov	eax, DWORD PTR -1172[rbp]
	movsx	rbx, eax
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jbe	.L14
	mov	rax, QWORD PTR -1104[rbp]
	mov	eax, DWORD PTR 1024[rax]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -1104[rbp]
	lea	rdx, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -1104[rbp]
	mov	DWORD PTR 1024[rax], edx
	mov	edi, 1
	call	sleep@PLT
	lea	rcx, -1126[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
	jmp	.L15
.L9:
	cmp	DWORD PTR -1140[rbp], 0
	jle	.L19
	nop
.L17:
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	jne	.L17
.L18:
	lea	rcx, -1132[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
	mov	rdx, QWORD PTR -1104[rbp]
	lea	rax, -1056[rbp]
	mov	ecx, 128
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	rdx, rsi
	mov	rax, rdi
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	htonl@PLT
	mov	DWORD PTR -32[rbp], eax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1160[rbp]
	mov	edx, 1028
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rcx, -1126[rbp]
	mov	eax, DWORD PTR -1144[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	semop@PLT
	jmp	.L18
.L8:
	cmp	DWORD PTR -1156[rbp], 0
	jle	.L19
	add	DWORD PTR -1168[rbp], 3
	mov	eax, DWORD PTR -1160[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L19
.L20:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	add	rsp, 1184
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.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	"45449200.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"bind error\000"
	.align	2
.LC3:
	.ascii	"listen error\000"
	.align	2
.LC4:
	.ascii	"accept error\000"
	.align	2
.LC5:
	.ascii	"Read Data %s (%d) : %s and %d\012\000"
	.align	2
.LC0:
	.short	0
	.short	-1
	.short	4096
	.align	2
.LC1:
	.short	0
	.short	1
	.short	4096
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	str	r0, [fp, #-1160]
	str	r1, [fp, #-1164]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1132]
	mov	r3, #0
	str	r3, [fp, #-1128]
	ldr	r2, .L22+4
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r2, .L22+8
	sub	r3, fp, #1072
	sub	r3, r3, #4
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r3, .L22+12
	str	r3, [fp, #-1136]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1124]
	ldr	r3, [fp, #-1124]
	cmp	r3, #0
	bge	.L2
	mov	r3, #1
	b	.L20
.L2:
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #8
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-1048]
	mov	r0, #3600
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #8
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1124]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L22+16
	bl	perror
	mov	r3, #1
	b	.L20
.L4:
	mov	r1, #5
	ldr	r0, [fp, #-1124]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L22+20
	bl	perror
	mov	r3, #1
	b	.L20
.L5:
	mov	r1, #1
	mov	r0, #17
	bl	signal
.L19:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L22+24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #16
	str	r3, [fp, #-1148]
	sub	r2, fp, #1136
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, [fp, #-1124]
	bl	accept
	str	r0, [fp, #-1120]
	ldr	r3, [fp, #-1120]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L22+28
	bl	puts
	nop
	mov	r3, #0
	b	.L20
.L6:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-1116]
	ldr	r3, [fp, #-1116]
	cmp	r3, #0
	bne	.L8
	ldr	r0, [fp, #-1124]
	bl	close
	ldr	r2, .L22+32
	ldr	r1, .L22+24
	ldr	r0, [fp, #-1136]
	bl	shmget
	str	r0, [fp, #-1112]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1112]
	bl	shmat
	str	r0, [fp, #-1132]
	ldr	r3, [fp, #-1132]
	str	r3, [fp, #-1108]
	ldr	r3, [fp, #-1136]
	add	r3, r3, #1
	ldr	r2, .L22+32
	mov	r1, #1
	mov	r0, r3
	bl	shmget
	str	r0, [fp, #-1104]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1104]
	bl	shmat
	str	r0, [fp, #-1128]
	ldr	r3, [fp, #-1128]
	str	r3, [fp, #-1100]
	ldr	r3, [fp, #-1100]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1136]
	add	r3, r3, #2
	ldr	r2, .L22+32
	mov	r1, #1
	mov	r0, r3
	bl	semget
	str	r0, [fp, #-1096]
	mov	r3, #1
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1144]
	mov	r2, #16
	mov	r1, #0
	ldr	r0, [fp, #-1096]
	bl	semctl
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L22+24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L22+24
	mov	r1, r3
	ldr	r0, [fp, #-1120]
	bl	read
	str	r0, [fp, #-1088]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	ntohl
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-1064]
	bl	inet_ntoa
	mov	r1, r0
	sub	r3, fp, #4
	sub	r3, r3, #1056
	sub	r3, r3, #8
	ldrh	r3, [r3, #2]
	mov	r0, r3
	ldr	r2, [fp, #-12]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r2, [sp]
	mov	r2, r0
	ldr	r0, .L22+36
	bl	printf
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
	ldr	r2, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-1108]
	str	r2, [r3, #1024]
	ldr	r3, [fp, #-1100]
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #1072
	sub	r3, r3, #4
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
.L15:
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L22+24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-1140]
	b	.L10
.L14:
	ldr	r3, [fp, #-1140]
	cmp	r3, #0
	bne	.L11
	ldrb	r3, [fp, #-1036]
	strb	r3, [fp, #-1149]
.L11:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1140]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-1140]
	sub	r2, r3, #1
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r1, [fp, #-1140]
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-1032]
	b	.L13
.L12:
	ldr	r3, [fp, #-1140]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [fp, #-1149]
	strb	r2, [r3, #-1032]
.L13:
	ldr	r3, [fp, #-1140]
	add	r3, r3, #1
	str	r3, [fp, #-1140]
.L10:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1140]
	cmp	r2, r3
	bcs	.L14
	ldr	r3, [fp, #-1108]
	ldr	r3, [r3, #1024]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-1108]
	str	r2, [r3, #1024]
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #1072
	sub	r3, r3, #4
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
	b	.L15
.L9:
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	ble	.L19
	nop
.L17:
	ldr	r3, [fp, #-1100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L17
.L18:
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
	ldr	r2, [fp, #-1108]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r2
	ldr	r2, .L22+24
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-12]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L22+24
	mov	r1, r3
	ldr	r0, [fp, #-1120]
	bl	write
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #1072
	sub	r3, r3, #4
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1096]
	bl	semop
	b	.L18
.L8:
	ldr	r3, [fp, #-1116]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-1136]
	add	r3, r3, #3
	str	r3, [fp, #-1136]
	ldr	r0, [fp, #-1120]
	bl	close
	b	.L19
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	427
	.word	.LC2
	.word	.LC3
	.word	1028
	.word	.LC4
	.word	950
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
