	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_adjust_compliance_config ## -- Begin function intel_dp_adjust_compliance_config
	.p2align	4, 0x90
_intel_dp_adjust_compliance_config:     ## @intel_dp_adjust_compliance_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	16(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	leal	(%rcx,%rcx,2), %eax
	movl	%eax, 4(%r14)
	movl	%eax, (%r14)
	xorl	%edx, %edx
	cmpl	$6, %ecx
	sete	%dl
	movl	%edx, (%rsi)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG_KMS
LBB0_2:
	movq	(%rbx), %rax
	movq	_DP_TEST_LINK_TRAINING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_intel_dp_link_params_valid
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	28(%rbx), %edi
	movl	12(%rbx), %edx
	movl	24(%rbx), %esi
	callq	_intel_dp_rate_index
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movl	%eax, 12(%r14)
	movl	%eax, 8(%r14)
LBB0_6:
	movl	8(%rbx), %eax
	movl	%eax, 16(%r14)
	movl	%eax, 20(%r14)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting pipe_bpp to %d\n"

	.comm	_DP_TEST_LINK_TRAINING,8,3      ## @DP_TEST_LINK_TRAINING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_adjust_compliance_config ; -- Begin function intel_dp_adjust_compliance_config
	.p2align	2
_intel_dp_adjust_compliance_config:     ; @intel_dp_adjust_compliance_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	ldr	w9, [x0, #16]
	cbz	w9, LBB0_2
; %bb.1:
	add	w8, w9, w9, lsl #1
	stp	w8, w8, [x19]
	cmp	w9, #6
	cset	w9, eq
	str	w9, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_DRM_DEBUG_KMS
LBB0_2:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _DP_TEST_LINK_TRAINING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DP_TEST_LINK_TRAINING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldp	w2, w1, [x20, #8]
	mov	x0, x20
	bl	_intel_dp_link_params_valid
	cbz	x0, LBB0_7
; %bb.4:
	ldp	w1, w0, [x20, #24]
	ldr	w2, [x20, #12]
	bl	_intel_dp_rate_index
	tbnz	w0, #31, LBB0_6
; %bb.5:
	stp	w0, w0, [x19, #8]
LBB0_6:
	ldr	w8, [x20, #8]
	stp	w8, w8, [x19, #16]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting pipe_bpp to %d\n"

	.comm	_DP_TEST_LINK_TRAINING,8,3      ; @DP_TEST_LINK_TRAINING
.subsections_via_symbols
