	.file	"481445.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 2
	.type	port, @object
	.size	port, 2
port:
	.value	12345
	.align 16
	.type	alpha, @object
	.size	alpha, 27
alpha:
	.string	"abcdefghijklmnopqrstuvwxyz"
	.text
	.type	_sleep_msec, @function
_sleep_msec:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	eax, eax
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	mov	eax, eax
	mov	QWORD PTR -32[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	mov	eax, eax
	imul	rax, rax, 1000000
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_sleep_msec, .-_sleep_msec
	.section	.rodata
.LC0:
	.string	"the_stack_data/481445.c"
	.align 8
.LC1:
	.string	"(lsock = socket(args->domain, SOCK_STREAM, 0)) >= 0"
.LC2:
	.string	"r == 0"
	.align 8
.LC3:
	.string	"bind(lsock, (struct sockaddr*)&addr, sizeof(addr)) == 0"
.LC4:
	.string	"fchmod(lsock, 0000) == 0"
.LC5:
	.string	"fstat(lsock, &buf) == 0"
	.align 8
.LC6:
	.string	"(buf.st_mode & 0x000001ff) == 0000"
.LC7:
	.string	"fchmod(lsock, 0777) == 0"
	.align 8
.LC8:
	.string	"(buf.st_mode & 0x000001ff) == 0777"
.LC9:
	.string	"0"
.LC10:
	.string	"listen(lsock, 10) == 0"
	.align 8
.LC11:
	.string	"server: waiting for connection..."
.LC12:
	.string	"sock > 0"
.LC13:
	.string	"addrlen=%u/%zu\n"
	.align 8
.LC14:
	.string	"server: accepted connection: %d\n"
.LC15:
	.string	"server: send"
.LC16:
	.string	"(size_t)n == strlen(alpha)"
.LC17:
	.string	"server: finished"
	.text
	.type	_srv_thread_func, @function
_srv_thread_func:
.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, 336
	mov	QWORD PTR -328[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -300[rbp], eax
	cmp	DWORD PTR -300[rbp], 0
	jns	.L4
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 47
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	mov	DWORD PTR -308[rbp], 1
	mov	DWORD PTR -296[rbp], 4
	mov	ecx, DWORD PTR -296[rbp]
	lea	rdx, -308[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 54
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L5:
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L6
	lea	rax, -160[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -160[rbp], 2
	mov	edi, 2130706433
	call	htonl@PLT
	mov	DWORD PTR -156[rbp], eax
	mov	eax, 12345
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -158[rbp], ax
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 64
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L6:
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L9
	lea	rax, -272[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -272[rbp], 1
	mov	BYTE PTR -270[rbp], 0
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, -272[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncat@PLT
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, 0
	mov	edi, eax
	call	fchmod@PLT
	test	eax, eax
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 76
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L10:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 77
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L11:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 511
	test	eax, eax
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 78
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L12:
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, 511
	mov	edi, eax
	call	fchmod@PLT
	test	eax, eax
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 80
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L13:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 81
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L14:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 511
	cmp	eax, 511
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 82
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L15:
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 84
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L9:
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 88
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L8:
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 91
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L17:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L18
	mov	DWORD PTR -308[rbp], 16
	lea	rdx, -308[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	ecx, 0
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	accept4@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 0
	jg	.L19
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 104
	lea	rsi, .LC0[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L19:
	mov	eax, DWORD PTR -308[rbp]
	mov	edx, 16
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L18:
	mov	DWORD PTR -308[rbp], 110
	lea	rdx, -308[rbp]
	lea	rsi, -160[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	ecx, 0
	mov	edi, eax
	mov	eax, 0
	call	accept4@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 0
	jg	.L20
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 113
	lea	rsi, .LC0[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L20:
	mov	eax, DWORD PTR -304[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -304[rbp]
	mov	ecx, 0
	mov	edx, 26
	lea	rsi, alpha[rip]
	mov	edi, eax
	call	send@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 26
	je	.L22
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 120
	lea	rsi, .LC0[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L22:
	mov	eax, DWORD PTR -304[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	eax, DWORD PTR -300[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	_srv_thread_func, .-_srv_thread_func
	.section	.rodata
	.align 8
.LC18:
	.string	"(sock = socket(args->domain, SOCK_STREAM, 0)) >= 0"
.LC19:
	.string	"client: connect"
	.align 8
.LC20:
	.string	"connect(sock, (struct sockaddr*)&addr, sizeof(addr)) >= 0"
.LC21:
	.string	"client: recv"
.LC22:
	.string	"n > 0"
.LC23:
	.string	"buf{%s} n=%zd\n"
.LC24:
	.string	"n == strlen(alpha)"
.LC25:
	.string	"memcmp(buf, alpha, n) == 0"
	.text
	.type	_cli_thread_func, @function
_cli_thread_func:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	DWORD PTR -148[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	jns	.L26
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 137
	lea	rsi, .LC0[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L26:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L27
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	WORD PTR -128[rbp], 2
	mov	edi, 2130706433
	call	htonl@PLT
	mov	DWORD PTR -124[rbp], eax
	mov	eax, 12345
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -126[rbp], ax
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L37
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 146
	lea	rsi, .LC0[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L27:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L30
	lea	rax, -128[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -128[rbp], 1
	mov	BYTE PTR -126[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, -128[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncat@PLT
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L37
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 155
	lea	rsi, .LC0[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L30:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 159
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L37:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	ecx, 0
	mov	edx, 1024
	lea	rsi, buf.1[rip]
	mov	edi, eax
	call	recv@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	je	.L41
	cmp	QWORD PTR -136[rbp], 0
	jg	.L34
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 172
	lea	rsi, .LC0[rip]
	lea	rdi, .LC22[rip]
	call	__assert_fail@PLT
.L34:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, rax
	lea	rsi, buf.1[rip]
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -136[rbp], 26
	je	.L35
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 175
	lea	rsi, .LC0[rip]
	lea	rdi, .LC24[rip]
	call	__assert_fail@PLT
.L35:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, rax
	lea	rsi, alpha[rip]
	lea	rdi, buf.1[rip]
	call	memcmp@PLT
	test	eax, eax
	je	.L37
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 176
	lea	rsi, .LC0[rip]
	lea	rdi, .LC25[rip]
	call	__assert_fail@PLT
.L41:
	nop
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	_cli_thread_func, .-_cli_thread_func
	.section	.rodata
	.align 8
.LC26:
	.string	"pthread_create(&srv_thread, NULL, _srv_thread_func, args) == 0"
	.align 8
.LC27:
	.string	"pthread_create(&cli_thread, NULL, _cli_thread_func, args) == 0"
	.align 8
.LC28:
	.string	"=== passed test (test_sockets: domain=%d)\n"
	.text
	.globl	test_sockets
	.type	test_sockets, @function
test_sockets:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	lea	rdx, _srv_thread_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L43
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 189
	lea	rsi, .LC0[rip]
	lea	rdi, .LC26[rip]
	call	__assert_fail@PLT
.L43:
	mov	edi, 100
	call	_sleep_msec
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	lea	rdx, _cli_thread_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L44
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 191
	lea	rsi, .LC0[rip]
	lea	rdi, .LC27[rip]
	call	__assert_fail@PLT
.L44:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	test_sockets, .-test_sockets
	.section	.rodata
.LC29:
	.string	"Usage: %s <uds-path>\n"
.LC30:
	.string	"=== passed test (%s)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 2
	je	.L47
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	mov	DWORD PTR -48[rbp], 2
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	test_sockets
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	test_sockets
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 17
__PRETTY_FUNCTION__.3:
	.string	"_srv_thread_func"
	.align 16
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 17
__PRETTY_FUNCTION__.2:
	.string	"_cli_thread_func"
	.local	buf.1
	.comm	buf.1,1024,32
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 13
__PRETTY_FUNCTION__.0:
	.string	"test_sockets"
	.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	"481445.c"
	.text
	.section	.rodata
	.align	1
	.type	port, %object
	.size	port, 2
port:
	.short	12345
	.align	2
	.type	alpha, %object
	.size	alpha, 27
alpha:
	.ascii	"abcdefghijklmnopqrstuvwxyz\000"
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_sleep_msec, %function
_sleep_msec:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, .L3+4
	umull	r1, r3, r2, r3
	lsr	r3, r3, #6
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r3, .L3+4
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r1, r2
	lsl	r1, r1, #5
	sub	r1, r1, r2
	lsl	r3, r1, #6
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #6
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	274877907
	.size	_sleep_msec, .-_sleep_msec
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/481445.c\000"
	.align	2
.LC2:
	.ascii	"(lsock = socket(args->domain, SOCK_STREAM, 0)) >= 0"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"r == 0\000"
	.align	2
.LC4:
	.ascii	"bind(lsock, (struct sockaddr*)&addr, sizeof(addr)) "
	.ascii	"== 0\000"
	.align	2
.LC5:
	.ascii	"fchmod(lsock, 0000) == 0\000"
	.align	2
.LC6:
	.ascii	"fstat(lsock, &buf) == 0\000"
	.align	2
.LC7:
	.ascii	"(buf.st_mode & 0x000001ff) == 0000\000"
	.align	2
.LC8:
	.ascii	"fchmod(lsock, 0777) == 0\000"
	.align	2
.LC9:
	.ascii	"(buf.st_mode & 0x000001ff) == 0777\000"
	.align	2
.LC10:
	.ascii	"0\000"
	.align	2
.LC11:
	.ascii	"listen(lsock, 10) == 0\000"
	.align	2
.LC12:
	.ascii	"server: waiting for connection...\000"
	.align	2
.LC13:
	.ascii	"sock > 0\000"
	.align	2
.LC14:
	.ascii	"addrlen=%u/%zu\012\000"
	.align	2
.LC15:
	.ascii	"server: accepted connection: %d\012\000"
	.align	2
.LC16:
	.ascii	"server: send\000"
	.align	2
.LC17:
	.ascii	"(size_t)n == strlen(alpha)\000"
	.align	2
.LC18:
	.ascii	"server: finished\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_srv_thread_func, %function
_srv_thread_func:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	str	r0, [fp, #-240]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-232]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	socket
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L27+4
	mov	r2, #47
	ldr	r1, .L27+8
	ldr	r0, .L27+12
	bl	__assert_fail
.L6:
	mov	r3, #1
	str	r3, [fp, #-212]
	mov	r3, #4
	str	r3, [fp, #-224]
	sub	r2, fp, #212
	ldr	r3, [fp, #-224]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-228]
	bl	setsockopt
	str	r0, [fp, #-220]
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L27+4
	mov	r2, #54
	ldr	r1, .L27+8
	ldr	r0, .L27+16
	bl	__assert_fail
.L7:
	ldr	r3, [fp, #-232]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L8
	sub	r3, fp, #120
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-120]	@ movhi
	ldr	r0, .L27+20
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r3, .L27+24
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-118]	@ movhi
	sub	r3, fp, #120
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L27+4
	mov	r2, #64
	ldr	r1, .L27+8
	ldr	r0, .L27+28
	bl	__assert_fail
.L8:
	ldr	r3, [fp, #-232]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L11
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-118]
	ldr	r3, [fp, #-232]
	ldr	r1, [r3, #4]
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r2, #107
	mov	r0, r3
	bl	strncat
	mov	r1, #0
	ldr	r0, [fp, #-228]
	bl	fchmod
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L27+4
	mov	r2, #76
	ldr	r1, .L27+8
	ldr	r0, .L27+32
	bl	__assert_fail
.L12:
	sub	r3, fp, #212
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L27+4
	mov	r2, #77
	ldr	r1, .L27+8
	ldr	r0, .L27+36
	bl	__assert_fail
.L13:
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #23
	lsr	r3, r3, #23
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L27+4
	mov	r2, #78
	ldr	r1, .L27+8
	ldr	r0, .L27+40
	bl	__assert_fail
.L14:
	ldr	r1, .L27+44
	ldr	r0, [fp, #-228]
	bl	fchmod
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L27+4
	mov	r2, #80
	ldr	r1, .L27+8
	ldr	r0, .L27+48
	bl	__assert_fail
.L15:
	sub	r3, fp, #212
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L27+4
	mov	r2, #81
	ldr	r1, .L27+8
	ldr	r0, .L27+36
	bl	__assert_fail
.L16:
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #23
	lsr	r3, r3, #23
	ldr	r2, .L27+44
	cmp	r3, r2
	beq	.L17
	ldr	r3, .L27+4
	mov	r2, #82
	ldr	r1, .L27+8
	ldr	r0, .L27+52
	bl	__assert_fail
.L17:
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-228]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L27+4
	mov	r2, #84
	ldr	r1, .L27+8
	ldr	r0, .L27+28
	bl	__assert_fail
.L11:
	ldr	r3, .L27+4
	mov	r2, #88
	ldr	r1, .L27+8
	ldr	r0, .L27+56
	bl	__assert_fail
.L10:
	mov	r1, #10
	ldr	r0, [fp, #-228]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L27+4
	mov	r2, #91
	ldr	r1, .L27+8
	ldr	r0, .L27+60
	bl	__assert_fail
.L19:
	ldr	r0, .L27+64
	bl	puts
	ldr	r3, [fp, #-232]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L20
	mov	r3, #16
	str	r3, [fp, #-212]
	sub	r2, fp, #212
	mov	r3, #0
	mov	r1, #0
	ldr	r0, [fp, #-228]
	bl	accept4
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bgt	.L21
	ldr	r3, .L27+4
	mov	r2, #104
	ldr	r1, .L27+8
	ldr	r0, .L27+68
	bl	__assert_fail
.L21:
	ldr	r3, [fp, #-212]
	mov	r2, #16
	mov	r1, r3
	ldr	r0, .L27+72
	bl	printf
	b	.L22
.L20:
	mov	r3, #110
	str	r3, [fp, #-212]
	sub	r2, fp, #212
	sub	r1, fp, #120
	mov	r3, #0
	ldr	r0, [fp, #-228]
	bl	accept4
	str	r0, [fp, #-236]
	ldr	r3, [fp, #-236]
	cmp	r3, #0
	bgt	.L22
	ldr	r3, .L27+4
	mov	r2, #113
	ldr	r1, .L27+8
	ldr	r0, .L27+68
	bl	__assert_fail
.L22:
	ldr	r1, [fp, #-236]
	ldr	r0, .L27+76
	bl	printf
	ldr	r0, .L27+80
	bl	puts
	mov	r3, #0
	mov	r2, #26
	ldr	r1, .L27+84
	ldr	r0, [fp, #-236]
	bl	send
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #26
	beq	.L24
	ldr	r3, .L27+4
	mov	r2, #120
	ldr	r1, .L27+8
	ldr	r0, .L27+88
	bl	__assert_fail
.L24:
	ldr	r0, [fp, #-236]
	bl	close
	nop
	ldr	r0, [fp, #-228]
	bl	close
	ldr	r0, .L27+92
	bl	puts
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC19
	.word	__PRETTY_FUNCTION__.6899
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	2130706433
	.word	12345
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	511
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	alpha
	.word	.LC17
	.word	.LC18
	.size	_srv_thread_func, .-_srv_thread_func
	.section	.rodata
	.align	2
.LC20:
	.ascii	"(sock = socket(args->domain, SOCK_STREAM, 0)) >= 0\000"
	.align	2
.LC21:
	.ascii	"client: connect\000"
	.align	2
.LC22:
	.ascii	"connect(sock, (struct sockaddr*)&addr, sizeof(addr)"
	.ascii	") >= 0\000"
	.align	2
.LC23:
	.ascii	"client: recv\000"
	.align	2
.LC24:
	.ascii	"n > 0\000"
	.align	2
.LC25:
	.ascii	"buf{%s} n=%zd\012\000"
	.align	2
.LC26:
	.ascii	"n == strlen(alpha)\000"
	.align	2
.LC27:
	.ascii	"memcmp(buf, alpha, n) == 0\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_cli_thread_func, %function
_cli_thread_func:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	socket
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L30
	ldr	r3, .L46+4
	mov	r2, #137
	ldr	r1, .L46+8
	ldr	r0, .L46+12
	bl	__assert_fail
.L30:
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L31
	ldr	r0, .L46+16
	bl	puts
	sub	r3, fp, #120
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #2
	strh	r3, [fp, #-120]	@ movhi
	ldr	r0, .L46+20
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r3, .L46+24
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-118]	@ movhi
	sub	r3, fp, #120
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L41
	ldr	r3, .L46+4
	mov	r2, #146
	ldr	r1, .L46+8
	ldr	r0, .L46+28
	bl	__assert_fail
.L31:
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L34
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-118]
	ldr	r3, [fp, #-132]
	ldr	r1, [r3, #4]
	sub	r3, fp, #120
	add	r3, r3, #2
	mov	r2, #107
	mov	r0, r3
	bl	strncat
	sub	r3, fp, #120
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L41
	ldr	r3, .L46+4
	mov	r2, #155
	ldr	r1, .L46+8
	ldr	r0, .L46+28
	bl	__assert_fail
.L34:
	ldr	r3, .L46+4
	mov	r2, #159
	ldr	r1, .L46+8
	ldr	r0, .L46+32
	bl	__assert_fail
.L41:
	ldr	r0, .L46+36
	bl	puts
	mov	r3, #0
	mov	r2, #1024
	ldr	r1, .L46+40
	ldr	r0, [fp, #-128]
	bl	recv
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bgt	.L38
	ldr	r3, .L46+4
	mov	r2, #172
	ldr	r1, .L46+8
	ldr	r0, .L46+44
	bl	__assert_fail
.L38:
	ldr	r2, [fp, #-124]
	ldr	r1, .L46+40
	ldr	r0, .L46+48
	bl	printf
	ldr	r3, [fp, #-124]
	cmp	r3, #26
	beq	.L39
	ldr	r3, .L46+4
	mov	r2, #175
	ldr	r1, .L46+8
	ldr	r0, .L46+52
	bl	__assert_fail
.L39:
	ldr	r3, [fp, #-124]
	mov	r2, r3
	ldr	r1, .L46+56
	ldr	r0, .L46+40
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L46+4
	mov	r2, #176
	ldr	r1, .L46+8
	ldr	r0, .L46+60
	bl	__assert_fail
.L45:
	nop
	ldr	r0, [fp, #-128]
	bl	close
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC28
	.word	__PRETTY_FUNCTION__.6922
	.word	.LC1
	.word	.LC20
	.word	.LC21
	.word	2130706433
	.word	12345
	.word	.LC22
	.word	.LC10
	.word	.LC23
	.word	buf.6925
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	alpha
	.word	.LC27
	.size	_cli_thread_func, .-_cli_thread_func
	.section	.rodata
	.align	2
.LC29:
	.ascii	"pthread_create(&srv_thread, NULL, _srv_thread_func,"
	.ascii	" args) == 0\000"
	.align	2
.LC30:
	.ascii	"pthread_create(&cli_thread, NULL, _cli_thread_func,"
	.ascii	" args) == 0\000"
	.align	2
.LC31:
	.ascii	"=== passed test (test_sockets: domain=%d)\012\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_sockets
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_sockets, %function
test_sockets:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #16
	ldr	r3, [fp, #-24]
	ldr	r2, .L52+4
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L52+8
	mov	r2, #189
	ldr	r1, .L52+12
	ldr	r0, .L52+16
	bl	__assert_fail
.L49:
	mov	r0, #100
	bl	_sleep_msec
	sub	r0, fp, #12
	ldr	r3, [fp, #-24]
	ldr	r2, .L52+20
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L52+8
	mov	r2, #191
	ldr	r1, .L52+12
	ldr	r0, .L52+24
	bl	__assert_fail
.L50:
	ldr	r3, [fp, #-12]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L52+28
	bl	printf
	nop
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC32
	.word	_srv_thread_func
	.word	__PRETTY_FUNCTION__.6933
	.word	.LC1
	.word	.LC29
	.word	_cli_thread_func
	.word	.LC30
	.word	.LC31
	.size	test_sockets, .-test_sockets
	.section	.rodata
	.align	2
.LC33:
	.ascii	"Usage: %s <uds-path>\012\000"
	.align	2
.LC34:
	.ascii	"=== passed test (%s)\012\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	beq	.L55
	ldr	r3, .L58+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L58+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L55:
	mov	r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	sub	r3, fp, #24
	mov	r0, r3
	bl	test_sockets
	sub	r3, fp, #16
	mov	r0, r3
	bl	test_sockets
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L58+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L58
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC35
	.word	stderr
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6899, %object
	.size	__PRETTY_FUNCTION__.6899, 17
__PRETTY_FUNCTION__.6899:
	.ascii	"_srv_thread_func\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6922, %object
	.size	__PRETTY_FUNCTION__.6922, 17
__PRETTY_FUNCTION__.6922:
	.ascii	"_cli_thread_func\000"
	.local	buf.6925
	.comm	buf.6925,1024,4
	.align	2
	.type	__PRETTY_FUNCTION__.6933, %object
	.size	__PRETTY_FUNCTION__.6933, 13
__PRETTY_FUNCTION__.6933:
	.ascii	"test_sockets\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
