	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyapa_gen5_set_power_mode
_cyapa_gen5_set_power_mode:             ## @cyapa_gen5_set_power_mode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	(%rdi), %rax
	movq	_CYAPA_STATE_GEN5_APP@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r15
	movl	%r12d, %esi
	callq	_cyapa_set_pip_pm_state
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_PWR_STATE
	movq	_UNINIT_PWR_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_PWR_MODE_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PIP_DEV_SET_PWR_STATE
LBB0_3:
	movq	%r13, %rdi
	callq	_PIP_DEV_UNINIT_SLEEP_TIME
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_PWR_STATE
	movq	_PWR_MODE_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_GEN5_PARAMETER_LP_INTRVL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%r13), %rdx
	movq	%r13, %rdi
	callq	_cyapa_gen5_get_interval_time
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_UNINIT_SLEEP_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PIP_DEV_SET_SLEEP_TIME
LBB0_7:
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_PWR_STATE
	cmpq	%r14, %rax
	jne	LBB0_12
## %bb.8:
	movq	_PWR_MODE_OFF@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	%r14, (%rax)
	je	LBB0_39
## %bb.9:
	movq	_PWR_MODE_FULL_ACTIVE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_39
## %bb.10:
	movq	_PWR_MODE_BTN_ONLY@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_39
## %bb.11:
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_SLEEP_TIME
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_39
LBB0_12:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_PWR_MODE_OFF@GOTPCREL(%rip), %r15
	cmpq	%r14, (%r15)
	jne	LBB0_16
## %bb.13:
	movq	_PIP_DEEP_SLEEP_STATE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cyapa_pip_deep_sleep
	testl	%eax, %eax
	je	LBB0_25
## %bb.14:
	movl	%eax, %ebx
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_15
LBB0_16:
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_PWR_STATE
	cmpq	(%r15), %rax
	jne	LBB0_19
## %bb.17:
	movq	_PIP_DEEP_SLEEP_STATE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cyapa_pip_deep_sleep
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	movslq	%eax, %rdx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_19:
	movq	_PWR_MODE_FULL_ACTIVE@GOTPCREL(%rip), %r15
	cmpq	%r14, (%r15)
	jne	LBB0_22
## %bb.20:
	movq	_GEN5_POWER_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_cyapa_gen5_change_power_state
	testl	%eax, %eax
	je	LBB0_25
## %bb.21:
	movl	%eax, %ebx
	movslq	%eax, %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_22:
	movq	_PWR_MODE_BTN_ONLY@GOTPCREL(%rip), %r15
	cmpq	%r14, (%r15)
	jne	LBB0_26
## %bb.23:
	movq	_GEN5_POWER_STATE_BTN_ONLY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_cyapa_gen5_change_power_state
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	movslq	%eax, %rdx
	leaq	L_.str.3(%rip), %rsi
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_39
LBB0_25:
	movq	(%r15), %rsi
	movq	%r13, %rdi
LBB0_38:
	callq	_PIP_DEV_SET_PWR_STATE
	xorl	%ebx, %ebx
LBB0_39:
	movq	%r13, %rdi
	callq	_cyapa_reset_pip_pm_state
LBB0_40:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	%r13, %rdi
	callq	_PIP_DEV_UNINIT_SLEEP_TIME
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_28
## %bb.27:
	movq	%r13, %rdi
	callq	_PIP_DEV_GET_SLEEP_TIME
	cmpq	%rbx, %rax
	je	LBB0_30
LBB0_28:
	movq	_GEN5_PARAMETER_LP_INTRVL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_cyapa_gen5_set_interval_time
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_PIP_DEV_SET_SLEEP_TIME
LBB0_30:
	movq	_GEN5_POWER_READY_MAX_INTRVL_TIME@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_31
## %bb.32:
	movq	_GEN5_POWER_STATE_IDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_31:
	movq	_GEN5_POWER_STATE_READY@GOTPCREL(%rip), %rax
