	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function falcon_spi_poll
_falcon_spi_poll:                       ## @falcon_spi_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_FR_AB_EE_SPI_HCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(%rbp), %rsi
	callq	_ef4_reado
	movl	-4(%rbp), %edi
	movq	_FRF_AB_EE_SPI_HCMD_CMD_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EF4_OWORD_FIELD
	movq	_EBUSY@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FR_AB_EE_SPI_HCMD,4,2          ## @FR_AB_EE_SPI_HCMD
	.comm	_FRF_AB_EE_SPI_HCMD_CMD_EN,4,2  ## @FRF_AB_EE_SPI_HCMD_CMD_EN
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_falcon_spi_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function falcon_spi_poll
_falcon_spi_poll:                       ; @falcon_spi_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _FR_AB_EE_SPI_HCMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FR_AB_EE_SPI_HCMD@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x1, x29, #4
	bl	_ef4_reado
	ldur	w0, [x29, #-4]
Lloh3:
	adrp	x8, _FRF_AB_EE_SPI_HCMD_CMD_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FRF_AB_EE_SPI_HCMD_CMD_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EF4_OWORD_FIELD
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FR_AB_EE_SPI_HCMD,4,2          ; @FR_AB_EE_SPI_HCMD
	.comm	_FRF_AB_EE_SPI_HCMD_CMD_EN,4,2  ; @FRF_AB_EE_SPI_HCMD_CMD_EN
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_falcon_spi_poll
.subsections_via_symbols
