	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_disk_close                 ## -- Begin function ufs_disk_close
	.p2align	4, 0x90
_ufs_disk_close:                        ## @ufs_disk_close
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_ERROR
	movl	(%rbx), %edi
	callq	_close
	movl	$-1, (%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
	movq	$0, 8(%rbx)
LBB0_2:
	movq	_MINE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	32(%rbx), %rdi
	callq	_free
	movq	$0, 32(%rbx)
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_free
	movq	$0, 24(%rbx)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MINE_NAME,4,2                  ## @MINE_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_disk_close                 ; -- Begin function ufs_disk_close
	.p2align	2
_ufs_disk_close:                        ; @ufs_disk_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x1, #0
	bl	_ERROR
	ldr	w0, [x19]
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	str	xzr, [x19, #8]
LBB0_2:
	ldr	w8, [x19, #16]
Lloh0:
	adrp	x9, _MINE_NAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MINE_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x19, #32]
	bl	_free
	str	xzr, [x19, #32]
LBB0_4:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_free
	str	xzr, [x19, #24]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MINE_NAME,4,2                  ; @MINE_NAME
.subsections_via_symbols
