	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_umountall                      ## -- Begin function umountall
	.p2align	4, 0x90
_umountall:                             ## @umountall
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getfsent
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	$1, _umountall.firstcall(%rip)
	jmp	LBB0_4
LBB0_2:
	cmpb	$0, _umountall.firstcall(%rip)
	jne	LBB0_15
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	leaq	L_.str.1(%rip), %r15
	movq	_FSTAB_RW@GOTPCREL(%rip), %r14
	leaq	-56(%rbp), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_getfsent
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r13), %edi
	movq	(%r14), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r13), %edi
	movq	_FSTAB_RO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r13), %edi
	movq	_FSTAB_RQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r13), %edi
	movq	%r12, %rsi
	callq	_getvfsbyname
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r13), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_checkvfsname
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:
	movl	(%r13), %edi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_strcpy
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_umountall
	movl	%eax, %r14d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_checkname
	testq	%rax, %rax
	setne	%al
	testl	%r14d, %r14d
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %ebx
	movq	%r15, %rdi
	callq	_free
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_umountall.firstcall,1,2 ## @umountall.firstcall
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fstab reading failure"

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

	.comm	_FSTAB_RW,8,3                   ## @FSTAB_RW
	.comm	_FSTAB_RO,8,3                   ## @FSTAB_RO
	.comm	_FSTAB_RQ,8,3                   ## @FSTAB_RQ
L_.str.2:                               ## @.str.2
	.asciz	"malloc failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_umountall                      ; -- Begin function umountall
	.p2align	2
_umountall:                             ; @umountall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_getfsent
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	adrp	x9, _umountall.firstcall@PAGE
	strb	w8, [x9, _umountall.firstcall@PAGEOFF]
	b	LBB0_6
LBB0_2:
	adrp	x8, _umountall.firstcall@PAGE
	ldrb	w8, [x8, _umountall.firstcall@PAGEOFF]
	tbz	w8, #0, LBB0_5
LBB0_3:
	mov	w19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_6:
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x22, _FSTAB_RW@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FSTAB_RW@GOTPAGEOFF]
Lloh6:
	adrp	x23, _FSTAB_RO@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FSTAB_RO@GOTPAGEOFF]
Lloh8:
	adrp	x24, _FSTAB_RQ@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FSTAB_RQ@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_getfsent
	mov	x20, x0
	cbz	x0, LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #8]
	ldr	x1, [x22]
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #8]
	ldr	x1, [x23]
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #8]
	ldr	x1, [x24]
	bl	_strcmp
	cbnz	x0, LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #4]
	add	x1, sp, #8
	bl	_getvfsbyname
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_checkvfsname
	cbnz	x0, LBB0_7
; %bb.14:
	ldr	w0, [x20]
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_16
; %bb.15:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_strcpy
	mov	x0, x19
	bl	_umountall
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_checkname
	cmp	x0, #0
	ccmp	w20, #0, #0, eq
	cset	w19, ne
	mov	x0, x21
	bl	_free
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_umountall.firstcall,1,2 ; @umountall.firstcall
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fstab reading failure"

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

	.comm	_FSTAB_RW,8,3                   ; @FSTAB_RW
	.comm	_FSTAB_RO,8,3                   ; @FSTAB_RO
	.comm	_FSTAB_RQ,8,3                   ; @FSTAB_RQ
l_.str.2:                               ; @.str.2
	.asciz	"malloc failed"

.subsections_via_symbols
