	.file	"extr_cell_probe.c_probe_core_basic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Found Basic core: type = %02d  dma = %02x / %02x  offset = 0x%x  length = 0x%x (%d regs)\n"
	.text
	.p2align 4
	.type	probe_core_basic, @function
probe_core_basic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	mov	r9d, edi
	mov	rdi, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	mov	esi, r8d
	sub	rsp, 136
	.cfi_def_cfa_offset 176
	mov	QWORD PTR [rsp], rcx
	mov	DWORD PTR 8[rsp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR 48[rsp], xmm0
	mov	rax, rcx
	mov	QWORD PTR 56[rsp], rdx
	mov	rdx, QWORD PTR 16[rbx]
	shr	rax, 32
	mov	rbp, rax
	mov	eax, DWORD PTR 32[rbx]
	movaps	XMMWORD PTR 64[rsp], xmm0
	mov	QWORD PTR 16[rsp], rdx
	mov	rdx, QWORD PTR 24[rbx]
	mov	DWORD PTR 48[rsp], r9d
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 80[rsp], 0
	mov	DWORD PTR 32[rsp], eax
	call	KPC_OLD_C2S_DMA_CH_NUM@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	esi, DWORD PTR 8[rsp]
	mov	r13d, eax
	call	KPC_OLD_S2C_DMA_CH_NUM@PLT
	test	ebp, ebp
	lea	edx, 7[rbp]
	mov	r8d, r13d
	cmovns	edx, ebp
	mov	ecx, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	r9d, r12d
	lea	rsi, .LC0[rip]
	sar	edx, 3
	lea	rdi, 4[rax]
	push	rdx
	.cfi_def_cfa_offset 184
	push	rbp
	.cfi_def_cfa_offset 192
	mov	edx, DWORD PTR 24[rsp]
	call	dev_dbg@PLT
	lea	r13, 112[rsp]
	lea	rax, 32[rsp]
	xor	esi, esi
	mov	QWORD PTR 96[rsp], rax
	mov	edx, 24
	mov	rdi, r13
	movabs	rax, 8589934612
	mov	QWORD PTR 80[rsp], rax
	call	memset@PLT
	lea	eax, -1[r12+rbp]
	mov	rdi, rbx
	mov	DWORD PTR 112[rsp], r12d
	mov	DWORD PTR 116[rsp], eax
	mov	eax, DWORD PTR IORESOURCE_MEM[rip]
	imul	ebp, DWORD PTR [rbx], 100
	mov	DWORD PTR 120[rsp], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR [rax]
	mov	QWORD PTR 88[rsp], r13
	mov	DWORD PTR 124[rsp], eax
	mov	DWORD PTR 128[rsp], eax
	mov	eax, DWORD PTR IORESOURCE_IRQ[rip]
	mov	DWORD PTR 132[rsp], eax
	call	PCARD_TO_DEV@PLT
	lea	rdx, 64[rsp]
	xor	r9d, r9d
	mov	esi, ebp
	mov	ecx, 1
	mov	edi, eax
	lea	r8, 4[rbx]
	mov	QWORD PTR [rsp], 0
	call	mfd_add_devices@PLT
	pop	rdx
	.cfi_def_cfa_offset 184
	pop	rcx
	.cfi_def_cfa_offset 176
	mov	rcx, QWORD PTR 120[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	probe_core_basic, .-probe_core_basic
	.comm	IORESOURCE_MEM,4,4
	.comm	IORESOURCE_IRQ,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_cell_probe.c_probe_core_basic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Found Basic core: type = %02d  dma = %02x / %02x  o"
	.ascii	"ffset = 0x%x  length = 0x%x (%d regs)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	probe_core_basic, %function
probe_core_basic:
	@ args = 16, pretend = 8, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r5, #0
	sub	sp, sp, #88
	mov	r8, r3
	ldr	r10, [r1, #12]
	ldr	r6, [r1, #16]
	str	r3, [sp, #124]
	ldr	r1, [r1, #20]
	ldr	r3, .L6
	ldr	lr, [r4, #24]
	ldr	ip, [r4, #28]
	str	r0, [sp, #36]
	add	r7, sp, #124
	str	r2, [sp, #40]
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	str	r1, [sp, #24]
	ldm	r7, {r0, r1, r2}
	str	lr, [sp, #28]
	ldr	r9, [r4, #8]
	str	ip, [sp, #32]
	str	r10, [sp, #16]
	str	r6, [sp, #20]
	ldr	r10, [sp, #132]
	ldr	r6, [sp, #128]
	str	r5, [sp, #44]
	str	r5, [sp, #48]
	str	r5, [sp, #52]
	str	r5, [sp, #56]
	bl	KPC_OLD_S2C_DMA_CH_NUM
	mov	r3, r0
	ldm	r7, {r0, r1, r2}
	mov	r7, r3
	bl	KPC_OLD_C2S_DMA_CH_NUM
	cmp	r6, r5
	add	r1, r6, #7
	movge	r1, r6
	mov	ip, r0
	add	r9, r9, #4
	asr	r1, r1, #3
	mov	r3, r7
	mov	r2, r10
	mov	r0, r9
	str	r6, [sp, #8]
	str	ip, [sp]
	str	r1, [sp, #12]
	str	r8, [sp, #4]
	ldr	r1, .L6+4
	bl	dev_dbg
	mov	lr, #20
	mov	ip, #2
	ldr	r3, [r4, #8]
	ldr	r1, .L6+8
	ldr	r2, .L6+12
	str	r5, [sp, #72]
	str	r5, [sp, #76]
	str	r5, [sp, #80]
	ldr	r3, [r3]
	ldr	r9, [r1]
	ldr	r7, [r2]
	sub	r6, r6, #1
	add	r1, sp, #16
	add	r2, sp, #60
	mov	r0, r4
	add	r6, r6, r8
	str	r3, [sp, #72]
	str	r3, [sp, #76]
	str	lr, [sp, #44]
	str	ip, [sp, #48]
	str	r1, [sp, #56]
	str	r2, [sp, #52]
	str	r6, [sp, #64]
	str	r8, [sp, #60]
	str	r9, [sp, #68]
	str	r7, [sp, #80]
	bl	PCARD_TO_DEV
	ldr	r1, [r4], #4
	mov	r3, #1
	add	r1, r1, r1, lsl #2
	add	r1, r1, r1, lsl #2
	add	r2, sp, #36
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	lsl	r1, r1, #2
	str	r4, [sp]
	bl	mfd_add_devices
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #88
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	add	sp, sp, #8
	bx	lr
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.word	IORESOURCE_MEM
	.word	IORESOURCE_IRQ
	.size	probe_core_basic, .-probe_core_basic
	.comm	IORESOURCE_MEM,4,4
	.comm	IORESOURCE_IRQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
