	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_link_match                ## -- Begin function amfs_link_match
	.p2align	4, 0x90
_amfs_link_match:                       ## @amfs_link_match
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	cmpb	$47, (%rbx)
	jne	LBB0_6
## %bb.2:
	movq	%rdi, %r14
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_str3cat
	movq	%rax, %rbx
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpb	$0, (%rax)
	jne	LBB0_5
LBB0_4:
	movq	(%r14), %rdi
	callq	_xstrdup
	movq	%rax, 8(%r14)
LBB0_5:
	movq	(%r14), %rdi
	callq	_XFREE
	movq	%rbx, (%r14)
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_7:
	movq	_XLOG_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_USER,4,2                  ## @XLOG_USER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link: no fs specified"

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

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amfs_link_match                ; -- Begin function amfs_link_match
	.p2align	2
_amfs_link_match:                       ; @amfs_link_match
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_7
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #47
	b.ne	LBB0_6
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh2:
	adrp	x3, l_.str.2@PAGE
Lloh3:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x2, x19
	bl	_str3cat
	mov	x19, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_5
LBB0_4:
	ldr	x0, [x20]
	bl	_xstrdup
	str	x0, [x20, #8]
LBB0_5:
	ldr	x0, [x20]
	bl	_XFREE
	str	x19, [x20]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xstrdup
LBB0_7:
Lloh4:
	adrp	x8, _XLOG_USER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XLOG_USER@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_USER,4,2                  ; @XLOG_USER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link: no fs specified"

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

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
