	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retu_power_off
_retu_power_off:                        ## @retu_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_retu_pm_power_off@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movl	4(%rbx), %edi
	movq	_RETU_REG_CC1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	movl	-20(%rbp), %edx
	orl	$2, %edx
	callq	_regmap_write
	movl	4(%rbx), %edi
	movq	_RETU_REG_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_retu_pm_power_off,8,3          ## @retu_pm_power_off
	.comm	_RETU_REG_CC1,4,2               ## @RETU_REG_CC1
	.comm	_RETU_REG_WATCHDOG,4,2          ## @RETU_REG_WATCHDOG
	.no_dead_strip	_retu_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retu_power_off
_retu_power_off:                        ; @retu_power_off
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _retu_pm_power_off@GOTPAGE
Lloh1:
	ldr	x8, [x8, _retu_pm_power_off@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	x0, x19
	bl	_mutex_lock
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x20, _RETU_REG_CC1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _RETU_REG_CC1@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	ldr	w8, [sp, #12]
	orr	w2, w8, #0x2
	bl	_regmap_write
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _RETU_REG_WATCHDOG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RETU_REG_WATCHDOG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_regmap_write
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cpu_relax
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_retu_pm_power_off,8,3          ; @retu_pm_power_off
	.comm	_RETU_REG_CC1,4,2               ; @RETU_REG_CC1
	.comm	_RETU_REG_WATCHDOG,4,2          ; @RETU_REG_WATCHDOG
	.no_dead_strip	_retu_power_off
.subsections_via_symbols
