	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edp_clock_synchrous
_edp_clock_synchrous:                   ## @edp_clock_synchrous
	.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
	movq	%rdi, %r14
	movq	_REG_EDP_MISC1_MISC0@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%r14), %rdi
	callq	_edp_read
	movq	_EDP_MISC1_MISC0_SYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%r14), %ecx
	addl	$-8, %ecx
	cmpl	$8, %ecx
	ja	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_switch.table.edp_clock_synchrous(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_EDP_6BIT@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	%ebx, %edx
	notl	%edx
	andl	%eax, %edx
	orl	%eax, %ebx
	testl	%r15d, %r15d
	cmovel	%edx, %ebx
	movl	(%rcx), %edi
	callq	_EDP_MISC1_MISC0_COLOR
	orl	%eax, %ebx
	movq	(%r12), %rdi
	addq	8(%r14), %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_edp_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_EDP_MISC1_MISC0,8,3        ## @REG_EDP_MISC1_MISC0
	.comm	_EDP_MISC1_MISC0_SYNC,4,2       ## @EDP_MISC1_MISC0_SYNC
	.comm	_EDP_6BIT,4,2                   ## @EDP_6BIT
	.comm	_EDP_8BIT,4,2                   ## @EDP_8BIT
	.comm	_EDP_10BIT,4,2                  ## @EDP_10BIT
	.comm	_EDP_12BIT,4,2                  ## @EDP_12BIT
	.comm	_EDP_16BIT,4,2                  ## @EDP_16BIT
	.no_dead_strip	_edp_clock_synchrous
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.edp_clock_synchrous
l_switch.table.edp_clock_synchrous:
	.quad	_EDP_8BIT
	.quad	_EDP_6BIT
	.quad	_EDP_10BIT
	.quad	_EDP_6BIT
	.quad	_EDP_12BIT
	.quad	_EDP_6BIT
	.quad	_EDP_6BIT
	.quad	_EDP_6BIT
	.quad	_EDP_16BIT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edp_clock_synchrous
_edp_clock_synchrous:                   ; @edp_clock_synchrous
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x21, _REG_EDP_MISC1_MISC0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_EDP_MISC1_MISC0@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_edp_read
Lloh2:
	adrp	x8, _EDP_MISC1_MISC0_SYNC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EDP_MISC1_MISC0_SYNC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	sub	w9, w9, #8
	cmp	w9, #8
	b.hi	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, l_switch.table.edp_clock_synchrous@PAGE
Lloh6:
	add	x10, x10, l_switch.table.edp_clock_synchrous@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x9, _EDP_6BIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EDP_6BIT@GOTPAGEOFF]
LBB0_3:
	bic	w10, w0, w8
	orr	w8, w8, w0
	cmp	w20, #0
	csel	w20, w10, w8, eq
	ldr	w0, [x9]
	bl	_EDP_MISC1_MISC0_COLOR
	orr	w1, w0, w20
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x9, 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	_edp_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_EDP_MISC1_MISC0,8,3        ; @REG_EDP_MISC1_MISC0
	.comm	_EDP_MISC1_MISC0_SYNC,4,2       ; @EDP_MISC1_MISC0_SYNC
	.comm	_EDP_6BIT,4,2                   ; @EDP_6BIT
	.comm	_EDP_8BIT,4,2                   ; @EDP_8BIT
	.comm	_EDP_10BIT,4,2                  ; @EDP_10BIT
	.comm	_EDP_12BIT,4,2                  ; @EDP_12BIT
	.comm	_EDP_16BIT,4,2                  ; @EDP_16BIT
	.no_dead_strip	_edp_clock_synchrous
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.edp_clock_synchrous
l_switch.table.edp_clock_synchrous:
	.quad	_EDP_8BIT
	.quad	_EDP_6BIT
	.quad	_EDP_10BIT
	.quad	_EDP_6BIT
	.quad	_EDP_12BIT
	.quad	_EDP_6BIT
	.quad	_EDP_6BIT
	.quad	_EDP_6BIT
	.quad	_EDP_16BIT

.subsections_via_symbols
