	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr2_dst_try_uds_connect
_tr2_dst_try_uds_connect:               ## @tr2_dst_try_uds_connect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_AF_UNIX@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%edx, %edx
	callq	_socket
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movl	(%r12), %eax
	movl	%eax, -36(%rbp)
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-40(%rbp), %rsi
	movl	%ebx, %edi
	movl	$8, %edx
	callq	_connect
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	%ebx, (%r14)
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_close
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_tr2_dst_try_uds_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr2_dst_try_uds_connect
_tr2_dst_try_uds_connect:               ; @tr2_dst_try_uds_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x22, _AF_UNIX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AF_UNIX@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w2, #0
	bl	_socket
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x22]
	str	w8, [sp, #12]
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #8
	bl	_connect
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	mov	w21, #0
	str	w20, [x19]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_close
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_tr2_dst_try_uds_connect
.subsections_via_symbols
