	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max8997_freeze
_max8997_freeze:                        ## @max8997_freeze
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_to_i2c_client
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r12
	movq	_max8997_dumpaddr_pmic@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx), %esi
	movq	(%r12), %rdx
	addq	%rbx, %rdx
	movq	%r14, %rdi
	callq	_max8997_read_reg
	incq	%r13
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	_max8997_dumpaddr_muic@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_MAX8997_REG_PMIC_END@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movslq	(%r13), %rdx
	addq	%rbx, %rdx
	shlq	$2, %rdx
	addq	(%r12), %rdx
	movq	%r14, %rdi
	callq	_max8997_read_reg
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_max8997_dumpaddr_haptic@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movq	_MAX8997_MUIC_REG_END@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	_MAX8997_REG_PMIC_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r13), %eax
	addl	%ebx, %eax
	movslq	%eax, %rdx
	shlq	$2, %rdx
	addq	(%r12), %rdx
	movq	%r14, %rdi
	callq	_max8997_read_reg
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max8997_dumpaddr_pmic,8,3      ## @max8997_dumpaddr_pmic
	.comm	_max8997_dumpaddr_muic,8,3      ## @max8997_dumpaddr_muic
	.comm	_MAX8997_REG_PMIC_END,4,2       ## @MAX8997_REG_PMIC_END
	.comm	_max8997_dumpaddr_haptic,8,3    ## @max8997_dumpaddr_haptic
	.comm	_MAX8997_MUIC_REG_END,4,2       ## @MAX8997_MUIC_REG_END
	.no_dead_strip	_max8997_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max8997_freeze
_max8997_freeze:                        ; @max8997_freeze
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_to_i2c_client
	mov	x19, x0
	bl	_i2c_get_clientdata
	mov	x20, x0
Lloh0:
	adrp	x21, _max8997_dumpaddr_pmic@GOTPAGE
Lloh1:
	ldr	x21, [x21, _max8997_dumpaddr_pmic@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w1, [x8, x22]
	ldr	x8, [x20]
	add	x2, x8, x22
	mov	x0, x19
	bl	_max8997_read_reg
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x22, _max8997_dumpaddr_muic@GOTPAGE
Lloh3:
	ldr	x22, [x22, _max8997_dumpaddr_muic@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
Lloh4:
	adrp	x21, _MAX8997_REG_PMIC_END@GOTPAGE
Lloh5:
	ldr	x21, [x21, _MAX8997_REG_PMIC_END@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x23, lsl #2]
	ldr	x8, [x20]
	ldrsw	x9, [x21]
	add	x9, x23, x9
	add	x2, x8, x9, lsl #2
	mov	x0, x19
	bl	_max8997_read_reg
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
Lloh6:
	adrp	x22, _max8997_dumpaddr_haptic@GOTPAGE
Lloh7:
	ldr	x22, [x22, _max8997_dumpaddr_haptic@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x23, #0
Lloh8:
	adrp	x24, _MAX8997_MUIC_REG_END@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MAX8997_MUIC_REG_END@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w1, [x8, x23, lsl #2]
	ldr	x8, [x20]
	ldr	w9, [x21]
	ldr	w10, [x24]
	add	w9, w9, w10
	add	w9, w23, w9
	add	x2, x8, w9, sxtw #2
	mov	x0, x19
	bl	_max8997_read_reg
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_max8997_dumpaddr_pmic,8,3      ; @max8997_dumpaddr_pmic
	.comm	_max8997_dumpaddr_muic,8,3      ; @max8997_dumpaddr_muic
	.comm	_MAX8997_REG_PMIC_END,4,2       ; @MAX8997_REG_PMIC_END
	.comm	_max8997_dumpaddr_haptic,8,3    ; @max8997_dumpaddr_haptic
	.comm	_MAX8997_MUIC_REG_END,4,2       ; @MAX8997_MUIC_REG_END
	.no_dead_strip	_max8997_freeze
.subsections_via_symbols
