	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_davinci_read_buf
_nand_davinci_read_buf:                 ## @nand_davinci_read_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testb	$3, %sil
	jne	LBB0_2
## %bb.1:
	movl	%edx, %eax
	andl	$3, %eax
	jne	LBB0_2
## %bb.5:
	movl	(%rdi), %edi
	sarl	$2, %edx
	popq	%rbp
	jmp	_ioread32_rep                   ## TAILCALL
LBB0_2:
	movl	(%rdi), %edi
	testb	$1, %sil
	jne	LBB0_4
## %bb.3:
	movl	%edx, %eax
	andl	$1, %eax
	jne	LBB0_4
## %bb.6:
	sarl	%edx
	popq	%rbp
	jmp	_ioread16_rep                   ## TAILCALL
LBB0_4:
	popq	%rbp
	jmp	_ioread8_rep                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nand_davinci_read_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nand_davinci_read_buf
_nand_davinci_read_buf:                 ; @nand_davinci_read_buf
	.cfi_startproc
; %bb.0:
	tst	x1, #0x3
	b.ne	LBB0_3
; %bb.1:
	and	w8, w2, #0x3
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x0]
	asr	w2, w2, #2
	b	_ioread32_rep
LBB0_3:
	ldr	w0, [x0]
	tbnz	w1, #0, LBB0_6
; %bb.4:
	tbnz	w2, #0, LBB0_6
; %bb.5:
	asr	w2, w2, #1
	b	_ioread16_rep
LBB0_6:
	b	_ioread8_rep
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nand_davinci_read_buf
.subsections_via_symbols
