	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmount_sd_fat                 ## -- Begin function unmount_sd_fat
	.p2align	4, 0x90
_unmount_sd_fat:                        ## @unmount_sd_fat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	leaq	-16(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_sd_fat_remove_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rdi
	movq	-32(%rbp), %rsi
	movq	-24(%rbp), %rdx
	callq	_UmountFS
	movq	-16(%rbp), %rdi
	movl	$-1, %esi
	callq	_FSDelClient
	movq	-16(%rbp), %rdi
	callq	_free
	movq	-32(%rbp), %rdi
	callq	_free
	movq	-24(%rbp), %rdi
	callq	_free
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmount_sd_fat                 ; -- Begin function unmount_sd_fat
	.p2align	2
_unmount_sd_fat:                        ; @unmount_sd_fat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_sd_fat_remove_device
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldp	x1, x0, [sp, #16]
	ldr	x2, [sp, #8]
	bl	_UmountFS
	ldr	x0, [sp, #24]
	mov	w1, #-1
	bl	_FSDelClient
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
