	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atom_get_tv_timings     ## -- Begin function radeon_atom_get_tv_timings
	.p2align	4, 0x90
_radeon_atom_get_tv_timings:            ## @radeon_atom_get_tv_timings
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AnalogTV_Info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	leaq	-68(%rbp), %rcx
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testl	%eax, %eax
	je	LBB0_29
## %bb.1:
	movl	-52(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_16
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_28
## %bb.3:
	movq	_MAX_SUPPORTED_TV_TIMING@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_29
## %bb.4:
	movq	(%r12), %rax
	movslq	(%rax), %r13
	movslq	-48(%rbp), %rbx
	movq	(%rbx,%r13), %rax
	movslq	%r14d, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,8), %rcx
	leaq	(%rcx,%rcx,4), %r12
	movl	36(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r15)
	movq	(%rbx,%r13), %rax
	movl	32(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, 4(%r15)
	movq	(%rbx,%r13), %rax
	movl	28(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, 8(%r15)
	movq	(%rbx,%r13), %rax
	movl	28(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx,%r13), %rax
	movl	24(%rax,%r12), %edi
	callq	_le16_to_cpu
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 12(%r15)
	movq	(%rbx,%r13), %rax
	movl	20(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, 16(%r15)
	movq	(%rbx,%r13), %rax
	movl	16(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, 20(%r15)
	movq	(%rbx,%r13), %rax
	movl	12(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, 24(%r15)
	movq	(%rbx,%r13), %rax
	movl	12(%rax,%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx,%r13), %rax
	movl	8(%rax,%r12), %edi
	callq	_le16_to_cpu
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 28(%r15)
	movl	$0, 40(%r15)
	movq	(%rbx,%r13), %rax
	movl	4(%rax,%r12), %edi
	callq	_le16_to_cpu
	movq	_ATOM_VSYNC_POLARITY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_DRM_MODE_FLAG_NVSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_6:
	movq	_ATOM_HSYNC_POLARITY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_DRM_MODE_FLAG_NHSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_8:
	movq	_ATOM_COMPOSITESYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_DRM_MODE_FLAG_CSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_10:
	movq	_ATOM_INTERLACE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_12:
	movq	_ATOM_DOUBLE_CLOCK_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	_DRM_MODE_FLAG_DBLSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r15)
LBB0_14:
	movq	(%r13,%rbx), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rcx,4), %rcx
	movl	(%rax,%rcx,8), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 36(%r15)
	movl	%eax, 32(%r15)
	cmpl	$1, %r14d
	jne	LBB0_28
## %bb.15:
	decl	(%r15)
	decl	16(%r15)
	jmp	LBB0_28
LBB0_16:
	movq	_MAX_SUPPORTED_TV_TIMING_V1_2@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_29
## %bb.17:
	movq	(%r12), %rax
	movslq	(%rax), %rax
	movslq	-48(%rbp), %rcx
	movq	(%rcx,%rax), %r12
	movslq	%r14d, %rax
	leaq	(%rax,%rax,4), %r13
	movl	32(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	36(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	addl	%ebx, %eax
	movl	%eax, (%r15)
	movl	32(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, 4(%r15)
	movl	32(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movl	28(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	addl	%r14d, %ebx
	movl	%ebx, 8(%r15)
	movl	24(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	addl	%ebx, %eax
	movl	%eax, 12(%r15)
	movl	16(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	20(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	addl	%ebx, %eax
	movl	%eax, 16(%r15)
	movl	16(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, 20(%r15)
	movl	16(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movl	12(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	addl	%r14d, %ebx
	movl	%ebx, 24(%r15)
	movl	8(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	addl	%ebx, %eax
	movl	%eax, 28(%r15)
	movl	$0, 40(%r15)
	movl	4(%r12,%r13,8), %edi
	callq	_le16_to_cpu
	movq	_ATOM_VSYNC_POLARITY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.18:
	movq	_DRM_MODE_FLAG_NVSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_19:
	movq	_ATOM_HSYNC_POLARITY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	movq	_DRM_MODE_FLAG_NHSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_21:
	movq	_ATOM_COMPOSITESYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_DRM_MODE_FLAG_CSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_23:
	movq	_ATOM_INTERLACE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 40(%r15)
LBB0_25:
	movq	_ATOM_DOUBLE_CLOCK_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_DRM_MODE_FLAG_DBLSCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r15)
LBB0_27:
	movl	(%r12,%r13,8), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 36(%r15)
	movl	%eax, 32(%r15)
LBB0_28:
	movl	$1, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_AnalogTV_Info,4,2              ## @AnalogTV_Info
	.comm	_MAX_SUPPORTED_TV_TIMING,4,2    ## @MAX_SUPPORTED_TV_TIMING
	.comm	_ATOM_VSYNC_POLARITY,4,2        ## @ATOM_VSYNC_POLARITY
	.comm	_DRM_MODE_FLAG_NVSYNC,4,2       ## @DRM_MODE_FLAG_NVSYNC
	.comm	_ATOM_HSYNC_POLARITY,4,2        ## @ATOM_HSYNC_POLARITY
	.comm	_DRM_MODE_FLAG_NHSYNC,4,2       ## @DRM_MODE_FLAG_NHSYNC
	.comm	_ATOM_COMPOSITESYNC,4,2         ## @ATOM_COMPOSITESYNC
	.comm	_DRM_MODE_FLAG_CSYNC,4,2        ## @DRM_MODE_FLAG_CSYNC
	.comm	_ATOM_INTERLACE,4,2             ## @ATOM_INTERLACE
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_ATOM_DOUBLE_CLOCK_MODE,4,2     ## @ATOM_DOUBLE_CLOCK_MODE
	.comm	_DRM_MODE_FLAG_DBLSCAN,4,2      ## @DRM_MODE_FLAG_DBLSCAN
	.comm	_MAX_SUPPORTED_TV_TIMING_V1_2,4,2 ## @MAX_SUPPORTED_TV_TIMING_V1_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atom_get_tv_timings     ; -- Begin function radeon_atom_get_tv_timings
	.p2align	2
_radeon_atom_get_tv_timings:            ; @radeon_atom_get_tv_timings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _AnalogTV_Info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AnalogTV_Info@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x21]
	add	x3, sp, #12
	add	x4, sp, #8
	add	x5, sp, #4
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	w0, LBB0_30
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.eq	LBB0_16
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_28
; %bb.3:
Lloh6:
	adrp	x8, _MAX_SUPPORTED_TV_TIMING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_SUPPORTED_TV_TIMING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_29
; %bb.4:
	ldr	x8, [x21]
	ldrsw	x22, [x8]
	ldrsw	x23, [sp, #4]
	ldr	x8, [x23, x22]
	mov	x9, x20
	sxtw	x24, w9
	add	x9, x24, w20, sxtw #2
	lsl	x25, x9, #3
	add	x8, x8, x25
	ldr	w0, [x8, #36]
	bl	_le16_to_cpu
	str	w0, [x19]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #32]
	bl	_le16_to_cpu
	str	w0, [x19, #4]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #28]
	bl	_le16_to_cpu
	str	w0, [x19, #8]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #28]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #24]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19, #12]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #20]
	bl	_le16_to_cpu
	str	w0, [x19, #16]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #16]
	bl	_le16_to_cpu
	str	w0, [x19, #20]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #12]
	bl	_le16_to_cpu
	str	w0, [x19, #24]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #12]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #8]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19, #28]
	str	wzr, [x19, #40]
	ldr	x8, [x23, x22]
	add	x8, x8, x25
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
Lloh9:
	adrp	x8, _ATOM_VSYNC_POLARITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATOM_VSYNC_POLARITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _DRM_MODE_FLAG_NVSYNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DRM_MODE_FLAG_NVSYNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_6:
Lloh15:
	adrp	x8, _ATOM_HSYNC_POLARITY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATOM_HSYNC_POLARITY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _DRM_MODE_FLAG_NHSYNC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRM_MODE_FLAG_NHSYNC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_8:
Lloh21:
	adrp	x8, _ATOM_COMPOSITESYNC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ATOM_COMPOSITESYNC@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:
Lloh24:
	adrp	x8, _DRM_MODE_FLAG_CSYNC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DRM_MODE_FLAG_CSYNC@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_10:
Lloh27:
	adrp	x8, _ATOM_INTERLACE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ATOM_INTERLACE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.11:
Lloh30:
	adrp	x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_12:
Lloh33:
	adrp	x8, _ATOM_DOUBLE_CLOCK_MODE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ATOM_DOUBLE_CLOCK_MODE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.13:
Lloh36:
	adrp	x8, _DRM_MODE_FLAG_DBLSCAN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DRM_MODE_FLAG_DBLSCAN@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_14:
	ldr	x8, [x22, x23]
	mov	w9, #40
	mul	x9, x24, x9
	ldr	w0, [x8, x9]
	bl	_le16_to_cpu
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #1
	stp	w8, w8, [x19, #32]
	cmp	w20, #1
	b.ne	LBB0_28
; %bb.15:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_28
LBB0_16:
Lloh39:
	adrp	x8, _MAX_SUPPORTED_TV_TIMING_V1_2@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MAX_SUPPORTED_TV_TIMING_V1_2@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_29
; %bb.17:
	ldr	x8, [x21]
	ldrsw	x8, [x8]
	ldrsw	x9, [sp, #4]
	ldr	x22, [x9, x8]
	mov	w8, #40
	smaddl	x23, w20, w8, x22
	ldr	w0, [x23, #32]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x23, #36]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19]
	ldr	w0, [x23, #32]
	bl	_le16_to_cpu
	str	w0, [x19, #4]
	ldr	w0, [x23, #32]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x23, #28]
	bl	_le16_to_cpu
	add	w21, w0, w21
	str	w21, [x19, #8]
	ldr	w0, [x23, #24]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19, #12]
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x23, #20]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19, #16]
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	str	w0, [x19, #20]
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x23, #12]
	bl	_le16_to_cpu
	add	w21, w0, w21
	str	w21, [x19, #24]
	ldr	w0, [x23, #8]
	bl	_le16_to_cpu
	add	w8, w0, w21
	str	w8, [x19, #28]
	str	wzr, [x19, #40]
	ldr	w0, [x23, #4]
	bl	_le16_to_cpu
Lloh42:
	adrp	x8, _ATOM_VSYNC_POLARITY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ATOM_VSYNC_POLARITY@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_19
; %bb.18:
Lloh45:
	adrp	x8, _DRM_MODE_FLAG_NVSYNC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DRM_MODE_FLAG_NVSYNC@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_19:
Lloh48:
	adrp	x8, _ATOM_HSYNC_POLARITY@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ATOM_HSYNC_POLARITY@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_21
; %bb.20:
Lloh51:
	adrp	x8, _DRM_MODE_FLAG_NHSYNC@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DRM_MODE_FLAG_NHSYNC@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_21:
Lloh54:
	adrp	x8, _ATOM_COMPOSITESYNC@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ATOM_COMPOSITESYNC@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_23
; %bb.22:
Lloh57:
	adrp	x8, _DRM_MODE_FLAG_CSYNC@GOTPAGE
Lloh58:
	ldr	x8, [x8, _DRM_MODE_FLAG_CSYNC@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_23:
Lloh60:
	adrp	x8, _ATOM_INTERLACE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ATOM_INTERLACE@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_25
; %bb.24:
Lloh63:
	adrp	x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_25:
	sxtw	x8, w20
Lloh66:
	adrp	x9, _ATOM_DOUBLE_CLOCK_MODE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _ATOM_DOUBLE_CLOCK_MODE@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_27
; %bb.26:
Lloh69:
	adrp	x9, _DRM_MODE_FLAG_DBLSCAN@GOTPAGE
Lloh70:
	ldr	x9, [x9, _DRM_MODE_FLAG_DBLSCAN@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	ldr	w10, [x19, #40]
	orr	w9, w10, w9
	str	w9, [x19, #40]
LBB0_27:
	mov	w9, #40
	mul	x8, x8, x9
	ldr	w0, [x22, x8]
	bl	_le16_to_cpu
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #1
	stp	w8, w8, [x19, #32]
LBB0_28:
	mov	w0, #1
	b	LBB0_30
LBB0_29:
	mov	w0, #0
LBB0_30:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_AnalogTV_Info,4,2              ; @AnalogTV_Info
	.comm	_MAX_SUPPORTED_TV_TIMING,4,2    ; @MAX_SUPPORTED_TV_TIMING
	.comm	_ATOM_VSYNC_POLARITY,4,2        ; @ATOM_VSYNC_POLARITY
	.comm	_DRM_MODE_FLAG_NVSYNC,4,2       ; @DRM_MODE_FLAG_NVSYNC
	.comm	_ATOM_HSYNC_POLARITY,4,2        ; @ATOM_HSYNC_POLARITY
	.comm	_DRM_MODE_FLAG_NHSYNC,4,2       ; @DRM_MODE_FLAG_NHSYNC
	.comm	_ATOM_COMPOSITESYNC,4,2         ; @ATOM_COMPOSITESYNC
	.comm	_DRM_MODE_FLAG_CSYNC,4,2        ; @DRM_MODE_FLAG_CSYNC
	.comm	_ATOM_INTERLACE,4,2             ; @ATOM_INTERLACE
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_ATOM_DOUBLE_CLOCK_MODE,4,2     ; @ATOM_DOUBLE_CLOCK_MODE
	.comm	_DRM_MODE_FLAG_DBLSCAN,4,2      ; @DRM_MODE_FLAG_DBLSCAN
	.comm	_MAX_SUPPORTED_TV_TIMING_V1_2,4,2 ; @MAX_SUPPORTED_TV_TIMING_V1_2
.subsections_via_symbols
