	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_nand_remove
_gpio_nand_remove:                      ## @gpio_nand_remove
	.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
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	callq	_nand_release
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_gpiod_set_value
LBB0_3:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_gpiod_set_value
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gpio_nand_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_nand_remove
_gpio_nand_remove:                      ; @gpio_nand_remove
	.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
	bl	_platform_get_drvdata
	mov	x19, x0
	add	x0, x0, #16
	bl	_nand_release
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_IS_ERR
	cbz	w0, LBB0_5
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
LBB0_3:
	bl	_IS_ERR
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x0, [x19]
	mov	w1, #0
	bl	_gpiod_set_value
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19, #8]
	mov	w1, #0
	bl	_gpiod_set_value
	ldr	x0, [x19]
	cbnz	x0, LBB0_3
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gpio_nand_remove
.subsections_via_symbols
