	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_config_stereo_parameters
_dcn10_config_stereo_parameters:        ## @dcn10_config_stereo_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %eax
	movq	_TIMING_3D_FORMAT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.1:
	movq	_TIMING_3D_FORMAT_SIDE_BY_SIDE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.2:
	movq	_TIMING_3D_FORMAT_TOP_AND_BOTTOM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.3:
	movq	_VIEW_3D_FORMAT_FRAME_SEQUENTIAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, (%rdi)
	jne	LBB0_13
## %bb.4:
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rsi)
	movq	_TIMING_3D_FORMAT_INBAND_FA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.5:
	movq	_TIMING_3D_FORMAT_DP_HDMI_INBAND_FA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_TIMING_3D_FORMAT_SIDEBAND_FA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
LBB0_7:
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movq	_DISPLAY_DONGLE_DP_VGA_CONVERTER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_10
## %bb.8:
	movq	_DISPLAY_DONGLE_DP_DVI_CONVERTER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_10
## %bb.9:
	movq	_DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_11
LBB0_10:
	movl	$1, 8(%rsi)
LBB0_11:
	movl	8(%rdi), %ecx
	movl	%ecx, 16(%rsi)
	movq	_TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movl	$1, 12(%rsi)
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMING_3D_FORMAT_NONE,4,2      ## @TIMING_3D_FORMAT_NONE
	.comm	_TIMING_3D_FORMAT_SIDE_BY_SIDE,4,2 ## @TIMING_3D_FORMAT_SIDE_BY_SIDE
	.comm	_TIMING_3D_FORMAT_TOP_AND_BOTTOM,4,2 ## @TIMING_3D_FORMAT_TOP_AND_BOTTOM
	.comm	_VIEW_3D_FORMAT_FRAME_SEQUENTIAL,4,2 ## @VIEW_3D_FORMAT_FRAME_SEQUENTIAL
	.comm	_TIMING_3D_FORMAT_INBAND_FA,4,2 ## @TIMING_3D_FORMAT_INBAND_FA
	.comm	_TIMING_3D_FORMAT_DP_HDMI_INBAND_FA,4,2 ## @TIMING_3D_FORMAT_DP_HDMI_INBAND_FA
	.comm	_TIMING_3D_FORMAT_SIDEBAND_FA,4,2 ## @TIMING_3D_FORMAT_SIDEBAND_FA
	.comm	_DISPLAY_DONGLE_DP_VGA_CONVERTER,4,2 ## @DISPLAY_DONGLE_DP_VGA_CONVERTER
	.comm	_DISPLAY_DONGLE_DP_DVI_CONVERTER,4,2 ## @DISPLAY_DONGLE_DP_DVI_CONVERTER
	.comm	_DISPLAY_DONGLE_DP_HDMI_CONVERTER,4,2 ## @DISPLAY_DONGLE_DP_HDMI_CONVERTER
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,4,2 ## @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_dcn10_config_stereo_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_config_stereo_parameters
_dcn10_config_stereo_parameters:        ; @dcn10_config_stereo_parameters
	.cfi_startproc
; %bb.0:
	ldp	w9, w8, [x0]
Lloh0:
	adrp	x10, _TIMING_3D_FORMAT_NONE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TIMING_3D_FORMAT_NONE@GOTPAGEOFF]
Lloh2:
	adrp	x11, _TIMING_3D_FORMAT_SIDE_BY_SIDE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TIMING_3D_FORMAT_SIDE_BY_SIDE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _TIMING_3D_FORMAT_TOP_AND_BOTTOM@GOTPAGE
Lloh7:
	ldr	x12, [x12, _TIMING_3D_FORMAT_TOP_AND_BOTTOM@GOTPAGEOFF]
Lloh8:
	adrp	x13, _VIEW_3D_FORMAT_FRAME_SEQUENTIAL@GOTPAGE
Lloh9:
	ldr	x13, [x13, _VIEW_3D_FORMAT_FRAME_SEQUENTIAL@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
Lloh11:
	ldr	w13, [x13]
	cmp	w8, w10
	ccmp	w8, w11, #4, ne
	ccmp	w8, w12, #4, ne
	ccmp	w9, w13, #0, ne
	b.ne	LBB0_6
; %bb.1:
	movi.2s	v0, #1
	str	d0, [x1]
Lloh12:
	adrp	x9, _TIMING_3D_FORMAT_INBAND_FA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TIMING_3D_FORMAT_INBAND_FA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _TIMING_3D_FORMAT_DP_HDMI_INBAND_FA@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TIMING_3D_FORMAT_DP_HDMI_INBAND_FA@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _TIMING_3D_FORMAT_SIDEBAND_FA@GOTPAGE
Lloh19:
	ldr	x11, [x11, _TIMING_3D_FORMAT_SIDEBAND_FA@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _DISPLAY_DONGLE_DP_VGA_CONVERTER@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DISPLAY_DONGLE_DP_VGA_CONVERTER@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _DISPLAY_DONGLE_DP_DVI_CONVERTER@GOTPAGE
Lloh25:
	ldr	x11, [x11, _DISPLAY_DONGLE_DP_DVI_CONVERTER@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
Lloh27:
	adrp	x12, _DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPAGE
Lloh28:
	ldr	x12, [x12, _DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPAGEOFF]
Lloh29:
	ldr	w12, [x12]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	ccmp	w9, w12, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	w9, #1
	str	w9, [x1, #8]
LBB0_4:
	ldr	w9, [x0, #8]
	str	w9, [x1, #16]
Lloh30:
	adrp	x9, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGE
Lloh31:
	ldr	x9, [x9, _TIMING_3D_FORMAT_HW_FRAME_PACKING@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x1, #12]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMING_3D_FORMAT_NONE,4,2      ; @TIMING_3D_FORMAT_NONE
	.comm	_TIMING_3D_FORMAT_SIDE_BY_SIDE,4,2 ; @TIMING_3D_FORMAT_SIDE_BY_SIDE
	.comm	_TIMING_3D_FORMAT_TOP_AND_BOTTOM,4,2 ; @TIMING_3D_FORMAT_TOP_AND_BOTTOM
	.comm	_VIEW_3D_FORMAT_FRAME_SEQUENTIAL,4,2 ; @VIEW_3D_FORMAT_FRAME_SEQUENTIAL
	.comm	_TIMING_3D_FORMAT_INBAND_FA,4,2 ; @TIMING_3D_FORMAT_INBAND_FA
	.comm	_TIMING_3D_FORMAT_DP_HDMI_INBAND_FA,4,2 ; @TIMING_3D_FORMAT_DP_HDMI_INBAND_FA
	.comm	_TIMING_3D_FORMAT_SIDEBAND_FA,4,2 ; @TIMING_3D_FORMAT_SIDEBAND_FA
	.comm	_DISPLAY_DONGLE_DP_VGA_CONVERTER,4,2 ; @DISPLAY_DONGLE_DP_VGA_CONVERTER
	.comm	_DISPLAY_DONGLE_DP_DVI_CONVERTER,4,2 ; @DISPLAY_DONGLE_DP_DVI_CONVERTER
	.comm	_DISPLAY_DONGLE_DP_HDMI_CONVERTER,4,2 ; @DISPLAY_DONGLE_DP_HDMI_CONVERTER
	.comm	_TIMING_3D_FORMAT_HW_FRAME_PACKING,4,2 ; @TIMING_3D_FORMAT_HW_FRAME_PACKING
	.no_dead_strip	_dcn10_config_stereo_parameters
.subsections_via_symbols
