	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa3xx_nand_detect_timing
_pxa3xx_nand_detect_timing:             ## @pxa3xx_nand_detect_timing
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_clk_get_rate
	movq	%rax, %r12
	movq	_NDTR0CS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nand_readl
	movl	%eax, %r13d
	movq	_NDTR1CS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nand_readl
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_tCH_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 64(%r14)
	movl	%r13d, %edi
	callq	_tCS_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 56(%r14)
	movl	%r13d, %edi
	callq	_tWH_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 48(%r14)
	movl	%r13d, %edi
	callq	_tWP_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 40(%r14)
	movl	%r13d, %edi
	callq	_tRH_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 32(%r14)
	movl	%r13d, %edi
	callq	_tRP_NDTR0
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 24(%r14)
	movl	%r15d, %edi
	callq	_tR_NDTR1
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 16(%r14)
	movl	%r15d, %edi
	callq	_tWHR_NDTR1
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, 8(%r14)
	movl	%r15d, %edi
	callq	_tAR_NDTR1
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cycle2ns
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NDTR0CS0,4,2                   ## @NDTR0CS0
	.comm	_NDTR1CS0,4,2                   ## @NDTR1CS0
	.no_dead_strip	_pxa3xx_nand_detect_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa3xx_nand_detect_timing
_pxa3xx_nand_detect_timing:             ; @pxa3xx_nand_detect_timing
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_clk_get_rate
	mov	x20, x0
Lloh0:
	adrp	x8, _NDTR0CS0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NDTR0CS0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_nand_readl
	mov	x22, x0
Lloh3:
	adrp	x8, _NDTR1CS0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NDTR1CS0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_nand_readl
	mov	x21, x0
	mov	x0, x22
	bl	_tCH_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #64]
	mov	x0, x22
	bl	_tCS_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #56]
	mov	x0, x22
	bl	_tWH_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #48]
	mov	x0, x22
	bl	_tWP_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #40]
	mov	x0, x22
	bl	_tRH_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #32]
	mov	x0, x22
	bl	_tRP_NDTR0
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #24]
	mov	x0, x21
	bl	_tR_NDTR1
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #16]
	mov	x0, x21
	bl	_tWHR_NDTR1
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19, #8]
	mov	x0, x21
	bl	_tAR_NDTR1
	mov	x1, x20
	bl	_cycle2ns
	str	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NDTR0CS0,4,2                   ; @NDTR0CS0
	.comm	_NDTR1CS0,4,2                   ; @NDTR1CS0
	.no_dead_strip	_pxa3xx_nand_detect_timing
.subsections_via_symbols
