	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpt_set_fdi_bc_bifurcation
_cpt_set_fdi_bc_bifurcation:            ## @cpt_set_fdi_bc_bifurcation
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_SOUTH_CHICKEN1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_I915_READ
	movl	%eax, %r15d
	movq	_FDI_BC_BIFURCATION_SELECT@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	testl	%r15d, (%rbx)
	setne	%al
	cmpl	%r14d, %eax
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_PIPE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FDI_RX_CTL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_FDI_RX_ENABLE@GOTPCREL(%rip), %r13
	andl	(%r13), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_PIPE_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FDI_RX_CTL
	movl	%eax, %edi
	callq	_I915_READ
	andl	(%r13), %eax
	movl	%eax, %edi
	callq	_WARN_ON
	movl	(%rbx), %ebx
	movl	%ebx, %eax
	notl	%eax
	andl	%r15d, %eax
	orl	%r15d, %ebx
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rcx, %rsi
	cmovel	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movl	(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOUTH_CHICKEN1,4,2             ## @SOUTH_CHICKEN1
	.comm	_FDI_BC_BIFURCATION_SELECT,4,2  ## @FDI_BC_BIFURCATION_SELECT
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_FDI_RX_ENABLE,4,2              ## @FDI_RX_ENABLE
	.comm	_PIPE_C,4,2                     ## @PIPE_C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%sabling fdi C rx\n"

L_.str.1:                               ## @.str.1
	.asciz	"en"

L_.str.2:                               ## @.str.2
	.asciz	"dis"

	.no_dead_strip	_cpt_set_fdi_bc_bifurcation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpt_set_fdi_bc_bifurcation
_cpt_set_fdi_bc_bifurcation:            ; @cpt_set_fdi_bc_bifurcation
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x21, _SOUTH_CHICKEN1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SOUTH_CHICKEN1@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_I915_READ
Lloh2:
	adrp	x22, _FDI_BC_BIFURCATION_SELECT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FDI_BC_BIFURCATION_SELECT@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	cset	w8, ne
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
Lloh4:
	adrp	x8, _PIPE_B@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PIPE_B@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_FDI_RX_CTL
	bl	_I915_READ
Lloh7:
	adrp	x23, _FDI_RX_ENABLE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _FDI_RX_ENABLE@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w0, w8, w0
	bl	_WARN_ON
Lloh9:
	adrp	x8, _PIPE_C@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PIPE_C@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_FDI_RX_CTL
	bl	_I915_READ
	ldr	w8, [x23]
	and	w0, w8, w0
	bl	_WARN_ON
	ldr	w8, [x22]
	bic	w9, w20, w8
Lloh12:
	adrp	x10, l_.str.1@PAGE
Lloh13:
	add	x10, x10, l_.str.1@PAGEOFF
	orr	w8, w8, w20
Lloh14:
	adrp	x11, l_.str.2@PAGE
Lloh15:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w19, #0
	csel	w19, w9, w8, eq
	csel	x1, x11, x10, eq
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldr	w0, [x21]
	mov	x1, x19
	bl	_I915_WRITE
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SOUTH_CHICKEN1,4,2             ; @SOUTH_CHICKEN1
	.comm	_FDI_BC_BIFURCATION_SELECT,4,2  ; @FDI_BC_BIFURCATION_SELECT
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_FDI_RX_ENABLE,4,2              ; @FDI_RX_ENABLE
	.comm	_PIPE_C,4,2                     ; @PIPE_C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%sabling fdi C rx\n"

l_.str.1:                               ; @.str.1
	.asciz	"en"

l_.str.2:                               ; @.str.2
	.asciz	"dis"

	.no_dead_strip	_cpt_set_fdi_bc_bifurcation
.subsections_via_symbols
