	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_stream_encoder_lvds_set_stream_attribute
_dce110_stream_encoder_lvds_set_stream_attribute: ## @dce110_stream_encoder_lvds_set_stream_attribute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_DCE110STRENC_FROM_STRENC
	movl	$0, -16(%rbp)
	movq	_ENCODER_CONTROL_SETUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -20(%rbp)
	movl	8(%rax), %ecx
	movl	%ecx, -24(%rbp)
	movq	_SIGNAL_TYPE_LVDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
	movl	$0, -40(%rbp)
	movslq	(%rbx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movl	%ecx, -36(%rbp)
	movq	_LANE_COUNT_FOUR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -32(%rbp)
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	leaq	-40(%rbp), %rsi
	callq	*(%rax)
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_PIXEL_ENCODING_RGB@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ASSERT
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENCODER_CONTROL_SETUP,4,2      ## @ENCODER_CONTROL_SETUP
	.comm	_SIGNAL_TYPE_LVDS,4,2           ## @SIGNAL_TYPE_LVDS
	.comm	_LANE_COUNT_FOUR,4,2            ## @LANE_COUNT_FOUR
	.comm	_BP_RESULT_OK,8,3               ## @BP_RESULT_OK
	.comm	_PIXEL_ENCODING_RGB,8,3         ## @PIXEL_ENCODING_RGB
	.no_dead_strip	_dce110_stream_encoder_lvds_set_stream_attribute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_stream_encoder_lvds_set_stream_attribute
_dce110_stream_encoder_lvds_set_stream_attribute: ; @dce110_stream_encoder_lvds_set_stream_attribute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	bl	_DCE110STRENC_FROM_STRENC
Lloh0:
	adrp	x8, _ENCODER_CONTROL_SETUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENCODER_CONTROL_SETUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #20]
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _SIGNAL_TYPE_LVDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIGNAL_TYPE_LVDS@GOTPAGEOFF]
	str	w8, [sp, #16]
	ldrsw	x8, [x19]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x8, x8, x10
	lsr	x10, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w10
Lloh5:
	ldr	w9, [x9]
	stp	wzr, w8, [sp]
Lloh6:
	adrp	x8, _LANE_COUNT_FOUR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LANE_COUNT_FOUR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w9, [sp, #8]
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, sp
	blr	x8
Lloh9:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _PIXEL_ENCODING_RGB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PIXEL_ENCODING_RGB@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_ASSERT
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENCODER_CONTROL_SETUP,4,2      ; @ENCODER_CONTROL_SETUP
	.comm	_SIGNAL_TYPE_LVDS,4,2           ; @SIGNAL_TYPE_LVDS
	.comm	_LANE_COUNT_FOUR,4,2            ; @LANE_COUNT_FOUR
	.comm	_BP_RESULT_OK,8,3               ; @BP_RESULT_OK
	.comm	_PIXEL_ENCODING_RGB,8,3         ; @PIXEL_ENCODING_RGB
	.no_dead_strip	_dce110_stream_encoder_lvds_set_stream_attribute
.subsections_via_symbols
