	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function onfi_fill_data_interface
LCPI0_0:
	.quad	200000000000000                 ## 0xb5e620f48000
	.quad	500000000                       ## 0x1dcd6500
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_onfi_fill_data_interface
	.p2align	4, 0x90
_onfi_fill_data_interface:              ## @onfi_fill_data_interface
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NAND_SDR_IFACE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	testl	%edx, %edx
	js	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_onfi_sdr_timings@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jle	LBB0_1
## %bb.4:
	leaq	8(%r14), %rax
	movq	(%r12), %rcx
	movl	%ebx, %edx
	shlq	$5, %rdx
	movups	(%rcx,%rdx), %xmm0
	movups	16(%rcx,%rdx), %xmm1
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	imulq	$1000000, (%r15), %rax          ## imm = 0xF4240
	movq	%rax, 8(%r14)
	imulq	$1000000, 8(%r15), %rax         ## imm = 0xF4240
	movq	%rax, 16(%r14)
	imulq	$1000000, 16(%r15), %rax        ## imm = 0xF4240
	movq	%rax, 24(%r14)
	imulq	$1000, 24(%r15), %rax           ## imm = 0x3E8
	movq	%rax, 32(%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ONFI_DYN_TIMING_MAX@GOTPCREL(%rip), %rax
	imulq	$1000000, (%rax), %rax          ## imm = 0xF4240
	movq	%rax, 8(%r14)
	movq	%rax, 16(%r14)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [200000000000000,500000000]
	movups	%xmm0, 24(%r14)
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_SDR_IFACE,4,2             ## @NAND_SDR_IFACE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_onfi_sdr_timings,8,3           ## @onfi_sdr_timings
	.comm	_ONFI_DYN_TIMING_MAX,8,3        ## @ONFI_DYN_TIMING_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function onfi_fill_data_interface
lCPI0_0:
	.quad	200000000000000                 ; 0xb5e620f48000
	.quad	500000000                       ; 0x1dcd6500
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_onfi_fill_data_interface
	.p2align	2
_onfi_fill_data_interface:              ; @onfi_fill_data_interface
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _NAND_SDR_IFACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAND_SDR_IFACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x2
	tbnz	w2, #31, LBB0_5
; %bb.2:
	mov	x19, x0
	mov	x22, x0
	ldr	x21, [x22], #8
Lloh3:
	adrp	x23, _onfi_sdr_timings@GOTPAGE
Lloh4:
	ldr	x23, [x23, _onfi_sdr_timings@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, w20
	b.le	LBB0_5
; %bb.3:
	ldr	x8, [x23]
	mov	w9, w20
	add	x8, x8, x9, lsl #5
	ldp	q1, q0, [x8]
	stp	q1, q0, [x22]
	mov	w0, #0
	cbz	x21, LBB0_7
; %bb.4:
	mov	w8, #16960
	movk	w8, #15, lsl #16
	ldp	x9, x10, [x21]
	mul	x9, x9, x8
	mul	x10, x10, x8
	stp	x9, x10, [x19, #8]
	ldp	x9, x10, [x21, #16]
	mul	x8, x9, x8
	mov	w9, #1000
	mul	x9, x10, x9
	stp	x8, x9, [x19, #24]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh8:
	adrp	x8, _ONFI_DYN_TIMING_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ONFI_DYN_TIMING_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	x8, x8, x9
	stp	x8, x8, [x19, #8]
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #24]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_SDR_IFACE,4,2             ; @NAND_SDR_IFACE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_onfi_sdr_timings,8,3           ; @onfi_sdr_timings
	.comm	_ONFI_DYN_TIMING_MAX,8,3        ; @ONFI_DYN_TIMING_MAX
.subsections_via_symbols
