	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cy8ctmg110_set_sleepmode
_cy8ctmg110_set_sleepmode:              ## @cy8ctmg110_set_sleepmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorl	%eax, %eax
	testl	%esi, %esi
	sete	%cl
	setne	%al
	shlb	$4, %cl
	leal	(%rax,%rax,4), %eax
	movb	%cl, -3(%rbp)
	movb	$-1, -2(%rbp)
	movb	%al, -1(%rbp)
	movq	_CY8CTMG110_TOUCH_WAKEUP_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-3(%rbp), %rcx
	movl	$3, %edx
	callq	_cy8ctmg110_write_regs
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CY8CTMG110_TOUCH_WAKEUP_TIME,4,2 ## @CY8CTMG110_TOUCH_WAKEUP_TIME
	.no_dead_strip	_cy8ctmg110_set_sleepmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cy8ctmg110_set_sleepmode
_cy8ctmg110_set_sleepmode:              ; @cy8ctmg110_set_sleepmode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	w8, #5
	cmp	w1, #0
	csel	w8, wzr, w8, eq
	cset	w9, eq
	lsl	w9, w9, #4
	sturb	w9, [x29, #-3]
	mov	w9, #255
	sturb	w9, [x29, #-2]
	sturb	w8, [x29, #-1]
Lloh0:
	adrp	x8, _CY8CTMG110_TOUCH_WAKEUP_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CY8CTMG110_TOUCH_WAKEUP_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x3, x29, #3
	mov	w2, #3
	bl	_cy8ctmg110_write_regs
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CY8CTMG110_TOUCH_WAKEUP_TIME,4,2 ; @CY8CTMG110_TOUCH_WAKEUP_TIME
	.no_dead_strip	_cy8ctmg110_set_sleepmode
.subsections_via_symbols