LBB0_33:
	movq	(%rax), %r14
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_cyapa_gen5_change_power_state
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_39
LBB0_35:
	movq	_CYAPA_PM_SUSPEND@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_37
## %bb.36:
	movq	%r13, %rdi
	callq	_cyapa_gen5_disable_pip_report
LBB0_37:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cyapa_sleep_time_to_pwr_cmd
	movq	%r13, %rdi
	movq	%rax, %rsi
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_CYAPA_STATE_GEN5_APP,8,3       ## @CYAPA_STATE_GEN5_APP
	.comm	_UNINIT_PWR_MODE,8,3            ## @UNINIT_PWR_MODE
	.comm	_PWR_MODE_OFF,8,3               ## @PWR_MODE_OFF
	.comm	_GEN5_PARAMETER_LP_INTRVL_ID,4,2 ## @GEN5_PARAMETER_LP_INTRVL_ID
	.comm	_UNINIT_SLEEP_TIME,8,3          ## @UNINIT_SLEEP_TIME
	.comm	_PWR_MODE_FULL_ACTIVE,8,3       ## @PWR_MODE_FULL_ACTIVE
	.comm	_PWR_MODE_BTN_ONLY,8,3          ## @PWR_MODE_BTN_ONLY
	.comm	_PIP_DEEP_SLEEP_STATE_OFF,4,2   ## @PIP_DEEP_SLEEP_STATE_OFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter deep sleep fail: %d\n"

	.comm	_PIP_DEEP_SLEEP_STATE_ON,4,2    ## @PIP_DEEP_SLEEP_STATE_ON
L_.str.1:                               ## @.str.1
	.asciz	"deep sleep wake fail: %d\n"

	.comm	_GEN5_POWER_STATE_ACTIVE,8,3    ## @GEN5_POWER_STATE_ACTIVE
L_.str.2:                               ## @.str.2
	.asciz	"change to active fail: %d\n"

	.comm	_GEN5_POWER_STATE_BTN_ONLY,8,3  ## @GEN5_POWER_STATE_BTN_ONLY
L_.str.3:                               ## @.str.3
	.asciz	"fail to button only mode: %d\n"

	.comm	_GEN5_POWER_READY_MAX_INTRVL_TIME,8,3 ## @GEN5_POWER_READY_MAX_INTRVL_TIME
	.comm	_GEN5_POWER_STATE_READY,8,3     ## @GEN5_POWER_STATE_READY
	.comm	_GEN5_POWER_STATE_IDLE,8,3      ## @GEN5_POWER_STATE_IDLE
L_.str.4:                               ## @.str.4
	.asciz	"set power state to 0x%02x failed: %d\n"

	.comm	_CYAPA_PM_SUSPEND,4,2           ## @CYAPA_PM_SUSPEND
	.no_dead_strip	_cyapa_gen5_set_power_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyapa_gen5_set_power_mode
_cyapa_gen5_set_power_mode:             ; @cyapa_gen5_set_power_mode
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CYAPA_STATE_GEN5_APP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CYAPA_STATE_GEN5_APP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x1, x3
	bl	_cyapa_set_pip_pm_state
	mov	x0, x19
	bl	_PIP_DEV_GET_PWR_STATE
Lloh3:
	adrp	x8, _UNINIT_PWR_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UNINIT_PWR_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x24, _PWR_MODE_OFF@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PWR_MODE_OFF@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	x1, [x24]
	mov	x0, x19
	bl	_PIP_DEV_SET_PWR_STATE
LBB0_3:
	mov	x0, x19
	bl	_PIP_DEV_UNINIT_SLEEP_TIME
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_PIP_DEV_GET_PWR_STATE
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _GEN5_PARAMETER_LP_INTRVL_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GEN5_PARAMETER_LP_INTRVL_ID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, x19, #8
	mov	x0, x19
	bl	_cyapa_gen5_get_interval_time
	cbz	x0, LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _UNINIT_SLEEP_TIME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UNINIT_SLEEP_TIME@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_PIP_DEV_SET_SLEEP_TIME
