	.file	"extr_dcn10_hw_sequencer.c_patch_address_for_sbs_tb_stereo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patch_address_for_sbs_tb_stereo, @function
patch_address_for_sbs_tb_stereo:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR 8[rdi]
	mov	rcx, QWORD PTR [rdi]
	test	rdx, rdx
	je	.L2
	cmp	QWORD PTR [rdx], rax
	je	.L14
.L2:
	mov	rsi, QWORD PTR VIEW_3D_FORMAT_NONE[rip]
	xor	r8d, r8d
	cmp	QWORD PTR [rcx], rsi
	je	.L1
	mov	rdx, QWORD PTR PLN_ADDR_TYPE_GRPH_STEREO[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L1
.L6:
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR 8[rax]
	xor	r8d, r8d
	mov	DWORD PTR 12[rax], edx
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdx, QWORD PTR PLN_ADDR_TYPE_GRPH_STEREO[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L15
	mov	rsi, QWORD PTR VIEW_3D_FORMAT_NONE[rip]
	cmp	QWORD PTR [rcx], rsi
	jne	.L6
	xor	r8d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, QWORD PTR 8[rcx]
	cmp	rdx, QWORD PTR TIMING_3D_FORMAT_SIDE_BY_SIDE[rip]
	je	.L4
	xor	r8d, r8d
	cmp	rdx, QWORD PTR TIMING_3D_FORMAT_TOP_AND_BOTTOM[rip]
	jne	.L1
.L4:
	mov	edx, DWORD PTR 8[rax]
	mov	r8d, 1
	mov	DWORD PTR [rsi], edx
	mov	edx, DWORD PTR 12[rax]
	mov	DWORD PTR 8[rax], edx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	patch_address_for_sbs_tb_stereo, .-patch_address_for_sbs_tb_stereo
	.comm	VIEW_3D_FORMAT_NONE,8,8
	.comm	TIMING_3D_FORMAT_TOP_AND_BOTTOM,8,8
	.comm	TIMING_3D_FORMAT_SIDE_BY_SIDE,8,8
	.comm	PLN_ADDR_TYPE_GRPH_STEREO,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dcn10_hw_sequencer.c_patch_address_for_sbs_tb_stereo.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patch_address_for_sbs_tb_stereo, %function
patch_address_for_sbs_tb_stereo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #8]
	str	lr, [sp, #-4]!
	ldm	r0, {r0, r3}
	cmp	r2, #0
	beq	.L2
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L16
.L2:
	ldr	r2, .L17
	ldr	r1, [r0]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L14
	ldr	r2, .L17+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L14
.L6:
	ldr	r1, [r3, #4]
	mov	r0, #0
	str	r2, [r3]
	str	r1, [r3, #8]
	ldr	pc, [sp], #4
.L16:
	ldr	lr, .L17+4
	ldr	ip, [r2]
	ldr	r2, [lr]
	cmp	ip, r2
	bne	.L3
	ldr	ip, .L17+8
	ldr	r2, [r0, #4]
	ldr	r0, [ip]
	cmp	r2, r0
	beq	.L4
	ldr	r0, .L17+12
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L4
.L14:
	mov	r0, #0
	ldr	pc, [sp], #4
.L3:
	ldr	r1, .L17
	ldr	r0, [r0]
	ldr	r1, [r1]
	cmp	r0, r1
	bne	.L6
	b	.L14
.L4:
	ldr	r2, [r3, #4]
	mov	r0, #1
	str	r2, [r1]
	ldr	r2, [r3, #8]
	str	r2, [r3, #4]
	ldr	pc, [sp], #4
.L18:
	.align	2
.L17:
	.word	VIEW_3D_FORMAT_NONE
	.word	PLN_ADDR_TYPE_GRPH_STEREO
	.word	TIMING_3D_FORMAT_SIDE_BY_SIDE
	.word	TIMING_3D_FORMAT_TOP_AND_BOTTOM
	.size	patch_address_for_sbs_tb_stereo, .-patch_address_for_sbs_tb_stereo
	.comm	VIEW_3D_FORMAT_NONE,4,4
	.comm	TIMING_3D_FORMAT_TOP_AND_BOTTOM,4,4
	.comm	TIMING_3D_FORMAT_SIDE_BY_SIDE,4,4
	.comm	PLN_ADDR_TYPE_GRPH_STEREO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
