	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa5246a_clear_found_bit
_saa5246a_clear_found_bit:              ## @saa5246a_clear_found_bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_SAA5246A_REGISTER_R8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R8_DO_NOT_CLEAR_MEMORY@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	orb	%r14b, %al
	movq	_R9_CURSER_ROW_25@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_R10_CURSER_COLUMN_8@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movq	_COMMAND_END@GOTPCREL(%rip), %r12
	movzbl	(%r12), %r9d
	movzbl	%al, %edx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_i2c_senddata
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-41(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_i2c_getdata
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ROW25_COLUMN8_PAGE_NOT_FOUND@GOTPCREL(%rip), %rax
	movb	-41(%rbp), %bl
	orb	(%rax), %bl
	movb	%bl, -41(%rbp)
	movq	_R8_DO_NOT_CLEAR_MEMORY@GOTPCREL(%rip), %rax
	orb	(%rax), %r14b
	movq	_SAA5246A_REGISTER_R8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R9_CURSER_ROW_25@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movzbl	%r14b, %edx
	movzbl	%bl, %r9d
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_i2c_senddata
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_SAA5246A_REGISTER_R8,4,2       ## @SAA5246A_REGISTER_R8
	.comm	_R8_DO_NOT_CLEAR_MEMORY,1,0     ## @R8_DO_NOT_CLEAR_MEMORY
	.comm	_R9_CURSER_ROW_25,4,2           ## @R9_CURSER_ROW_25
	.comm	_R10_CURSER_COLUMN_8,4,2        ## @R10_CURSER_COLUMN_8
	.comm	_COMMAND_END,4,2                ## @COMMAND_END
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ROW25_COLUMN8_PAGE_NOT_FOUND,1,0 ## @ROW25_COLUMN8_PAGE_NOT_FOUND
	.no_dead_strip	_saa5246a_clear_found_bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa5246a_clear_found_bit
_saa5246a_clear_found_bit:              ; @saa5246a_clear_found_bit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _SAA5246A_REGISTER_R8@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SAA5246A_REGISTER_R8@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _R8_DO_NOT_CLEAR_MEMORY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _R8_DO_NOT_CLEAR_MEMORY@GOTPAGEOFF]
	ldrb	w8, [x22]
	orr	w8, w8, w20
Lloh4:
	adrp	x23, _R9_CURSER_ROW_25@GOTPAGE
Lloh5:
	ldr	x23, [x23, _R9_CURSER_ROW_25@GOTPAGEOFF]
Lloh6:
	adrp	x24, _R10_CURSER_COLUMN_8@GOTPAGE
Lloh7:
	ldr	x24, [x24, _R10_CURSER_COLUMN_8@GOTPAGEOFF]
	ldr	w3, [x23]
	ldr	w4, [x24]
Lloh8:
	adrp	x25, _COMMAND_END@GOTPAGE
Lloh9:
	ldr	x25, [x25, _COMMAND_END@GOTPAGEOFF]
	ldrb	w5, [x25]
	and	w2, w8, #0xff
	bl	_i2c_senddata
	cbnz	x0, LBB0_3
; %bb.1:
	add	x2, sp, #15
	mov	x0, x19
	mov	w1, #1
	bl	_i2c_getdata
	cbnz	x0, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _ROW25_COLUMN8_PAGE_NOT_FOUND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ROW25_COLUMN8_PAGE_NOT_FOUND@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [sp, #15]
	orr	w8, w9, w8
	strb	w8, [sp, #15]
	ldr	w1, [x21]
	ldrb	w9, [x22]
	orr	w2, w9, w20
	ldr	w3, [x23]
	ldr	w4, [x24]
	ldr	w9, [x25]
	str	x9, [sp]
	and	w5, w8, #0xff
	mov	x0, x19
	bl	_i2c_senddata
	cbz	x0, LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SAA5246A_REGISTER_R8,4,2       ; @SAA5246A_REGISTER_R8
	.comm	_R8_DO_NOT_CLEAR_MEMORY,1,0     ; @R8_DO_NOT_CLEAR_MEMORY
	.comm	_R9_CURSER_ROW_25,4,2           ; @R9_CURSER_ROW_25
	.comm	_R10_CURSER_COLUMN_8,4,2        ; @R10_CURSER_COLUMN_8
	.comm	_COMMAND_END,4,2                ; @COMMAND_END
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ROW25_COLUMN8_PAGE_NOT_FOUND,1,0 ; @ROW25_COLUMN8_PAGE_NOT_FOUND
	.no_dead_strip	_saa5246a_clear_found_bit
.subsections_via_symbols