LBB0_7:
	mov	x0, x19
	bl	_PIP_DEV_GET_PWR_STATE
	cmp	x0, x23
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x24]
Lloh14:
	adrp	x9, _PWR_MODE_FULL_ACTIVE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PWR_MODE_FULL_ACTIVE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _PWR_MODE_BTN_ONLY@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PWR_MODE_BTN_ONLY@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x23
	ccmp	x9, x23, #4, ne
	ccmp	x10, x23, #4, ne
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_PIP_DEV_GET_SLEEP_TIME
	cmp	x0, x21
	b.ne	LBB0_12
LBB0_10:
	mov	w21, #0
	b	LBB0_33
LBB0_11:
	mov	w21, #0
	b	LBB0_34
LBB0_12:
	ldr	x8, [x24]
	cmp	x8, x23
	b.ne	LBB0_15
; %bb.13:
Lloh20:
	adrp	x8, _PIP_DEEP_SLEEP_STATE_OFF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PIP_DEEP_SLEEP_STATE_OFF@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cyapa_pip_deep_sleep
	mov	x21, x0
	cbz	w0, LBB0_25
; %bb.14:
	sxtw	x2, w21
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_33
LBB0_15:
	mov	x0, x19
	bl	_PIP_DEV_GET_PWR_STATE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.16:
Lloh25:
	adrp	x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cyapa_pip_deep_sleep
	cbz	w0, LBB0_18
; %bb.17:
	mov	x24, x0
	sxtw	x2, w24
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	b	LBB0_32
LBB0_18:
Lloh30:
	adrp	x24, _PWR_MODE_FULL_ACTIVE@GOTPAGE
Lloh31:
	ldr	x24, [x24, _PWR_MODE_FULL_ACTIVE@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x23
	b.ne	LBB0_21
; %bb.19:
Lloh32:
	adrp	x8, _GEN5_POWER_STATE_ACTIVE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GEN5_POWER_STATE_ACTIVE@GOTPAGEOFF]
Lloh34:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_cyapa_gen5_change_power_state
	mov	x21, x0
	cbz	w0, LBB0_25
; %bb.20:
	sxtw	x2, w21
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_24
LBB0_21:
Lloh37:
	adrp	x24, _PWR_MODE_BTN_ONLY@GOTPAGE
Lloh38:
	ldr	x24, [x24, _PWR_MODE_BTN_ONLY@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x23
	b.ne	LBB0_26
; %bb.22:
Lloh39:
	adrp	x8, _GEN5_POWER_STATE_BTN_ONLY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GEN5_POWER_STATE_BTN_ONLY@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_cyapa_gen5_change_power_state
	mov	x21, x0
	cbz	w0, LBB0_25
; %bb.23:
	sxtw	x2, w21
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_24:
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_33
LBB0_25:
	ldr	x1, [x24]
	mov	x0, x19
	bl	_PIP_DEV_SET_PWR_STATE
	b	LBB0_33
LBB0_26:
	mov	x0, x19
	bl	_PIP_DEV_UNINIT_SLEEP_TIME
	cbnz	x0, LBB0_28
; %bb.27:
	mov	x0, x19
	bl	_PIP_DEV_GET_SLEEP_TIME
	cmp	x0, x21
	b.eq	LBB0_30
LBB0_28:
Lloh44:
	adrp	x8, _GEN5_PARAMETER_LP_INTRVL_ID@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GEN5_PARAMETER_LP_INTRVL_ID@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_cyapa_gen5_set_interval_time
	cbnz	x0, LBB0_30
; %bb.29:
	mov	x0, x19
	mov	x1, x21
	bl	_PIP_DEV_SET_SLEEP_TIME
LBB0_30:
Lloh47:
	adrp	x8, _GEN5_POWER_READY_MAX_INTRVL_TIME@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GEN5_POWER_READY_MAX_INTRVL_TIME@GOTPAGEOFF]
