	.file	"extr_radeon_legacy_tv.c_radeon_get_htiming_tables_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	radeon_get_htiming_tables_addr, @function
radeon_get_htiming_tables_addr:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR RADEON_HCODE_TABLE_SEL_MASK[rip]
	mov	ecx, DWORD PTR RADEON_HCODE_TABLE_SEL_SHIFT[rip]
	and	eax, edi
	sar	eax, cl
	cmp	eax, 1
	je	.L2
	cmp	eax, 2
	je	.L3
	test	eax, eax
	mov	eax, 0
	cmove	eax, DWORD PTR RADEON_TV_MAX_FIFO_ADDR_INTERNAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, DWORD PTR RADEON_TABLE1_BOT_ADR_SHIFT[rip]
	and	edi, DWORD PTR RADEON_TABLE1_BOT_ADR_MASK[rip]
	sar	edi, cl
	lea	eax, [rdi+rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR RADEON_TABLE3_TOP_ADR_SHIFT[rip]
	and	edi, DWORD PTR RADEON_TABLE3_TOP_ADR_MASK[rip]
	sar	edi, cl
	lea	eax, [rdi+rdi]
	ret
	.cfi_endproc
.LFE0:
	.size	radeon_get_htiming_tables_addr, .-radeon_get_htiming_tables_addr
	.comm	RADEON_TV_MAX_FIFO_ADDR_INTERNAL,4,4
	.comm	RADEON_TABLE3_TOP_ADR_SHIFT,4,4
	.comm	RADEON_TABLE3_TOP_ADR_MASK,4,4
	.comm	RADEON_TABLE1_BOT_ADR_SHIFT,4,4
	.comm	RADEON_TABLE1_BOT_ADR_MASK,4,4
	.comm	RADEON_HCODE_TABLE_SEL_SHIFT,4,4
	.comm	RADEON_HCODE_TABLE_SEL_MASK,4,4
	.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_radeon_legacy_tv.c_radeon_get_htiming_tables_addr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_get_htiming_tables_addr, %function
radeon_get_htiming_tables_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r0
	asr	r3, r3, r2
	cmp	r3, #1
	beq	.L2
	cmp	r3, #2
	beq	.L3
	cmp	r3, #0
	beq	.L7
	mov	r0, #0
	bx	lr
.L2:
	ldr	r3, .L8+8
	ldr	r2, .L8+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r0, r0, r3
	asr	r0, r0, r2
	lsl	r0, r0, #1
	bx	lr
.L7:
	ldr	r3, .L8+16
	ldr	r0, [r3]
	bx	lr
.L3:
	ldr	r2, .L8+20
	ldr	r3, .L8+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	and	r0, r0, r2
	asr	r0, r0, r3
	lsl	r0, r0, #1
	bx	lr
.L9:
	.align	2
.L8:
	.word	RADEON_HCODE_TABLE_SEL_MASK
	.word	RADEON_HCODE_TABLE_SEL_SHIFT
	.word	RADEON_TABLE1_BOT_ADR_MASK
	.word	RADEON_TABLE1_BOT_ADR_SHIFT
	.word	RADEON_TV_MAX_FIFO_ADDR_INTERNAL
	.word	RADEON_TABLE3_TOP_ADR_MASK
	.word	RADEON_TABLE3_TOP_ADR_SHIFT
	.size	radeon_get_htiming_tables_addr, .-radeon_get_htiming_tables_addr
	.comm	RADEON_TV_MAX_FIFO_ADDR_INTERNAL,4,4
	.comm	RADEON_TABLE3_TOP_ADR_SHIFT,4,4
	.comm	RADEON_TABLE3_TOP_ADR_MASK,4,4
	.comm	RADEON_TABLE1_BOT_ADR_SHIFT,4,4
	.comm	RADEON_TABLE1_BOT_ADR_MASK,4,4
	.comm	RADEON_HCODE_TABLE_SEL_SHIFT,4,4
	.comm	RADEON_HCODE_TABLE_SEL_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
