	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whiteout
_whiteout:                              ## @whiteout
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rdx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$5242880, %ecx                  ## imm = 0x500000
	xorl	%r8d, %r8d
	callq	_ffs_fstest_newfs
	movl	%eax, %edi
	callq	_RL
	movq	-56(%rbp), %rsi
	leaq	L_.str.1(%rip), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_ffs_fstest_mount
	movl	%eax, %edi
	callq	_RL
	movq	%r12, %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	callq	_RL
	movq	_TDIR@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_rump_sys_mkdir
	movl	%eax, %edi
	callq	_RL
	movq	_TDFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_rump_sys_mkdir
	movl	%eax, %edi
	callq	_RL
	leaq	L_.str.2(%rip), %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	callq	_RL
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ffs_fstest_unmount
	movl	%eax, %edi
	callq	_RL
	movq	-56(%rbp), %rsi
	movq	_MNT_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_ffs_fstest_mount
	movl	%eax, %edi
	callq	_RL
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mountunion
	xorl	%eax, %eax
	callq	_FSTEST_ENTER
	movq	_ENOTEMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %edi
	callq	_rump_sys_rmdir
	xorl	%esi, %esi
	cmpl	$-1, %eax
	sete	%sil
	movl	%ebx, %edi
	callq	_ATF_REQUIRE_ERRNO
	movq	_TDFILE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rump_sys_rmdir
	movl	%eax, %edi
	callq	_RL
	movl	(%r13), %edi
	callq	_rump_sys_rmdir
	movl	%eax, %edi
	callq	_RL
	movq	_ENOENT@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	(%r14), %edi
	leaq	-72(%rbp), %r15
	movq	%r15, %rsi
	callq	_rump_sys_stat
	xorl	%esi, %esi
	cmpl	$-1, %eax
	sete	%sil
	movl	%ebx, %edi
	callq	_ATF_REQUIRE_ERRNO
	movl	(%r12), %ebx
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_rump_sys_stat
	xorl	%esi, %esi
	cmpl	$-1, %eax
	sete	%sil
	movl	%ebx, %edi
	callq	_ATF_REQUIRE_ERRNO
	movl	(%r13), %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_rump_sys_mkdir
	movl	%eax, %edi
	callq	_RL
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_rump_sys_stat
	movl	%eax, %edi
	callq	_RL
	movl	(%r12), %ebx
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_rump_sys_stat
	xorl	%esi, %esi
	cmpl	$-1, %eax
	sete	%sil
	movl	%ebx, %edi
	callq	_ATF_REQUIRE_ERRNO
	xorl	%eax, %eax
	callq	_FSTEST_EXIT
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_rump_sys_unmount
	movl	%eax, %edi
	callq	_RL
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"daimage"

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

	.comm	_TDIR,4,2                       ## @TDIR
	.comm	_TDFILE,4,2                     ## @TDFILE
L_.str.2:                               ## @.str.2
	.asciz	"/"

	.comm	_MNT_RDONLY,4,2                 ## @MNT_RDONLY
	.comm	_ENOTEMPTY,4,2                  ## @ENOTEMPTY
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_whiteout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whiteout
_whiteout:                              ; @whiteout
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	sub	x1, x29, #72
	mov	w3, #5242880
	mov	x4, #0
	bl	_ffs_fstest_newfs
	bl	_RL
	ldur	x1, [x29, #-72]
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	w3, #0
	bl	_ffs_fstest_mount
	bl	_RL
	mov	x0, x22
	bl	_rump_sys_chdir
	bl	_RL
Lloh12:
	adrp	x23, _TDIR@GOTPAGE
Lloh13:
	ldr	x23, [x23, _TDIR@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #511
	bl	_rump_sys_mkdir
	bl	_RL
Lloh14:
	adrp	x24, _TDFILE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _TDFILE@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #511
	bl	_rump_sys_mkdir
	bl	_RL
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_rump_sys_chdir
	bl	_RL
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_ffs_fstest_unmount
	bl	_RL
	ldur	x1, [x29, #-72]
Lloh18:
	adrp	x8, _MNT_RDONLY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MNT_RDONLY@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_ffs_fstest_mount
	bl	_RL
	mov	x0, x19
	mov	x1, x20
	bl	_mountunion
	bl	_FSTEST_ENTER
Lloh21:
	adrp	x8, _ENOTEMPTY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOTEMPTY@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	ldr	w0, [x23]
	bl	_rump_sys_rmdir
	cmn	w0, #1
	cset	w1, eq
	mov	x0, x20
	bl	_ATF_REQUIRE_ERRNO
	ldr	w0, [x24]
	bl	_rump_sys_rmdir
	bl	_RL
	ldr	w0, [x23]
	bl	_rump_sys_rmdir
	bl	_RL
Lloh24:
	adrp	x21, _ENOENT@GOTPAGE
Lloh25:
	ldr	x21, [x21, _ENOENT@GOTPAGEOFF]
	ldr	w20, [x21]
	ldr	w0, [x24]
	sub	x1, x29, #64
	bl	_rump_sys_stat
	cmn	w0, #1
	cset	w1, eq
	mov	x0, x20
	bl	_ATF_REQUIRE_ERRNO
	ldr	w20, [x21]
	ldr	w0, [x23]
	sub	x1, x29, #64
	bl	_rump_sys_stat
	cmn	w0, #1
	cset	w1, eq
	mov	x0, x20
	bl	_ATF_REQUIRE_ERRNO
	ldr	w0, [x23]
	mov	w1, #511
	bl	_rump_sys_mkdir
	bl	_RL
	ldr	w0, [x23]
	sub	x1, x29, #64
	bl	_rump_sys_stat
	bl	_RL
	ldr	w20, [x21]
	ldr	w0, [x24]
	sub	x1, x29, #64
	bl	_rump_sys_stat
	cmn	w0, #1
	cset	w1, eq
	mov	x0, x20
	bl	_ATF_REQUIRE_ERRNO
	bl	_FSTEST_EXIT
	mov	x0, x19
	mov	w1, #0
	bl	_rump_sys_unmount
	bl	_RL
	ldur	x8, [x29, #-56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"daimage"

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

	.comm	_TDIR,4,2                       ; @TDIR
	.comm	_TDFILE,4,2                     ; @TDFILE
l_.str.2:                               ; @.str.2
	.asciz	"/"

	.comm	_MNT_RDONLY,4,2                 ; @MNT_RDONLY
	.comm	_ENOTEMPTY,4,2                  ; @ENOTEMPTY
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_whiteout
.subsections_via_symbols