Lloh49:
	adrp	x9, _GEN5_POWER_STATE_IDLE@GOTPAGE
Lloh50:
	ldr	x9, [x9, _GEN5_POWER_STATE_IDLE@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
Lloh52:
	adrp	x10, _GEN5_POWER_STATE_READY@GOTPAGE
Lloh53:
	ldr	x10, [x10, _GEN5_POWER_STATE_READY@GOTPAGEOFF]
	cmp	x8, x21
	csel	x8, x9, x10, lt
	ldr	x23, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_cyapa_gen5_change_power_state
	cbz	w0, LBB0_35
; %bb.31:
	mov	x24, x0
	str	x24, [sp]
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x23
LBB0_32:
	bl	_dev_err
	mov	x21, x24
LBB0_33:
	mov	x0, x19
	bl	_cyapa_reset_pip_pm_state
LBB0_34:
	mov	x0, x21
	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_35:
Lloh56:
	adrp	x8, _CYAPA_PM_SUSPEND@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CYAPA_PM_SUSPEND@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_37
; %bb.36:
	mov	x0, x19
	bl	_cyapa_gen5_disable_pip_report
LBB0_37:
	mov	x0, x21
	bl	_cyapa_sleep_time_to_pwr_cmd
	mov	x1, x0
	mov	x0, x19
	bl	_PIP_DEV_SET_PWR_STATE
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_CYAPA_STATE_GEN5_APP,8,3       ; @CYAPA_STATE_GEN5_APP
	.comm	_UNINIT_PWR_MODE,8,3            ; @UNINIT_PWR_MODE
	.comm	_PWR_MODE_OFF,8,3               ; @PWR_MODE_OFF
	.comm	_GEN5_PARAMETER_LP_INTRVL_ID,4,2 ; @GEN5_PARAMETER_LP_INTRVL_ID
	.comm	_UNINIT_SLEEP_TIME,8,3          ; @UNINIT_SLEEP_TIME
	.comm	_PWR_MODE_FULL_ACTIVE,8,3       ; @PWR_MODE_FULL_ACTIVE
	.comm	_PWR_MODE_BTN_ONLY,8,3          ; @PWR_MODE_BTN_ONLY
	.comm	_PIP_DEEP_SLEEP_STATE_OFF,4,2   ; @PIP_DEEP_SLEEP_STATE_OFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter deep sleep fail: %d\n"

	.comm	_PIP_DEEP_SLEEP_STATE_ON,4,2    ; @PIP_DEEP_SLEEP_STATE_ON
l_.str.1:                               ; @.str.1
	.asciz	"deep sleep wake fail: %d\n"

	.comm	_GEN5_POWER_STATE_ACTIVE,8,3    ; @GEN5_POWER_STATE_ACTIVE
l_.str.2:                               ; @.str.2
	.asciz	"change to active fail: %d\n"

	.comm	_GEN5_POWER_STATE_BTN_ONLY,8,3  ; @GEN5_POWER_STATE_BTN_ONLY
l_.str.3:                               ; @.str.3
	.asciz	"fail to button only mode: %d\n"

	.comm	_GEN5_POWER_READY_MAX_INTRVL_TIME,8,3 ; @GEN5_POWER_READY_MAX_INTRVL_TIME
	.comm	_GEN5_POWER_STATE_READY,8,3     ; @GEN5_POWER_STATE_READY
	.comm	_GEN5_POWER_STATE_IDLE,8,3      ; @GEN5_POWER_STATE_IDLE
l_.str.4:                               ; @.str.4
	.asciz	"set power state to 0x%02x failed: %d\n"

	.comm	_CYAPA_PM_SUSPEND,4,2           ; @CYAPA_PM_SUSPEND
	.no_dead_strip	_cyapa_gen5_set_power_mode
.subsections_via_symbols
