	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_compute_dsc_params    ## -- Begin function intel_dp_compute_dsc_params
	.p2align	4, 0x90
_intel_dp_compute_dsc_params:           ## @intel_dp_compute_dsc_params
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	4(%rsi), %r14d
	movl	8(%rsi), %esi
	movl	16(%rbx), %edi
	movl	%edi, 128(%rbx)
	movl	12(%rbx), %eax
	movl	%eax, 24(%rbx)
	callq	_DIV_ROUND_UP
	movl	%eax, 132(%rbx)
	movl	24(%rbx), %eax
	testb	$7, %al
	je	LBB0_1
## %bb.2:
	testb	$3, %al
	je	LBB0_3
## %bb.4:
	movl	$2, 28(%rbx)
	jmp	LBB0_5
LBB0_1:
	movl	$8, 28(%rbx)
	jmp	LBB0_5
LBB0_3:
	movl	$4, 28(%rbx)
LBB0_5:
	movq	(%r15), %rax
	movq	_DP_DSC_REV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_DP_DSC_SUPPORT@GOTPCREL(%rip), %r12
	subq	(%r12), %rdx
	movq	_DP_DSC_MAJOR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	(%rax,%rdx,4), %esi
	movq	_DP_DSC_MAJOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movl	%esi, 32(%rbx)
	movq	_DSC_SUPPORTED_VERSION_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_DP_DSC_MINOR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	(%rax,%rdx,4), %esi
	movq	_DP_DSC_MINOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	callq	_min
	movl	%eax, 36(%rbx)
	movq	(%r15), %rdi
	movq	_DP_DSC_DEC_COLOR_FORMAT_CAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	(%r12), %rax
	movq	_DP_DSC_RGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdi,%rax,4), %ecx
	movl	%ecx, 40(%rbx)
	callq	_drm_dp_dsc_sink_line_buf_depth
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	cmpl	$2, 36(%rbx)
	jne	LBB0_11
## %bb.9:
	movq	_DSC_1_2_MAX_LINEBUF_DEPTH_BITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_DSC_1_2_MAX_LINEBUF_DEPTH_VAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_7
LBB0_11:
	movq	_DSC_1_1_MAX_LINEBUF_DEPTH_BITS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovgeq	%rcx, %rax
LBB0_12:
	movq	%rax, 120(%rbx)
	movq	$0, 44(%rbx)
	movq	(%r15), %rax
	movq	_DP_DSC_BLK_PREDICTION_SUPPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	(%r12), %rcx
	movq	_DP_DSC_BLK_PREDICTION_IS_SUPPORTED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax,%rcx,4), %edx
	movl	%edx, 52(%rbx)
	movl	%r14d, %eax
	shll	$4, %eax
	movl	%eax, 56(%rbx)
	movslq	(%rbx), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, 60(%rbx)
	movq	_DSC_NUM_BUF_RANGES@GOTPCREL(%rip), %r15
	cmpl	$2, (%r15)
	jl	LBB0_15
## %bb.13:
	movq	_rc_buf_thresh@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	64(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	sarl	$6, %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%r15), %rsi
	decq	%rsi
	cmpq	%rsi, %rdx
	jl	LBB0_14
LBB0_15:
	cmpl	$6, %r14d
	jne	LBB0_17
## %bb.16:
	movq	64(%rbx), %rax
	movabsq	$536870912124, %rcx             ## imm = 0x7D0000007C
	movq	%rcx, 48(%rax)
LBB0_17:
	movl	%r14d, %edi
	callq	_get_row_index_for_rc_params
	movl	%eax, %r14d
	movl	60(%rbx), %edi
	callq	_get_column_index_for_rc_params
	testl	%r14d, %r14d
	js	LBB0_7
## %bb.18:
	testl	%eax, %eax
	js	LBB0_7
