	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_release_device
_nand_release_device:                   ## @nand_release_device
	.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
	movl	$-1, %esi
	callq	*16(%rbx)
	movq	(%rbx), %rdi
	callq	_spin_lock
	movq	(%rbx), %rdi
	movq	$0, 8(%rdi)
	movq	_FL_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$4, %rdi
	callq	_wake_up
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FL_READY,4,2                   ## @FL_READY
	.no_dead_strip	_nand_release_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nand_release_device
_nand_release_device:                   ; @nand_release_device
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
	mov	w1, #-1
	blr	x8
	ldr	x0, [x19]
	bl	_spin_lock
	ldr	x8, [x19]
	str	xzr, [x8, #8]
Lloh0:
	adrp	x9, _FL_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FL_READY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	add	x0, x8, #4
	bl	_wake_up
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FL_READY,4,2                   ; @FL_READY
	.no_dead_strip	_nand_release_device
.subsections_via_symbols
