	.file	"extr_motorola-cpcap.c_cpcap_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to initialize regmap: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed to detect CPCAP: %i\n"
	.text
	.p2align 4
	.type	cpcap_probe, @function
cpcap_probe:
.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
	lea	r13, 8[rdi]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR cpcap_of_match[rip]
	call	of_match_ptr@PLT
	mov	rsi, r13
	mov	edi, eax
	call	of_match_device@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	mov	rdi, r13
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r14, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	QWORD PTR [rax], rbp
	mov	rsi, rax
	mov	rdi, rbp
	call	spi_set_drvdata@PLT
	mov	eax, DWORD PTR SPI_MODE_0[rip]
	or	eax, DWORD PTR SPI_CS_HIGH[rip]
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], 16
	mov	DWORD PTR 4[rbp], eax
	call	spi_setup@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	lea	rsi, cpcap_regmap_config[rip]
	mov	rdi, rbp
	mov	QWORD PTR 16[r14], rsi
	call	devm_regmap_init_spi@PLT
	mov	DWORD PTR 8[r14], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, r14
	call	cpcap_check_revision@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	rdi, r14
	call	cpcap_init_irq@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[r14]
	call	PTR_ERR@PLT
	mov	rdi, QWORD PTR [r14]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	mov	r12d, eax
	add	rdi, 8
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR [r14]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	add	rdi, 8
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR cpcap_mfd_devices[rip]
	call	ARRAY_SIZE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	r9d, r9d
	xor	r8d, r8d
	push	0
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR cpcap_mfd_devices[rip]
	mov	ecx, eax
	xor	esi, esi
	mov	rdi, r13
	call	devm_mfd_add_devices@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	cpcap_probe, .-cpcap_probe
	.comm	cpcap_regmap_config,4,4
	.comm	cpcap_of_match,4,4
	.comm	cpcap_mfd_devices,4,4
	.comm	SPI_MODE_0,4,4
	.comm	SPI_CS_HIGH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_motorola-cpcap.c_cpcap_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to initialize regmap: %d\012\000"
	.align	2
.LC1:
	.ascii	"Failed to detect CPCAP: %i\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpcap_probe, %function
cpcap_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L13
	sub	sp, sp, #20
	add	r6, r0, #8
	mov	r4, r0
	ldr	r0, [r3]
	bl	of_match_ptr
	mov	r1, r6
	bl	of_match_device
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L13+4
	mov	r1, #12
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L10
	mov	r1, r7
	mov	r0, r4
	str	r4, [r7]
	bl	spi_set_drvdata
	mov	r1, #16
	ldr	r3, .L13+8
	ldr	r2, .L13+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r4
	orr	r3, r3, r2
	str	r1, [r4]
	str	r3, [r4, #4]
	bl	spi_setup
	subs	r5, r0, #0
	bne	.L1
	ldr	r1, .L13+16
	mov	r0, r4
	str	r1, [r7, #8]
	bl	devm_regmap_init_spi
	str	r0, [r7, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	mov	r0, r7
	bl	cpcap_check_revision
	subs	r5, r0, #0
	bne	.L12
	mov	r0, r7
	bl	cpcap_init_irq
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, .L13+20
	ldr	r4, [r3]
	mov	r0, r4
	bl	ARRAY_SIZE
	mov	r1, r5
	mov	r3, r0
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	mov	r2, r4
	mov	r0, r6
	bl	devm_mfd_add_devices
	mov	r5, r0
	b	.L1
.L10:
	ldr	r3, .L13+24
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r3, .L13+28
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r0, [r7, #4]
	bl	PTR_ERR
	mov	r5, r0
	ldr	r0, [r7]
	mov	r2, r5
	ldr	r1, .L13+32
	add	r0, r0, #8
	bl	dev_err
	b	.L1
.L12:
	ldr	r0, [r7]
	mov	r2, r5
	ldr	r1, .L13+36
	add	r0, r0, #8
	bl	dev_err
	b	.L1
.L14:
	.align	2
.L13:
	.word	cpcap_of_match
	.word	GFP_KERNEL
	.word	SPI_MODE_0
	.word	SPI_CS_HIGH
	.word	cpcap_regmap_config
	.word	cpcap_mfd_devices
	.word	ENOMEM
	.word	ENODEV
	.word	.LC0
	.word	.LC1
	.size	cpcap_probe, .-cpcap_probe
	.comm	cpcap_regmap_config,4,4
	.comm	cpcap_of_match,4,4
	.comm	cpcap_mfd_devices,4,4
	.comm	SPI_MODE_0,4,4
	.comm	SPI_CS_HIGH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
