	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amfs_program_match
_amfs_program_match:                    ## @amfs_program_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
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.2:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_5
## %bb.7:
	cmpq	$0, 24(%rbx)
	jne	LBB0_9
## %bb.8:
	movq	_UNMOUNT_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_str3cat
	movq	%rax, 8(%rbx)
	movq	_XLOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_plog
	movq	(%rbx), %r14
	jmp	LBB0_9
LBB0_4:
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_5
LBB0_9:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_strchr
	leaq	1(%rax), %rdi
	testq	%rax, %rax
	cmoveq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_5:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	xorl	%eax, %eax
	callq	_plog
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"program: cannot specify both unmount and umount options"

L_.str.1:                               ## @.str.1
	.asciz	"program: must specify mount command"

	.comm	_UNMOUNT_PROGRAM,4,2            ## @UNMOUNT_PROGRAM
L_.str.2:                               ## @.str.2
	.asciz	" umount "

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"program: un/umount not specified; using default \"%s\""

	.no_dead_strip	_amfs_program_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amfs_program_match
_amfs_program_match:                    ; @amfs_program_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
	ldr	x20, [x19]
	cbz	x20, LBB0_8
; %bb.4:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _UNMOUNT_PROGRAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UNMOUNT_PROGRAM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x19, #16]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_str3cat
	str	x0, [x19, #8]
Lloh10:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_plog
	ldr	x20, [x19]
	b	LBB0_7
LBB0_6:
	ldr	x20, [x19]
	cbz	x20, LBB0_8
LBB0_7:
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	cmp	x0, #0
	csinc	x0, x20, x0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xstrdup
LBB0_8:
Lloh15:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_plog
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"program: cannot specify both unmount and umount options"

l_.str.1:                               ; @.str.1
	.asciz	"program: must specify mount command"

	.comm	_UNMOUNT_PROGRAM,4,2            ; @UNMOUNT_PROGRAM
l_.str.2:                               ; @.str.2
	.asciz	" umount "

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"program: un/umount not specified; using default \"%s\""

	.no_dead_strip	_amfs_program_match
.subsections_via_symbols
