	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mntinfo                        ## -- Begin function mntinfo
	.p2align	4, 0x90
_mntinfo:                               ## @mntinfo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MNT_NOWAIT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_getfsstat
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movl	%eax, %eax
	leaq	4(,%rax,4), %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, _mntinfo.origbuf(%rip)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movq	_mntinfo.origbuf(%rip), %rax
LBB0_3:
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_getfsstat
	movq	_mntinfo.origbuf(%rip), %rcx
	movq	%rcx, (%r14)
	movslq	%eax, %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mntinfo.origbuf,8,3 ## @mntinfo.origbuf
	.comm	_MNT_NOWAIT,4,2                 ## @MNT_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mntinfo                        ; -- Begin function mntinfo
	.p2align	2
_mntinfo:                               ; @mntinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _MNT_NOWAIT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MNT_NOWAIT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, #0
	mov	x1, #0
	bl	_getfsstat
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	add	w8, w0, #1
	lsl	x20, x8, #2
	mov	x0, x20
	bl	_malloc
	adrp	x22, _mntinfo.origbuf@PAGE
	str	x0, [x22, _mntinfo.origbuf@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	x0, [x22, _mntinfo.origbuf@PAGEOFF]
LBB0_3:
	ldr	w2, [x21]
	mov	x1, x20
	bl	_getfsstat
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x22, _mntinfo.origbuf@PAGEOFF]
	str	x8, [x19]
	sxtw	x0, w0
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mntinfo.origbuf,8,3 ; @mntinfo.origbuf
	.comm	_MNT_NOWAIT,4,2                 ; @MNT_NOWAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

.subsections_via_symbols
