	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_link_rate_to_bw_code    ## -- Begin function drm_dp_link_rate_to_bw_code
	.p2align	4, 0x90
_drm_dp_link_rate_to_bw_code:           ## @drm_dp_link_rate_to_bw_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$270000, %edi                   ## imm = 0x41EB0
	jne	LBB0_1
## %bb.2:
	movq	_DP_LINK_BW_2_7@GOTPCREL(%rip), %rax
	cmpl	$540000, %edi                   ## imm = 0x83D60
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_DP_LINK_BW_1_62@GOTPCREL(%rip), %rax
	cmpl	$540000, %edi                   ## imm = 0x83D60
	jne	LBB0_5
LBB0_4:
	movq	_DP_LINK_BW_5_4@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_LINK_BW_1_62,4,2            ## @DP_LINK_BW_1_62
	.comm	_DP_LINK_BW_2_7,4,2             ## @DP_LINK_BW_2_7
	.comm	_DP_LINK_BW_5_4,4,2             ## @DP_LINK_BW_5_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_dp_link_rate_to_bw_code    ; -- Begin function drm_dp_link_rate_to_bw_code
	.p2align	2
_drm_dp_link_rate_to_bw_code:           ; @drm_dp_link_rate_to_bw_code
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DP_LINK_BW_5_4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_LINK_BW_5_4@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DP_LINK_BW_2_7@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DP_LINK_BW_2_7@GOTPAGEOFF]
Lloh4:
	adrp	x10, _DP_LINK_BW_1_62@GOTPAGE
Lloh5:
	ldr	x10, [x10, _DP_LINK_BW_1_62@GOTPAGEOFF]
	sub	w11, w0, #65, lsl #12           ; =266240
	cmp	w11, #3760
	csel	x9, x9, x10, eq
	sub	w10, w0, #131, lsl #12          ; =536576
	cmp	w10, #3424
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_LINK_BW_1_62,4,2            ; @DP_LINK_BW_1_62
	.comm	_DP_LINK_BW_2_7,4,2             ; @DP_LINK_BW_2_7
	.comm	_DP_LINK_BW_5_4,4,2             ; @DP_LINK_BW_5_4
.subsections_via_symbols
