	.file	"extr_max8997.c_max8997_freeze.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	max8997_freeze, @function
max8997_freeze:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	call	to_i2c_client@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	i2c_get_clientdata@PLT
	mov	r12, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [r12]
	mov	rdi, rbp
	lea	rdx, [rax+rbx*4]
	mov	rax, QWORD PTR max8997_dumpaddr_pmic[rip]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	max8997_read_reg@PLT
.L2:
	mov	rdi, QWORD PTR max8997_dumpaddr_pmic[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L3
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR MAX8997_REG_PMIC_END[rip]
	mov	rdx, QWORD PTR [r12]
	mov	rdi, rbp
	add	eax, ebx
	cdqe
	lea	rdx, [rdx+rax*4]
	mov	rax, QWORD PTR max8997_dumpaddr_muic[rip]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	max8997_read_reg@PLT
.L4:
	mov	rdi, QWORD PTR max8997_dumpaddr_muic[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L5
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR MAX8997_REG_PMIC_END[rip]
	mov	rdx, QWORD PTR [r12]
	mov	rdi, rbp
	add	eax, ebx
	add	eax, DWORD PTR MAX8997_MUIC_REG_END[rip]
	cdqe
	lea	rdx, [rdx+rax*4]
	mov	rax, QWORD PTR max8997_dumpaddr_haptic[rip]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	max8997_read_reg@PLT
.L6:
	mov	rdi, QWORD PTR max8997_dumpaddr_haptic[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L7
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	max8997_freeze, .-max8997_freeze
	.comm	max8997_dumpaddr_pmic,8,8
	.comm	max8997_dumpaddr_muic,8,8
	.comm	max8997_dumpaddr_haptic,8,8
	.comm	MAX8997_REG_PMIC_END,4,4
	.comm	MAX8997_MUIC_REG_END,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_max8997.c_max8997_freeze.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max8997_freeze, %function
max8997_freeze:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	bl	to_i2c_client
	mov	r4, r0
	bl	i2c_get_clientdata
	mov	r6, #0
	mov	r5, r0
	ldr	r7, .L10
	b	.L2
.L3:
	ldr	r2, [r5]
	ldr	r3, [r7]
	add	r2, r2, r6, lsl #2
	ldr	r1, [r3, r6, lsl #2]
	mov	r0, r4
	bl	max8997_read_reg
	add	r6, r6, #1
.L2:
	ldr	r0, [r7]
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L3
	mov	r6, #0
	ldr	r7, .L10+4
	ldr	r8, .L10+8
	b	.L4
.L5:
	ldr	r3, [r8]
	ldr	r2, [r5]
	ldr	r1, [r7]
	add	r3, r6, r3
	ldr	r1, [r1, r6, lsl #2]
	mov	r0, r4
	add	r2, r2, r3, lsl #2
	bl	max8997_read_reg
	add	r6, r6, #1
.L4:
	ldr	r0, [r7]
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L5
	mov	r9, #0
	ldr	r6, .L10+12
	ldr	r8, .L10+8
	ldr	r7, .L10+16
	b	.L6
.L7:
	ldr	r3, [r8]
	ldr	r0, [r7]
	ldr	r2, [r5]
	ldr	r1, [r6]
	add	r3, r9, r3
	add	r3, r3, r0
	ldr	r1, [r1, r9, lsl #2]
	mov	r0, r4
	add	r2, r2, r3, lsl #2
	bl	max8997_read_reg
	add	r9, r9, #1
.L6:
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	cmp	r0, r9
	bgt	.L7
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	max8997_dumpaddr_pmic
	.word	max8997_dumpaddr_muic
	.word	MAX8997_REG_PMIC_END
	.word	max8997_dumpaddr_haptic
	.word	MAX8997_MUIC_REG_END
	.size	max8997_freeze, .-max8997_freeze
	.comm	max8997_dumpaddr_pmic,4,4
	.comm	max8997_dumpaddr_muic,4,4
	.comm	max8997_dumpaddr_haptic,4,4
	.comm	MAX8997_REG_PMIC_END,4,4
	.comm	MAX8997_MUIC_REG_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
