	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mountlist
_get_mountlist:                         ## @get_mountlist
	.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	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_STRSIZ@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	__PATH_RMOUNTLIST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%r14, %rbx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
	movq	_MNTNAMLEN@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	%r12, %rsi
	callq	_strncpy
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movb	$0, (%rax,%rcx)
	movq	8(%r15), %rdi
	movq	_MNTPATHLEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	%r14, %rsi
	callq	_strncpy
	movq	8(%r15), %rax
	movq	(%r12), %rcx
	movb	$0, (%rax,%rcx)
	movq	_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mlhead@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_SLIST_INSERT_HEAD
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, -80(%rbp)
	movq	%rbx, %r12
	movq	%r13, %r14
	movq	%r15, %r13
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strsep
	movq	%r15, %rdi
	movq	%r13, %r15
	movq	%r14, %r13
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rsi
	callq	_strsep
	testq	%r12, %r12
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_out_of_mem
	jmp	LBB0_7
LBB0_9:
	movq	%r15, %rdi
	callq	_fclose
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_syslog
LBB0_12:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRSIZ,4,2                     ## @STRSIZ
	.comm	__PATH_RMOUNTLIST,4,2           ## @_PATH_RMOUNTLIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"can't open %s"

L_.str.2:                               ## @.str.2
	.asciz	" \t\n"

	.comm	_MNTNAMLEN,8,3                  ## @MNTNAMLEN
	.comm	_MNTPATHLEN,8,3                 ## @MNTPATHLEN
	.comm	_mlhead,4,2                     ## @mlhead
	.comm	_next,4,2                       ## @next
	.no_dead_strip	_get_mountlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mountlist
_get_mountlist:                         ; @get_mountlist
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _STRSIZ@GOTPAGE
Lloh4:
	ldr	x27, [x27, _STRSIZ@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x21, __PATH_RMOUNTLIST@GOTPAGE
Lloh8:
	ldr	x21, [x21, __PATH_RMOUNTLIST@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	stur	x22, [x29, #-104]               ; 8-byte Folded Spill
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_8
; %bb.2:
Lloh11:
	adrp	x21, l_.str.2@PAGE
Lloh12:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh13:
	adrp	x28, _MNTNAMLEN@GOTPAGE
Lloh14:
	ldr	x28, [x28, _MNTNAMLEN@GOTPAGEOFF]
Lloh15:
	adrp	x26, _MNTPATHLEN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _MNTPATHLEN@GOTPAGEOFF]
Lloh17:
	adrp	x22, _mlhead@GOTPAGE
Lloh18:
	ldr	x22, [x22, _mlhead@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x24]
	ldr	x2, [x28]
	mov	x1, x25
	bl	_strncpy
	ldr	x8, [x24]
	ldr	x9, [x28]
	strb	wzr, [x8, x9]
	ldr	x0, [x24, #8]
	ldr	x2, [x26]
	mov	x1, x23
	bl	_strncpy
	ldr	x8, [x24, #8]
	ldr	x9, [x26]
	strb	wzr, [x8, x9]
Lloh19:
	adrp	x8, _next@GOTPAGE
Lloh20:
	ldr	x8, [x8, _next@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_SLIST_INSERT_HEAD
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stur	x19, [x29, #-96]
	sub	x0, x29, #96
	mov	x1, x21
	bl	_strsep
	mov	x25, x0
	sub	x0, x29, #96
	mov	x1, x21
	bl	_strsep
	cmp	x25, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	mov	w0, #16
	bl	_malloc
	mov	x24, x0
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_out_of_mem
	b	LBB0_3
LBB0_8:
	mov	x0, x20
	bl	_fclose
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
	b	LBB0_11
LBB0_9:
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _ENOENT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh28:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	w2, [x21]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
LBB0_11:
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_STRSIZ,4,2                     ; @STRSIZ
	.comm	__PATH_RMOUNTLIST,4,2           ; @_PATH_RMOUNTLIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"can't open %s"

l_.str.2:                               ; @.str.2
	.asciz	" \t\n"

	.comm	_MNTNAMLEN,8,3                  ; @MNTNAMLEN
	.comm	_MNTPATHLEN,8,3                 ; @MNTPATHLEN
	.comm	_mlhead,4,2                     ; @mlhead
	.comm	_next,4,2                       ; @next
	.no_dead_strip	_get_mountlist
.subsections_via_symbols
