	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_amfs_union_node
_create_amfs_union_node:                ## @create_amfs_union_node
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_STREQ
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.1:
	movl	$0, -20(%rbp)
	movq	_VLOOK_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_amfs_generic_lookup_child
	movq	%rax, %rdi
	movl	-20(%rbp), %eax
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	-20(%rbp), %rsi
	callq	_amfs_generic_mount_child
	movl	-20(%rbp), %eax
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_plog
	movl	-20(%rbp), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/defaults"

	.comm	_VLOOK_CREATE,4,2               ## @VLOOK_CREATE
	.comm	_errno,4,2                      ## @errno
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"unionfs: could not mount %s: %m"

	.no_dead_strip	_create_amfs_union_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_amfs_union_node
_create_amfs_union_node:                ; @create_amfs_union_node
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_STREQ
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	str	wzr, [sp, #12]
Lloh2:
	adrp	x8, _VLOOK_CREATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VLOOK_CREATE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_amfs_generic_lookup_child
	mov	x8, x0
	ldr	w0, [sp, #12]
	cbz	x8, LBB0_5
; %bb.3:
	tbz	w0, #31, LBB0_5
; %bb.4:
	add	x1, sp, #12
	mov	x0, x8
	bl	_amfs_generic_mount_child
	ldr	w0, [sp, #12]
LBB0_5:
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
Lloh8:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_plog
	ldr	w0, [sp, #12]
LBB0_7:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/defaults"

	.comm	_VLOOK_CREATE,4,2               ; @VLOOK_CREATE
	.comm	_errno,4,2                      ; @errno
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"unionfs: could not mount %s: %m"

	.no_dead_strip	_create_amfs_union_node
.subsections_via_symbols
