	.file	"extr_channels.c_connect_local_xsocket_path.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"socket: %.100s"
.LC1:
	.string	"connect %.100s: %.100s"
	.text
	.p2align 4
	.type	connect_local_xsocket_path, @function
connect_local_xsocket_path:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	mov	edi, DWORD PTR AF_UNIX[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	socket@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L10
.L2:
	mov	r13, rsp
	xor	esi, esi
	mov	edx, 8
	mov	rdi, r13
	call	memset@PLT
	mov	edi, DWORD PTR [rsp]
	mov	edx, 4
	mov	rsi, rbp
	mov	eax, DWORD PTR AF_UNIX[rip]
	mov	DWORD PTR 4[rsp], eax
	call	strlcpy@PLT
	mov	edx, 8
	mov	rsi, r13
	mov	edi, r12d
	call	connect@PLT
	test	rax, rax
	jne	.L11
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	lea	rdi, .LC0[rip]
	mov	rsi, rax
	xor	eax, eax
	call	error@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, r12d
	mov	r12d, -1
	call	close@PLT
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	movsx	rsi, DWORD PTR [rsp]
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	xor	eax, eax
	call	error@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	connect_local_xsocket_path, .-connect_local_xsocket_path
	.comm	errno,4,4
	.comm	SOCK_STREAM,4,4
	.comm	AF_UNIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_channels.c_connect_local_xsocket_path.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"socket: %.100s\000"
	.align	2
.LC1:
	.ascii	"connect %.100s: %.100s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	connect_local_xsocket_path, %function
connect_local_xsocket_path:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L13
	ldr	r6, .L13+4
	ldr	r1, [r3]
	ldr	r3, .L13+8
	sub	sp, sp, #16
	mov	r5, r0
	mov	r2, #0
	ldr	r0, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	socket
	subs	r4, r0, #0
	blt	.L10
.L2:
	mov	r0, #0
	ldr	r3, [r6]
	mov	r1, r5
	mov	r2, #4
	stmib	sp, {r0, r3}
	bl	strlcpy
	mov	r2, #8
	mov	r0, r4
	add	r1, sp, #4
	bl	connect
	cmp	r0, #0
	bne	.L11
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r0
	ldr	r0, .L13+16
	bl	error
	b	.L2
.L11:
	mov	r0, r4
	bl	close
	ldr	r3, .L13+12
	ldr	r4, [sp, #4]
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L13+20
	bl	error
	mvn	r4, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	SOCK_STREAM
	.word	AF_UNIX
	.word	.LC2
	.word	errno
	.word	.LC0
	.word	.LC1
	.size	connect_local_xsocket_path, .-connect_local_xsocket_path
	.comm	errno,4,4
	.comm	SOCK_STREAM,4,4
	.comm	AF_UNIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
