	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyapa_gen6_deep_sleep
_cyapa_gen6_deep_sleep:                 ## @cyapa_gen6_deep_sleep
	.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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movups	l___const.cyapa_gen6_deep_sleep.ping+12(%rip), %xmm0
	movups	%xmm0, -52(%rbp)
	movaps	l___const.cyapa_gen6_deep_sleep.ping(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_PIP_DEEP_SLEEP_STATE_ON@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$28, %edx
	callq	_cyapa_i2c_pip_write
LBB0_2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cyapa_pip_deep_sleep
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.cyapa_gen6_deep_sleep.ping
l___const.cyapa_gen6_deep_sleep.ping:
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	47                              ## 0x2f
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_PIP_DEEP_SLEEP_STATE_ON,4,2    ## @PIP_DEEP_SLEEP_STATE_ON
	.no_dead_strip	_cyapa_gen6_deep_sleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyapa_gen6_deep_sleep
_cyapa_gen6_deep_sleep:                 ; @cyapa_gen6_deep_sleep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.cyapa_gen6_deep_sleep.ping@PAGE
Lloh4:
	add	x8, x8, l___const.cyapa_gen6_deep_sleep.ping@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldur	q0, [x8, #12]
	stur	q0, [sp, #12]
Lloh5:
	adrp	x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIP_DEEP_SLEEP_STATE_ON@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x20
	mov	w2, #28
	bl	_cyapa_i2c_pip_write
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_cyapa_pip_deep_sleep
	ldur	x8, [x29, #-24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.cyapa_gen6_deep_sleep.ping
l___const.cyapa_gen6_deep_sleep.ping:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	47                              ; 0x2f
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_PIP_DEEP_SLEEP_STATE_ON,4,2    ; @PIP_DEEP_SLEEP_STATE_ON
	.no_dead_strip	_cyapa_gen6_deep_sleep
.subsections_via_symbols
