	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edid_verify_crc
_edid_verify_crc:                       ## @edid_verify_crc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	callq	_get_ad9389b_state
	movl	(%rax), %r12d
	movq	8(%rax), %r14
	movl	%r15d, %ebx
	shll	$8, %ebx
	movslq	%ebx, %rax
	leaq	(%r14,%rax,4), %rdi
	callq	_edid_block_verify_crc
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leal	(%r15,%r15), %ecx
	addl	$2, %ecx
	movl	$1, %eax
	cmpl	%r12d, %ecx
	jg	LBB0_3
## %bb.4:
	orl	$128, %ebx
	movslq	%ebx, %rax
	leaq	(%r14,%rax,4), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_edid_block_verify_crc          ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_edid_verify_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edid_verify_crc
_edid_verify_crc:                       ; @edid_verify_crc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_get_ad9389b_state
	ldr	w21, [x0]
	ldr	x20, [x0, #8]
	sbfiz	x22, x19, #8, #32
	add	x0, x20, w22, sxtw #2
	bl	_edid_block_verify_crc
	cbz	w0, LBB0_3
; %bb.1:
	lsl	w8, w19, #1
	add	w8, w8, #2
	cmp	w8, w21
	b.le	LBB0_4
; %bb.2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	lsl	x8, x22, #2
	orr	x8, x8, #0x200
	add	x0, x20, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_edid_block_verify_crc
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_edid_verify_crc
.subsections_via_symbols
