	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfsproc_statfs_2_svc           ## -- Begin function nfsproc_statfs_2_svc
	.p2align	4, 0x90
_nfsproc_statfs_2_svc:                  ## @nfsproc_statfs_2_svc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_D_TRACE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_2:
	movq	_VLOOK_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fh_to_mp3
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_8:
	movabsq	$4398046512128, %rax            ## imm = 0x40000000400
	movq	%rax, _nfsproc_statfs_2_svc.res+8(%rip)
	movq	_gopt@GOTPCREL(%rip), %rax
	movq	_CFM_SHOW_STATFS_ENTRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.9:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, -32(%rbp)
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_amu_hasmntopt
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	_nfsproc_statfs_2_svc.res+32(%rip), %rsi
	leaq	_nfsproc_statfs_2_svc.res+24(%rip), %rdx
	leaq	_nfsproc_statfs_2_svc.res+16(%rip), %rcx
	movq	%rbx, %rdi
	callq	_count_map_entries
	jmp	LBB0_14
LBB0_13:
	xorps	%xmm0, %xmm0
	movups	%xmm0, _nfsproc_statfs_2_svc.res+16(%rip)
	movq	$0, _nfsproc_statfs_2_svc.res+32(%rip)
LBB0_14:
	movq	_NFS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _nfsproc_statfs_2_svc.res(%rip)
	leaq	_nfsproc_statfs_2_svc.res(%rip), %rax
	incl	(%rbx)
	jmp	LBB0_15
LBB0_3:
	movl	-20(%rbp), %edi
	testl	%edi, %edi
	js	LBB0_4
## %bb.5:
	callq	_nfs_error
	movl	%eax, _nfsproc_statfs_2_svc.res(%rip)
	leaq	_nfsproc_statfs_2_svc.res(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	_amd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nfsproc_statfs_2_svc.res,40,3 ## @nfsproc_statfs_2_svc.res
	.comm	_D_TRACE,4,2                    ## @D_TRACE
	.comm	_XLOG_DEBUG,4,2                 ## @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"statfs:"

	.comm	_VLOOK_CREATE,4,2               ## @VLOOK_CREATE
	.comm	_amd_stats,4,2                  ## @amd_stats
L_.str.1:                               ## @.str.1
	.asciz	"\tstat_fs(%s)"

	.comm	_gopt,4,2                       ## @gopt
	.comm	_CFM_SHOW_STATFS_ENTRIES,4,2    ## @CFM_SHOW_STATFS_ENTRIES
L_.str.2:                               ## @.str.2
	.asciz	"browsable"

	.comm	_NFS_OK,4,2                     ## @NFS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfsproc_statfs_2_svc           ; -- Begin function nfsproc_statfs_2_svc
	.p2align	2
_nfsproc_statfs_2_svc:                  ; @nfsproc_statfs_2_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x21, _D_TRACE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _D_TRACE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_amuDebug
Lloh2:
	adrp	x20, _XLOG_DEBUG@GOTPAGE
Lloh3:
	ldr	x20, [x20, _XLOG_DEBUG@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
LBB0_2:
Lloh6:
	adrp	x8, _VLOOK_CREATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VLOOK_CREATE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #28
	mov	x0, x19
	bl	_fh_to_mp3
	cbz	x0, LBB0_12
; %bb.3:
	mov	x19, x0
	ldr	w0, [x21]
	bl	_amuDebug
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x20]
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
LBB0_5:
	movi.2s	v0, #4, lsl #8
Lloh11:
	adrp	x8, _gopt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gopt@GOTPAGEOFF]
Lloh13:
	adrp	x9, _nfsproc_statfs_2_svc.res@PAGE+8
	str	d0, [x9, _nfsproc_statfs_2_svc.res@PAGEOFF+8]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _CFM_SHOW_STATFS_ENTRIES@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CFM_SHOW_STATFS_ENTRIES@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.7:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.8:
	str	x8, [sp, #16]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #16
	bl	_amu_hasmntopt
	cbz	x0, LBB0_11
; %bb.9:
Lloh20:
	adrp	x3, _nfsproc_statfs_2_svc.res@PAGE+16
Lloh21:
	add	x3, x3, _nfsproc_statfs_2_svc.res@PAGEOFF+16
	add	x1, x3, #16
	add	x2, x3, #8
	mov	x0, x19
	bl	_count_map_entries
	b	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, _nfsproc_statfs_2_svc.res@PAGE+16
Lloh23:
	add	x8, x8, _nfsproc_statfs_2_svc.res@PAGEOFF+16
	stp	xzr, xzr, [x8]
	str	xzr, [x8, #16]
LBB0_11:
Lloh24:
	adrp	x8, _NFS_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NFS_OK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x0, _nfsproc_statfs_2_svc.res@PAGE
Lloh28:
	add	x0, x0, _nfsproc_statfs_2_svc.res@PAGEOFF
	str	w8, [x0]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_15
LBB0_12:
	ldr	w0, [sp, #28]
	tbnz	w0, #31, LBB0_14
; %bb.13:
	bl	_nfs_error
	mov	x8, x0
Lloh29:
	adrp	x0, _nfsproc_statfs_2_svc.res@PAGE
Lloh30:
	add	x0, x0, _nfsproc_statfs_2_svc.res@PAGEOFF
	str	w8, [x0]
	b	LBB0_15
LBB0_14:
	mov	x0, #0
Lloh31:
	adrp	x8, _amd_stats@GOTPAGE
Lloh32:
	ldr	x8, [x8, _amd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_15:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nfsproc_statfs_2_svc.res,40,3 ; @nfsproc_statfs_2_svc.res
	.comm	_D_TRACE,4,2                    ; @D_TRACE
	.comm	_XLOG_DEBUG,4,2                 ; @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"statfs:"

	.comm	_VLOOK_CREATE,4,2               ; @VLOOK_CREATE
	.comm	_amd_stats,4,2                  ; @amd_stats
l_.str.1:                               ; @.str.1
	.asciz	"\tstat_fs(%s)"

	.comm	_gopt,4,2                       ; @gopt
	.comm	_CFM_SHOW_STATFS_ENTRIES,4,2    ; @CFM_SHOW_STATFS_ENTRIES
l_.str.2:                               ; @.str.2
	.asciz	"browsable"

	.comm	_NFS_OK,4,2                     ; @NFS_OK
.subsections_via_symbols
