	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pip_bl_exit              ## -- Begin function cyapa_pip_bl_exit
	.p2align	4, 0x90
_cyapa_pip_bl_exit:                     ## @cyapa_pip_bl_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$128, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit+48(%rip), %eax
	movl	%eax, -16(%rbp)
	movaps	l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit+32(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	$44, -116(%rbp)
	movq	_cyapa_sort_pip_bl_exit_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-64(%rbp), %rsi
	leaq	-112(%rbp), %rcx
	leaq	-116(%rbp), %r8
	movl	$52, %edx
	movl	$5000, %r9d                     ## imm = 0x1388
	pushq	$0
	pushq	%rax
	callq	_cyapa_i2c_pip_cmd_irq_sync
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-116(%rbp), %eax
	movq	_PIP_BL_FAIL_EXIT_RESP_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movq	_PIP_RESP_REPORT_ID_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-112(%rbp,%rax,4), %eax
	movq	_PIP_BL_RESP_REPORT_ID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
LBB0_3:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$128, %rsp
	popq	%rbp
	retq
LBB0_4:
	movl	-112(%rbp), %ecx
	xorl	%eax, %eax
	orl	-108(%rbp), %ecx
	je	LBB0_7
## %bb.5:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.cyapa_pip_bl_exit.bl_gen5_bl_exit
l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit:
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	11                              ## 0xb
	.long	0                               ## 0x0
	.long	64                              ## 0x40
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	59                              ## 0x3b
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	32                              ## 0x20
	.long	199                             ## 0xc7
	.long	23                              ## 0x17

	.comm	_cyapa_sort_pip_bl_exit_data,4,2 ## @cyapa_sort_pip_bl_exit_data
	.comm	_PIP_BL_FAIL_EXIT_RESP_LEN,4,2  ## @PIP_BL_FAIL_EXIT_RESP_LEN
	.comm	_PIP_RESP_REPORT_ID_OFFSET,8,3  ## @PIP_RESP_REPORT_ID_OFFSET
	.comm	_PIP_BL_RESP_REPORT_ID,4,2      ## @PIP_BL_RESP_REPORT_ID
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cyapa_pip_bl_exit              ; -- Begin function cyapa_pip_bl_exit
	.p2align	2
_cyapa_pip_bl_exit:                     ; @cyapa_pip_bl_exit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit@PAGE
Lloh4:
	add	x8, x8, l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #48]
	ldr	q0, [x8, #32]
	str	q0, [sp, #80]
	ldr	w8, [x8, #48]
	str	w8, [sp, #96]
	mov	w8, #44
	str	w8, [sp]
Lloh5:
	adrp	x8, _cyapa_sort_pip_bl_exit_data@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cyapa_sort_pip_bl_exit_data@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	add	x1, sp, #48
	add	x3, sp, #4
	mov	x4, sp
	mov	w2, #52
	mov	w5, #5000
	mov	w7, #0
	bl	_cyapa_i2c_pip_cmd_irq_sync
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w8, [sp]
Lloh8:
	adrp	x9, _PIP_BL_FAIL_EXIT_RESP_LEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PIP_BL_FAIL_EXIT_RESP_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _PIP_RESP_REPORT_ID_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PIP_RESP_REPORT_ID_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x9, sp, #4
	ldr	w8, [x9, x8, lsl #2]
Lloh14:
	adrp	x9, _PIP_BL_RESP_REPORT_ID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PIP_BL_RESP_REPORT_ID@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
LBB0_3:
Lloh17:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldur	x8, [x29, #-8]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	ldp	w8, w9, [sp, #4]
	orr	w8, w8, w9
	cbnz	w8, LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_5
LBB0_9:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.cyapa_pip_bl_exit.bl_gen5_bl_exit
l___const.cyapa_pip_bl_exit.bl_gen5_bl_exit:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	11                              ; 0xb
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	59                              ; 0x3b
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	32                              ; 0x20
	.long	199                             ; 0xc7
	.long	23                              ; 0x17

	.comm	_cyapa_sort_pip_bl_exit_data,4,2 ; @cyapa_sort_pip_bl_exit_data
	.comm	_PIP_BL_FAIL_EXIT_RESP_LEN,4,2  ; @PIP_BL_FAIL_EXIT_RESP_LEN
	.comm	_PIP_RESP_REPORT_ID_OFFSET,8,3  ; @PIP_RESP_REPORT_ID_OFFSET
	.comm	_PIP_BL_RESP_REPORT_ID,4,2      ; @PIP_BL_RESP_REPORT_ID
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
