	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_dev_statvfs_r
_fs_dev_statvfs_r:                      ## @fs_dev_statvfs_r
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_fs_dev_get_device_data
	movl	$-1, %r14d
	testq	%r13, %r13
	je	LBB0_12
## %bb.1:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:
	movl	(%r12), %edi
	callq	_OSLockMutex
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fs_dev_real_path
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movl	4(%r12), %edi
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rcx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IOSUHAX_FSA_GetDeviceInfo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_free
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movabsq	$2199023256064, %rax            ## imm = 0x20000000200
	movq	%rax, (%r15)
	movl	-48(%rbp), %eax
	sarl	$9, %eax
	movl	%eax, 8(%r15)
	movl	%eax, 16(%r15)
	movl	%eax, 12(%r15)
	movq	$-1, 20(%r15)
	movl	%r12d, 28(%r15)
	movq	$0, 40(%r15)
	movl	$255, 32(%r15)
	jmp	LBB0_11
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_12
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_11
LBB0_9:
	movl	%eax, (%r13)
	movl	$-1, %r14d
LBB0_11:
	movl	(%r12), %edi
	callq	_OSUnlockMutex
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_fs_dev_statvfs_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_dev_statvfs_r
_fs_dev_statvfs_r:                      ; @fs_dev_statvfs_r
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x1
	bl	_fs_dev_get_device_data
	cbz	x21, LBB0_6
; %bb.1:
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
	cbz	x20, LBB0_8
; %bb.3:
	ldr	w0, [x19]
	bl	_OSLockMutex
	mov	x0, x20
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	x0, x22
	mov	x1, x19
	bl	_fs_dev_real_path
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	ldr	w0, [x19, #4]
	add	x3, sp, #12
	mov	x1, x22
	mov	w2, #0
	bl	_IOSUHAX_FSA_GetDeviceInfo
	mov	x23, x0
	mov	x0, x22
	bl	_free
	tbnz	w23, #31, LBB0_11
; %bb.5:
	mov	w21, #0
	movi.2s	v0, #2, lsl #8
	str	d0, [x20]
	ldr	w8, [sp, #12]
	asr	w8, w8, #9
	stp	w8, w8, [x20, #12]
	str	w8, [x20, #8]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x20, #20]
	str	xzr, [x20, #40]
	mov	w8, #255
	stp	w19, w8, [x20, #28]
	b	LBB0_12
LBB0_6:
	mov	w21, #-1
	b	LBB0_13
LBB0_7:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	w21, #-1
	b	LBB0_13
LBB0_10:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	w0, [x19]
	bl	_OSUnlockMutex
	mov	w21, #-1
	b	LBB0_13
LBB0_11:
	str	w23, [x21]
	mov	w21, #-1
LBB0_12:
	ldr	w0, [x19]
	bl	_OSUnlockMutex
LBB0_13:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_fs_dev_statvfs_r
.subsections_via_symbols
