	.file	"extr_fsl_asrc.c_fsl_asrc_start_pair.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fsl_asrc_start_pair, @function
fsl_asrc_start_pair:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, 10
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR [rdi]
	mov	rbp, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, r12d
	call	ASRCTR_ASRCE@PLT
	mov	edi, r12d
	mov	r14d, eax
	call	ASRCTR_ASRCEi_MASK@PLT
	mov	esi, DWORD PTR REG_ASRCTR[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	ecx, r14d
	mov	edx, eax
	lea	r14, 4[rsp]
	call	regmap_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, 5
	call	udelay@PLT
	mov	esi, DWORD PTR REG_ASRCFG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r14
	call	regmap_read@PLT
	mov	edi, r12d
	call	ASRCFG_INIRQi_MASK@PLT
	and	DWORD PTR 4[rsp], eax
	jne	.L2
	sub	ebx, 1
	jne	.L3
.L2:
	mov	esi, DWORD PTR REG_ASRCNCR[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r14
	call	regmap_read@PLT
	mov	eax, DWORD PTR 4[r13]
	test	eax, eax
	jle	.L4
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, r12d
	add	ebx, 1
	call	REG_ASRDI@PLT
	mov	edi, DWORD PTR 0[rbp]
	xor	edx, edx
	mov	esi, eax
	call	regmap_write@PLT
	mov	eax, DWORD PTR 4[r13]
	sal	eax, 2
	cmp	eax, ebx
	jg	.L5
.L4:
	mov	edx, DWORD PTR ASRIER_AOLIE[rip]
	mov	esi, DWORD PTR REG_ASRIER[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	regmap_write@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fsl_asrc_start_pair, .-fsl_asrc_start_pair
	.comm	REG_ASRIER,4,4
	.comm	REG_ASRCTR,4,4
	.comm	REG_ASRCNCR,4,4
	.comm	REG_ASRCFG,4,4
	.comm	ASRIER_AOLIE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_fsl_asrc.c_fsl_asrc_start_pair.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fsl_asrc_start_pair, %function
fsl_asrc_start_pair:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r6, [r0]
	ldr	r3, .L12
	ldr	r2, .L12+4
	ldr	r5, [r0, #8]
	sub	sp, sp, #12
	mov	r7, r0
	mov	r0, r6
	ldr	r9, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r8, [r5]
	bl	ASRCTR_ASRCEi_MASK
	mov	r4, r0
	mov	r0, r6
	bl	ASRCTR_ASRCE
	mov	r2, r4
	mov	r3, r0
	mov	r1, r9
	mov	r0, r8
	bl	regmap_update_bits
	mov	r4, #10
	ldr	r8, .L12+8
.L3:
	mov	r0, #5
	bl	udelay
	mov	r2, sp
	ldr	r1, [r8]
	ldr	r0, [r5]
	bl	regmap_read
	mov	r0, r6
	bl	ASRCFG_INIRQi_MASK
	ldr	r3, [sp]
	and	r0, r0, r3
	cmp	r0, #0
	str	r0, [sp]
	bne	.L2
	subs	r4, r4, #1
	bne	.L3
.L2:
	ldr	r3, .L12+12
	mov	r2, sp
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	regmap_read
	ldr	r3, [r7, #4]
	cmp	r3, #0
	ble	.L4
	mov	r4, #0
.L5:
	mov	r0, r6
	ldr	r8, [r5]
	bl	REG_ASRDI
	mov	r2, #0
	mov	r1, r0
	mov	r0, r8
	bl	regmap_write
	ldr	r3, [r7, #4]
	add	r4, r4, #1
	cmp	r4, r3, lsl #2
	blt	.L5
.L4:
	ldr	r3, .L12+16
	ldr	r2, .L12+20
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r0, [r5]
	bl	regmap_write
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	REG_ASRCTR
	.word	.LC0
	.word	REG_ASRCFG
	.word	REG_ASRCNCR
	.word	REG_ASRIER
	.word	ASRIER_AOLIE
	.size	fsl_asrc_start_pair, .-fsl_asrc_start_pair
	.comm	REG_ASRIER,4,4
	.comm	REG_ASRCTR,4,4
	.comm	REG_ASRCNCR,4,4
	.comm	REG_ASRCFG,4,4
	.comm	ASRIER_AOLIE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
