	.file	"extr_tps80031.c_tps80031_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"tps80031 requires platform data\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"can't attach client %d\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"regmap %d init failed, err %d\n"
	.align 8
.LC3:
	.string	"Silicon version number read failed: %d\n"
	.align 8
.LC4:
	.string	"Silicon eeprom version read failed: %d\n"
	.align 8
.LC5:
	.string	"ES version 0x%02x and EPROM version 0x%02x\n"
	.section	.rodata.str1.1
.LC6:
	.string	"IRQ init failed: %d\n"
.LC7:
	.string	"mfd_add_devices failed: %d\n"
	.text
	.p2align 4
	.type	tps80031_probe, @function
tps80031_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 12[rdi]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 24[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	dev_get_platdata@PLT
	mov	QWORD PTR 16[rsp], rax
	test	rax, rax
	je	.L23
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 40
	mov	rdi, r12
	call	devm_kzalloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L4
	mov	ecx, DWORD PTR TPS80031_NUM_SLAVES[rip]
	xor	r14d, r14d
	test	ecx, ecx
	jg	.L5
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L26:
	mov	QWORD PTR 0[r13], rbp
	mov	rdi, rbp
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L24
.L10:
	mov	rax, QWORD PTR 32[r15]
	mov	rsi, r15
	mov	rdi, QWORD PTR [rax+rbx]
	call	i2c_set_clientdata@PLT
	mov	rax, QWORD PTR tps80031_regmap_configs[rip]
	mov	r13, QWORD PTR 24[r15]
	lea	rsi, [rax+r14*4]
	mov	rax, QWORD PTR 32[r15]
	add	r13, rbx
	mov	rdi, QWORD PTR [rax+rbx]
	call	devm_regmap_init_i2c@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 24[r15]
	mov	rdi, QWORD PTR [rax+rbx]
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L25
	add	r14, 1
	cmp	DWORD PTR TPS80031_NUM_SLAVES[rip], r14d
	jle	.L12
.L5:
	mov	rax, QWORD PTR tps80031_slave_address[rip]
	mov	r13, QWORD PTR 32[r15]
	mov	DWORD PTR 12[rsp], r14d
	lea	rbx, 0[0+r14*8]
	mov	rdx, QWORD PTR [rax+r14*8]
	add	r13, rbx
	cmp	rdx, QWORD PTR 0[rbp]
	je	.L26
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, r12
	call	devm_i2c_new_dummy_device@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 32[r15]
	mov	rdi, QWORD PTR [rax+r14*8]
	call	IS_ERR@PLT
	test	rax, rax
	je	.L10
.L24:
	mov	edx, DWORD PTR 12[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	mov	rax, QWORD PTR 32[r15]
	mov	rdi, QWORD PTR [rax+rbx]
	call	PTR_ERR@PLT
	mov	ebx, eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, DWORD PTR TPS80031_JTAGVERNUM[rip]
	mov	esi, DWORD PTR TPS80031_SLAVE_ID3[rip]
	lea	rcx, 32[rsp]
	mov	rdi, r12
	call	tps80031_read@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L28
	mov	edx, DWORD PTR TPS80031_EPROM_REV[rip]
	mov	esi, DWORD PTR TPS80031_SLAVE_ID3[rip]
	lea	rcx, 36[rsp]
	mov	rdi, r12
	call	tps80031_read@PLT
	mov	ebx, eax
	test	eax, eax
	js	.L29
	mov	ecx, DWORD PTR 36[rsp]
	mov	edx, DWORD PTR 32[rsp]
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	dev_info@PLT
	mov	eax, DWORD PTR 32[rsp]
	mov	QWORD PTR 8[r15], r12
	mov	rsi, r15
	mov	rdi, rbp
	mov	DWORD PTR 20[r15], eax
	call	i2c_set_clientdata@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, r15
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 16[r15], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 8[rax]
	call	tps80031_irq_init@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L30
	mov	r14, QWORD PTR 16[rsp]
	mov	rdi, r15
	mov	rsi, r14
	call	tps80031_pupd_init@PLT
	mov	rsi, r14
	mov	rdi, r15
	call	tps80031_init_ext_control@PLT
	mov	edi, DWORD PTR [r15]
	call	regmap_irq_get_domain@PLT
	mov	edi, DWORD PTR tps80031_cell[rip]
	mov	r13d, eax
	call	ARRAY_SIZE@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rdi, QWORD PTR 8[r15]
	xor	r9d, r9d
	push	r13
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR tps80031_cell[rip]
	mov	ecx, eax
	xor	r8d, r8d
	mov	esi, -1
	call	mfd_add_devices@PLT
	mov	r13d, eax
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	test	r13d, r13d
	js	.L31
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR [rax], 0
	je	.L1
	cmp	QWORD PTR pm_power_off[rip], 0
	jne	.L1
	mov	rax, QWORD PTR tps80031_power_off[rip]
	mov	QWORD PTR tps80031_power_off_dev[rip], r15
	mov	QWORD PTR pm_power_off[rip], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rax, QWORD PTR 24[r15]
	mov	rdi, QWORD PTR [rax+rbx]
	call	PTR_ERR@PLT
	mov	edx, DWORD PTR 12[rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	mov	ebx, eax
	mov	ecx, eax
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L28:
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	ebx, DWORD PTR EINVAL[rip]
	neg	ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ebx, DWORD PTR ENOMEM[rip]
	neg	ebx
	jmp	.L1
.L29:
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L30:
	mov	edx, eax
	lea	rsi, .LC6[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L31:
	mov	edx, r13d
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR [r15]
	mov	ebx, r13d
	call	regmap_del_irq_chip@PLT
	jmp	.L1
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tps80031_probe, .-tps80031_probe
	.comm	tps80031_slave_address,8,8
	.comm	tps80031_regmap_configs,8,8
	.comm	tps80031_power_off_dev,8,8
	.comm	tps80031_power_off,8,8
	.comm	tps80031_cell,4,4
	.comm	pm_power_off,8,8
	.comm	TPS80031_SLAVE_ID3,4,4
	.comm	TPS80031_NUM_SLAVES,4,4
	.comm	TPS80031_JTAGVERNUM,4,4
	.comm	TPS80031_EPROM_REV,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_tps80031.c_tps80031_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tps80031 requires platform data\012\000"
	.align	2
.LC1:
	.ascii	"can't attach client %d\012\000"
	.align	2
.LC2:
	.ascii	"regmap %d init failed, err %d\012\000"
	.align	2
.LC3:
	.ascii	"Silicon version number read failed: %d\012\000"
	.align	2
.LC4:
	.ascii	"Silicon eeprom version read failed: %d\012\000"
	.align	2
.LC5:
	.ascii	"ES version 0x%02x and EPROM version 0x%02x\012\000"
	.align	2
.LC6:
	.ascii	"IRQ init failed: %d\012\000"
	.align	2
.LC7:
	.ascii	"mfd_add_devices failed: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tps80031_probe, %function
tps80031_probe:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L33
	sub	sp, sp, #52
	add	r8, r0, #8
	str	r1, [sp, #28]
	mov	r7, r0
	mov	r0, r8
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	dev_get_platdata
	subs	r3, r0, #0
	str	r3, [sp, #24]
	beq	.L25
	ldr	r3, .L33+4
	mov	r1, #24
	mov	r0, r8
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L4
	ldr	r9, .L33+8
	ldr	r3, [r9]
	cmp	r3, #0
	ble	.L12
	mov	r5, #0
	ldr	r10, .L33+12
	ldr	fp, .L33+16
	str	r8, [sp, #20]
	b	.L5
.L10:
	ldr	r3, [r4, #20]
	mov	r1, r4
	ldr	r0, [r3, r6]
	bl	i2c_set_clientdata
	ldr	r3, [r4, #20]
	ldr	r1, [fp]
	ldr	r0, [r3, r6]
	add	r1, r1, r6
	ldr	r8, [r4, #16]
	bl	devm_regmap_init_i2c
	ldr	r3, [r4, #16]
	str	r0, [r8, r6]
	ldr	r0, [r3, r6]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L26
	ldr	r3, [r9]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L27
.L5:
	ldr	r2, [r10]
	ldr	r3, [r7]
	ldr	r2, [r2, r5, lsl #2]
	ldr	r8, [r4, #20]
	cmp	r2, r3
	moveq	r0, r7
	lsl	r6, r5, #2
	streq	r7, [r8, r5, lsl #2]
	beq	.L9
	ldr	r1, [r7, #12]
	ldr	r0, [sp, #20]
	bl	devm_i2c_new_dummy_device
	ldr	r2, [r4, #20]
	str	r0, [r8, r5, lsl #2]
	ldr	r0, [r2, r5, lsl #2]
.L9:
	bl	IS_ERR
	cmp	r0, #0
	beq	.L10
	ldr	r8, [sp, #20]
	mov	r2, r5
	ldr	r1, .L33+20
	mov	r0, r8
	bl	dev_err
	ldr	r3, [r4, #20]
	ldr	r0, [r3, r6]
	bl	PTR_ERR
	mov	r6, r0
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, r6
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r8, [sp, #20]
.L12:
	ldr	r3, .L33+24
	ldr	r5, .L33+28
	ldr	r2, [r3]
	mov	r0, r8
	ldr	r1, [r5]
	add	r3, sp, #36
	bl	tps80031_read
	subs	r6, r0, #0
	blt	.L29
	ldr	r3, .L33+32
	mov	r0, r8
	ldr	r2, [r3]
	ldr	r1, [r5]
	add	r3, sp, #40
	bl	tps80031_read
	subs	r6, r0, #0
	blt	.L30
	ldr	r2, [sp, #36]
	ldr	r3, [sp, #40]
	ldr	r1, .L33+36
	mov	r0, r8
	bl	dev_info
	ldr	r3, [sp, #36]
	mov	r1, r4
	str	r3, [r4, #12]
	mov	r0, r7
	str	r8, [r4, #4]
	bl	i2c_set_clientdata
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #24]
	ldr	r3, [r3]
	ldr	r2, [r2, #4]
	mov	r0, r4
	ldr	r1, [r7, #4]
	str	r3, [r4, #8]
	bl	tps80031_irq_init
	subs	r6, r0, #0
	bne	.L31
	ldr	r5, [sp, #24]
	mov	r0, r4
	mov	r1, r5
	bl	tps80031_pupd_init
	mov	r1, r5
	mov	r0, r4
	bl	tps80031_init_ext_control
	ldr	r3, .L33+40
	ldr	r10, [r4, #4]
	ldr	r9, [r3]
	mov	r0, r9
	bl	ARRAY_SIZE
	mov	r5, r0
	ldr	r0, [r4]
	bl	regmap_irq_get_domain
	mov	r3, r5
	str	r0, [sp, #8]
	mov	r2, r9
	mov	r0, r10
	mvn	r1, #0
	str	r6, [sp, #4]
	str	r6, [sp]
	bl	mfd_add_devices
	subs	r5, r0, #0
	blt	.L32
	ldr	r3, [sp, #24]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r3, .L33+44
	ldr	r2, [r3]
	cmp	r2, #0
	ldreq	r2, .L33+48
	ldreq	r1, .L33+52
	ldreq	r2, [r2]
	streq	r4, [r1]
	streq	r2, [r3]
	b	.L1
.L26:
	ldr	r3, [r4, #16]
	ldr	r8, [sp, #20]
	ldr	r0, [r3, r6]
	bl	PTR_ERR
	mov	r6, r0
	mov	r2, r5
	mov	r0, r8
	mov	r3, r6
	ldr	r1, .L33+56
	bl	dev_err
	b	.L1
.L29:
	mov	r0, r8
	mov	r2, r6
	ldr	r1, .L33+60
	bl	dev_err
	b	.L1
.L25:
	mov	r0, r8
	ldr	r1, .L33+64
	bl	dev_err
	ldr	r3, .L33+68
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L4:
	ldr	r3, .L33+72
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L1
.L30:
	mov	r0, r8
	mov	r2, r6
	ldr	r1, .L33+76
	bl	dev_err
	b	.L1
.L31:
	mov	r0, r8
	mov	r2, r6
	ldr	r1, .L33+80
	bl	dev_err
	b	.L1
.L32:
	mov	r0, r8
	mov	r2, r5
	ldr	r1, .L33+84
	bl	dev_err
	ldr	r1, [r4]
	ldr	r0, [r7, #4]
	mov	r6, r5
	bl	regmap_del_irq_chip
	b	.L1
.L28:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC8
	.word	GFP_KERNEL
	.word	TPS80031_NUM_SLAVES
	.word	tps80031_slave_address
	.word	tps80031_regmap_configs
	.word	.LC1
	.word	TPS80031_JTAGVERNUM
	.word	TPS80031_SLAVE_ID3
	.word	TPS80031_EPROM_REV
	.word	.LC5
	.word	tps80031_cell
	.word	pm_power_off
	.word	tps80031_power_off
	.word	tps80031_power_off_dev
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	EINVAL
	.word	ENOMEM
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.size	tps80031_probe, .-tps80031_probe
	.comm	tps80031_slave_address,4,4
	.comm	tps80031_regmap_configs,4,4
	.comm	tps80031_power_off_dev,4,4
	.comm	tps80031_power_off,4,4
	.comm	tps80031_cell,4,4
	.comm	pm_power_off,4,4
	.comm	TPS80031_SLAVE_ID3,4,4
	.comm	TPS80031_NUM_SLAVES,4,4
	.comm	TPS80031_JTAGVERNUM,4,4
	.comm	TPS80031_EPROM_REV,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
