	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmount_automounted
_unmount_automounted:                   ## @unmount_automounted
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_MNT_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_getmntinfo
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
	movl	%ebx, %eax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rbx
	leaq	L_.str.2(%rip), %r13
	movq	_MNT_AUTOMOUNTED@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rdi,%r15), %esi
	leaq	L_.str.3(%rip), %rdi
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_log_debugx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$12, %r15
	cmpq	%r15, %rbx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	8(%rax,%r15), %edi
	movq	%r13, %rsi
	callq	_strcmp
	movq	-48(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %eax
	testl	%eax, (%rdi,%r15)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r15, %rdi
	movl	%r14d, %esi
	callq	_unmount_by_statfs
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rdi,%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_log_err
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debugx
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MNT_WAIT,4,2                   ## @MNT_WAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getmntinfo"

L_.str.1:                               ## @.str.1
	.asciz	"unmounting automounted filesystems"

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

L_.str.3:                               ## @.str.3
	.asciz	"skipping %s, filesystem type is autofs"

	.comm	_MNT_AUTOMOUNTED,4,2            ## @MNT_AUTOMOUNTED
L_.str.4:                               ## @.str.4
	.asciz	"skipping %s, not automounted"

	.no_dead_strip	_unmount_automounted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmount_automounted
_unmount_automounted:                   ; @unmount_automounted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _MNT_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MNT_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_getmntinfo
	cmp	w0, #0
	b.le	LBB0_9
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_debugx
	mov	x23, #0
	mov	w8, #12
	umull	x24, w20, w8
Lloh5:
	adrp	x20, l_.str.2@PAGE
Lloh6:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh7:
	adrp	x21, l_.str.3@PAGE
Lloh8:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh9:
	adrp	x25, _MNT_AUTOMOUNTED@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MNT_AUTOMOUNTED@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, x23
	ldr	w8, [x8, #4]
	str	x8, [sp]
	mov	x0, x21
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_log_debugx
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #12
	cmp	x24, x23
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x8, x8, x23
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strcmp
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x8, x23
	ldr	w8, [x0]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x19
	bl	_unmount_by_statfs
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0, #4]
	str	x8, [sp]
	mov	x0, x22
	b	LBB0_3
LBB0_9:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_log_err
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_debugx
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MNT_WAIT,4,2                   ; @MNT_WAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getmntinfo"

l_.str.1:                               ; @.str.1
	.asciz	"unmounting automounted filesystems"

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

l_.str.3:                               ; @.str.3
	.asciz	"skipping %s, filesystem type is autofs"

	.comm	_MNT_AUTOMOUNTED,4,2            ; @MNT_AUTOMOUNTED
l_.str.4:                               ; @.str.4
	.asciz	"skipping %s, not automounted"

	.no_dead_strip	_unmount_automounted
.subsections_via_symbols
