	.file	"491399.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/491399.c"
	.align 8
.LC1:
	.string	"accept(fd, (struct sockaddr *) &addr, NULL) == -1"
.LC2:
	.string	"Error: %s -- failed at %s:%d\n"
.LC3:
	.string	"errno == EFAULT"
.LC4:
	.string	"client_fd >= 0"
	.align 8
.LC5:
	.string	"addr_len == sizeof(addr.sun_family)"
.LC6:
	.string	"addr.sun_family == AF_UNIX"
.LC7:
	.string	"nbytes > 0"
.LC8:
	.string	"readBuf[i] == (i & 0xFF)"
	.align 8
.LC9:
	.string	"recv(client_fd, readBuf, 1, 0) == 1"
.LC10:
	.string	"readBuf[0] == (i & 0xFF)"
	.align 8
.LC11:
	.string	"recvmsg(client_fd, &msg, 0) == 0"
	.align 8
.LC12:
	.string	"recvmsg(client_fd, &msg, 0) == LARGEBUF_SIZE * 2 / IOV_LEN"
	.align 8
.LC13:
	.string	"*((uint8_t *)(iov[i].iov_base) + j) == (i & 0xFF)"
.LC14:
	.string	"close(client_fd) == 0"
	.text
	.type	uds_stream_server, @function
