	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_tv_get_config
_intel_tv_get_config:                   ## @intel_tv_get_config
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	(%rdi), %edi
	callq	_to_i915
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movl	$0, -60(%rbp)
	movl	8(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_INTEL_OUTPUT_TVOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, 4(%r13)
	movq	_TV_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_TV_H_CTL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r12d
	movq	_TV_H_CTL_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r15d
	movq	_TV_V_CTL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r14d
	movq	_TV_V_CTL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_TV_HTOTAL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%r12d, %esi
	movq	_TV_HTOTAL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movq	_TV_HSYNC_END_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_TV_HSYNC_END_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edx, %r12d
	sarl	%cl, %r12d
	movl	%esi, -104(%rbp)
	movl	%r12d, -100(%rbp)
	movq	_TV_HBLANK_START_MASK@GOTPCREL(%rip), %rcx
	andl	%r15d, %edx
	andl	(%rcx), %r15d
	movq	_TV_HBLANK_START_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r15d
	movq	_TV_HBLANK_END_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_TV_NBR_END_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%r14d, %esi
	movq	_TV_NBR_END_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movl	%r15d, -96(%rbp)
	movl	%edx, -92(%rbp)
	movl	%esi, -88(%rbp)
	movq	_TV_VI_END_F1_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r14d, %edx
	movq	_TV_VI_END_F1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movl	%edx, -84(%rbp)
	movq	_TV_VI_END_F2_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r14d
	movq	_TV_VI_END_F2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r14d
	movq	_TV_VSYNC_LEN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_TV_VSYNC_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_TV_VSYNC_START_F1_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	movq	_TV_VSYNC_START_F1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movl	%r14d, -80(%rbp)
	movl	%edx, -76(%rbp)
	movl	%esi, -72(%rbp)
	movq	_TV_VSYNC_START_F2_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TV_VSYNC_START_F2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, -68(%rbp)
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movl	(%r13), %eax
	movl	%eax, -56(%rbp)
	movq	_TV_PROGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_TV_OVERSAMPLE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movl	%eax, -64(%rbp)
	addl	$-128, %ebx
	movl	$1, %eax
	cmpl	$2, %ebx
	ja	LBB0_2
## %bb.1:
	movslq	%ebx, %rax
	leaq	l_switch.table.intel_tv_get_config(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_2:
	movl	%eax, -60(%rbp)
	movq	_TV_WIN_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movzwl	%bx, %r14d
	sarl	$16, %ebx
	movq	_TV_WIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r13d
	movzwl	%r13w, %r12d
	sarl	$16, %r13d
	leaq	-160(%rbp), %r15
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	callq	_intel_tv_mode_to_mode
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%r15, %rdi
	callq	_drm_mode_debug_printmodeline
	movl	-152(%rbp), %ecx
	addl	%ebx, %r13d
	subl	%r13d, %ecx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_intel_tv_scale_mode_horiz
	movl	-148(%rbp), %ecx
	addl	%r14d, %r12d
	subl	%r12d, %ecx
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_intel_tv_scale_mode_vert
	movl	-140(%rbp), %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, 24(%rbx)
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 32(%rbx)
	je	LBB0_4
## %bb.3:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 24(%rbx)
LBB0_4:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_IS_I965GM
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_I915_MODE_FLAG_USE_SCANLINE_COUNTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 36(%rbx)
LBB0_6:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_OUTPUT_TVOUT,4,2         ## @INTEL_OUTPUT_TVOUT
	.comm	_TV_CTL,4,2                     ## @TV_CTL
	.comm	_TV_H_CTL_1,4,2                 ## @TV_H_CTL_1
	.comm	_TV_H_CTL_3,4,2                 ## @TV_H_CTL_3
	.comm	_TV_V_CTL_1,4,2                 ## @TV_V_CTL_1
	.comm	_TV_V_CTL_2,4,2                 ## @TV_V_CTL_2
	.comm	_TV_HTOTAL_MASK,4,2             ## @TV_HTOTAL_MASK
	.comm	_TV_HTOTAL_SHIFT,4,2            ## @TV_HTOTAL_SHIFT
	.comm	_TV_HSYNC_END_MASK,4,2          ## @TV_HSYNC_END_MASK
	.comm	_TV_HSYNC_END_SHIFT,4,2         ## @TV_HSYNC_END_SHIFT
	.comm	_TV_HBLANK_START_MASK,4,2       ## @TV_HBLANK_START_MASK
	.comm	_TV_HBLANK_START_SHIFT,4,2      ## @TV_HBLANK_START_SHIFT
	.comm	_TV_HBLANK_END_SHIFT,4,2        ## @TV_HBLANK_END_SHIFT
	.comm	_TV_NBR_END_MASK,4,2            ## @TV_NBR_END_MASK
	.comm	_TV_NBR_END_SHIFT,4,2           ## @TV_NBR_END_SHIFT
	.comm	_TV_VI_END_F1_MASK,4,2          ## @TV_VI_END_F1_MASK
	.comm	_TV_VI_END_F1_SHIFT,4,2         ## @TV_VI_END_F1_SHIFT
	.comm	_TV_VI_END_F2_MASK,4,2          ## @TV_VI_END_F2_MASK
	.comm	_TV_VI_END_F2_SHIFT,4,2         ## @TV_VI_END_F2_SHIFT
	.comm	_TV_VSYNC_LEN_MASK,4,2          ## @TV_VSYNC_LEN_MASK
	.comm	_TV_VSYNC_LEN_SHIFT,4,2         ## @TV_VSYNC_LEN_SHIFT
	.comm	_TV_VSYNC_START_F1_MASK,4,2     ## @TV_VSYNC_START_F1_MASK
	.comm	_TV_VSYNC_START_F1_SHIFT,4,2    ## @TV_VSYNC_START_F1_SHIFT
	.comm	_TV_VSYNC_START_F2_MASK,4,2     ## @TV_VSYNC_START_F2_MASK
	.comm	_TV_VSYNC_START_F2_SHIFT,4,2    ## @TV_VSYNC_START_F2_SHIFT
	.comm	_TV_PROGRESSIVE,4,2             ## @TV_PROGRESSIVE
	.comm	_TV_OVERSAMPLE_MASK,4,2         ## @TV_OVERSAMPLE_MASK
	.comm	_TV_WIN_POS,4,2                 ## @TV_WIN_POS
	.comm	_TV_WIN_SIZE,4,2                ## @TV_WIN_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TV mode:\n"

	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_I915_MODE_FLAG_USE_SCANLINE_COUNTER,4,2 ## @I915_MODE_FLAG_USE_SCANLINE_COUNTER
	.no_dead_strip	_intel_tv_get_config
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.intel_tv_get_config
l_switch.table.intel_tv_get_config:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_tv_get_config
_intel_tv_get_config:                   ; @intel_tv_get_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x1
	ldr	w0, [x0]
	bl	_to_i915
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	str	wzr, [sp, #52]
	ldp	w22, w21, [x19, #8]
Lloh0:
	adrp	x8, _INTEL_OUTPUT_TVOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_OUTPUT_TVOUT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _TV_CTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TV_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x23, x0
Lloh6:
	adrp	x8, _TV_H_CTL_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TV_H_CTL_1@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x25, x0
Lloh9:
	adrp	x8, _TV_H_CTL_3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TV_H_CTL_3@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x26, x0
Lloh12:
	adrp	x8, _TV_V_CTL_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TV_V_CTL_1@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x24, x0
Lloh15:
	adrp	x8, _TV_V_CTL_2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TV_V_CTL_2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh18:
	adrp	x8, _TV_HTOTAL_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TV_HTOTAL_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	and	w8, w8, w25
Lloh21:
	adrp	x9, _TV_HTOTAL_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TV_HTOTAL_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh24:
	adrp	x9, _TV_HSYNC_END_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TV_HSYNC_END_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w10, w9, w25
Lloh27:
	adrp	x11, _TV_HSYNC_END_SHIFT@GOTPAGE
Lloh28:
	ldr	x11, [x11, _TV_HSYNC_END_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	asr	w10, w10, w11
	stp	w8, w10, [sp, #8]
Lloh30:
	adrp	x8, _TV_HBLANK_START_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TV_HBLANK_START_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	and	w8, w8, w26
Lloh33:
	adrp	x10, _TV_HBLANK_START_SHIFT@GOTPAGE
Lloh34:
	ldr	x10, [x10, _TV_HBLANK_START_SHIFT@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	asr	w8, w8, w10
Lloh36:
	adrp	x10, _TV_HBLANK_END_SHIFT@GOTPAGE
Lloh37:
	ldr	x10, [x10, _TV_HBLANK_END_SHIFT@GOTPAGEOFF]
	and	w9, w9, w26
Lloh38:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh39:
	adrp	x10, _TV_NBR_END_MASK@GOTPAGE
Lloh40:
	ldr	x10, [x10, _TV_NBR_END_MASK@GOTPAGEOFF]
	stp	w8, w9, [sp, #16]
Lloh41:
	ldr	w8, [x10]
	and	w8, w8, w24
Lloh42:
	adrp	x9, _TV_NBR_END_SHIFT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TV_NBR_END_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh45:
	adrp	x9, _TV_VI_END_F1_MASK@GOTPAGE
Lloh46:
	ldr	x9, [x9, _TV_VI_END_F1_MASK@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _TV_VI_END_F1_SHIFT@GOTPAGE
Lloh49:
	ldr	x10, [x10, _TV_VI_END_F1_SHIFT@GOTPAGEOFF]
	and	w9, w9, w24
Lloh50:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh51:
	adrp	x10, _TV_VI_END_F2_MASK@GOTPAGE
Lloh52:
	ldr	x10, [x10, _TV_VI_END_F2_MASK@GOTPAGEOFF]
	stp	w8, w9, [sp, #24]
Lloh53:
	ldr	w8, [x10]
	and	w8, w8, w24
Lloh54:
	adrp	x9, _TV_VI_END_F2_SHIFT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _TV_VI_END_F2_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh57:
	adrp	x9, _TV_VSYNC_LEN_MASK@GOTPAGE
Lloh58:
	ldr	x9, [x9, _TV_VSYNC_LEN_MASK@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
Lloh60:
	adrp	x10, _TV_VSYNC_LEN_SHIFT@GOTPAGE
Lloh61:
	ldr	x10, [x10, _TV_VSYNC_LEN_SHIFT@GOTPAGEOFF]
	and	w9, w9, w0
Lloh62:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh63:
	adrp	x10, _TV_VSYNC_START_F1_MASK@GOTPAGE
Lloh64:
	ldr	x10, [x10, _TV_VSYNC_START_F1_MASK@GOTPAGEOFF]
	stp	w8, w9, [sp, #32]
Lloh65:
	ldr	w8, [x10]
	and	w8, w8, w0
Lloh66:
	adrp	x9, _TV_VSYNC_START_F1_SHIFT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _TV_VSYNC_START_F1_SHIFT@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh69:
	adrp	x9, _TV_VSYNC_START_F2_MASK@GOTPAGE
Lloh70:
	ldr	x9, [x9, _TV_VSYNC_START_F2_MASK@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _TV_VSYNC_START_F2_SHIFT@GOTPAGE
Lloh73:
	ldr	x10, [x10, _TV_VSYNC_START_F2_SHIFT@GOTPAGEOFF]
	and	w9, w9, w0
Lloh74:
	ldr	w10, [x10]
	asr	w9, w9, w10
	stp	w8, w9, [sp, #40]
	ldr	w9, [x19]
Lloh75:
	adrp	x8, _TV_PROGRESSIVE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _TV_PROGRESSIVE@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	and	w10, w8, w23
Lloh78:
	adrp	x8, _TV_OVERSAMPLE_MASK@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TV_OVERSAMPLE_MASK@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	and	w8, w8, w23
	sub	w8, w8, #128
	str	w9, [sp, #56]
	str	w10, [sp, #48]
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh81:
	adrp	x9, l_switch.table.intel_tv_get_config@PAGE
Lloh82:
	add	x9, x9, l_switch.table.intel_tv_get_config@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w8, #1
LBB0_3:
	str	w8, [sp, #52]
Lloh83:
	adrp	x8, _TV_WIN_POS@GOTPAGE
Lloh84:
	ldr	x8, [x8, _TV_WIN_POS@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	bl	_I915_READ
	asr	w23, w0, #16
	and	w24, w0, #0xffff
Lloh86:
	adrp	x8, _TV_WIN_SIZE@GOTPAGE
Lloh87:
	ldr	x8, [x8, _TV_WIN_SIZE@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x25, x0
	add	x0, sp, #64
	add	x1, sp, #8
	bl	_intel_tv_mode_to_mode
Lloh89:
	adrp	x0, l_.str@PAGE
Lloh90:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	add	x0, sp, #64
	bl	_drm_mode_debug_printmodeline
	ldr	w8, [sp, #72]
	add	w9, w23, w25, asr #16
	sub	w3, w8, w9
	add	x0, sp, #64
	mov	x1, x22
	mov	x2, x23
	bl	_intel_tv_scale_mode_horiz
	ldr	w8, [sp, #76]
	add	w9, w24, w25, uxth
	sub	w3, w8, w9
	add	x0, sp, #64
	mov	x1, x21
	mov	x2, x24
	bl	_intel_tv_scale_mode_vert
	ldr	w8, [sp, #84]
	str	w8, [x19, #24]
	ldr	w9, [x19, #32]
Lloh91:
	adrp	x10, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh92:
	ldr	x10, [x10, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh93:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [x19, #24]
LBB0_5:
	mov	x0, x20
	bl	_IS_I965GM
	cbz	x0, LBB0_7
; %bb.6:
Lloh94:
	adrp	x8, _I915_MODE_FLAG_USE_SCANLINE_COUNTER@GOTPAGE
Lloh95:
	ldr	x8, [x8, _I915_MODE_FLAG_USE_SCANLINE_COUNTER@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	ldr	w9, [x19, #36]
	orr	w8, w9, w8
	str	w8, [x19, #36]
LBB0_7:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_OUTPUT_TVOUT,4,2         ; @INTEL_OUTPUT_TVOUT
	.comm	_TV_CTL,4,2                     ; @TV_CTL
	.comm	_TV_H_CTL_1,4,2                 ; @TV_H_CTL_1
	.comm	_TV_H_CTL_3,4,2                 ; @TV_H_CTL_3
	.comm	_TV_V_CTL_1,4,2                 ; @TV_V_CTL_1
	.comm	_TV_V_CTL_2,4,2                 ; @TV_V_CTL_2
	.comm	_TV_HTOTAL_MASK,4,2             ; @TV_HTOTAL_MASK
	.comm	_TV_HTOTAL_SHIFT,4,2            ; @TV_HTOTAL_SHIFT
	.comm	_TV_HSYNC_END_MASK,4,2          ; @TV_HSYNC_END_MASK
	.comm	_TV_HSYNC_END_SHIFT,4,2         ; @TV_HSYNC_END_SHIFT
	.comm	_TV_HBLANK_START_MASK,4,2       ; @TV_HBLANK_START_MASK
	.comm	_TV_HBLANK_START_SHIFT,4,2      ; @TV_HBLANK_START_SHIFT
	.comm	_TV_HBLANK_END_SHIFT,4,2        ; @TV_HBLANK_END_SHIFT
	.comm	_TV_NBR_END_MASK,4,2            ; @TV_NBR_END_MASK
	.comm	_TV_NBR_END_SHIFT,4,2           ; @TV_NBR_END_SHIFT
	.comm	_TV_VI_END_F1_MASK,4,2          ; @TV_VI_END_F1_MASK
	.comm	_TV_VI_END_F1_SHIFT,4,2         ; @TV_VI_END_F1_SHIFT
	.comm	_TV_VI_END_F2_MASK,4,2          ; @TV_VI_END_F2_MASK
	.comm	_TV_VI_END_F2_SHIFT,4,2         ; @TV_VI_END_F2_SHIFT
	.comm	_TV_VSYNC_LEN_MASK,4,2          ; @TV_VSYNC_LEN_MASK
	.comm	_TV_VSYNC_LEN_SHIFT,4,2         ; @TV_VSYNC_LEN_SHIFT
	.comm	_TV_VSYNC_START_F1_MASK,4,2     ; @TV_VSYNC_START_F1_MASK
	.comm	_TV_VSYNC_START_F1_SHIFT,4,2    ; @TV_VSYNC_START_F1_SHIFT
	.comm	_TV_VSYNC_START_F2_MASK,4,2     ; @TV_VSYNC_START_F2_MASK
	.comm	_TV_VSYNC_START_F2_SHIFT,4,2    ; @TV_VSYNC_START_F2_SHIFT
	.comm	_TV_PROGRESSIVE,4,2             ; @TV_PROGRESSIVE
	.comm	_TV_OVERSAMPLE_MASK,4,2         ; @TV_OVERSAMPLE_MASK
	.comm	_TV_WIN_POS,4,2                 ; @TV_WIN_POS
	.comm	_TV_WIN_SIZE,4,2                ; @TV_WIN_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TV mode:\n"

	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_I915_MODE_FLAG_USE_SCANLINE_COUNTER,4,2 ; @I915_MODE_FLAG_USE_SCANLINE_COUNTER
	.no_dead_strip	_intel_tv_get_config
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.intel_tv_get_config
l_switch.table.intel_tv_get_config:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2

.subsections_via_symbols
