	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl68137_avs_enable_store_page
_isl68137_avs_enable_store_page:        ## @isl68137_avs_enable_store_page
	.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
	movq	%rcx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-44(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_kstrtobool
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	-44(%rbp), %ebx
	testl	%ebx, %ebx
	movq	_ISL68137_VOUT_AVS@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	cmovnel	%ecx, %ebx
	cmpl	%ecx, %ebx
	jne	LBB0_5
## %bb.2:
	movq	_PMBUS_VOUT_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_pmbus_read_word_data
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	_PMBUS_VOUT_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	callq	_pmbus_write_word_data
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	(%r13), %ecx
LBB0_5:
	movq	_PMBUS_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %r8d
	callq	_pmbus_update_byte_data
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	movl	%r14d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISL68137_VOUT_AVS,4,2          ## @ISL68137_VOUT_AVS
	.comm	_PMBUS_VOUT_COMMAND,4,2         ## @PMBUS_VOUT_COMMAND
	.comm	_PMBUS_OPERATION,4,2            ## @PMBUS_OPERATION
	.no_dead_strip	_isl68137_avs_enable_store_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isl68137_avs_enable_store_page
_isl68137_avs_enable_store_page:        ; @isl68137_avs_enable_store_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x2
	bl	_kstrtobool
	mov	x3, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x23, _ISL68137_VOUT_AVS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ISL68137_VOUT_AVS@GOTPAGEOFF]
	ldr	w3, [x23]
	cmp	w8, #0
	csel	w22, wzr, w3, eq
	cmp	w22, w3
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x24, _PMBUS_VOUT_COMMAND@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PMBUS_VOUT_COMMAND@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	bl	_pmbus_read_word_data
	mov	x3, x0
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	bl	_pmbus_write_word_data
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w3, [x23]
LBB0_5:
Lloh4:
	adrp	x8, _PMBUS_OPERATION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PMBUS_OPERATION@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x22
	bl	_pmbus_update_byte_data
	cmp	w0, #0
	csel	w3, w0, w19, lt
LBB0_6:
	mov	x0, x3
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x3, x0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ISL68137_VOUT_AVS,4,2          ; @ISL68137_VOUT_AVS
	.comm	_PMBUS_VOUT_COMMAND,4,2         ; @PMBUS_VOUT_COMMAND
	.comm	_PMBUS_OPERATION,4,2            ; @PMBUS_OPERATION
	.no_dead_strip	_isl68137_avs_enable_store_page
.subsections_via_symbols
