	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pip_suspend_scanning     ## -- Begin function cyapa_pip_suspend_scanning
	.p2align	4, 0x90
_cyapa_pip_suspend_scanning:            ## @cyapa_pip_suspend_scanning
	.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	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movups	l___const.cyapa_pip_suspend_scanning.cmd+12(%rip), %xmm0
	movups	%xmm0, -52(%rbp)
	movaps	l___const.cyapa_pip_suspend_scanning.cmd(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_cyapa_empty_pip_output_data
	movl	$24, -100(%rbp)
	movq	_cyapa_sort_tsg_pip_app_resp_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-64(%rbp), %rsi
	leaq	-96(%rbp), %rcx
	leaq	-100(%rbp), %r8
	movq	%r14, %rdi
	movl	$28, %edx
	movl	$500, %r9d                      ## imm = 0x1F4
	pushq	$1
	pushq	%rax
	callq	_cyapa_i2c_pip_cmd_irq_sync
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_1
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_1:
	leaq	-96(%rbp), %rdi
	movl	$3, %esi
	callq	_VALID_CMD_RESP_HEADER
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_cyapa_empty_pip_output_data
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.cyapa_pip_suspend_scanning.cmd
l___const.cyapa_pip_suspend_scanning.cmd:
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	47                              ## 0x2f
	.long	0                               ## 0x0
	.long	3                               ## 0x3

	.comm	_cyapa_sort_tsg_pip_app_resp_data,4,2 ## @cyapa_sort_tsg_pip_app_resp_data
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pip_suspend_scanning     ; -- Begin function cyapa_pip_suspend_scanning
	.p2align	2
_cyapa_pip_suspend_scanning:            ; @cyapa_pip_suspend_scanning
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, 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_pip_suspend_scanning.cmd@PAGE
Lloh4:
	add	x8, x8, l___const.cyapa_pip_suspend_scanning.cmd@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldur	q0, [x8, #12]
	stur	q0, [sp, #44]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_cyapa_empty_pip_output_data
	mov	w8, #24
	str	w8, [sp, #4]
Lloh5:
	adrp	x8, _cyapa_sort_tsg_pip_app_resp_data@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cyapa_sort_tsg_pip_app_resp_data@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	add	x1, sp, #32
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	mov	w2, #28
	mov	w5, #500
	mov	w7, #1
	bl	_cyapa_i2c_pip_cmd_irq_sync
	cbz	w0, LBB0_2
LBB0_1:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	add	x0, sp, #8
	mov	w1, #3
	bl	_VALID_CMD_RESP_HEADER
	cbz	w0, LBB0_1
; %bb.3:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_cyapa_empty_pip_output_data
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.cyapa_pip_suspend_scanning.cmd
l___const.cyapa_pip_suspend_scanning.cmd:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	47                              ; 0x2f
	.long	0                               ; 0x0
	.long	3                               ; 0x3

	.comm	_cyapa_sort_tsg_pip_app_resp_data,4,2 ; @cyapa_sort_tsg_pip_app_resp_data
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
