	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ismounted                      ## -- Begin function ismounted
	.p2align	4, 0x90
_ismounted:                             ## @ismounted
	.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
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	(%rbx), %rdi
	cmpb	$47, (%rdi)
	jne	LBB0_2
## %bb.1:
	cmpb	$0, 1(%rdi)
	je	LBB0_11
LBB0_2:
	movq	%r15, %rsi
	callq	_realpath
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testl	%r12d, %r12d
	jg	LBB0_5
	jmp	LBB0_11
LBB0_3:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_strlcpy
	testl	%r12d, %r12d
	jle	LBB0_11
LBB0_5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ebx
	incq	%rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	cmpq	$1, %rbx
	jbe	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	leaq	(%rax,%rax,2), %r14
	movl	8(%r13,%r14,4), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movl	4(%r13,%r14,4), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	callq	_isremountable
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rdi
	movl	(%r13,%r14,4), %esi
	callq	_strcmp
	movl	$1, %ecx
	testq	%rax, %rax
	movq	%r12, %r15
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%ecx, %ecx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ecx, %eax
	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	_PATH_MAX,4,2                   ## @PATH_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ismounted                      ; -- Begin function ismounted
	.p2align	2
_ismounted:                             ; @ismounted
	.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, #16
	mov	x22, x2
	mov	x19, x1
	mov	x20, 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, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_2
; %bb.1:
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_12
LBB0_2:
	mov	x1, x21
	bl	_realpath
	cbz	x0, LBB0_4
; %bb.3:
	cmp	w22, #1
	b.ge	LBB0_5
	b	LBB0_12
LBB0_4:
	ldr	x1, [x20]
	mov	x0, x21
	mov	x2, x23
	bl	_strlcpy
	cmp	w22, #1
	b.lt	LBB0_12
LBB0_5:
	mov	w8, w22
	add	x22, x8, #1
	mov	w23, #12
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	x22, x22, #1
	cmp	x22, #1
	b.ls	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w22, #2
	umaddl	x8, w24, w23, x19
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #8]
	madd	x8, x24, x23, x19
	ldr	w1, [x8, #4]
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #8]
	bl	_isremountable
	cbz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20, #16]
	mul	x8, x24, x23
	ldr	w1, [x19, x8]
	bl	_strcmp
	cbnz	x0, LBB0_6
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
.subsections_via_symbols
