	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pwr_cmd_to_sleep_time    ## -- Begin function cyapa_pwr_cmd_to_sleep_time
	.p2align	4, 0x90
_cyapa_pwr_cmd_to_sleep_time:           ## @cyapa_pwr_cmd_to_sleep_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	sarl	$2, %eax
	leal	(%rax,%rax), %ecx
	cmpl	$40, %edi
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rax,%rax,4), %eax
	leal	-100(,%rax,4), %eax
	cmovll	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pwr_cmd_to_sleep_time    ; -- Begin function cyapa_pwr_cmd_to_sleep_time
	.p2align	2
_cyapa_pwr_cmd_to_sleep_time:           ; @cyapa_pwr_cmd_to_sleep_time
	.cfi_startproc
; %bb.0:
	asr	w8, w0, #2
	and	w9, w0, #0xfffffffc
	add	w9, w9, w8
	lsl	w9, w9, #1
	mov	w10, #20
	mul	w8, w8, w10
	sub	w8, w8, #100
	cmp	w0, #40
	csel	w0, w9, w8, lt
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
