	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndfc_hwcontrol
_ndfc_hwcontrol:                        ## @ndfc_hwcontrol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NAND_CMD_NONE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	movq	_NAND_CLE@GOTPCREL(%rip), %rcx
	movzbl	%sil, %edi
	movq	_ndfc_ctrl@GOTPCREL(%rip), %rax
	andl	(%rcx), %edx
	jne	LBB0_2
## %bb.3:
	movq	_NDFC_ALE@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_NDFC_CMD@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ndfc_ctrl,8,3                  ## @ndfc_ctrl
	.comm	_NAND_CMD_NONE,4,2              ## @NAND_CMD_NONE
	.comm	_NAND_CLE,4,2                   ## @NAND_CLE
	.comm	_NDFC_CMD,8,3                   ## @NDFC_CMD
	.comm	_NDFC_ALE,8,3                   ## @NDFC_ALE
	.no_dead_strip	_ndfc_hwcontrol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndfc_hwcontrol
_ndfc_hwcontrol:                        ; @ndfc_hwcontrol
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NAND_CMD_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAND_CMD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh3:
	adrp	x8, _NAND_CLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NAND_CLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ndfc_ctrl@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ndfc_ctrl@GOTPAGEOFF]
	and	w0, w1, #0xff
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _NDFC_ALE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NDFC_ALE@GOTPAGEOFF]
Lloh11:
	adrp	x11, _NDFC_CMD@GOTPAGE
Lloh12:
	ldr	x11, [x11, _NDFC_CMD@GOTPAGEOFF]
	tst	w8, w2
	csel	x8, x10, x11, eq
	ldr	x8, [x8]
	add	x1, x8, x9
	b	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ndfc_ctrl,8,3                  ; @ndfc_ctrl
	.comm	_NAND_CMD_NONE,4,2              ; @NAND_CMD_NONE
	.comm	_NAND_CLE,4,2                   ; @NAND_CLE
	.comm	_NDFC_CMD,8,3                   ; @NDFC_CMD
	.comm	_NDFC_ALE,8,3                   ; @NDFC_ALE
	.no_dead_strip	_ndfc_hwcontrol
.subsections_via_symbols
