	.file	"31387421.c"
	.intel_syntax noprefix
	.text
	.globl	customers
	.bss
	.align 8
	.type	customers, @object
	.size	customers, 8
customers:
	.zero	8
	.globl	parcels
	.align 32
	.type	parcels, @object
	.size	parcels, 5120
parcels:
	.zero	5120
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\nReceived parcel as : %s\n"
	.text
	.globl	service
	.type	service, @function
service:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1064[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1048[rbp], eax
	mov	DWORD PTR -1052[rbp], 0
	jmp	.L2
.L3:
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1048[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1044[rbp], eax
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR p[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR p[rip], edx
	cdqe
	sal	rax, 10
	mov	rdx, rax
	lea	rax, parcels[rip]
	add	rdx, rax
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	mov	eax, 0
	call	sprintf@PLT
	add	DWORD PTR -1052[rbp], 1
.L2:
	cmp	DWORD PTR -1052[rbp], 1
	jle	.L3
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	service, .-service
	.globl	send_fd
	.type	send_fd, @function
send_fd:
.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, 160
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -136[rbp], 0
	mov	BYTE PTR -33[rbp], 70
	lea	rax, -33[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 1
	lea	rax, -128[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -64[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], 1
	mov	DWORD PTR -140[rbp], 24
	mov	eax, DWORD PTR -140[rbp]
	movsx	rdx, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, 15
	jbe	.L6
	mov	rax, QWORD PTR -96[rbp]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR 12[rax], 1
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], 20
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 16[rax]
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	send_fd, .-send_fd
	.globl	recv_fd
	.type	recv_fd, @function
recv_fd:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -136[rbp], 0
	lea	rax, -128[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -33[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], 1
	lea	rax, -64[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], 1
	lea	rax, -32[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], 24
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 1073741824
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	test	rax, rax
	jns	.L11
	mov	eax, -1
	jmp	.L20
.L11:
	movzx	eax, BYTE PTR -33[rbp]
	cmp	al, 70
	je	.L13
	mov	eax, -1
	jmp	.L20
.L13:
	mov	eax, DWORD PTR -80[rbp]
	and	eax, 8
	test	eax, eax
	je	.L14
	mov	eax, -1
	jmp	.L20
.L14:
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, 15
	jbe	.L15
	mov	rax, QWORD PTR -96[rbp]
	jmp	.L16
.L15:
	mov	eax, 0
.L16:
	mov	QWORD PTR -136[rbp], rax
	jmp	.L17
.L19:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L18
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L18
	mov	rax, QWORD PTR -136[rbp]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	jmp	.L20
.L18:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__cmsg_nxthdr@PLT
	mov	QWORD PTR -136[rbp], rax
.L17:
	cmp	QWORD PTR -136[rbp], 0
	jne	.L19
	mov	eax, -1
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	recv_fd, .-recv_fd
	.section	.rodata
.LC1:
	.string	"\nsocket "
.LC2:
	.string	"\n connect "
.LC3:
	.string	"\nconnect to Billing succesful"
.LC4:
	.string	"127.0.0.1"
.LC5:
	.string	"Conenction failed"
	.align 8
.LC6:
	.string	"Connection to waiter Successful"
	.align 8
.LC7:
	.string	"\nReceived Customers socket descriptor : %d\n"
.LC8:
	.string	"pid"
.LC9:
	.string	"customer has coupon : %s\n"
	.align 8
.LC10:
	.string	"Packet Delivered to the customer with coupon : %d\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -1192[rbp], eax
	cmp	DWORD PTR -1192[rbp], -1
	jne	.L23
	lea	rdi, .LC1[rip]
	call	perror@PLT
.L23:
	lea	rax, -1152[rbp]
	mov	rdx, rax
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	WORD PTR -1152[rbp], 1
	lea	rax, -1152[rbp]
	add	rax, 2
	movabs	rcx, 7738151126065964149
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 29797
	mov	BYTE PTR 10[rax], 0
	mov	DWORD PTR -1188[rbp], 110
	mov	edx, DWORD PTR -1188[rbp]
	lea	rcx, -1152[rbp]
	mov	eax, DWORD PTR -1192[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L24
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L25
.L24:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L25:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1200[rbp], eax
	lea	rdi, .LC4[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -1164[rbp], eax
	mov	WORD PTR -1168[rbp], 2
	mov	edi, 8082
	call	htons@PLT
	mov	WORD PTR -1166[rbp], ax
	mov	DWORD PTR -1184[rbp], 16
	mov	edx, DWORD PTR -1184[rbp]
	mov	eax, DWORD PTR -1200[rbp]
	lea	rcx, -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L26
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L27
.L26:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L27:
	mov	edi, 20
	call	sleep@PLT
	lea	rdx, -1200[rbp]
	lea	rax, -1176[rbp]
	mov	rcx, rdx
	lea	rdx, service[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -1176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	nop
.L28:
	mov	eax, DWORD PTR p[rip]
	test	eax, eax
	jle	.L28
	mov	QWORD PTR -1040[rbp], 6580592
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1196[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -1192[rbp]
	mov	edi, eax
	call	recv_fd
	mov	edx, DWORD PTR -1196[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, customers[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, customers[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, customers[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rsi, -1040[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, customers[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rsi, -1040[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1180[rbp], eax
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	lea	rax, parcels[rip]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	lea	rax, parcels[rip]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -1196[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, customers[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	send@PLT
	add	DWORD PTR -1196[rbp], 1
.L29:
	cmp	DWORD PTR -1196[rbp], 1
	jle	.L30
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"31387421.c"
	.text
	.comm	customers,8,4
	.comm	parcels,5120,4
	.global	p
	.bss
	.align	2
	.type	p, %object
	.size	p, 4
p:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Received parcel as : %s\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	service
	.syntax unified
	.arm
	.fpu softvfp
	.type	service, %function
service:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1048]
	ldr	r3, [r3]
	str	r3, [fp, #-1040]
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L2
.L3:
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	ldr	r0, [fp, #-1040]
	bl	recv
	str	r0, [fp, #-1036]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L5+4
	bl	printf
	ldr	r3, .L5+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L5+8
	str	r2, [r1]
	lsl	r3, r3, #10
	ldr	r2, .L5+12
	add	r2, r3, r2
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	sprintf
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L2:
	ldr	r3, [fp, #-1044]
	cmp	r3, #1
	ble	.L3
	nop
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.word	p
	.word	parcels
	.size	service, .-service
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	send_fd
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_fd, %function
send_fd:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #70
	strb	r3, [fp, #-28]
	sub	r3, fp, #28
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	sub	r3, fp, #64
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #36
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r3, #16
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #11
	bls	.L8
	ldr	r3, [fp, #-48]
	b	.L9
.L8:
	mov	r3, #0
.L9:
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-72]
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, [fp, #-72]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #12
	ldr	r2, [fp, #-84]
	str	r2, [r3]
	sub	r3, fp, #64
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	sendmsg
	mov	r3, r0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.size	send_fd, .-send_fd
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	recv_fd
	.syntax unified
	.arm
	.fpu softvfp
	.type	recv_fd, %function
recv_fd:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	sub	r3, fp, #64
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #28
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-52]
	sub	r3, fp, #24
	str	r3, [fp, #-48]
	mov	r3, #16
	str	r3, [fp, #-44]
	sub	r3, fp, #64
	mov	r2, #1073741824
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	recvmsg
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	mvn	r3, #0
	b	.L24
.L15:
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #70
	beq	.L17
	mvn	r3, #0
	b	.L24
.L17:
	ldr	r3, [fp, #-40]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L18
	mvn	r3, #0
	b	.L24
.L18:
	ldr	r3, [fp, #-44]
	cmp	r3, #11
	bls	.L19
	ldr	r3, [fp, #-48]
	b	.L20
.L19:
	mov	r3, #0
.L20:
	str	r3, [fp, #-72]
	b	.L21
.L23:
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L22
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L22
	ldr	r3, [fp, #-72]
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	b	.L24
.L22:
	sub	r3, fp, #64
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	__cmsg_nxthdr
	str	r0, [fp, #-72]
.L21:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L23
	mvn	r3, #0
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC3
	.size	recv_fd, .-recv_fd
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012socket \000"
	.align	2
.LC5:
	.ascii	"uds_socket\000"
	.align	2
.LC6:
	.ascii	"\012 connect \000"
	.align	2
.LC7:
	.ascii	"\012connect to Billing succesful\000"
	.align	2
.LC8:
	.ascii	"127.0.0.1\000"
	.align	2
.LC9:
	.ascii	"Conenction failed\000"
	.align	2
.LC10:
	.ascii	"Connection to waiter Successful\000"
	.align	2
.LC11:
	.ascii	"\012Received Customers socket descriptor : %d\012\000"
	.align	2
.LC12:
	.ascii	"pid\000"
	.align	2
.LC13:
	.ascii	"customer has coupon : %s\012\000"
	.align	2
.LC14:
	.ascii	"Packet Delivered to the customer with coupon : %d\012"
	.ascii	"\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1184
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-1176]
	ldr	r3, [fp, #-1176]
	cmn	r3, #1
	bne	.L29
	ldr	r0, .L39+4
	bl	perror
.L29:
	sub	r3, fp, #1136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #110
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #1136
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #1136
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #2
	ldr	r2, .L39+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #11
	mov	r2, r3
	bl	memcpy
	mov	r3, #110
	str	r3, [fp, #-1172]
	ldr	r2, [fp, #-1172]
	sub	r3, fp, #1136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1176]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L30
	ldr	r0, .L39+12
	bl	perror
	b	.L31
.L30:
	ldr	r0, .L39+16
	bl	puts
.L31:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	str	r3, [fp, #-1188]
	ldr	r0, .L39+20
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-1156]
	sub	r3, fp, #4
	sub	r3, r3, #1152
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L39+24
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1152
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	mov	r3, #16
	str	r3, [fp, #-1168]
	ldr	r0, [fp, #-1188]
	ldr	r2, [fp, #-1168]
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L32
	ldr	r0, .L39+28
	bl	puts
	b	.L33
.L32:
	ldr	r0, .L39+32
	bl	puts
.L33:
	mov	r0, #20
	bl	sleep
	sub	r3, fp, #1184
	sub	r3, r3, #4
	sub	r0, fp, #1168
	sub	r0, r0, #4
	sub	r0, r0, #12
	ldr	r2, .L39+36
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-1184]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	nop
.L34:
	ldr	r3, .L39+40
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L34
	ldr	r3, .L39+44
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1180]
	b	.L35
.L36:
	ldr	r0, [fp, #-1176]
	bl	recv_fd
	mov	r2, r0
	ldr	r1, .L39+48
	ldr	r3, [fp, #-1180]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L39+48
	ldr	r3, [fp, #-1180]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L39+52
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L39+56
	mov	r0, r3
	bl	sprintf
	ldr	r2, .L39+48
	ldr	r3, [fp, #-1180]
	ldr	r0, [r2, r3, lsl #2]
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	bl	send
	ldr	r2, .L39+48
	ldr	r3, [fp, #-1180]
	ldr	r0, [r2, r3, lsl #2]
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	bl	recv
	str	r0, [fp, #-1164]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L39+60
	bl	printf
	ldr	r3, [fp, #-1180]
	lsl	r3, r3, #10
	ldr	r2, .L39+64
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L39+68
	bl	printf
	ldr	r2, .L39+48
	ldr	r3, [fp, #-1180]
	ldr	r0, [r2, r3, lsl #2]
	ldr	r3, [fp, #-1180]
	lsl	r3, r3, #10
	ldr	r2, .L39+64
	add	r1, r3, r2
	mov	r3, #0
	mov	r2, #1024
	bl	send
	ldr	r3, [fp, #-1180]
	add	r3, r3, #1
	str	r3, [fp, #-1180]
.L35:
	ldr	r3, [fp, #-1180]
	cmp	r3, #1
	ble	.L36
	mov	r3, #0
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC15
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	8082
	.word	.LC9
	.word	.LC10
	.word	service
	.word	p
	.word	6580592
	.word	customers
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	parcels
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
