	.file	"622905.c"
	.intel_syntax noprefix
	.text
	.globl	g_psctl_server_fd
	.data
	.align 4
	.type	g_psctl_server_fd, @object
	.size	g_psctl_server_fd, 4
g_psctl_server_fd:
	.long	-1
	.globl	g_psctl_client_fd
	.align 4
	.type	g_psctl_client_fd, @object
	.size	g_psctl_client_fd, 4
g_psctl_client_fd:
	.long	-1
	.section	.rodata
	.align 8
.LC0:
	.string	"fail to create psctl server socket"
.LC1:
	.string	"/tmp/psctrl_l1c"
	.align 8
.LC2:
	.string	"SOCKMSG :  inter-process socket (%d) connect() failed in sockmsg_tcp_client_start_service\n"
	.align 8
.LC3:
	.string	"Error: dwByteSend = %d, dwByteExLen = %d\n"
.LC4:
	.string	"Hello world(%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
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	mov	DWORD PTR -148[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR g_psctl_server_fd[rip], eax
	mov	eax, DWORD PTR g_psctl_server_fd[rip]
	test	eax, eax
	jns	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rax, -128[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -128[rbp], 1
	lea	rax, -128[rbp]
	add	rax, 2
	mov	edx, 108
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR g_psctl_server_fd[rip]
	lea	rcx, -128[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR g_psctl_server_fd[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR g_psctl_server_fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR g_psctl_server_fd[rip], -1
.L7:
	mov	BYTE PTR -157[rbp], 0
	mov	WORD PTR -156[rbp], 0
	mov	WORD PTR -154[rbp], 0
	mov	BYTE PTR -157[rbp], 0
	jmp	.L4
.L5:
	movzx	eax, BYTE PTR -157[rbp]
	movzx	edx, BYTE PTR -157[rbp]
	add	edx, 10
	cdqe
	mov	BYTE PTR -18[rbp+rax], dl
	movzx	eax, BYTE PTR -157[rbp]
	add	eax, 1
	mov	BYTE PTR -157[rbp], al
.L4:
	cmp	BYTE PTR -157[rbp], 9
	jbe	.L5
	lea	rax, -144[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	BYTE PTR -142[rbp], 12
	mov	BYTE PTR -141[rbp], 13
	mov	BYTE PTR -143[rbp], 1
	mov	BYTE PTR -144[rbp], 2
	lea	rax, -18[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	WORD PTR -154[rbp], 26
	movzx	edx, WORD PTR -154[rbp]
	mov	eax, DWORD PTR g_psctl_server_fd[rip]
	lea	rcx, -144[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -156[rbp], ax
	movzx	eax, WORD PTR -156[rbp]
	cmp	ax, WORD PTR -154[rbp]
	je	.L6
	movzx	edx, WORD PTR -154[rbp]
	movzx	eax, WORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	eax, DWORD PTR -152[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -152[rbp], edx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L7
	.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	"622905.c"
	.text
	.global	g_psctl_server_fd
	.data
	.align	2
	.type	g_psctl_server_fd, %object
	.size	g_psctl_server_fd, 4
g_psctl_server_fd:
	.word	-1
	.global	g_psctl_client_fd
	.align	2
	.type	g_psctl_client_fd, %object
	.size	g_psctl_client_fd, 4
g_psctl_client_fd:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fail to create psctl server socket\000"
	.align	2
.LC1:
	.ascii	"/tmp/psctrl_l1c\000"
	.align	2
.LC2:
	.ascii	"SOCKMSG :  inter-process socket (%d) connect() fail"
	.ascii	"ed in sockmsg_tcp_client_start_service\012\000"
	.align	2
.LC3:
	.ascii	"Error: dwByteSend = %d, dwByteExLen = %d\012\000"
	.align	2
.LC4:
	.ascii	"Hello world(%d).\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 = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	mov	r3, r0
	ldr	r2, .L9+4
	str	r3, [r2]
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L9+8
	bl	printf
.L2:
	sub	r3, fp, #132
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-132]	@ movhi
	sub	r3, fp, #132
	add	r3, r3, #2
	mov	r2, #108
	ldr	r1, .L9+12
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L9+4
	ldr	r3, [r3]
	sub	r1, fp, #132
	mov	r2, #110
	mov	r0, r3
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L9+4
	mvn	r2, #0
	str	r2, [r3]
.L7:
	mov	r3, #0
	strb	r3, [fp, #-153]
	mov	r3, #0
	strh	r3, [fp, #-152]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-150]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-153]
	b	.L4
.L5:
	ldrb	r3, [fp, #-153]	@ zero_extendqisi2
	ldrb	r2, [fp, #-153]
	add	r2, r2, #10
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-16]
	ldrb	r3, [fp, #-153]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-153]
.L4:
	ldrb	r3, [fp, #-153]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L5
	sub	r3, fp, #140
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #12
	strb	r3, [fp, #-138]
	mov	r3, #13
	strb	r3, [fp, #-137]
	mov	r3, #1
	strb	r3, [fp, #-139]
	mov	r3, #2
	strb	r3, [fp, #-140]
	sub	r3, fp, #20
	str	r3, [fp, #-136]
	mov	r3, #18
	strh	r3, [fp, #-150]	@ movhi
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldrh	r2, [fp, #-150]
	sub	r1, fp, #140
	mov	r0, r3
	bl	write
	mov	r3, r0
	strh	r3, [fp, #-152]	@ movhi
	ldrh	r2, [fp, #-152]
	ldrh	r3, [fp, #-150]
	cmp	r2, r3
	beq	.L6
	ldrh	r3, [fp, #-152]
	ldrh	r2, [fp, #-150]
	mov	r1, r3
	ldr	r0, .L9+20
	bl	printf
.L6:
	ldr	r3, [fp, #-148]
	add	r2, r3, #1
	str	r2, [fp, #-148]
	mov	r1, r3
	ldr	r0, .L9+24
	bl	printf
	mov	r0, #1
	bl	sleep
	b	.L7
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	g_psctl_server_fd
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
