	.file	"extr_lm3630a_bl.c_lm3630a_remove.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"i2c failed to access register\n"
	.text
	.p2align 4
	.type	lm3630a_remove, @function
lm3630a_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	i2c_get_clientdata@PLT
	mov	esi, DWORD PTR REG_BRT_A[rip]
	xor	edx, edx
	mov	rdi, rax
	mov	rbx, rax
	call	lm3630a_write@PLT
	test	eax, eax
	js	.L10
.L2:
	mov	esi, DWORD PTR REG_BRT_B[rip]
	xor	edx, edx
	mov	rdi, rbx
	call	lm3630a_write@PLT
	test	eax, eax
	js	.L11
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L12
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, rbx
	call	free_irq@PLT
	mov	edi, DWORD PTR [rbx]
	call	flush_workqueue@PLT
	mov	edi, DWORD PTR [rbx]
	call	destroy_workqueue@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 16[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	lm3630a_remove, .-lm3630a_remove
	.comm	REG_BRT_B,4,4
	.comm	REG_BRT_A,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_lm3630a_bl.c_lm3630a_remove.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"i2c failed to access register\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lm3630a_remove, %function
lm3630a_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	i2c_get_clientdata
	ldr	r3, .L13
	mov	r2, #0
	ldr	r1, [r3]
	mov	r4, r0
	bl	lm3630a_write
	cmp	r0, #0
	blt	.L10
.L2:
	ldr	r3, .L13+4
	mov	r2, #0
	mov	r0, r4
	ldr	r1, [r3]
	bl	lm3630a_write
	cmp	r0, #0
	blt	.L11
.L3:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L12
	mov	r0, #0
	pop	{r4, pc}
.L12:
	mov	r1, r4
	bl	free_irq
	ldr	r0, [r4]
	bl	flush_workqueue
	ldr	r0, [r4]
	bl	destroy_workqueue
	mov	r0, #0
	pop	{r4, pc}
.L11:
	ldr	r1, .L13+8
	ldr	r0, [r4, #8]
	bl	dev_err
	b	.L3
.L10:
	ldr	r1, .L13+8
	ldr	r0, [r4, #8]
	bl	dev_err
	b	.L2
.L14:
	.align	2
.L13:
	.word	REG_BRT_A
	.word	REG_BRT_B
	.word	.LC0
	.size	lm3630a_remove, .-lm3630a_remove
	.comm	REG_BRT_B,4,4
	.comm	REG_BRT_A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
