	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nomadik_cmd_ctrl
_nomadik_cmd_ctrl:                      ## @nomadik_cmd_ctrl
	.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_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_NAND_CLE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %edx
	setne	%dil
	movl	(%rax,%rdi,4), %eax
	movl	%esi, %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_writeb                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_CMD_NONE,4,2              ## @NAND_CMD_NONE
	.comm	_NAND_CLE,4,2                   ## @NAND_CLE
	.no_dead_strip	_nomadik_cmd_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nomadik_cmd_ctrl
_nomadik_cmd_ctrl:                      ; @nomadik_cmd_ctrl
	.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:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NAND_CLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NAND_CLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w2
	cset	w9, ne
	ldr	w8, [x8, w9, uxtw #2]
	mov	x0, x1
	mov	x1, x8
	b	_writeb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_CMD_NONE,4,2              ; @NAND_CMD_NONE
	.comm	_NAND_CLE,4,2                   ; @NAND_CLE
	.no_dead_strip	_nomadik_cmd_ctrl
.subsections_via_symbols
