	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opp1_program_stereo            ## -- Begin function opp1_program_stereo
	.p2align	4, 0x90
_opp1_program_stereo:                   ## @opp1_program_stereo
	.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	%rdx, %r15
	movl	%esi, %r12d
	callq	_TO_DCN10_OPP
	movq	32(%r15), %rbx
	movq	16(%r15), %r14
	movq	24(%r15), %rax
	addq	%rax, %rax
	subq	%rax, %rbx
	subq	8(%r15), %r14
	xorl	%eax, %eax
	testl	%r12d, %r12d
	cmoveq	%rax, %rbx
	cmoveq	%rax, %r14
	movq	_FMT_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FMT_STEREOSYNC_OVERRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_OPPBUF_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPPBUF_ACTIVE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_REG_UPDATE
	movq	(%r15), %rax
	movq	_TIMING_3D_FORMAT_FRAME_ALTERNATE@GOTPCREL(%rip), %rcx
	movq	_OPPBUF_3D_PARAMETERS_0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_OPPBUF_3D_VACT_SPACE2_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OPPBUF_3D_VACT_SPACE1_SIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FMT_CONTROL,4,2                ## @FMT_CONTROL
	.comm	_FMT_STEREOSYNC_OVERRIDE,4,2    ## @FMT_STEREOSYNC_OVERRIDE
	.comm	_OPPBUF_CONTROL,4,2             ## @OPPBUF_CONTROL
	.comm	_OPPBUF_ACTIVE_WIDTH,4,2        ## @OPPBUF_ACTIVE_WIDTH
	.comm	_TIMING_3D_FORMAT_FRAME_ALTERNATE,8,3 ## @TIMING_3D_FORMAT_FRAME_ALTERNATE
	.comm	_OPPBUF_3D_PARAMETERS_0,4,2     ## @OPPBUF_3D_PARAMETERS_0
	.comm	_OPPBUF_3D_VACT_SPACE2_SIZE,4,2 ## @OPPBUF_3D_VACT_SPACE2_SIZE
	.comm	_OPPBUF_3D_VACT_SPACE1_SIZE,4,2 ## @OPPBUF_3D_VACT_SPACE1_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opp1_program_stereo            ; -- Begin function opp1_program_stereo
	.p2align	2
_opp1_program_stereo:                   ; @opp1_program_stereo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_TO_DCN10_OPP
	ldp	x9, x8, [x19, #24]
	sub	x8, x8, x9, lsl #1
	ldp	x10, x9, [x19, #8]
	sub	x9, x9, x10
	cmp	w20, #0
	csel	x20, xzr, x8, eq
	csel	x21, xzr, x9, eq
Lloh0:
	adrp	x8, _FMT_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FMT_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FMT_STEREOSYNC_OVERRIDE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FMT_STEREOSYNC_OVERRIDE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_REG_UPDATE
Lloh6:
	adrp	x8, _OPPBUF_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPPBUF_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _OPPBUF_ACTIVE_WIDTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPPBUF_ACTIVE_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_REG_UPDATE
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _TIMING_3D_FORMAT_FRAME_ALTERNATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TIMING_3D_FORMAT_FRAME_ALTERNATE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _OPPBUF_3D_PARAMETERS_0@GOTPAGE
Lloh15:
	ldr	x10, [x10, _OPPBUF_3D_PARAMETERS_0@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	ldr	w0, [x10]
Lloh18:
	adrp	x10, _OPPBUF_3D_VACT_SPACE2_SIZE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OPPBUF_3D_VACT_SPACE2_SIZE@GOTPAGEOFF]
Lloh20:
	adrp	x11, _OPPBUF_3D_VACT_SPACE1_SIZE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _OPPBUF_3D_VACT_SPACE1_SIZE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_REG_UPDATE
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FMT_CONTROL,4,2                ; @FMT_CONTROL
	.comm	_FMT_STEREOSYNC_OVERRIDE,4,2    ; @FMT_STEREOSYNC_OVERRIDE
	.comm	_OPPBUF_CONTROL,4,2             ; @OPPBUF_CONTROL
	.comm	_OPPBUF_ACTIVE_WIDTH,4,2        ; @OPPBUF_ACTIVE_WIDTH
	.comm	_TIMING_3D_FORMAT_FRAME_ALTERNATE,8,3 ; @TIMING_3D_FORMAT_FRAME_ALTERNATE
	.comm	_OPPBUF_3D_PARAMETERS_0,4,2     ; @OPPBUF_3D_PARAMETERS_0
	.comm	_OPPBUF_3D_VACT_SPACE2_SIZE,4,2 ; @OPPBUF_3D_VACT_SPACE2_SIZE
	.comm	_OPPBUF_3D_VACT_SPACE1_SIZE,4,2 ; @OPPBUF_3D_VACT_SPACE1_SIZE
.subsections_via_symbols
