	.file	"extr_bd9571mwv.c_bd9571mwv_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to initialize register map\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed to register IRQ chip\n"
	.text
	.p2align 4
	.type	bd9571mwv_probe, @function
bd9571mwv_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	lea	r12, 4[rdi]
	mov	esi, 24
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L11
	mov	rsi, rax
	mov	rdi, rbp
	mov	rbx, rax
	call	i2c_set_clientdata@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbx], r12
	mov	rdi, rbp
	lea	rsi, bd9571mwv_regmap_config[rip]
	mov	DWORD PTR 4[rbx], eax
	call	devm_regmap_init_i2c@PLT
	mov	DWORD PTR 16[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbx
	call	bd9571mwv_identify@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	r9, rbx
	lea	r8, bd9571mwv_irq_chip[rip]
	mov	edx, DWORD PTR IRQF_ONESHOT[rip]
	xor	ecx, ecx
	call	regmap_add_irq_chip@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	edi, DWORD PTR [rbx]
	call	regmap_irq_get_domain@PLT
	mov	edi, DWORD PTR bd9571mwv_cells[rip]
	mov	ebp, eax
	call	ARRAY_SIZE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, QWORD PTR 8[rbx]
	xor	r9d, r9d
	push	rbp
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR bd9571mwv_cells[rip]
	mov	ecx, eax
	xor	r8d, r8d
	mov	esi, DWORD PTR PLATFORM_DEVID_AUTO[rip]
	call	mfd_add_devices@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	r12d, r12d
	jne	.L14
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	edi, DWORD PTR 16[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	call	regmap_del_irq_chip@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bd9571mwv_probe, .-bd9571mwv_probe
	.comm	bd9571mwv_regmap_config,4,4
	.comm	bd9571mwv_irq_chip,4,4
	.comm	bd9571mwv_cells,4,4
	.comm	PLATFORM_DEVID_AUTO,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_bd9571mwv.c_bd9571mwv_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to initialize register map\012\000"
	.align	2
.LC1:
	.ascii	"Failed to register IRQ chip\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bd9571mwv_probe, %function
bd9571mwv_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L15
	add	r6, r0, #4
	mov	r5, r0
	mov	r1, #16
	mov	r0, r6
	ldr	r2, [r3]
	sub	sp, sp, #20
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L11
	mov	r1, r4
	mov	r0, r5
	bl	i2c_set_clientdata
	ldr	r3, [r5]
	ldr	r1, .L15+4
	stmib	r4, {r3, r6}
	mov	r0, r5
	bl	devm_regmap_init_i2c
	str	r0, [r4, #12]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	bd9571mwv_identify
	subs	r5, r0, #0
	bne	.L1
	ldr	ip, .L15+8
	ldr	r2, .L15+12
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #12]
	ldr	r2, [r2]
	mov	r3, r5
	str	r4, [sp, #4]
	str	ip, [sp]
	bl	regmap_add_irq_chip
	subs	r5, r0, #0
	bne	.L13
	ldr	r2, .L15+16
	ldr	r3, .L15+20
	ldr	r7, [r2]
	ldr	r9, [r3]
	mov	r0, r7
	ldr	r8, [r4, #8]
	bl	ARRAY_SIZE
	mov	r6, r0
	ldr	r0, [r4]
	bl	regmap_irq_get_domain
	str	r5, [sp, #4]
	str	r0, [sp, #8]
	str	r5, [sp]
	mov	r3, r6
	mov	r2, r7
	mov	r1, r9
	mov	r0, r8
	bl	mfd_add_devices
	subs	r5, r0, #0
	bne	.L14
.L1:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	ldr	r1, .L15+24
	ldr	r0, [r4, #8]
	bl	dev_err
	ldr	r0, [r4, #12]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	PTR_ERR
.L11:
	ldr	r3, .L15+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r0, [r4, #8]
	ldr	r1, .L15+32
	bl	dev_err
	b	.L1
.L14:
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	regmap_del_irq_chip
	b	.L1
.L16:
	.align	2
.L15:
	.word	GFP_KERNEL
	.word	bd9571mwv_regmap_config
	.word	bd9571mwv_irq_chip
	.word	IRQF_ONESHOT
	.word	bd9571mwv_cells
	.word	PLATFORM_DEVID_AUTO
	.word	.LC0
	.word	ENOMEM
	.word	.LC1
	.size	bd9571mwv_probe, .-bd9571mwv_probe
	.comm	bd9571mwv_regmap_config,4,4
	.comm	bd9571mwv_irq_chip,4,4
	.comm	bd9571mwv_cells,4,4
	.comm	PLATFORM_DEVID_AUTO,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
