	.file	"extr_max77843.c_max77843_chg_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot allocate I2C device for Charger\n"
	.text
	.p2align 4
	.type	max77843_chg_init, @function
max77843_chg_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR I2C_ADDR_CHG[rip]
	mov	edi, DWORD PTR 4[rax]
	call	i2c_new_dummy_device@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbx
	xor	r12d, r12d
	call	i2c_set_clientdata@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rsi, max77843_charger_regmap_config[rip]
	call	devm_regmap_init_i2c@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	call	PTR_ERR@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12d, eax
	call	i2c_unregister_device@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	max77843_chg_init, .-max77843_chg_init
	.comm	max77843_charger_regmap_config,4,4
	.comm	I2C_ADDR_CHG,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_max77843.c_max77843_chg_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot allocate I2C device for Charger\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max77843_chg_init, %function
max77843_chg_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L11
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, lr}
	ldr	r1, [r2]
	mov	r4, r0
	ldr	r0, [r3, #4]
	bl	i2c_new_dummy_device
	str	r0, [r4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L9
	mov	r1, r4
	ldr	r0, [r4]
	bl	i2c_set_clientdata
	ldr	r1, .L11+4
	ldr	r0, [r4]
	bl	devm_regmap_init_i2c
	str	r0, [r4, #4]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L10
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r4, #8]
	ldr	r1, .L11+8
	bl	dev_err
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L10:
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	mov	r5, r0
	ldr	r0, [r4]
	bl	i2c_unregister_device
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	I2C_ADDR_CHG
	.word	max77843_charger_regmap_config
	.word	.LC0
	.size	max77843_chg_init, .-max77843_chg_init
	.comm	max77843_charger_regmap_config,4,4
	.comm	I2C_ADDR_CHG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
