	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rn5t618_trigger_poweroff_sequence
_rn5t618_trigger_poweroff_sequence:     ## @rn5t618_trigger_poweroff_sequence
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ecx
	movq	_rn5t618_pm_power_off@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_RN5T618_REPCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RN5T618_REPCNT_REPWRON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %ecx
	cmovnel	%edx, %ecx
	callq	_regmap_update_bits
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_RN5T618_SLPCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RN5T618_SLPCNT_SWPWROFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rn5t618_pm_power_off,8,3       ## @rn5t618_pm_power_off
	.comm	_RN5T618_REPCNT,4,2             ## @RN5T618_REPCNT
	.comm	_RN5T618_REPCNT_REPWRON,4,2     ## @RN5T618_REPCNT_REPWRON
	.comm	_RN5T618_SLPCNT,4,2             ## @RN5T618_SLPCNT
	.comm	_RN5T618_SLPCNT_SWPWROFF,4,2    ## @RN5T618_SLPCNT_SWPWROFF
	.no_dead_strip	_rn5t618_trigger_poweroff_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rn5t618_trigger_poweroff_sequence
_rn5t618_trigger_poweroff_sequence:     ; @rn5t618_trigger_poweroff_sequence
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _rn5t618_pm_power_off@GOTPAGE
Lloh1:
	ldr	x19, [x19, _rn5t618_pm_power_off@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _RN5T618_REPCNT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RN5T618_REPCNT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
Lloh5:
	adrp	x9, _RN5T618_REPCNT_REPWRON@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RN5T618_REPCNT_REPWRON@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	cmp	w0, #0
	csel	w3, wzr, w2, eq
	mov	x0, x8
	bl	_regmap_update_bits
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _RN5T618_SLPCNT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RN5T618_SLPCNT@GOTPAGEOFF]
Lloh10:
	adrp	x9, _RN5T618_SLPCNT_SWPWROFF@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RN5T618_SLPCNT_SWPWROFF@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	ldr	w2, [x9]
	mov	x3, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rn5t618_pm_power_off,8,3       ; @rn5t618_pm_power_off
	.comm	_RN5T618_REPCNT,4,2             ; @RN5T618_REPCNT
	.comm	_RN5T618_REPCNT_REPWRON,4,2     ; @RN5T618_REPCNT_REPWRON
	.comm	_RN5T618_SLPCNT,4,2             ; @RN5T618_SLPCNT
	.comm	_RN5T618_SLPCNT_SWPWROFF,4,2    ; @RN5T618_SLPCNT_SWPWROFF
	.no_dead_strip	_rn5t618_trigger_poweroff_sequence
.subsections_via_symbols
