	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uds_addr
_uds_addr:                              ## @uds_addr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r15d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	cmpb	$47, (%rbx)
	jne	LBB0_9
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_7
LBB0_2:
	addq	$6, %rbx
	jmp	LBB0_7
LBB0_4:
	addq	$7, %rbx
LBB0_7:
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	xorl	%r15d, %r15d
	cmpl	$4, %eax
	jb	LBB0_9
## %bb.8:
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uds://"

L_.str.1:                               ## @.str.1
	.asciz	"unix://"

L_.str.2:                               ## @.str.2
	.asciz	"://"

	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.no_dead_strip	_uds_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uds_addr
_uds_addr:                              ; @uds_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncasecmp
	cbz	x0, LBB0_7
; %bb.3:
	ldrb	w8, [x19]
	cmp	w8, #47
	b.ne	LBB0_5
; %bb.4:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_8
LBB0_5:
	mov	w0, #-1
	b	LBB0_9
LBB0_6:
	add	x19, x19, #6
	b	LBB0_8
LBB0_7:
	add	x19, x19, #7
LBB0_8:
Lloh6:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	w0, [x20, #4]
	mov	x1, x19
	mov	w2, #4
	bl	_strlcpy
Lloh9:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, #3
	csel	w0, w8, wzr, hi
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uds://"

l_.str.1:                               ; @.str.1
	.asciz	"unix://"

l_.str.2:                               ; @.str.2
	.asciz	"://"

	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.no_dead_strip	_uds_addr
.subsections_via_symbols