uds_stream_server:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 400
	mov	QWORD PTR -8584[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8584[rbp]
	mov	DWORD PTR -8536[rbp], eax
	mov	DWORD PTR -8564[rbp], 110
	lea	rcx, -8448[rbp]
	mov	eax, DWORD PTR -8536[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	cmp	eax, -1
	je	.L2
	mov	ecx, 38
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L3
	mov	ecx, 39
	lea	rdx, .LC0[rip]
	lea	rsi, .LC3[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdx, -8564[rbp]
	lea	rcx, -8448[rbp]
	mov	eax, DWORD PTR -8536[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -8532[rbp], eax
	cmp	DWORD PTR -8532[rbp], 0
	jns	.L4
	mov	ecx, 41
	lea	rdx, .LC0[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -8564[rbp]
	cmp	eax, 2
	je	.L5
	mov	ecx, 42
	lea	rdx, .LC0[rip]
	lea	rsi, .LC5[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	movzx	eax, WORD PTR -8448[rbp]
	cmp	ax, 1
	je	.L6
	mov	ecx, 43
	lea	rdx, .LC0[rip]
	lea	rsi, .LC6[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	QWORD PTR -8528[rbp], 0
.L8:
	mov	eax, 8192
	sub	rax, QWORD PTR -8528[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8528[rbp]
	lea	rcx, -8208[rbp]
	lea	rsi, [rcx+rax]
	mov	eax, DWORD PTR -8532[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	QWORD PTR -8520[rbp], rax
	cmp	QWORD PTR -8520[rbp], 0
	jg	.L7
	mov	ecx, 47
	lea	rdx, .LC0[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -8520[rbp]
	add	QWORD PTR -8528[rbp], rax
	cmp	QWORD PTR -8528[rbp], 8191
	jle	.L8
	mov	DWORD PTR -8560[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -8560[rbp]
	cdqe
	movzx	eax, BYTE PTR -8208[rbp+rax]
	movzx	edx, al
	mov	eax, DWORD PTR -8560[rbp]
	movzx	eax, al
	cmp	edx, eax
	je	.L10
	mov	ecx, 51
	lea	rdx, .LC0[rip]
	lea	rsi, .LC8[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	add	DWORD PTR -8560[rbp], 1
.L9:
	cmp	DWORD PTR -8560[rbp], 8191
	jle	.L11
	mov	DWORD PTR -8556[rbp], 0
	jmp	.L12
.L15:
	lea	rsi, -8208[rbp]
	mov	eax, DWORD PTR -8532[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	cmp	rax, 1
	je	.L13
	mov	ecx, 54
	lea	rdx, .LC0[rip]
	lea	rsi, .LC9[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	movzx	eax, BYTE PTR -8208[rbp]
	movzx	edx, al
	mov	eax, DWORD PTR -8556[rbp]
	movzx	eax, al
	cmp	edx, eax
	je	.L14
	mov	ecx, 55
	lea	rdx, .LC0[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	add	DWORD PTR -8556[rbp], 1
.L12:
	cmp	DWORD PTR -8556[rbp], 8191
	jle	.L15
	mov	DWORD PTR -8552[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -8552[rbp]
	sal	eax, 10
	lea	rdx, -8208[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -8552[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8336
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -8552[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8328
	mov	QWORD PTR [rax], 1024
	add	DWORD PTR -8552[rbp], 1
.L16:
	cmp	DWORD PTR -8552[rbp], 7
	jle	.L17
	lea	rax, -8512[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -8548[rbp], 0
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -8548[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, -8336[rbp]
	add	rax, rdx
	mov	QWORD PTR -8496[rbp], rax
	mov	QWORD PTR -8488[rbp], 0
	lea	rcx, -8512[rbp]
	mov	eax, DWORD PTR -8532[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	test	rax, rax
	je	.L19
	mov	ecx, 66
	lea	rdx, .LC0[rip]
	lea	rsi, .LC11[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	QWORD PTR -8488[rbp], 2
	lea	rcx, -8512[rbp]
	mov	eax, DWORD PTR -8532[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	cmp	rax, 2048
	je	.L20
	mov	ecx, 68
	lea	rdx, .LC0[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	add	DWORD PTR -8548[rbp], 2
.L18:
	cmp	DWORD PTR -8548[rbp], 7
	jle	.L21
	mov	DWORD PTR -8544[rbp], 0
	jmp	.L22
.L26:
	mov	DWORD PTR -8540[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -8544[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8336
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8540[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -8544[rbp]
	movzx	eax, al
	cmp	edx, eax
	je	.L24
	mov	ecx, 72
	lea	rdx, .LC0[rip]
	lea	rsi, .LC13[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	add	DWORD PTR -8540[rbp], 1
.L23:
	mov	eax, DWORD PTR -8540[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8544[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8328
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jb	.L25
	add	DWORD PTR -8544[rbp], 1
.L22:
	cmp	DWORD PTR -8544[rbp], 7
	jle	.L26
	mov	eax, DWORD PTR -8532[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L27
	mov	ecx, 74
	lea	rdx, .LC0[rip]
	lea	rsi, .LC14[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	uds_stream_server, .-uds_stream_server
	.section	.rodata
.LC15:
	.string	"s1 >= 0"
	.align 8
.LC16:
	.string	"(bind(s1, NULL, addr_len) == -1) && (errno == EFAULT)"
	.align 8
.LC17:
	.string	"bind(s1, (struct sockaddr *) &addr, 0) == -1"
.LC18:
	.string	"errno == EINVAL"
	.align 8
.LC19:
	.string	"bind(s1, (struct sockaddr *) &addr, addr_len) == -1"
.LC20:
	.string	"errno == ENOENT"
	.align 8
.LC21:
	.string	"connect(s1, (struct sockaddr *) &addr, addr_len) == -1"
.LC22:
	.string	"errno == ECONNREFUSED"
.LC23:
	.string	"errno == EADDRINUSE"
	.align 8
.LC24:
	.string	"bind(s1, (struct sockaddr *) &addr, addr_len) == 0"
.LC25:
	.string	"/server_socket"
	.align 8
.LC26:
	.string	"stat(SERVER_SOCKET_PATH, &s) == 0"
	.align 8
.LC27:
	.string	"(s.st_mode & S_IFMT) == S_IFSOCK"
	.align 8
.LC28:
	.string	"(bind(s1, (struct sockaddr *) &addr, addr_len) == -1) && (errno == EINVAL)"
.LC29:
	.string	"s2 >= 0"
	.align 8
.LC30:
	.string	"bind(s2, (struct sockaddr *) &addr, addr_len) == -1"
	.align 8
.LC31:
	.string	"connect(s2, (struct sockaddr *) &addr, addr_len) == -1"
	.align 8
.LC32:
	.string	"accept(s1, (struct sockaddr *) &addr, &addr_len) == -1"
.LC33:
	.string	"listen(s1, 1) == 0"
	.align 8
.LC34:
	.string	"pthread_create(&pt, NULL, uds_stream_server, (void *)(long) s1) == 0"
	.align 8
.LC35:
	.string	"connect(s2, (struct sockaddr *) &addr, addr_len) == 0"
.LC36:
	.string	"errno == EISCONN"
	.align 8
.LC37:
	.string	"send(s2, writeBuf + i, 1, 0) == 1"
.LC38:
	.string	"sendmsg(s2, &msg, 0) == 0"
	.align 8
.LC39:
	.string	"sendmsg(s2, &msg, 0) == LARGEBUF_SIZE"
.LC40:
	.string	"pthread_join(pt, NULL) == 0"
.LC41:
	.string	"recv(s2, writeBuf, 1, 0) == 0"
	.align 8
.LC42:
	.string	"(send(s2, writeBuf, 1, 0) == -1) && (errno == EPIPE)"
.LC43:
	.string	"close(s1) == 0"
.LC44:
	.string	"close(s2) == 0"
	.align 8
.LC45:
	.string	"unlink(SERVER_SOCKET_PATH) == 0"
	.text
	.type	uds_stream_test, @function
uds_stream_test:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 512
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8700[rbp], 110
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -8688[rbp], eax
	cmp	DWORD PTR -8688[rbp], 0
	jns	.L31
	mov	ecx, 91
	lea	rdx, .LC0[rip]
	lea	rsi, .LC15[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	WORD PTR -8592[rbp], 1
	mov	edx, DWORD PTR -8700[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	esi, 0
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L32
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L33
.L32:
	mov	ecx, 94
	lea	rdx, .LC0[rip]
	lea	rsi, .LC16[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	je	.L34
	mov	ecx, 95
	lea	rdx, .LC0[rip]
	lea	rsi, .LC17[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	je	.L35
	mov	ecx, 96
	lea	rdx, .LC0[rip]
	lea	rsi, .LC18[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	lea	rax, -8592[rbp]
	add	rax, 2
	movabs	rsi, 8316310563956157999
	movabs	rdi, 7165072179823797620
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	DWORD PTR 16[rax], 7628139
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	je	.L36
	mov	ecx, 99
	lea	rdx, .LC0[rip]
	lea	rsi, .LC19[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L37
	mov	ecx, 100
	lea	rdx, .LC0[rip]
	lea	rsi, .LC20[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L38
	mov	ecx, 101
	lea	rdx, .LC0[rip]
	lea	rsi, .LC21[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 111
	je	.L39
	mov	ecx, 102
	lea	rdx, .LC0[rip]
	lea	rsi, .LC22[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	lea	rax, -8592[rbp]
	add	rax, 2
	movabs	rsi, 7165072493171864879
	mov	QWORD PTR [rax], rsi
	mov	DWORD PTR 8[rax], 7628139
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	je	.L40
	mov	ecx, 105
	lea	rdx, .LC0[rip]
	lea	rsi, .LC19[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L40:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 98
	je	.L41
	mov	ecx, 106
	lea	rdx, .LC0[rip]
	lea	rsi, .LC23[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L42
	mov	ecx, 107
	lea	rdx, .LC0[rip]
	lea	rsi, .LC21[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L42:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 111
	je	.L43
	mov	ecx, 108
	lea	rdx, .LC0[rip]
	lea	rsi, .LC22[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	lea	rax, -8592[rbp]
	add	rax, 2
	movabs	rcx, 6877671140347966255
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1801678707
	mov	WORD PTR 12[rax], 29797
	mov	BYTE PTR 14[rax], 0
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L44
	mov	ecx, 111
	lea	rdx, .LC0[rip]
	lea	rsi, .LC24[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L44:
	lea	rax, -8352[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	stat@PLT
	test	eax, eax
	je	.L45
	mov	ecx, 112
	lea	rdx, .LC0[rip]
	lea	rsi, .LC26[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	mov	eax, DWORD PTR -8328[rbp]
	and	eax, 61440
	cmp	eax, 49152
	je	.L46
	mov	ecx, 113
	lea	rdx, .LC0[rip]
	lea	rsi, .LC27[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L46:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L47
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	je	.L48
.L47:
	mov	ecx, 114
	lea	rdx, .LC0[rip]
	lea	rsi, .LC28[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -8684[rbp], eax
	cmp	DWORD PTR -8684[rbp], 0
	jns	.L49
	mov	ecx, 118
	lea	rdx, .LC0[rip]
	lea	rsi, .LC29[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	je	.L50
	mov	ecx, 119
	lea	rdx, .LC0[rip]
	lea	rsi, .LC30[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L50:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 98
	je	.L51
	mov	ecx, 120
	lea	rdx, .LC0[rip]
	lea	rsi, .LC23[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L51:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L52
	mov	ecx, 121
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 111
	je	.L53
	mov	ecx, 122
	lea	rdx, .LC0[rip]
	lea	rsi, .LC22[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	lea	rdx, -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8688[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	cmp	eax, -1
	je	.L54
	mov	ecx, 124
	lea	rdx, .LC0[rip]
	lea	rsi, .LC32[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L54:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	je	.L55
	mov	ecx, 125
	lea	rdx, .LC0[rip]
	lea	rsi, .LC18[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L55:
	mov	eax, DWORD PTR -8688[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L56
	mov	ecx, 127
	lea	rdx, .LC0[rip]
	lea	rsi, .LC33[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	eax, DWORD PTR -8688[rbp]
	cdqe
	mov	rdx, rax
	lea	rax, -8680[rbp]
	mov	rcx, rdx
	lea	rdx, uds_stream_server[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L57
	mov	ecx, 128
	lea	rdx, .LC0[rip]
	lea	rsi, .LC34[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L57:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L58
	mov	ecx, 131
	lea	rdx, .LC0[rip]
	lea	rsi, .LC35[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L58:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L59
	mov	ecx, 132
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L59:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 106
	je	.L60
	mov	ecx, 133
	lea	rdx, .LC0[rip]
	lea	rsi, .LC36[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L60:
	mov	DWORD PTR -8696[rbp], 0
	jmp	.L61
.L63:
	mov	eax, DWORD PTR -8696[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8696[rbp]
	cdqe
	mov	BYTE PTR -8208[rbp+rax], dl
	mov	eax, DWORD PTR -8696[rbp]
	cdqe
	lea	rdx, -8208[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -8684[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	send@PLT
	cmp	rax, 1
	je	.L62
	mov	ecx, 137
	lea	rdx, .LC0[rip]
	lea	rsi, .LC37[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L62:
	add	DWORD PTR -8696[rbp], 1
.L61:
	cmp	DWORD PTR -8696[rbp], 8191
	jle	.L63
	mov	QWORD PTR -8672[rbp], 0
.L65:
	mov	eax, 8192
	sub	rax, QWORD PTR -8672[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8672[rbp]
	lea	rcx, -8208[rbp]
	lea	rsi, [rcx+rax]
	mov	eax, DWORD PTR -8684[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	QWORD PTR -8664[rbp], rax
	cmp	QWORD PTR -8664[rbp], 0
	jg	.L64
	mov	ecx, 142
	lea	rdx, .LC0[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L64:
	mov	rax, QWORD PTR -8664[rbp]
	add	QWORD PTR -8672[rbp], rax
	cmp	QWORD PTR -8672[rbp], 8191
	jle	.L65
	mov	DWORD PTR -8692[rbp], 0
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -8692[rbp]
	sal	eax, 10
	lea	rdx, -8208[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -8692[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8480
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -8692[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8472
	mov	QWORD PTR [rax], 1024
	mov	eax, DWORD PTR -8692[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8472
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8692[rbp]
	movzx	ecx, al
	mov	eax, DWORD PTR -8692[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8480
	mov	rax, QWORD PTR [rax]
	mov	esi, ecx
	mov	rdi, rax
	call	memset@PLT
	add	DWORD PTR -8692[rbp], 1
.L66:
	cmp	DWORD PTR -8692[rbp], 7
	jle	.L67
	lea	rax, -8656[rbp]
	mov	edx, 56
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -8480[rbp]
	mov	QWORD PTR -8640[rbp], rax
	mov	QWORD PTR -8632[rbp], 0
	lea	rcx, -8656[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	test	rax, rax
	je	.L68
	mov	ecx, 154
	lea	rdx, .LC0[rip]
	lea	rsi, .LC38[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L68:
	mov	QWORD PTR -8632[rbp], 8
	lea	rcx, -8656[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	cmp	rax, 8192
	je	.L69
	mov	ecx, 156
	lea	rdx, .LC0[rip]
	lea	rsi, .LC39[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L69:
	mov	rax, QWORD PTR -8680[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L70
	mov	ecx, 158
	lea	rdx, .LC0[rip]
	lea	rsi, .LC40[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L70:
	lea	rsi, -8208[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	test	rax, rax
	je	.L71
	mov	ecx, 160
	lea	rdx, .LC0[rip]
	lea	rsi, .LC41[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L71:
	lea	rsi, -8208[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	send@PLT
	cmp	rax, -1
	jne	.L72
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 32
	je	.L73
.L72:
	mov	ecx, 161
	lea	rdx, .LC0[rip]
	lea	rsi, .LC42[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L73:
	mov	eax, DWORD PTR -8688[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L74
	mov	ecx, 163
	lea	rdx, .LC0[rip]
	lea	rsi, .LC43[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L74:
	mov	edx, DWORD PTR -8700[rbp]
	lea	rcx, -8592[rbp]
	mov	eax, DWORD PTR -8684[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L75
	mov	ecx, 164
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L75:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 111
	je	.L76
	mov	ecx, 165
	lea	rdx, .LC0[rip]
	lea	rsi, .LC22[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L76:
	mov	eax, DWORD PTR -8684[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L77
	mov	ecx, 167
	lea	rdx, .LC0[rip]
	lea	rsi, .LC44[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L77:
	lea	rdi, .LC25[rip]
	call	unlink@PLT
	test	eax, eax
	je	.L80
	mov	ecx, 168
	lea	rdx, .LC0[rip]
	lea	rsi, .LC45[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L80:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	uds_stream_test, .-uds_stream_test
	.section	.rodata
	.align 8
.LC46:
	.string	"addr_len > sizeof(addr.sun_family)"
.LC47:
	.string	"addr_len <= sizeof(addr)"
.LC48:
	.string	"/client_socket"
	.align 8
.LC49:
	.string	"!strcmp(addr.sun_path, CLIENT_SOCKET_PATH)"
	.align 8
.LC50:
	.string	"recv(client_fd, readBuf, SMALLBUF_SIZE / 2, 0) == SMALLBUF_SIZE / 2"
.LC51:
	.string	"readBuf[i] == i"
	.align 8
.LC52:
	.string	"recv(client_fd, readBuf, SMALLBUF_SIZE, 0) == 1"
.LC53:
	.string	"readBuf[0] == 0"
	.align 8
.LC54:
	.string	"recv(client_fd, readBuf, SMALLBUF_SIZE, 0) == 0"
	.text
	.type	uds_dgram_server, @function
uds_dgram_server:
.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	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR -136[rbp], eax
	mov	DWORD PTR -144[rbp], 110
	lea	rdx, -144[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jns	.L82
	mov	ecx, 180
	lea	rdx, .LC0[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L82:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 2
	ja	.L83
	mov	ecx, 181
	lea	rdx, .LC0[rip]
	lea	rsi, .LC46[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L83:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, 110
	jbe	.L84
	mov	ecx, 182
	lea	rdx, .LC0[rip]
	lea	rsi, .LC47[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L84:
	movzx	eax, WORD PTR -128[rbp]
	cmp	ax, 1
	je	.L85
	mov	ecx, 183
	lea	rdx, .LC0[rip]
	lea	rsi, .LC6[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L85:
	lea	rax, -128[rbp]
	add	rax, 2
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L86
	mov	ecx, 184
	lea	rdx, .LC0[rip]
	lea	rsi, .LC49[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L86:
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recv@PLT
	cmp	rax, 4
	je	.L87
	mov	ecx, 186
	lea	rdx, .LC0[rip]
	lea	rsi, .LC50[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L87:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L88
.L90:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	movzx	eax, BYTE PTR -16[rbp+rax]
	movzx	eax, al
	cmp	DWORD PTR -140[rbp], eax
	je	.L89
	mov	ecx, 189
	lea	rdx, .LC0[rip]
	lea	rsi, .LC51[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L89:
	add	DWORD PTR -140[rbp], 1
.L88:
	cmp	DWORD PTR -140[rbp], 3
	jle	.L90
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	ecx, 0
	mov	edx, 8
	mov	edi, eax
	call	recv@PLT
	cmp	rax, 1
	je	.L91
	mov	ecx, 191
	lea	rdx, .LC0[rip]
	lea	rsi, .LC52[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L91:
	movzx	eax, BYTE PTR -16[rbp]
	test	al, al
	je	.L92
	mov	ecx, 192
	lea	rdx, .LC0[rip]
	lea	rsi, .LC53[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L92:
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	ecx, 0
	mov	edx, 8
	mov	edi, eax
	call	recv@PLT
	test	rax, rax
	je	.L93
	mov	ecx, 195
	lea	rdx, .LC0[rip]
	lea	rsi, .LC54[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L93:
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L94
	mov	ecx, 197
	lea	rdx, .LC0[rip]
	lea	rsi, .LC14[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L94:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L96
	call	__stack_chk_fail@PLT
.L96:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	uds_dgram_server, .-uds_dgram_server
	.section	.rodata
	.align 8
.LC55:
	.string	"bind(s1, (struct sockaddr *) &server_addr, addr_len) == 0"
	.align 8
.LC56:
	.string	"bind(s2, (struct sockaddr *) &client_addr, addr_len) == 0"
	.align 8
.LC57:
	.string	"pthread_create(&pt, NULL, uds_dgram_server, (void *)(long) s1) == 0"
	.align 8
.LC58:
	.string	"connect(s2, (struct sockaddr *) &server_addr, addr_len) == 0"
	.align 8
.LC59:
	.string	"send(s2, writeBuf, SMALLBUF_SIZE, 0) == SMALLBUF_SIZE"
.LC60:
	.string	"send(s2, writeBuf, 1, 0) == 1"
.LC61:
	.string	"send(s2, writeBuf, 0, 0) == 0"
	.align 8
.LC62:
	.string	"unlink(CLIENT_SOCKET_PATH) == 0"
	.text
	.type	uds_dgram_test, @function
uds_dgram_test:
.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, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -260[rbp], 110
	mov	edx, 0
	mov	esi, 2
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -256[rbp], eax
	cmp	DWORD PTR -256[rbp], 0
	jns	.L98
	mov	ecx, 210
	lea	rdx, .LC0[rip]
	lea	rsi, .LC15[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L98:
	mov	WORD PTR -128[rbp], 1
	movzx	eax, WORD PTR -128[rbp]
	mov	WORD PTR -240[rbp], ax
	lea	rax, -240[rbp]
	add	rax, 2
	movabs	rcx, 6878243912741053231
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1801678707
	mov	WORD PTR 12[rax], 29797
	mov	BYTE PTR 14[rax], 0
	lea	rax, -128[rbp]
	add	rax, 2
	movabs	rcx, 6877671140347966255
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1801678707
	mov	WORD PTR 12[rax], 29797
	mov	BYTE PTR 14[rax], 0
	mov	edx, DWORD PTR -260[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -256[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L99
	mov	ecx, 214
	lea	rdx, .LC0[rip]
	lea	rsi, .LC55[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L99:
	mov	eax, DWORD PTR -256[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L100
	mov	ecx, 215
	lea	rdx, .LC0[rip]
	lea	rsi, .LC33[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L100:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	jns	.L101
	mov	ecx, 218
	lea	rdx, .LC0[rip]
	lea	rsi, .LC29[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L101:
	mov	edx, DWORD PTR -260[rbp]
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L102
	mov	ecx, 219
	lea	rdx, .LC0[rip]
	lea	rsi, .LC56[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L102:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	mov	rdx, rax
	lea	rax, -248[rbp]
	mov	rcx, rdx
	lea	rdx, uds_dgram_server[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L103
	mov	ecx, 221
	lea	rdx, .LC0[rip]
	lea	rsi, .LC57[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L103:
	mov	edx, DWORD PTR -260[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L104
	mov	ecx, 223
	lea	rdx, .LC0[rip]
	lea	rsi, .LC58[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L104:
	mov	DWORD PTR -264[rbp], 0
	jmp	.L105
.L106:
	mov	eax, DWORD PTR -264[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	mov	BYTE PTR -16[rbp+rax], dl
	add	DWORD PTR -264[rbp], 1
.L105:
	cmp	DWORD PTR -264[rbp], 7
	jle	.L106
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	ecx, 0
	mov	edx, 8
	mov	edi, eax
	call	send@PLT
	cmp	rax, 8
	je	.L107
	mov	ecx, 227
	lea	rdx, .LC0[rip]
	lea	rsi, .LC59[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L107:
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	send@PLT
	cmp	rax, 1
	je	.L108
	mov	ecx, 228
	lea	rdx, .LC0[rip]
	lea	rsi, .LC60[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L108:
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -252[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	send@PLT
	test	rax, rax
	je	.L109
	mov	ecx, 231
	lea	rdx, .LC0[rip]
	lea	rsi, .LC61[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L109:
	mov	rax, QWORD PTR -248[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L110
	mov	ecx, 233
	lea	rdx, .LC0[rip]
	lea	rsi, .LC40[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L110:
	mov	eax, DWORD PTR -256[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L111
	mov	ecx, 234
	lea	rdx, .LC0[rip]
	lea	rsi, .LC43[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L111:
	mov	eax, DWORD PTR -252[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L112
	mov	ecx, 235
	lea	rdx, .LC0[rip]
	lea	rsi, .LC44[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L112:
	lea	rdi, .LC25[rip]
	call	unlink@PLT
	test	eax, eax
	je	.L113
	mov	ecx, 236
	lea	rdx, .LC0[rip]
	lea	rsi, .LC45[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L113:
	lea	rdi, .LC48[rip]
	call	unlink@PLT
	test	eax, eax
	je	.L116
	mov	ecx, 237
	lea	rdx, .LC0[rip]
	lea	rsi, .LC62[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L116:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L115
	call	__stack_chk_fail@PLT
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	uds_dgram_test, .-uds_dgram_test
	.section	.rodata
.LC63:
	.string	"errno == EAGAIN"
	.align 8
.LC64:
	.string	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLIN)"
	.text
	.type	uds_nonblocking_server, @function
uds_nonblocking_server:
.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, 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	DWORD PTR -140[rbp], eax
	mov	DWORD PTR -148[rbp], 110
	lea	rdx, -148[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 0
	jns	.L118
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L119
	mov	ecx, 249
	lea	rdx, .LC0[rip]
	lea	rsi, .LC63[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L119:
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -136[rbp], eax
	mov	WORD PTR -132[rbp], 5
	lea	rax, -136[rbp]
	mov	edx, -1
	mov	esi, 1
	mov	rdi, rax
	call	poll@PLT
	cmp	eax, 1
	jne	.L120
	movzx	eax, WORD PTR -130[rbp]
	cmp	ax, 1
	je	.L121
.L120:
	mov	ecx, 253
	lea	rdx, .LC0[rip]
	lea	rsi, .LC64[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L121:
	lea	rdx, -148[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 0
	jns	.L118
	mov	ecx, 255
	lea	rdx, .LC0[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L118:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, 2
	je	.L123
	mov	ecx, 257
	lea	rdx, .LC0[rip]
	lea	rsi, .LC5[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L123:
	movzx	eax, WORD PTR -128[rbp]
	cmp	ax, 1
	je	.L124
	mov	ecx, 258
	lea	rdx, .LC0[rip]
	lea	rsi, .LC6[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L124:
	mov	eax, DWORD PTR -144[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L125
	mov	ecx, 259
	lea	rdx, .LC0[rip]
	lea	rsi, .LC14[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L125:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L127
	call	__stack_chk_fail@PLT
.L127:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	uds_nonblocking_server, .-uds_nonblocking_server
	.section	.rodata
.LC65:
	.string	"errno == EINPROGRESS"
.LC66:
	.string	"errno == EALREADY"
	.align 8
.LC67:
	.string	"pthread_create(&pt, NULL, uds_nonblocking_server, (void *)(long) s1) == 0"
	.align 8
.LC68:
	.string	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLOUT)"
	.align 8
.LC69:
	.string	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLHUP)"
	.text
	.type	uds_nonblocking_test, @function
uds_nonblocking_test:
.LFB11:
	.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 -156[rbp], 110
	mov	edx, 0
	mov	esi, 2049
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	jns	.L129
	mov	ecx, 272
	lea	rdx, .LC0[rip]
	lea	rsi, .LC15[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L129:
	mov	WORD PTR -128[rbp], 1
	lea	rax, -128[rbp]
	add	rax, 2
	movabs	rcx, 6877671140347966255
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1801678707
	mov	WORD PTR 12[rax], 29797
	mov	BYTE PTR 14[rax], 0
	mov	edx, DWORD PTR -156[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -152[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L130
	mov	ecx, 275
	lea	rdx, .LC0[rip]
	lea	rsi, .LC24[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L130:
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L131
	mov	ecx, 276
	lea	rdx, .LC0[rip]
	lea	rsi, .LC33[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L131:
	mov	edx, 0
	mov	esi, 2049
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	jns	.L132
	mov	ecx, 279
	lea	rdx, .LC0[rip]
	lea	rsi, .LC29[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L132:
	mov	edx, DWORD PTR -156[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L133
	mov	ecx, 280
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L133:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 115
	je	.L134
	mov	ecx, 281
	lea	rdx, .LC0[rip]
	lea	rsi, .LC65[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L134:
	mov	edx, DWORD PTR -156[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	je	.L135
	mov	ecx, 282
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L135:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 114
	je	.L136
	mov	ecx, 283
	lea	rdx, .LC0[rip]
	lea	rsi, .LC66[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L136:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	rdx, rax
	lea	rax, -144[rbp]
	mov	rcx, rdx
	lea	rdx, uds_nonblocking_server[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L137
	mov	ecx, 285
	lea	rdx, .LC0[rip]
	lea	rsi, .LC67[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L137:
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -136[rbp], eax
	mov	WORD PTR -132[rbp], 5
	lea	rax, -136[rbp]
	mov	edx, -1
	mov	esi, 1
	mov	rdi, rax
	call	poll@PLT
	cmp	eax, 1
	jne	.L138
	movzx	eax, WORD PTR -130[rbp]
	cmp	ax, 4
	je	.L139
.L138:
	mov	ecx, 289
	lea	rdx, .LC0[rip]
	lea	rsi, .LC68[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L139:
	mov	edx, DWORD PTR -156[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L140
	mov	ecx, 290
	lea	rdx, .LC0[rip]
	lea	rsi, .LC35[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L140:
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L141
	mov	ecx, 291
	lea	rdx, .LC0[rip]
	lea	rsi, .LC40[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L141:
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L142
	mov	ecx, 292
	lea	rdx, .LC0[rip]
	lea	rsi, .LC44[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L142:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	jns	.L143
	mov	ecx, 295
	lea	rdx, .LC0[rip]
	lea	rsi, .LC29[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L143:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	rdx, rax
	lea	rax, -144[rbp]
	mov	rcx, rdx
	lea	rdx, uds_nonblocking_server[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L144
	mov	ecx, 296
	lea	rdx, .LC0[rip]
	lea	rsi, .LC67[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L144:
	mov	edi, 100000
	call	usleep@PLT
	mov	edx, DWORD PTR -156[rbp]
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L145
	mov	ecx, 299
	lea	rdx, .LC0[rip]
	lea	rsi, .LC35[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L145:
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L146
	mov	ecx, 300
	lea	rdx, .LC0[rip]
	lea	rsi, .LC40[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L146:
	mov	eax, DWORD PTR -152[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L147
	mov	ecx, 302
	lea	rdx, .LC0[rip]
	lea	rsi, .LC43[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L147:
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -136[rbp], eax
	lea	rax, -136[rbp]
	mov	edx, -1
	mov	esi, 1
	mov	rdi, rax
	call	poll@PLT
	cmp	eax, 1
	jne	.L148
	movzx	eax, WORD PTR -130[rbp]
	cmp	ax, 16
	je	.L149
.L148:
	mov	ecx, 304
	lea	rdx, .LC0[rip]
	lea	rsi, .LC69[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L149:
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	je	.L150
	mov	ecx, 305
	lea	rdx, .LC0[rip]
	lea	rsi, .LC44[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L150:
	lea	rdi, .LC25[rip]
	call	unlink@PLT
	test	eax, eax
	je	.L153
	mov	ecx, 306
	lea	rdx, .LC0[rip]
	lea	rsi, .LC45[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L153:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L152
	call	__stack_chk_fail@PLT
.L152:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	uds_nonblocking_test, .-uds_nonblocking_test
	.section	.rodata
.LC70:
	.string	"Unix domain socket tests OK"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	call	uds_stream_test
	call	uds_dgram_test
	call	uds_nonblocking_test
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"491399.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/491399.c\000"
	.align	2
.LC1:
	.ascii	"accept(fd, (struct sockaddr *) &addr, NULL) == -1\000"
	.align	2
.LC2:
	.ascii	"Error: %s -- failed at %s:%d\012\000"
	.align	2
.LC3:
	.ascii	"errno == EFAULT\000"
	.align	2
.LC4:
	.ascii	"client_fd >= 0\000"
	.align	2
.LC5:
	.ascii	"addr_len == sizeof(addr.sun_family)\000"
	.align	2
.LC6:
	.ascii	"addr.sun_family == AF_UNIX\000"
	.align	2
.LC7:
	.ascii	"nbytes > 0\000"
	.align	2
.LC8:
	.ascii	"readBuf[i] == (i & 0xFF)\000"
	.align	2
.LC9:
	.ascii	"recv(client_fd, readBuf, 1, 0) == 1\000"
	.align	2
.LC10:
	.ascii	"readBuf[0] == (i & 0xFF)\000"
	.align	2
.LC11:
	.ascii	"recvmsg(client_fd, &msg, 0) == 0\000"
	.align	2
.LC12:
	.ascii	"recvmsg(client_fd, &msg, 0) == LARGEBUF_SIZE * 2 / "
	.ascii	"IOV_LEN\000"
	.align	2
.LC13:
	.ascii	"*((uint8_t *)(iov[i].iov_base) + j) == (i & 0xFF)\000"
	.align	2
.LC14:
	.ascii	"close(client_fd) == 0\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_stream_server, %function
uds_stream_server:
	@ args = 0, pretend = 0, frame = 8456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8448
	sub	sp, sp, #12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-260]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-260]
	str	r3, [r2, #-220]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #110
	str	r3, [r2, #-252]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-220]
	bl	accept
	mov	r3, r0
	cmn	r3, #1
	beq	.L2
	mov	r3, #38
	ldr	r2, .L30+4
	ldr	r1, .L30+8
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L3
	mov	r3, #39
	ldr	r2, .L30+4
	ldr	r1, .L30+16
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #8384
	sub	r2, r2, #12
	sub	r2, r2, #60
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-220]
	bl	accept
	str	r0, [r4, #-216]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-216]
	cmp	r3, #0
	bge	.L4
	mov	r3, #41
	ldr	r2, .L30+4
	ldr	r1, .L30+20
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-252]
	cmp	r3, #2
	beq	.L5
	mov	r3, #42
	ldr	r2, .L30+4
	ldr	r1, .L30+24
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrh	r3, [r3, #-116]
	cmp	r3, #1
	beq	.L6
	mov	r3, #43
	ldr	r2, .L30+4
	ldr	r1, .L30+28
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-248]
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-248]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r1, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-248]
	rsb	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-216]
	bl	recv
	str	r0, [r4, #-212]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-212]
	cmp	r3, #0
	bgt	.L7
	mov	r3, #47
	ldr	r2, .L30+4
	ldr	r1, .L30+32
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-248]
	ldr	r3, [r3, #-212]
	add	r3, r2, r3
	str	r3, [r1, #-248]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-248]
	cmp	r3, #8192
	blt	.L8
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-244]
	b	.L9
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	add	r3, r2, r3
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	and	r3, r3, #255
	cmp	r2, r3
	beq	.L10
	mov	r3, #51
	ldr	r2, .L30+4
	ldr	r1, .L30+36
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	add	r3, r3, #1
	str	r3, [r2, #-244]
.L9:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmp	r3, #8192
	blt	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-240]
	b	.L12
.L15:
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [r0, #-216]
	bl	recv
	mov	r3, r0
	cmp	r3, #1
	beq	.L13
	mov	r3, #54
	ldr	r2, .L30+4
	ldr	r1, .L30+40
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-240]
	and	r3, r3, #255
	cmp	r2, r3
	beq	.L14
	mov	r3, #55
	ldr	r2, .L30+4
	ldr	r1, .L30+44
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-240]
	add	r3, r3, #1
	str	r3, [r2, #-240]
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-240]
	cmp	r3, #8192
	blt	.L15
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-236]
	b	.L16
.L17:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	lsl	r2, r3, #10
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r2, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1024
	str	r2, [r3, #-176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	add	r3, r3, #1
	str	r3, [r2, #-236]
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	cmp	r3, #7
	ble	.L17
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-232]
	b	.L18
.L21:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	lsl	r2, r3, #3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-200]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-196]
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-216]
	bl	recvmsg
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r3, #66
	ldr	r2, .L30+4
	ldr	r1, .L30+48
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-196]
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-216]
	bl	recvmsg
	mov	r3, r0
	cmp	r3, #2048
	beq	.L20
	mov	r3, #68
	ldr	r2, .L30+4
	ldr	r1, .L30+52
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	add	r3, r3, #2
	str	r3, [r2, #-232]
.L18:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	cmp	r3, #7
	ble	.L21
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-228]
	b	.L22
.L26:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-224]
	b	.L23
.L25:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #-180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-224]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	and	r3, r3, #255
	cmp	r2, r3
	beq	.L24
	mov	r3, #72
	ldr	r2, .L30+4
	ldr	r1, .L30+56
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L24:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-224]
	add	r3, r3, #1
	str	r3, [r2, #-224]
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #-176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-224]
	cmp	r2, r3
	bhi	.L25
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	add	r3, r3, #1
	str	r3, [r2, #-228]
.L22:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	cmp	r3, #7
	ble	.L26
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-216]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	mov	r3, #74
	ldr	r2, .L30+4
	ldr	r1, .L30+60
	ldr	r0, .L30+12
	bl	printf
	mov	r0, #1
	bl	exit
.L27:
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	uds_stream_server, .-uds_stream_server
	.section	.rodata
	.align	2
.LC16:
	.ascii	"s1 >= 0\000"
	.align	2
.LC17:
	.ascii	"(bind(s1, NULL, addr_len) == -1) && (errno == EFAUL"
	.ascii	"T)\000"
	.align	2
.LC18:
	.ascii	"bind(s1, (struct sockaddr *) &addr, 0) == -1\000"
	.align	2
.LC19:
	.ascii	"errno == EINVAL\000"
	.align	2
.LC20:
	.ascii	"/nonexistent/socket\000"
	.align	2
.LC21:
	.ascii	"bind(s1, (struct sockaddr *) &addr, addr_len) == -1"
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"errno == ENOENT\000"
	.align	2
.LC23:
	.ascii	"connect(s1, (struct sockaddr *) &addr, addr_len) =="
	.ascii	" -1\000"
	.align	2
.LC24:
	.ascii	"errno == ECONNREFUSED\000"
	.align	2
.LC25:
	.ascii	"/unixsocket\000"
	.align	2
.LC26:
	.ascii	"errno == EADDRINUSE\000"
	.align	2
.LC27:
	.ascii	"/server_socket\000"
	.align	2
.LC28:
	.ascii	"bind(s1, (struct sockaddr *) &addr, addr_len) == 0\000"
	.align	2
.LC29:
	.ascii	"stat(SERVER_SOCKET_PATH, &s) == 0\000"
	.align	2
.LC30:
	.ascii	"(s.st_mode & S_IFMT) == S_IFSOCK\000"
	.align	2
.LC31:
	.ascii	"(bind(s1, (struct sockaddr *) &addr, addr_len) == -"
	.ascii	"1) && (errno == EINVAL)\000"
	.align	2
.LC32:
	.ascii	"s2 >= 0\000"
	.align	2
.LC33:
	.ascii	"bind(s2, (struct sockaddr *) &addr, addr_len) == -1"
	.ascii	"\000"
	.align	2
.LC34:
	.ascii	"connect(s2, (struct sockaddr *) &addr, addr_len) =="
	.ascii	" -1\000"
	.align	2
.LC35:
	.ascii	"accept(s1, (struct sockaddr *) &addr, &addr_len) =="
	.ascii	" -1\000"
	.align	2
.LC36:
	.ascii	"listen(s1, 1) == 0\000"
	.align	2
.LC37:
	.ascii	"pthread_create(&pt, NULL, uds_stream_server, (void "
	.ascii	"*)(long) s1) == 0\000"
	.align	2
.LC38:
	.ascii	"connect(s2, (struct sockaddr *) &addr, addr_len) =="
	.ascii	" 0\000"
	.align	2
.LC39:
	.ascii	"errno == EISCONN\000"
	.align	2
.LC40:
	.ascii	"send(s2, writeBuf + i, 1, 0) == 1\000"
	.align	2
.LC41:
	.ascii	"sendmsg(s2, &msg, 0) == 0\000"
	.align	2
.LC42:
	.ascii	"sendmsg(s2, &msg, 0) == LARGEBUF_SIZE\000"
	.align	2
.LC43:
	.ascii	"pthread_join(pt, NULL) == 0\000"
	.align	2
.LC44:
	.ascii	"recv(s2, writeBuf, 1, 0) == 0\000"
	.align	2
.LC45:
	.ascii	"(send(s2, writeBuf, 1, 0) == -1) && (errno == EPIPE"
	.ascii	")\000"
	.align	2
.LC46:
	.ascii	"close(s1) == 0\000"
	.align	2
.LC47:
	.ascii	"close(s2) == 0\000"
	.align	2
.LC48:
	.ascii	"unlink(SERVER_SOCKET_PATH) == 0\000"
	.align	2
.LC49:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_stream_test, %function
uds_stream_test:
	@ args = 0, pretend = 0, frame = 8528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8512
	sub	sp, sp, #20
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #110
	str	r3, [r2, #-332]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [r4, #-312]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	cmp	r3, #0
	bge	.L33
	mov	r3, #91
	ldr	r2, .L83+4
	ldr	r1, .L83+8
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L33:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #1
	strh	r2, [r3, #-116]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-332]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L34
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L35
.L34:
	mov	r3, #94
	ldr	r2, .L83+4
	ldr	r1, .L83+16
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L35:
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	beq	.L36
	mov	r3, #95
	ldr	r2, .L83+4
	ldr	r1, .L83+20
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L36:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	beq	.L37
	mov	r3, #96
	ldr	r2, .L83+4
	ldr	r1, .L83+24
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L37:
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, #2
	ldr	r2, .L83+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #20
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	beq	.L38
	mov	r3, #99
	ldr	r2, .L83+4
	ldr	r1, .L83+32
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L38:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L39
	mov	r3, #100
	ldr	r2, .L83+4
	ldr	r1, .L83+36
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L39:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L40
	mov	r3, #101
	ldr	r2, .L83+4
	ldr	r1, .L83+40
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L40:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #111
	beq	.L41
	mov	r3, #102
	ldr	r2, .L83+4
	ldr	r1, .L83+44
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L41:
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, #2
	ldr	r2, .L83+48
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	beq	.L42
	mov	r3, #105
	ldr	r2, .L83+4
	ldr	r1, .L83+32
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L42:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #98
	beq	.L43
	mov	r3, #106
	ldr	r2, .L83+4
	ldr	r1, .L83+52
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L43:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L44
	mov	r3, #107
	ldr	r2, .L83+4
	ldr	r1, .L83+40
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L44:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #111
	beq	.L45
	mov	r3, #108
	ldr	r2, .L83+4
	ldr	r1, .L83+44
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L45:
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, #2
	ldr	r2, .L83+56
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r3, #111
	ldr	r2, .L83+4
	ldr	r1, .L83+60
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L46:
	sub	r3, fp, #8448
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L83+56
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	mov	r3, #112
	ldr	r2, .L83+4
	ldr	r1, .L83+64
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L47:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	and	r3, r3, #61440
	cmp	r3, #49152
	beq	.L48
	mov	r3, #113
	ldr	r2, .L83+4
	ldr	r1, .L83+68
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L48:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L49
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	beq	.L50
.L49:
	mov	r3, #114
	ldr	r2, .L83+4
	ldr	r1, .L83+72
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L50:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [r4, #-308]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-308]
	cmp	r3, #0
	bge	.L51
	mov	r3, #118
	ldr	r2, .L83+4
	ldr	r1, .L83+76
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L51:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	beq	.L52
	mov	r3, #119
	ldr	r2, .L83+4
	ldr	r1, .L83+80
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L52:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #98
	beq	.L53
	mov	r3, #120
	ldr	r2, .L83+4
	ldr	r1, .L83+52
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L53:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L54
	mov	r3, #121
	ldr	r2, .L83+4
	ldr	r1, .L83+84
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L54:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #111
	beq	.L55
	mov	r3, #122
	ldr	r2, .L83+4
	ldr	r1, .L83+44
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L55:
	sub	r2, fp, #8512
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-312]
	bl	accept
	mov	r3, r0
	cmn	r3, #1
	beq	.L56
	mov	r3, #124
	ldr	r2, .L83+4
	ldr	r1, .L83+88
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L56:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	beq	.L57
	mov	r3, #125
	ldr	r2, .L83+4
	ldr	r1, .L83+24
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L57:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #1
	ldr	r0, [r3, #-312]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	mov	r3, #127
	ldr	r2, .L83+4
	ldr	r1, .L83+92
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L58:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	sub	r0, fp, #8512
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r2, .L83+96
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	mov	r3, #128
	ldr	r2, .L83+4
	ldr	r1, .L83+100
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L59:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	mov	r3, #131
	ldr	r2, .L83+4
	ldr	r1, .L83+104
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L60:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L61
	mov	r3, #132
	ldr	r2, .L83+4
	ldr	r1, .L83+84
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L61:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #106
	beq	.L62
	mov	r3, #133
	ldr	r2, .L83+4
	ldr	r1, .L83+108
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L62:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-320]
	b	.L63
.L65:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	add	r3, r1, r3
	sub	r3, r3, #4
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-320]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r1, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [r0, #-308]
	bl	send
	mov	r3, r0
	cmp	r3, #1
	beq	.L64
	mov	r3, #137
	ldr	r2, .L83+4
	ldr	r1, .L83+112
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L64:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	add	r3, r3, #1
	str	r3, [r2, #-320]
.L63:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	cmp	r3, #8192
	blt	.L65
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-324]
.L67:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-324]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r1, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-324]
	rsb	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-308]
	bl	send
	str	r0, [r4, #-304]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-304]
	cmp	r3, #0
	bgt	.L66
	mov	r3, #142
	ldr	r2, .L83+4
	ldr	r1, .L83+116
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L66:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-324]
	ldr	r3, [r3, #-304]
	add	r3, r2, r3
	str	r3, [r1, #-324]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-324]
	cmp	r3, #8192
	blt	.L67
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-316]
	b	.L68
.L69:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	lsl	r2, r3, #10
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r2, r3, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #-180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1024
	str	r2, [r3, #-176]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3, #-180]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	and	r1, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-176]
	mov	r2, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	add	r3, r3, #1
	str	r3, [r2, #-316]
.L68:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	cmp	r3, #7
	ble	.L69
	sub	r3, fp, #8448
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r2, #28
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #52
	str	r3, [r2, #-292]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	sub	r3, fp, #8448
	sub	r3, r3, #12
	sub	r3, r3, #44
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	sendmsg
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	mov	r3, #154
	ldr	r2, .L83+4
	ldr	r1, .L83+120
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L70:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #8
	str	r3, [r2, #-288]
	sub	r3, fp, #8448
	sub	r3, r3, #12
	sub	r3, r3, #44
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	sendmsg
	mov	r3, r0
	cmp	r3, #8192
	beq	.L71
	mov	r3, #156
	ldr	r2, .L83+4
	ldr	r1, .L83+124
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L71:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-328]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	mov	r3, #158
	ldr	r2, .L83+4
	ldr	r1, .L83+128
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L72:
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [r0, #-308]
	bl	recv
	mov	r3, r0
	cmp	r3, #0
	beq	.L73
	mov	r3, #160
	ldr	r2, .L83+4
	ldr	r1, .L83+132
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L73:
	sub	r1, fp, #8192
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [r0, #-308]
	bl	send
	mov	r3, r0
	cmn	r3, #1
	bne	.L74
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #32
	beq	.L75
.L74:
	mov	r3, #161
	ldr	r2, .L83+4
	ldr	r1, .L83+136
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L75:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-312]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	mov	r3, #163
	ldr	r2, .L83+4
	ldr	r1, .L83+140
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L76:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-332]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-308]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L77
	mov	r3, #164
	ldr	r2, .L83+4
	ldr	r1, .L83+84
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L77:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #111
	beq	.L78
	mov	r3, #165
	ldr	r2, .L83+4
	ldr	r1, .L83+44
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L78:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-308]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
	mov	r3, #167
	ldr	r2, .L83+4
	ldr	r1, .L83+144
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L79:
	ldr	r0, .L83+56
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	mov	r3, #168
	ldr	r2, .L83+4
	ldr	r1, .L83+148
	ldr	r0, .L83+12
	bl	printf
	mov	r0, #1
	bl	exit
.L82:
	nop
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC49
	.word	.LC0
	.word	.LC16
	.word	.LC2
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	uds_stream_server
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC7
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.size	uds_stream_test, .-uds_stream_test
	.section	.rodata
	.align	2
.LC50:
	.ascii	"addr_len > sizeof(addr.sun_family)\000"
	.align	2
.LC51:
	.ascii	"addr_len <= sizeof(addr)\000"
	.align	2
.LC52:
	.ascii	"/client_socket\000"
	.align	2
.LC53:
	.ascii	"!strcmp(addr.sun_path, CLIENT_SOCKET_PATH)\000"
	.align	2
.LC54:
	.ascii	"recv(client_fd, readBuf, SMALLBUF_SIZE / 2, 0) == S"
	.ascii	"MALLBUF_SIZE / 2\000"
	.align	2
.LC55:
	.ascii	"readBuf[i] == i\000"
	.align	2
.LC56:
	.ascii	"recv(client_fd, readBuf, SMALLBUF_SIZE, 0) == 1\000"
	.align	2
.LC57:
	.ascii	"readBuf[0] == 0\000"
	.align	2
.LC58:
	.ascii	"recv(client_fd, readBuf, SMALLBUF_SIZE, 0) == 0\000"
	.align	2
.LC59:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_dgram_server, %function
uds_dgram_server:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-136]
	mov	r3, #110
	str	r3, [fp, #-144]
	sub	r2, fp, #144
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	accept
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L86
	mov	r3, #180
	ldr	r2, .L101+4
	ldr	r1, .L101+8
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L86:
	ldr	r3, [fp, #-144]
	cmp	r3, #2
	bhi	.L87
	mov	r3, #181
	ldr	r2, .L101+4
	ldr	r1, .L101+16
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L87:
	ldr	r3, [fp, #-144]
	cmp	r3, #110
	bls	.L88
	mov	r3, #182
	ldr	r2, .L101+4
	ldr	r1, .L101+20
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L88:
	ldrh	r3, [fp, #-128]
	cmp	r3, #1
	beq	.L89
	mov	r3, #183
	ldr	r2, .L101+4
	ldr	r1, .L101+24
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L89:
	sub	r3, fp, #128
	add	r3, r3, #2
	ldr	r1, .L101+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	mov	r3, #184
	ldr	r2, .L101+4
	ldr	r1, .L101+32
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L90:
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-132]
	bl	recv
	mov	r3, r0
	cmp	r3, #4
	beq	.L91
	mov	r3, #186
	ldr	r2, .L101+4
	ldr	r1, .L101+36
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L91:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L92
.L94:
	sub	r2, fp, #16
	ldr	r3, [fp, #-140]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-140]
	cmp	r3, r2
	beq	.L93
	mov	r3, #189
	ldr	r2, .L101+4
	ldr	r1, .L101+40
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L93:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L92:
	ldr	r3, [fp, #-140]
	cmp	r3, #3
	ble	.L94
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #8
	ldr	r0, [fp, #-132]
	bl	recv
	mov	r3, r0
	cmp	r3, #1
	beq	.L95
	mov	r3, #191
	ldr	r2, .L101+4
	ldr	r1, .L101+44
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L95:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L96
	mov	r3, #192
	ldr	r2, .L101+4
	ldr	r1, .L101+48
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L96:
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #8
	ldr	r0, [fp, #-132]
	bl	recv
	mov	r3, r0
	cmp	r3, #0
	beq	.L97
	mov	r3, #195
	ldr	r2, .L101+4
	ldr	r1, .L101+52
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L97:
	ldr	r0, [fp, #-132]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L98
	mov	r3, #197
	ldr	r2, .L101+4
	ldr	r1, .L101+56
	ldr	r0, .L101+12
	bl	printf
	mov	r0, #1
	bl	exit
.L98:
	mov	r3, #0
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC59
	.word	.LC0
	.word	.LC4
	.word	.LC2
	.word	.LC50
	.word	.LC51
	.word	.LC6
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC14
	.size	uds_dgram_server, .-uds_dgram_server
	.section	.rodata
	.align	2
.LC60:
	.ascii	"bind(s1, (struct sockaddr *) &server_addr, addr_len"
	.ascii	") == 0\000"
	.align	2
.LC61:
	.ascii	"bind(s2, (struct sockaddr *) &client_addr, addr_len"
	.ascii	") == 0\000"
	.align	2
.LC62:
	.ascii	"pthread_create(&pt, NULL, uds_dgram_server, (void *"
	.ascii	")(long) s1) == 0\000"
	.align	2
.LC63:
	.ascii	"connect(s2, (struct sockaddr *) &server_addr, addr_"
	.ascii	"len) == 0\000"
	.align	2
.LC64:
	.ascii	"send(s2, writeBuf, SMALLBUF_SIZE, 0) == SMALLBUF_SI"
	.ascii	"ZE\000"
	.align	2
.LC65:
	.ascii	"send(s2, writeBuf, 1, 0) == 1\000"
	.align	2
.LC66:
	.ascii	"send(s2, writeBuf, 0, 0) == 0\000"
	.align	2
.LC67:
	.ascii	"unlink(CLIENT_SOCKET_PATH) == 0\000"
	.align	2
.LC68:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_dgram_test, %function
uds_dgram_test:
	@ args = 0, pretend = 0, frame = 256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	ldr	r3, .L123
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #110
	str	r3, [fp, #-252]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-248]
	ldr	r3, [fp, #-248]
	cmp	r3, #0
	bge	.L104
	mov	r3, #210
	ldr	r2, .L123+4
	ldr	r1, .L123+8
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L104:
	mov	r3, #1
	strh	r3, [fp, #-128]	@ movhi
	ldrh	r3, [fp, #-128]
	strh	r3, [fp, #-240]	@ movhi
	sub	r3, fp, #240
	add	r3, r3, #2
	ldr	r2, .L123+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #128
	add	r3, r3, #2
	ldr	r2, .L123+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #128
	ldr	r2, [fp, #-252]
	mov	r1, r3
	ldr	r0, [fp, #-248]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L105
	mov	r3, #214
	ldr	r2, .L123+4
	ldr	r1, .L123+24
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L105:
	mov	r1, #1
	ldr	r0, [fp, #-248]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L106
	mov	r3, #215
	ldr	r2, .L123+4
	ldr	r1, .L123+28
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L106:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	bge	.L107
	mov	r3, #218
	ldr	r2, .L123+4
	ldr	r1, .L123+32
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L107:
	sub	r3, fp, #240
	ldr	r2, [fp, #-252]
	mov	r1, r3
	ldr	r0, [fp, #-244]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L108
	mov	r3, #219
	ldr	r2, .L123+4
	ldr	r1, .L123+36
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L108:
	ldr	r3, [fp, #-248]
	sub	r0, fp, #260
	ldr	r2, .L123+40
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L109
	mov	r3, #221
	ldr	r2, .L123+4
	ldr	r1, .L123+44
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L109:
	sub	r3, fp, #128
	ldr	r2, [fp, #-252]
	mov	r1, r3
	ldr	r0, [fp, #-244]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L110
	mov	r3, #223
	ldr	r2, .L123+4
	ldr	r1, .L123+48
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L110:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L111
.L112:
	ldr	r3, [fp, #-256]
	and	r1, r3, #255
	sub	r2, fp, #16
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L111:
	ldr	r3, [fp, #-256]
	cmp	r3, #7
	ble	.L112
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #8
	ldr	r0, [fp, #-244]
	bl	send
	mov	r3, r0
	cmp	r3, #8
	beq	.L113
	mov	r3, #227
	ldr	r2, .L123+4
	ldr	r1, .L123+52
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L113:
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-244]
	bl	send
	mov	r3, r0
	cmp	r3, #1
	beq	.L114
	mov	r3, #228
	ldr	r2, .L123+4
	ldr	r1, .L123+56
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L114:
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-244]
	bl	send
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	mov	r3, #231
	ldr	r2, .L123+4
	ldr	r1, .L123+60
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L115:
	ldr	r3, [fp, #-260]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L116
	mov	r3, #233
	ldr	r2, .L123+4
	ldr	r1, .L123+64
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L116:
	ldr	r0, [fp, #-248]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L117
	mov	r3, #234
	ldr	r2, .L123+4
	ldr	r1, .L123+68
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L117:
	ldr	r0, [fp, #-244]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	mov	r3, #235
	ldr	r2, .L123+4
	ldr	r1, .L123+72
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L118:
	ldr	r0, .L123+20
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	beq	.L119
	mov	r3, #236
	ldr	r2, .L123+4
	ldr	r1, .L123+76
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L119:
	ldr	r0, .L123+16
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	mov	r3, #237
	ldr	r2, .L123+4
	ldr	r1, .L123+80
	ldr	r0, .L123+12
	bl	printf
	mov	r0, #1
	bl	exit
.L122:
	nop
	ldr	r3, .L123
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L121
	bl	__stack_chk_fail
.L121:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	.LC68
	.word	.LC0
	.word	.LC16
	.word	.LC2
	.word	.LC52
	.word	.LC27
	.word	.LC60
	.word	.LC36
	.word	.LC32
	.word	.LC61
	.word	uds_dgram_server
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC43
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC67
	.size	uds_dgram_test, .-uds_dgram_test
	.section	.rodata
	.align	2
.LC69:
	.ascii	"errno == EAGAIN\000"
	.align	2
.LC70:
	.ascii	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLIN)"
	.ascii	"\000"
	.align	2
.LC71:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_nonblocking_server, %function
uds_nonblocking_server:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	ldr	r3, .L136
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-132]
	mov	r3, #110
	str	r3, [fp, #-140]
	sub	r2, fp, #140
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	accept
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L126
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L127
	mov	r3, #249
	ldr	r2, .L136+4
	ldr	r1, .L136+8
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L127:
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-128]
	mov	r3, #5
	strh	r3, [fp, #-124]	@ movhi
	sub	r3, fp, #128
	mvn	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	poll
	mov	r3, r0
	cmp	r3, #1
	bne	.L128
	ldrsh	r3, [fp, #-122]
	cmp	r3, #1
	beq	.L129
.L128:
	mov	r3, #253
	ldr	r2, .L136+4
	ldr	r1, .L136+16
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L129:
	sub	r2, fp, #140
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	accept
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L126
	mov	r3, #255
	ldr	r2, .L136+4
	ldr	r1, .L136+20
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L126:
	ldr	r3, [fp, #-140]
	cmp	r3, #2
	beq	.L131
	ldr	r3, .L136+24
	ldr	r2, .L136+4
	ldr	r1, .L136+28
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L131:
	ldrh	r3, [fp, #-120]
	cmp	r3, #1
	beq	.L132
	ldr	r3, .L136+32
	ldr	r2, .L136+4
	ldr	r1, .L136+36
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L132:
	ldr	r0, [fp, #-136]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L133
	ldr	r3, .L136+40
	ldr	r2, .L136+4
	ldr	r1, .L136+44
	ldr	r0, .L136+12
	bl	printf
	mov	r0, #1
	bl	exit
.L133:
	mov	r3, #0
	ldr	r2, .L136
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L135
	bl	__stack_chk_fail
.L135:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC71
	.word	.LC0
	.word	.LC69
	.word	.LC2
	.word	.LC70
	.word	.LC4
	.word	257
	.word	.LC5
	.word	258
	.word	.LC6
	.word	259
	.word	.LC14
	.size	uds_nonblocking_server, .-uds_nonblocking_server
	.section	.rodata
	.align	2
.LC72:
	.ascii	"errno == EINPROGRESS\000"
	.align	2
.LC73:
	.ascii	"errno == EALREADY\000"
	.align	2
.LC74:
	.ascii	"pthread_create(&pt, NULL, uds_nonblocking_server, ("
	.ascii	"void *)(long) s1) == 0\000"
	.align	2
.LC75:
	.ascii	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLOUT"
	.ascii	")\000"
	.align	2
.LC76:
	.ascii	"(poll(&fds, 1, -1) == 1) && (fds.revents == POLLHUP"
	.ascii	")\000"
	.align	2
.LC77:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uds_nonblocking_test, %function
uds_nonblocking_test:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L164
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #110
	str	r3, [fp, #-140]
	mov	r2, #0
	ldr	r1, .L164+4
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L139
	mov	r3, #272
	ldr	r2, .L164+8
	ldr	r1, .L164+12
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L139:
	mov	r3, #1
	strh	r3, [fp, #-120]	@ movhi
	sub	r3, fp, #120
	add	r3, r3, #2
	ldr	r2, .L164+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #120
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L140
	ldr	r3, .L164+24
	ldr	r2, .L164+8
	ldr	r1, .L164+28
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L140:
	mov	r1, #1
	ldr	r0, [fp, #-136]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L141
	mov	r3, #276
	ldr	r2, .L164+8
	ldr	r1, .L164+32
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L141:
	mov	r2, #0
	ldr	r1, .L164+4
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L142
	ldr	r3, .L164+36
	ldr	r2, .L164+8
	ldr	r1, .L164+40
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L142:
	sub	r3, fp, #120
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L143
	mov	r3, #280
	ldr	r2, .L164+8
	ldr	r1, .L164+44
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L143:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #115
	beq	.L144
	ldr	r3, .L164+48
	ldr	r2, .L164+8
	ldr	r1, .L164+52
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L144:
	sub	r3, fp, #120
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	beq	.L145
	ldr	r3, .L164+56
	ldr	r2, .L164+8
	ldr	r1, .L164+44
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L145:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #114
	beq	.L146
	ldr	r3, .L164+60
	ldr	r2, .L164+8
	ldr	r1, .L164+64
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L146:
	ldr	r3, [fp, #-136]
	sub	r0, fp, #144
	ldr	r2, .L164+68
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L147
	ldr	r3, .L164+72
	ldr	r2, .L164+8
	ldr	r1, .L164+76
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L147:
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-128]
	mov	r3, #5
	strh	r3, [fp, #-124]	@ movhi
	sub	r3, fp, #128
	mvn	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	poll
	mov	r3, r0
	cmp	r3, #1
	bne	.L148
	ldrsh	r3, [fp, #-122]
	cmp	r3, #4
	beq	.L149
.L148:
	ldr	r3, .L164+80
	ldr	r2, .L164+8
	ldr	r1, .L164+84
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L149:
	sub	r3, fp, #120
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L150
	ldr	r3, .L164+88
	ldr	r2, .L164+8
	ldr	r1, .L164+92
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L150:
	ldr	r3, [fp, #-144]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L151
	ldr	r3, .L164+96
	ldr	r2, .L164+8
	ldr	r1, .L164+100
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L151:
	ldr	r0, [fp, #-132]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L152
	mov	r3, #292
	ldr	r2, .L164+8
	ldr	r1, .L164+104
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L152:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L153
	ldr	r3, .L164+108
	ldr	r2, .L164+8
	ldr	r1, .L164+40
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L153:
	ldr	r3, [fp, #-136]
	sub	r0, fp, #144
	ldr	r2, .L164+68
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L154
	mov	r3, #296
	ldr	r2, .L164+8
	ldr	r1, .L164+76
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L154:
	ldr	r0, .L164+112
	bl	usleep
	sub	r3, fp, #120
	ldr	r2, [fp, #-140]
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L155
	ldr	r3, .L164+116
	ldr	r2, .L164+8
	ldr	r1, .L164+92
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L155:
	ldr	r3, [fp, #-144]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L156
	mov	r3, #300
	ldr	r2, .L164+8
	ldr	r1, .L164+100
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L156:
	ldr	r0, [fp, #-136]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L157
	ldr	r3, .L164+120
	ldr	r2, .L164+8
	ldr	r1, .L164+124
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L157:
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-128]
	sub	r3, fp, #128
	mvn	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	poll
	mov	r3, r0
	cmp	r3, #1
	bne	.L158
	ldrsh	r3, [fp, #-122]
	cmp	r3, #16
	beq	.L159
.L158:
	mov	r3, #304
	ldr	r2, .L164+8
	ldr	r1, .L164+128
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L159:
	ldr	r0, [fp, #-132]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	beq	.L160
	ldr	r3, .L164+132
	ldr	r2, .L164+8
	ldr	r1, .L164+104
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L160:
	ldr	r0, .L164+20
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	beq	.L163
	ldr	r3, .L164+136
	ldr	r2, .L164+8
	ldr	r1, .L164+140
	ldr	r0, .L164+16
	bl	printf
	mov	r0, #1
	bl	exit
.L163:
	nop
	ldr	r3, .L164
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L162
	bl	__stack_chk_fail
.L162:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L165:
	.align	2
.L164:
	.word	.LC77
	.word	2049
	.word	.LC0
	.word	.LC16
	.word	.LC2
	.word	.LC27
	.word	275
	.word	.LC28
	.word	.LC36
	.word	279
	.word	.LC32
	.word	.LC34
	.word	281
	.word	.LC72
	.word	282
	.word	283
	.word	.LC73
	.word	uds_nonblocking_server
	.word	285
	.word	.LC74
	.word	289
	.word	.LC75
	.word	290
	.word	.LC38
	.word	291
	.word	.LC43
	.word	.LC47
	.word	295
	.word	100000
	.word	299
	.word	302
	.word	.LC46
	.word	.LC76
	.word	305
	.word	306
	.word	.LC48
	.size	uds_nonblocking_test, .-uds_nonblocking_test
	.section	.rodata
	.align	2
.LC78:
	.ascii	"Unix domain socket tests OK\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L168
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	bl	uds_stream_test
	bl	uds_dgram_test
	bl	uds_nonblocking_test
	ldr	r0, .L168+4
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L169:
	.align	2
.L168:
	.word	stdout
	.word	.LC78
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
