	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa3xx_nand_waitfunc
_pxa3xx_nand_waitfunc:                  ## @pxa3xx_nand_waitfunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	_FL_WRITING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	movq	_FL_ERASING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_ERR_NONE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FL_WRITING,8,3                 ## @FL_WRITING
	.comm	_FL_ERASING,8,3                 ## @FL_ERASING
	.comm	_ERR_NONE,8,3                   ## @ERR_NONE
	.no_dead_strip	_pxa3xx_nand_waitfunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa3xx_nand_waitfunc
_pxa3xx_nand_waitfunc:                  ; @pxa3xx_nand_waitfunc
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _FL_WRITING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FL_WRITING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _FL_ERASING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FL_ERASING@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ERR_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ERR_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FL_WRITING,8,3                 ; @FL_WRITING
	.comm	_FL_ERASING,8,3                 ; @FL_ERASING
	.comm	_ERR_NONE,8,3                   ; @ERR_NONE
	.no_dead_strip	_pxa3xx_nand_waitfunc
.subsections_via_symbols
