	.file	"360075.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\nElastic Container Service - Host #%d: Could not create Socket Client.\n"
	.align 8
.LC1:
	.string	"\nElastic Container Service - Host #%d: Socket Client created successfully.\n"
	.align 8
.LC2:
	.string	"\nElastic Container Service - Host #%d: Connect failed.\n"
	.align 8
.LC3:
	.string	"\nElastic Container Service - Host #%d: Socket Client connected successfully.\n"
	.text
	.globl	sendSubscribeHostMessage
	.type	sendSubscribeHostMessage, @function
sendSubscribeHostMessage:
.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, 256
	mov	QWORD PTR -248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], -1
	jne	.L2
	mov	esi, 4
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	esi, 4
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	WORD PTR -224[rbp], 2
	mov	DWORD PTR -220[rbp], 0
	mov	edi, 6060
	call	htons@PLT
	mov	WORD PTR -222[rbp], ax
	lea	rcx, -224[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L3
	mov	esi, 4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	esi, 4
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -208[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -228[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sendSubscribeHostMessage, .-sendSubscribeHostMessage
	.section	.rodata
.LC4:
	.string	"containers.txt"
.LC5:
	.string	"create"
.LC6:
	.string	"--name"
.LC7:
	.string	"-di"
.LC8:
	.string	"run"
.LC9:
	.string	"docker"
.LC10:
	.string	"/bin/bash"
.LC11:
	.string	"ubuntu:latest"
.LC12:
	.string	"stop"
.LC13:
	.string	"remove"
.LC14:
	.string	"--force"
.LC15:
	.string	"rm"
.LC16:
	.string	"start"
	.text
	.globl	dockerExecutions
	.type	dockerExecutions, @function
dockerExecutions:
.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, 256
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -248[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -224[rbp], 0
	lea	rax, .LC4[rip]
	mov	QWORD PTR -216[rbp], rax
	call	fork@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	rdx, QWORD PTR -248[rbp]
	sub	rsp, 8
	push	0
	lea	rax, .LC10[rip]
	push	rax
	lea	rax, .LC11[rip]
	push	rax
	mov	r9, rdx
	lea	r8, .LC6[rip]
	lea	rcx, .LC7[rip]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	execlp@PLT
	add	rsp, 32
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR -248[rbp]
	mov	r8d, 0
	mov	rcx, rax
	lea	rdx, .LC12[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -248[rbp]
	mov	r9d, 0
	mov	r8, rax
	lea	rcx, .LC14[rip]
	lea	rdx, .LC15[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -240[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -248[rbp]
	mov	r8d, 0
	mov	rcx, rax
	lea	rdx, .LC16[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	execlp@PLT
.L6:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dockerExecutions, .-dockerExecutions
	.section	.rodata
	.align 8
.LC17:
	.string	"\nElastic Container Service - Host #%d: Could not create Socket Server.\n"
	.align 8
.LC18:
	.string	"\nElastic Container Service - Host #%d: Socket Server created successfully.\n"
.LC19:
	.string	"127.0.0.0 9080"
	.align 8
.LC20:
	.string	"\nElastic Container Service - Host #%d: Bind failed.\n"
	.align 8
.LC21:
	.string	"\nElastic Container Service - Host #%d: Bind Done.\n"
	.align 8
.LC22:
	.string	"\nElastic Container Service - Host #%d: Waiting for incoming connections...\n"
	.align 8
.LC23:
	.string	"\nElastic Container Service - Host #%d: Accept Failed.\n"
	.align 8
.LC24:
	.string	"\nElastic Container Service - Host #%d: Connection accepted.\n"
	.align 8
.LC25:
	.string	"\nElastic Container Service - Host #%d: received message host: %s\n"
.LC26:
	.string	" "
.LC27:
	.string	"list"
	.align 8
.LC28:
	.string	"\nElastic Container Service - Host #%d: Request: %s, Container Name: %s\n"
	.align 8
.LC29:
	.string	"\nElastic Container Service - Host #%d: Receive Failed.\n"
	.text
	.globl	ecs_agent
	.type	ecs_agent, @function
ecs_agent:
.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, 2496
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2484[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -2480[rbp], eax
	cmp	DWORD PTR -2480[rbp], -1
	jne	.L12
	mov	esi, 4
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	esi, 4
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC19[rip]
	call	sendSubscribeHostMessage
	mov	WORD PTR -2464[rbp], 2
	mov	DWORD PTR -2460[rbp], 0
	mov	edi, 9080
	call	htons@PLT
	mov	WORD PTR -2462[rbp], ax
	lea	rcx, -2464[rbp]
	mov	eax, DWORD PTR -2480[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L13
	mov	esi, 4
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L22
.L13:
	mov	esi, 4
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	eax, DWORD PTR -2480[rbp]
	mov	esi, 100
	mov	edi, eax
	call	listen@PLT
	mov	esi, 4
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -2488[rbp], 16
	lea	rdx, -2488[rbp]
	lea	rcx, -2448[rbp]
	mov	eax, DWORD PTR -2480[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -2476[rbp], eax
	cmp	DWORD PTR -2476[rbp], 0
	jns	.L15
	mov	esi, 4
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L22
.L15:
	mov	esi, 4
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -2484[rbp], 0
	jmp	.L16
.L20:
	lea	rax, -2016[rbp]
	mov	edx, 2000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -2016[rbp]
	mov	eax, DWORD PTR -2476[rbp]
	mov	ecx, 0
	mov	edx, 2000
	mov	edi, eax
	call	recv@PLT
	test	rax, rax
	jle	.L17
	lea	rax, -2016[rbp]
	mov	rdx, rax
	mov	esi, 4
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2016[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -2472[rbp], rax
	mov	rdx, QWORD PTR -2472[rbp]
	lea	rax, -2432[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -2432[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L18
	lea	rsi, .LC26[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -2472[rbp], rax
	mov	rdx, QWORD PTR -2472[rbp]
	lea	rax, -2224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -2224[rbp]
	lea	rax, -2432[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 4
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -2224[rbp]
	lea	rcx, -2432[rbp]
	mov	eax, DWORD PTR -2476[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	dockerExecutions
.L18:
	mov	DWORD PTR -2484[rbp], 1
	jmp	.L16
.L17:
	mov	esi, 4
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L16:
	cmp	DWORD PTR -2484[rbp], 0
	je	.L20
.L19:
	jmp	.L21
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ecs_agent, .-ecs_agent
	.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
	mov	eax, 0
	call	ecs_agent
	nop
	pop	rbp
	.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	"360075.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\012Elastic Container Service - Host #%d: Could"
	.ascii	" not create Socket Client.\012\000"
	.align	2
.LC1:
	.ascii	"\012Elastic Container Service - Host #%d: Socket Cl"
	.ascii	"ient created successfully.\012\000"
	.align	2
.LC2:
	.ascii	"\012Elastic Container Service - Host #%d: Connect f"
	.ascii	"ailed.\012\000"
	.align	2
.LC3:
	.ascii	"\012Elastic Container Service - Host #%d: Socket Cl"
	.ascii	"ient connected successfully.\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sendSubscribeHostMessage
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendSubscribeHostMessage, %function
sendSubscribeHostMessage:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmn	r3, #1
	bne	.L2
	mov	r1, #4
	ldr	r0, .L5+4
	bl	printf
.L2:
	mov	r1, #4
	ldr	r0, .L5+8
	bl	printf
	mov	r3, #2
	strh	r3, [fp, #-224]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-220]
	ldr	r0, .L5+12
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-222]	@ movhi
	sub	r3, fp, #224
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	mov	r1, #4
	ldr	r0, .L5+16
	bl	printf
.L3:
	mov	r1, #4
	ldr	r0, .L5+20
	bl	printf
	sub	r3, fp, #208
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #208
	ldr	r1, [fp, #-232]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #208
	mov	r3, #0
	ldr	r0, [fp, #-228]
	bl	send
	ldr	r0, [fp, #-228]
	bl	close
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	6060
	.word	.LC2
	.word	.LC3
	.size	sendSubscribeHostMessage, .-sendSubscribeHostMessage
	.section	.rodata
	.align	2
.LC5:
	.ascii	"containers.txt\000"
	.align	2
.LC6:
	.ascii	"create\000"
	.align	2
.LC7:
	.ascii	"-di\000"
	.align	2
.LC8:
	.ascii	"run\000"
	.align	2
.LC9:
	.ascii	"docker\000"
	.align	2
.LC10:
	.ascii	"/bin/bash\000"
	.align	2
.LC11:
	.ascii	"ubuntu:latest\000"
	.align	2
.LC12:
	.ascii	"--name\000"
	.align	2
.LC13:
	.ascii	"stop\000"
	.align	2
.LC14:
	.ascii	"remove\000"
	.align	2
.LC15:
	.ascii	"--force\000"
	.align	2
.LC16:
	.ascii	"rm\000"
	.align	2
.LC17:
	.ascii	"start\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dockerExecutions
	.syntax unified
	.arm
	.fpu softvfp
	.type	dockerExecutions, %function
dockerExecutions:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	str	r2, [fp, #-232]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-220]
	ldr	r3, .L13+4
	str	r3, [fp, #-216]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bne	.L8
	ldr	r1, .L13+8
	ldr	r0, [fp, #-228]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	str	r3, [sp, #16]
	ldr	r3, .L13+12
	str	r3, [sp, #12]
	ldr	r3, .L13+16
	str	r3, [sp, #8]
	ldr	r3, [fp, #-232]
	str	r3, [sp, #4]
	ldr	r3, .L13+20
	str	r3, [sp]
	ldr	r3, .L13+24
	ldr	r2, .L13+28
	ldr	r1, .L13+32
	ldr	r0, .L13+32
	bl	execlp
	b	.L8
.L9:
	ldr	r1, .L13+36
	ldr	r0, [fp, #-228]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-232]
	ldr	r2, .L13+36
	ldr	r1, .L13+32
	ldr	r0, .L13+32
	bl	execlp
	b	.L8
.L10:
	ldr	r1, .L13+40
	ldr	r0, [fp, #-228]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-232]
	str	r3, [sp]
	ldr	r3, .L13+44
	ldr	r2, .L13+48
	ldr	r1, .L13+32
	ldr	r0, .L13+32
	bl	execlp
	b	.L8
.L11:
	ldr	r1, .L13+52
	ldr	r0, [fp, #-228]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-232]
	ldr	r2, .L13+52
	ldr	r1, .L13+32
	ldr	r0, .L13+32
	bl	execlp
.L8:
	nop
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC18
	.word	.LC5
	.word	.LC6
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	dockerExecutions, .-dockerExecutions
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012Elastic Container Service - Host #%d: Could not"
	.ascii	" create Socket Server.\012\000"
	.align	2
.LC20:
	.ascii	"\012Elastic Container Service - Host #%d: Socket Se"
	.ascii	"rver created successfully.\012\000"
	.align	2
.LC21:
	.ascii	"127.0.0.0 9080\000"
	.align	2
.LC22:
	.ascii	"\012Elastic Container Service - Host #%d: Bind fail"
	.ascii	"ed.\012\000"
	.align	2
.LC23:
	.ascii	"\012Elastic Container Service - Host #%d: Bind Done"
	.ascii	".\012\000"
	.align	2
.LC24:
	.ascii	"\012Elastic Container Service - Host #%d: Waiting f"
	.ascii	"or incoming connections...\012\000"
	.align	2
.LC25:
	.ascii	"\012Elastic Container Service - Host #%d: Accept Fa"
	.ascii	"iled.\012\000"
	.align	2
.LC26:
	.ascii	"\012Elastic Container Service - Host #%d: Connectio"
	.ascii	"n accepted.\012\000"
	.align	2
.LC27:
	.ascii	"\012Elastic Container Service - Host #%d: received "
	.ascii	"message host: %s\012\000"
	.align	2
.LC28:
	.ascii	" \000"
	.align	2
.LC29:
	.ascii	"list\000"
	.align	2
.LC30:
	.ascii	"\012Elastic Container Service - Host #%d: Request: "
	.ascii	"%s, Container Name: %s\012\000"
	.align	2
.LC31:
	.ascii	"\012Elastic Container Service - Host #%d: Receive F"
	.ascii	"ailed.\012\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ecs_agent
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecs_agent, %function
ecs_agent:
	@ args = 0, pretend = 0, frame = 2456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2448
	sub	sp, sp, #8
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2456]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-2452]
	ldr	r3, [fp, #-2452]
	cmn	r3, #1
	bne	.L16
	mov	r1, #4
	ldr	r0, .L28+4
	bl	printf
.L16:
	mov	r1, #4
	ldr	r0, .L28+8
	bl	printf
	ldr	r0, .L28+12
	bl	sendSubscribeHostMessage
	sub	r3, fp, #4
	sub	r3, r3, #2432
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-2436]
	ldr	r0, .L28+16
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #2432
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #2432
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-2452]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	mov	r1, #4
	ldr	r0, .L28+20
	bl	printf
	mov	r3, #1
	b	.L26
.L17:
	mov	r1, #4
	ldr	r0, .L28+24
	bl	printf
.L25:
	mov	r1, #100
	ldr	r0, [fp, #-2452]
	bl	listen
	mov	r1, #4
	ldr	r0, .L28+28
	bl	printf
	mov	r3, #16
	str	r3, [fp, #-2460]
	sub	r2, fp, #2448
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #2416
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2452]
	bl	accept
	str	r0, [fp, #-2448]
	ldr	r3, [fp, #-2448]
	cmp	r3, #0
	bge	.L19
	mov	r1, #4
	ldr	r0, .L28+32
	bl	printf
	mov	r3, #1
	b	.L26
.L19:
	mov	r1, #4
	ldr	r0, .L28+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-2456]
	b	.L20
.L24:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #2000
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #2000
	ldr	r0, [fp, #-2448]
	bl	recv
	mov	r3, r0
	cmp	r3, #0
	ble	.L21
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #4
	ldr	r0, .L28+40
	bl	printf
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L28+44
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-2444]
	sub	r3, fp, #2400
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-2444]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #2400
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L28+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r1, .L28+44
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-2444]
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, [fp, #-2444]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #2192
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #2400
	sub	r2, r2, #4
	sub	r2, r2, #4
	mov	r1, #4
	ldr	r0, .L28+52
	bl	printf
	sub	r2, fp, #2192
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #2400
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2448]
	bl	dockerExecutions
.L22:
	mov	r3, #1
	str	r3, [fp, #-2456]
	b	.L20
.L21:
	mov	r1, #4
	ldr	r0, .L28+56
	bl	printf
	b	.L23
.L20:
	ldr	r3, [fp, #-2456]
	cmp	r3, #0
	beq	.L24
.L23:
	b	.L25
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC32
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	9080
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	ecs_agent, .-ecs_agent
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	ecs_agent
	nop
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
