	.file	"extr_drv_mei_cpe.c_ltq_mei_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"IFX MEI Version %ld.%02ld.%02ld\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Init device fail!\n"
.LC2:
	.string	"ifx_mei"
	.text
	.p2align 4
	.type	ltq_mei_probe, @function
ltq_mei_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ecx, DWORD PTR bsp_mei_version[rip]
	lea	rdi, .LC0[rip]
	mov	edx, DWORD PTR bsp_mei_version[rip+4]
	mov	esi, DWORD PTR bsp_mei_version[rip+8]
	call	pr_info@PLT
	mov	eax, DWORD PTR BSP_MAX_DEVICES[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	add	ebx, 1
	call	IFX_MEI_InitDevNode@PLT
	cmp	DWORD PTR BSP_MAX_DEVICES[rip], ebx
	jle	.L2
.L5:
	mov	edi, ebx
	call	IFX_MEI_InitDevice@PLT
	test	rax, rax
	je	.L3
	lea	rdi, .LC1[rip]
	call	IFX_MEI_EMSG@PLT
	mov	eax, DWORD PTR EIO[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR DSL_BSP_CB_LAST[rip]
	test	eax, eax
	js	.L6
	mov	rdx, QWORD PTR dsl_bsp_event_callback[rip]
	movsx	rcx, eax
	lea	rax, 8[rdx]
	lea	rcx, [rax+rcx*8]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	add	rax, 8
.L7:
	mov	QWORD PTR [rdx], 0
	mov	rdx, rax
	cmp	rax, rcx
	jne	.L12
.L6:
	mov	edi, DWORD PTR THIS_MODULE[rip]
	lea	rsi, .LC2[rip]
	call	class_create@PLT
	mov	edi, DWORD PTR MEI_MAJOR[rip]
	xor	esi, esi
	mov	QWORD PTR dsl_class.1964[rip], rax
	call	MKDEV@PLT
	mov	rdi, QWORD PTR dsl_class.1964[rip]
	xor	ecx, ecx
	xor	esi, esi
	mov	edx, eax
	lea	r8, .LC2[rip]
	call	device_create@PLT
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ltq_mei_probe, .-ltq_mei_probe
	.local	dsl_class.1964
	.comm	dsl_class.1964,8,8
	.comm	dsl_bsp_event_callback,8,8
	.comm	bsp_mei_version,12,8
	.comm	THIS_MODULE,4,4
	.comm	MEI_MAJOR,4,4
	.comm	EIO,4,4
	.comm	DSL_BSP_CB_LAST,4,4
	.comm	BSP_MAX_DEVICES,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_drv_mei_cpe.c_ltq_mei_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IFX MEI Version %ld.%02ld.%02ld\012\000"
	.align	2
.LC1:
	.ascii	"Init device fail!\012\000"
	.align	2
.LC2:
	.ascii	"ifx_mei\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ltq_mei_probe, %function
ltq_mei_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r1, .L12
	ldr	r5, .L12+4
	ldr	r3, [r1]
	ldr	r2, [r1, #4]
	ldr	r0, .L12+8
	ldr	r1, [r1, #8]
	sub	sp, sp, #12
	bl	pr_info
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	b	.L5
.L3:
	mov	r0, r4
	bl	IFX_MEI_InitDevNode
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L2
.L5:
	mov	r0, r4
	bl	IFX_MEI_InitDevice
	cmp	r0, #0
	beq	.L3
	ldr	r0, .L12+12
	bl	IFX_MEI_EMSG
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r3, .L12+20
	ldr	r2, [r3]
	cmp	r2, #0
	blt	.L6
	mov	r1, #0
	ldr	r3, .L12+24
	ldr	r3, [r3]
	add	r2, r3, r2, lsl #2
	sub	r3, r3, #4
.L7:
	str	r1, [r3, #4]!
	cmp	r2, r3
	bne	.L7
.L6:
	ldr	r5, .L12+28
	ldr	r3, .L12+32
	mov	r1, r5
	ldr	r0, [r3]
	bl	class_create
	ldr	r3, .L12+36
	mov	r4, r0
	mov	r1, #0
	ldr	r0, [r3]
	bl	MKDEV
	mov	r3, #0
	mov	r2, r0
	mov	r1, r3
	mov	r0, r4
	str	r5, [sp]
	bl	device_create
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	.align	2
.L12:
	.word	bsp_mei_version
	.word	BSP_MAX_DEVICES
	.word	.LC0
	.word	.LC1
	.word	EIO
	.word	DSL_BSP_CB_LAST
	.word	dsl_bsp_event_callback
	.word	.LC2
	.word	THIS_MODULE
	.word	MEI_MAJOR
	.size	ltq_mei_probe, .-ltq_mei_probe
	.comm	dsl_bsp_event_callback,4,4
	.comm	bsp_mei_version,12,4
	.comm	THIS_MODULE,4,4
	.comm	MEI_MAJOR,4,4
	.comm	EIO,4,4
	.comm	DSL_BSP_CB_LAST,4,4
	.comm	BSP_MAX_DEVICES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