## %bb.19:
	movq	_rc_params@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, %eax
	leaq	(%rax,%rax,4), %rax
	movl	36(%rcx,%rax,8), %edx
	movl	%edx, 116(%rbx)
	movl	32(%rcx,%rax,8), %edx
	movl	%edx, 112(%rbx)
	movl	(%rcx,%rax,8), %r8d
	movl	%r8d, 72(%rbx)
	movups	16(%rcx,%rax,8), %xmm0
	movups	%xmm0, 96(%rbx)
	cmpl	$0, (%r15)
	jle	LBB0_22
## %bb.20:
	movq	8(%rcx,%rax,8), %rax
	movq	88(%rbx), %rdx
	movl	$8, %esi
	xorl	%edi, %edi
	movq	_DSC_RANGE_BPG_OFFSET_MASK@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi), %ecx
	movl	%ecx, (%rdx,%rsi)
	movl	-4(%rax,%rsi), %ecx
	movl	%ecx, -4(%rdx,%rsi)
	movl	(%r9), %ecx
	andl	-8(%rax,%rsi), %ecx
	movl	%ecx, -8(%rdx,%rsi)
	incq	%rdi
	movslq	(%r15), %rcx
	addq	$12, %rsi
	cmpq	%rcx, %rdi
	jl	LBB0_21
LBB0_22:
	leaq	24(%rbx), %rdi
	movl	60(%rbx), %ecx
	movq	_DSC_MUX_WORD_SIZE_8_10_BPC@GOTPCREL(%rip), %rax
	cmpl	$8, %ecx
	je	LBB0_26
## %bb.23:
	cmpl	$10, %ecx
	je	LBB0_26
## %bb.24:
	cmpl	$12, %ecx
	jne	LBB0_27
## %bb.25:
	movq	_DSC_MUX_WORD_SIZE_12_BPC@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
LBB0_27:
	movq	_DSC_RC_MODEL_SIZE_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 76(%rbx)
	leal	(,%rcx,8), %eax
	subl	%r8d, %ecx
	cltd
	idivl	%ecx
	movl	%eax, 80(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_dsc_compute_rc_parameters  ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_DSC_REV,8,3                 ## @DP_DSC_REV
	.comm	_DP_DSC_SUPPORT,8,3             ## @DP_DSC_SUPPORT
	.comm	_DP_DSC_MAJOR_MASK,4,2          ## @DP_DSC_MAJOR_MASK
	.comm	_DP_DSC_MAJOR_SHIFT,4,2         ## @DP_DSC_MAJOR_SHIFT
	.comm	_DSC_SUPPORTED_VERSION_MIN,4,2  ## @DSC_SUPPORTED_VERSION_MIN
	.comm	_DP_DSC_MINOR_MASK,4,2          ## @DP_DSC_MINOR_MASK
	.comm	_DP_DSC_MINOR_SHIFT,4,2         ## @DP_DSC_MINOR_SHIFT
	.comm	_DP_DSC_DEC_COLOR_FORMAT_CAP,8,3 ## @DP_DSC_DEC_COLOR_FORMAT_CAP
	.comm	_DP_DSC_RGB,4,2                 ## @DP_DSC_RGB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DSC Sink Line Buffer Depth invalid\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DSC_1_2_MAX_LINEBUF_DEPTH_BITS,8,3 ## @DSC_1_2_MAX_LINEBUF_DEPTH_BITS
	.comm	_DSC_1_2_MAX_LINEBUF_DEPTH_VAL,8,3 ## @DSC_1_2_MAX_LINEBUF_DEPTH_VAL
	.comm	_DSC_1_1_MAX_LINEBUF_DEPTH_BITS,8,3 ## @DSC_1_1_MAX_LINEBUF_DEPTH_BITS
	.comm	_DP_DSC_BLK_PREDICTION_SUPPORT,8,3 ## @DP_DSC_BLK_PREDICTION_SUPPORT
	.comm	_DP_DSC_BLK_PREDICTION_IS_SUPPORTED,4,2 ## @DP_DSC_BLK_PREDICTION_IS_SUPPORTED
	.comm	_DSC_NUM_BUF_RANGES,4,2         ## @DSC_NUM_BUF_RANGES
	.comm	_rc_buf_thresh,8,3              ## @rc_buf_thresh
	.comm	_rc_params,8,3                  ## @rc_params
	.comm	_DSC_RANGE_BPG_OFFSET_MASK,4,2  ## @DSC_RANGE_BPG_OFFSET_MASK
	.comm	_DSC_MUX_WORD_SIZE_8_10_BPC,4,2 ## @DSC_MUX_WORD_SIZE_8_10_BPC
	.comm	_DSC_MUX_WORD_SIZE_12_BPC,4,2   ## @DSC_MUX_WORD_SIZE_12_BPC
	.comm	_DSC_RC_MODEL_SIZE_CONST,4,2    ## @DSC_RC_MODEL_SIZE_CONST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function intel_dp_compute_dsc_params
lCPI0_0:
	.long	124                             ; 0x7c
	.long	125                             ; 0x7d
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_intel_dp_compute_dsc_params
	.p2align	2
_intel_dp_compute_dsc_params:           ; @intel_dp_compute_dsc_params
	.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
	mov	x22, x0
	ldr	w8, [x1, #12]
	mov	x20, x1
	str	w8, [x20, #24]!
	ldur	w0, [x20, #-8]
	str	w0, [x20, #104]
	ldp	w21, w1, [x20, #-20]
	bl	_DIV_ROUND_UP
	str	w0, [x20, #108]
	ldr	w8, [x20]
	tst	w8, #0x7
	b.eq	LBB0_3
; %bb.1:
	tst	w8, #0x3
	b.eq	LBB0_4
; %bb.2:
	mov	w8, #2
	b	LBB0_5
LBB0_3:
	mov	w8, #8
	b	LBB0_5
LBB0_4:
	mov	w8, #4
LBB0_5:
	str	w8, [x19, #28]
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _DP_DSC_REV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DP_DSC_REV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x23, _DP_DSC_SUPPORT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DP_DSC_SUPPORT@GOTPAGEOFF]
	ldr	x10, [x23]
	sub	x9, x9, x10
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
Lloh5:
	adrp	x11, _DP_DSC_MAJOR_MASK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DP_DSC_MAJOR_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	and	w10, w11, w10
Lloh8:
	adrp	x11, _DP_DSC_MAJOR_SHIFT@GOTPAGE
Lloh9:
	ldr	x11, [x11, _DP_DSC_MAJOR_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	asr	w10, w10, w11
Lloh11:
	adrp	x11, _DSC_SUPPORTED_VERSION_MIN@GOTPAGE
Lloh12:
	ldr	x11, [x11, _DSC_SUPPORTED_VERSION_MIN@GOTPAGEOFF]
	str	w10, [x19, #32]
Lloh13:
	ldr	w0, [x11]
	ldr	w8, [x8, x9]
Lloh14:
	adrp	x9, _DP_DSC_MINOR_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DP_DSC_MINOR_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh17:
	adrp	x9, _DP_DSC_MINOR_SHIFT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DP_DSC_MINOR_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	asr	w1, w8, w9
	bl	_min
	str	w0, [x19, #36]
Lloh20:
	adrp	x8, _DP_DSC_DEC_COLOR_FORMAT_CAP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DP_DSC_DEC_COLOR_FORMAT_CAP@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x23]
	sub	x8, x8, x9
	ldr	w8, [x0, x8, lsl #2]
Lloh23:
	adrp	x9, _DP_DSC_RGB@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DP_DSC_RGB@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #40]
	bl	_drm_dp_dsc_sink_line_buf_depth
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x19, #36]
	cmp	w8, #2
	b.ne	LBB0_9
; %bb.7:
Lloh26:
	adrp	x8, _DSC_1_2_MAX_LINEBUF_DEPTH_BITS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DSC_1_2_MAX_LINEBUF_DEPTH_BITS@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _DSC_1_2_MAX_LINEBUF_DEPTH_VAL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _DSC_1_2_MAX_LINEBUF_DEPTH_VAL@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x8, x9, x0, eq
	b	LBB0_10
LBB0_8:
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	b	LBB0_22
LBB0_9:
Lloh34:
	adrp	x8, _DSC_1_1_MAX_LINEBUF_DEPTH_BITS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DSC_1_1_MAX_LINEBUF_DEPTH_BITS@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, x0, x8, lt
LBB0_10:
	str	x8, [x19, #120]
	stp	wzr, wzr, [x19, #44]
Lloh37:
	adrp	x8, _DP_DSC_BLK_PREDICTION_SUPPORT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DP_DSC_BLK_PREDICTION_SUPPORT@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh39:
	ldr	x8, [x8]
	ldr	x10, [x23]
	sub	x8, x8, x10
	ldr	w8, [x9, x8, lsl #2]
Lloh40:
	adrp	x9, _DP_DSC_BLK_PREDICTION_IS_SUPPORTED@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DP_DSC_BLK_PREDICTION_IS_SUPPORTED@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	and	w8, w9, w8
	lsl	w9, w21, #4
	stp	w8, w9, [x19, #52]
	ldrsw	x8, [x19]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	str	w8, [x19, #60]
Lloh43:
	adrp	x22, _DSC_NUM_BUF_RANGES@GOTPAGE
Lloh44:
	ldr	x22, [x22, _DSC_NUM_BUF_RANGES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.11:
	mov	x8, #0
Lloh45:
	adrp	x9, _rc_buf_thresh@GOTPAGE
Lloh46:
	ldr	x9, [x9, _rc_buf_thresh@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	ldr	x10, [x19, #64]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	asr	w12, w12, #6
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [x22]
	sub	x11, x11, #1
	cmp	x8, x11
	b.lt	LBB0_12
LBB0_13:
	cmp	w21, #6
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [x19, #64]
Lloh48:
	adrp	x9, lCPI0_0@PAGE
Lloh49:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8, #48]
LBB0_15:
	mov	x0, x21
	bl	_get_row_index_for_rc_params
	mov	x21, x0
	ldr	w0, [x19, #60]
	bl	_get_column_index_for_rc_params
	tbnz	w21, #31, LBB0_22
; %bb.16:
	tbnz	w0, #31, LBB0_22
; %bb.17:
Lloh50:
	adrp	x8, _rc_params@GOTPAGE
Lloh51:
	ldr	x8, [x8, _rc_params@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x10, [x8, w21, uxtw #3]
	mov	w8, #40
	umaddl	x9, w0, w8, x10
	ldr	d0, [x9, #32]
	str	d0, [x19, #112]
	ldr	w8, [x9]
	str	w8, [x19, #72]
	ldr	q0, [x9, #16]
	str	q0, [x19, #96]
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x9, #0
	mov	w11, w0
	mov	w12, #40
	madd	x10, x11, x12, x10
	ldr	x10, [x10, #8]
	ldr	x11, [x19, #88]
	add	x10, x10, #4
	add	x11, x11, #4
Lloh53:
	adrp	x12, _DSC_RANGE_BPG_OFFSET_MASK@GOTPAGE
Lloh54:
	ldr	x12, [x12, _DSC_RANGE_BPG_OFFSET_MASK@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10]
	str	d0, [x11]
	ldur	w13, [x10, #-4]
	ldr	w14, [x12]
	and	w13, w14, w13
	stur	w13, [x11, #-4]
	add	x9, x9, #1
	ldrsw	x13, [x22]
	add	x10, x10, #12
	add	x11, x11, #12
	cmp	x9, x13
	b.lt	LBB0_19
LBB0_20:
	ldr	w9, [x19, #60]
	cmp	w9, #8
	ccmp	w9, #10, #4, ne
	b.ne	LBB0_23
; %bb.21:
Lloh55:
	adrp	x9, _DSC_MUX_WORD_SIZE_8_10_BPC@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DSC_MUX_WORD_SIZE_8_10_BPC@GOTPAGEOFF]
	b	LBB0_25
LBB0_22:
Lloh57:
	adrp	x8, _EINVAL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	neg	w0, w8
	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_23:
	cmp	w9, #12
	b.ne	LBB0_26
; %bb.24:
Lloh60:
	adrp	x9, _DSC_MUX_WORD_SIZE_12_BPC@GOTPAGE
Lloh61:
	ldr	x9, [x9, _DSC_MUX_WORD_SIZE_12_BPC@GOTPAGEOFF]
LBB0_25:
	ldr	w9, [x9]
	str	w9, [x19, #84]
LBB0_26:
Lloh62:
	adrp	x9, _DSC_RC_MODEL_SIZE_CONST@GOTPAGE
Lloh63:
	ldr	x9, [x9, _DSC_RC_MODEL_SIZE_CONST@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	lsl	w10, w9, #3
	sub	w8, w9, w8
	sdiv	w8, w10, w8
	stp	w9, w8, [x19, #76]
	mov	x0, x20
	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	_drm_dsc_compute_rc_parameters
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdr	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_DSC_REV,8,3                 ; @DP_DSC_REV
	.comm	_DP_DSC_SUPPORT,8,3             ; @DP_DSC_SUPPORT
	.comm	_DP_DSC_MAJOR_MASK,4,2          ; @DP_DSC_MAJOR_MASK
	.comm	_DP_DSC_MAJOR_SHIFT,4,2         ; @DP_DSC_MAJOR_SHIFT
	.comm	_DSC_SUPPORTED_VERSION_MIN,4,2  ; @DSC_SUPPORTED_VERSION_MIN
	.comm	_DP_DSC_MINOR_MASK,4,2          ; @DP_DSC_MINOR_MASK
	.comm	_DP_DSC_MINOR_SHIFT,4,2         ; @DP_DSC_MINOR_SHIFT
	.comm	_DP_DSC_DEC_COLOR_FORMAT_CAP,8,3 ; @DP_DSC_DEC_COLOR_FORMAT_CAP
	.comm	_DP_DSC_RGB,4,2                 ; @DP_DSC_RGB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DSC Sink Line Buffer Depth invalid\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DSC_1_2_MAX_LINEBUF_DEPTH_BITS,8,3 ; @DSC_1_2_MAX_LINEBUF_DEPTH_BITS
	.comm	_DSC_1_2_MAX_LINEBUF_DEPTH_VAL,8,3 ; @DSC_1_2_MAX_LINEBUF_DEPTH_VAL
	.comm	_DSC_1_1_MAX_LINEBUF_DEPTH_BITS,8,3 ; @DSC_1_1_MAX_LINEBUF_DEPTH_BITS
	.comm	_DP_DSC_BLK_PREDICTION_SUPPORT,8,3 ; @DP_DSC_BLK_PREDICTION_SUPPORT
	.comm	_DP_DSC_BLK_PREDICTION_IS_SUPPORTED,4,2 ; @DP_DSC_BLK_PREDICTION_IS_SUPPORTED
	.comm	_DSC_NUM_BUF_RANGES,4,2         ; @DSC_NUM_BUF_RANGES
	.comm	_rc_buf_thresh,8,3              ; @rc_buf_thresh
	.comm	_rc_params,8,3                  ; @rc_params
	.comm	_DSC_RANGE_BPG_OFFSET_MASK,4,2  ; @DSC_RANGE_BPG_OFFSET_MASK
	.comm	_DSC_MUX_WORD_SIZE_8_10_BPC,4,2 ; @DSC_MUX_WORD_SIZE_8_10_BPC
	.comm	_DSC_MUX_WORD_SIZE_12_BPC,4,2   ; @DSC_MUX_WORD_SIZE_12_BPC
	.comm	_DSC_RC_MODEL_SIZE_CONST,4,2    ; @DSC_RC_MODEL_SIZE_CONST
.subsections_via_symbols
