	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_tv_init                  ## -- Begin function intel_tv_init
	.p2align	4, 0x90
_intel_tv_init:                         ## @intel_tv_init
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rbx
	movq	_tv_modes@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_TV_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_TV_FUSE_STATE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TV_FUSE_STATE_DISABLED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, %rdi
	callq	_tv_is_present_in_vbt
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	cmpl	$0, (%rbx)
	je	LBB0_15
## %bb.5:
	movq	_TV_DAC@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	_TVDAC_STATE_CHG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%ebx, %esi
	callq	_I915_WRITE
	movl	(%r14), %edi
	callq	_I915_READ
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %r12d
	movl	(%r14), %edi
	movq	_TVDAC_STATE_CHG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%ebx, %esi
	callq	_I915_WRITE
	movl	(%r14), %edi
	callq	_I915_READ
	movl	%eax, %r15d
	movl	(%r14), %edi
	movq	_tv_modes@GOTPCREL(%rip), %r14
	movl	%ebx, %esi
	callq	_I915_WRITE
	movq	_TVDAC_STATE_CHG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r12d, %eax
	je	LBB0_15
## %bb.6:
	andl	%r15d, %eax
	jne	LBB0_15
## %bb.7:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	$20, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %rbx
	leaq	20(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_DRM_CONNECTOR_POLL_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_DRM_MODE_CONNECTOR_SVIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_intel_tv_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	callq	_drm_connector_init
	movq	%r15, %r12
	addq	$32, %r12
	movq	_DRM_MODE_ENCODER_TVDAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_intel_tv_enc_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_drm_encoder_init
	movq	_intel_enable_tv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_intel_disable_tv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_intel_tv_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_intel_connector_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_intel_connector_attach_encoder
	movq	_INTEL_OUTPUT_TVOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 20(%r15)
	movq	$3, 24(%r15)
	movl	$3, 32(%r15)
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, 36(%r15)
	movq	_DRM_MODE_CONNECTOR_Unknown@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	(%r15), %rax
	movq	_TV_MARGIN_LEFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$54, (%rax,%rcx,4)
	movq	_TV_MARGIN_TOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$36, (%rax,%rcx,4)
	movq	_TV_MARGIN_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$46, (%rax,%rcx,4)
	movq	_TV_MARGIN_BOTTOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$37, (%rax,%rcx,4)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	_intel_tv_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_drm_encoder_helper_add
	movq	_intel_tv_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_drm_connector_helper_add
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	$0, 4(%rbx)
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	(%rdi,%rbx,8), %rax
	movq	%rax, (%r12,%rbx,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_drm_mode_create_tv_properties
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	$12, %rbx
	movl	16(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_drm_object_attach_property
	movl	12(%r13), %esi
	movq	(%r15), %rax
	movq	_TV_MARGIN_LEFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	callq	_drm_object_attach_property
	movl	8(%r13), %esi
	movq	(%r15), %rax
	movq	_TV_MARGIN_TOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	callq	_drm_object_attach_property
	movl	4(%r13), %esi
	movq	(%r15), %rax
	movq	_TV_MARGIN_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	callq	_drm_object_attach_property
	movl	(%r13), %esi
	movq	(%r15), %rax
	movq	_TV_MARGIN_BOTTOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%rbx, %rdi
	callq	_drm_object_attach_property
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_drm_sysfs_connector_add
	jmp	LBB0_15
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.3:
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.10:
	movq	%r15, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_tv_modes,8,3                   ## @tv_modes
	.comm	_TV_CTL,4,2                     ## @TV_CTL
	.comm	_TV_FUSE_STATE_MASK,4,2         ## @TV_FUSE_STATE_MASK
	.comm	_TV_FUSE_STATE_DISABLED,4,2     ## @TV_FUSE_STATE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Integrated TV is not present.\n"

	.comm	_TV_DAC,4,2                     ## @TV_DAC
	.comm	_TVDAC_STATE_CHG_EN,4,2         ## @TVDAC_STATE_CHG_EN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ## @DRM_CONNECTOR_POLL_CONNECT
	.comm	_intel_tv_connector_funcs,4,2   ## @intel_tv_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_SVIDEO,4,2  ## @DRM_MODE_CONNECTOR_SVIDEO
	.comm	_intel_tv_enc_funcs,4,2         ## @intel_tv_enc_funcs
	.comm	_DRM_MODE_ENCODER_TVDAC,4,2     ## @DRM_MODE_ENCODER_TVDAC
	.comm	_intel_enable_tv,4,2            ## @intel_enable_tv
	.comm	_intel_disable_tv,4,2           ## @intel_disable_tv
	.comm	_intel_tv_get_hw_state,4,2      ## @intel_tv_get_hw_state
	.comm	_intel_connector_get_hw_state,4,2 ## @intel_connector_get_hw_state
	.comm	_INTEL_OUTPUT_TVOUT,4,2         ## @INTEL_OUTPUT_TVOUT
	.comm	_DRM_MODE_CONNECTOR_Unknown,4,2 ## @DRM_MODE_CONNECTOR_Unknown
	.comm	_TV_MARGIN_LEFT,8,3             ## @TV_MARGIN_LEFT
	.comm	_TV_MARGIN_TOP,8,3              ## @TV_MARGIN_TOP
	.comm	_TV_MARGIN_RIGHT,8,3            ## @TV_MARGIN_RIGHT
	.comm	_TV_MARGIN_BOTTOM,8,3           ## @TV_MARGIN_BOTTOM
	.comm	_intel_tv_helper_funcs,4,2      ## @intel_tv_helper_funcs
	.comm	_intel_tv_connector_helper_funcs,4,2 ## @intel_tv_connector_helper_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function intel_tv_init
lCPI0_0:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_intel_tv_init
	.p2align	2
_intel_tv_init:                         ; @intel_tv_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x21, [x0, #24]
Lloh3:
	adrp	x26, _tv_modes@GOTPAGE
Lloh4:
	ldr	x26, [x26, _tv_modes@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	mov	w8, w0
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _TV_CTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TV_CTL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh10:
	adrp	x8, _TV_FUSE_STATE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TV_FUSE_STATE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh13:
	adrp	x9, _TV_FUSE_STATE_DISABLED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TV_FUSE_STATE_DISABLED@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.2:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_tv_is_present_in_vbt
	cbz	w0, LBB0_13
; %bb.4:
	ldr	w8, [x21]
	cbz	w8, LBB0_1
; %bb.5:
Lloh19:
	adrp	x24, _TV_DAC@GOTPAGE
Lloh20:
	ldr	x24, [x24, _TV_DAC@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_I915_READ
	mov	x22, x0
	ldr	w0, [x24]
Lloh21:
	adrp	x25, _TVDAC_STATE_CHG_EN@GOTPAGE
Lloh22:
	ldr	x25, [x25, _TVDAC_STATE_CHG_EN@GOTPAGEOFF]
	ldr	w8, [x25]
	orr	w1, w8, w22
	bl	_I915_WRITE
	ldr	w0, [x24]
	bl	_I915_READ
	mov	x23, x0
	ldr	w0, [x24]
	ldr	w8, [x25]
	bic	w1, w22, w8
	bl	_I915_WRITE
	ldr	w0, [x24]
	bl	_I915_READ
	mov	x21, x0
	ldr	w0, [x24]
	mov	x1, x22
	bl	_I915_WRITE
	ldr	w8, [x25]
	tst	w8, w23
	b.eq	LBB0_1
; %bb.6:
	and	w8, w8, w21
	cbnz	w8, LBB0_1
; %bb.7:
Lloh23:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_1
; %bb.8:
	mov	x21, x0
	ldr	w1, [x22]
	mov	w0, #20
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.9:
	mov	x23, x0
	add	x25, x21, #20
Lloh25:
	adrp	x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_CONNECT@GOTPAGEOFF]
	add	x22, x0, #4
Lloh27:
	ldr	w8, [x8]
	str	w8, [x0, #16]
Lloh28:
	adrp	x8, _DRM_MODE_CONNECTOR_SVIDEO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_SVIDEO@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
Lloh31:
	adrp	x2, _intel_tv_connector_funcs@GOTPAGE
Lloh32:
	ldr	x2, [x2, _intel_tv_connector_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x22
	bl	_drm_connector_init
	add	x24, x21, #32
Lloh33:
	adrp	x8, _DRM_MODE_ENCODER_TVDAC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DRM_MODE_ENCODER_TVDAC@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
Lloh36:
	adrp	x2, _intel_tv_enc_funcs@GOTPAGE
Lloh37:
	ldr	x2, [x2, _intel_tv_enc_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x24
	bl	_drm_encoder_init
Lloh38:
	adrp	x8, _intel_enable_tv@GOTPAGE
Lloh39:
	ldr	x8, [x8, _intel_enable_tv@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x21, #48]
Lloh41:
	adrp	x8, _intel_disable_tv@GOTPAGE
Lloh42:
	ldr	x8, [x8, _intel_disable_tv@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _intel_tv_get_hw_state@GOTPAGE
Lloh45:
	ldr	x9, [x9, _intel_tv_get_hw_state@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #40]
Lloh47:
	adrp	x8, _intel_connector_get_hw_state@GOTPAGE
Lloh48:
	ldr	x8, [x8, _intel_connector_get_hw_state@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	x0, x23
	mov	x1, x25
	bl	_intel_connector_attach_encoder
Lloh50:
	adrp	x8, _INTEL_OUTPUT_TVOUT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _INTEL_OUTPUT_TVOUT@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, lCPI0_0@PAGE
Lloh54:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x21, #24]
	mov	w9, #3
	mov	w10, #1
	lsl	w10, w10, w8
	stp	w9, w10, [x21, #32]
Lloh55:
	adrp	x9, _DRM_MODE_CONNECTOR_Unknown@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DRM_MODE_CONNECTOR_Unknown@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	ldr	x8, [x21]
Lloh58:
	adrp	x25, _TV_MARGIN_LEFT@GOTPAGE
Lloh59:
	ldr	x25, [x25, _TV_MARGIN_LEFT@GOTPAGEOFF]
	ldr	x9, [x25]
	mov	w10, #54
	str	w10, [x8, x9, lsl #2]
Lloh60:
	adrp	x28, _TV_MARGIN_TOP@GOTPAGE
Lloh61:
	ldr	x28, [x28, _TV_MARGIN_TOP@GOTPAGEOFF]
	ldr	x9, [x28]
	mov	w10, #36
	str	w10, [x8, x9, lsl #2]
Lloh62:
	adrp	x27, _TV_MARGIN_RIGHT@GOTPAGE
Lloh63:
	ldr	x27, [x27, _TV_MARGIN_RIGHT@GOTPAGEOFF]
	ldr	x9, [x27]
	mov	w10, #46
	str	w10, [x8, x9, lsl #2]
Lloh64:
	adrp	x9, _TV_MARGIN_BOTTOM@GOTPAGE
Lloh65:
	ldr	x9, [x9, _TV_MARGIN_BOTTOM@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	mov	w10, #37
	str	w10, [x8, x9, lsl #2]
	ldr	x8, [x26]
	ldr	x8, [x8]
	str	x8, [x21, #8]
Lloh67:
	adrp	x1, _intel_tv_helper_funcs@GOTPAGE
Lloh68:
	ldr	x1, [x1, _intel_tv_helper_funcs@GOTPAGEOFF]
	mov	x0, x24
	bl	_drm_encoder_helper_add
Lloh69:
	adrp	x1, _intel_tv_connector_helper_funcs@GOTPAGE
Lloh70:
	ldr	x1, [x1, _intel_tv_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x22
	bl	_drm_connector_helper_add
	stp	wzr, wzr, [x23, #4]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x24, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	lsl	x8, x24, #3
	ldr	x9, [x0, x8]
	str	x9, [x20, x8]
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.lt	LBB0_11
LBB0_12:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_drm_mode_create_tv_properties
	add	x20, x23, #12
	ldr	w1, [x19, #16]
	mov	x0, x20
	mov	w2, #0
	bl	_drm_object_attach_property
	ldr	w1, [x19, #12]
	ldr	x8, [x21]
	ldr	x9, [x25]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_drm_object_attach_property
	ldr	w1, [x19, #8]
	ldr	x8, [x21]
	ldr	x9, [x28]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_drm_object_attach_property
	ldr	w1, [x19, #4]
	ldr	x8, [x21]
	ldr	x9, [x27]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_drm_object_attach_property
	ldr	w1, [x19]
	ldr	x8, [x21]
Lloh71:
	adrp	x9, _TV_MARGIN_BOTTOM@GOTPAGE
Lloh72:
	ldr	x9, [x9, _TV_MARGIN_BOTTOM@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_drm_object_attach_property
	mov	x0, x22
	bl	_drm_sysfs_connector_add
	b	LBB0_1
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh74:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh75:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
Lloh77:
	adrp	x0, l_.str@PAGE
Lloh78:
	add	x0, x0, l_.str@PAGEOFF
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_DRM_DEBUG_KMS
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh79:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh80:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_kfree
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdr	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_tv_modes,8,3                   ; @tv_modes
	.comm	_TV_CTL,4,2                     ; @TV_CTL
	.comm	_TV_FUSE_STATE_MASK,4,2         ; @TV_FUSE_STATE_MASK
	.comm	_TV_FUSE_STATE_DISABLED,4,2     ; @TV_FUSE_STATE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Integrated TV is not present.\n"

	.comm	_TV_DAC,4,2                     ; @TV_DAC
	.comm	_TVDAC_STATE_CHG_EN,4,2         ; @TVDAC_STATE_CHG_EN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DRM_CONNECTOR_POLL_CONNECT,4,2 ; @DRM_CONNECTOR_POLL_CONNECT
	.comm	_intel_tv_connector_funcs,4,2   ; @intel_tv_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_SVIDEO,4,2  ; @DRM_MODE_CONNECTOR_SVIDEO
	.comm	_intel_tv_enc_funcs,4,2         ; @intel_tv_enc_funcs
	.comm	_DRM_MODE_ENCODER_TVDAC,4,2     ; @DRM_MODE_ENCODER_TVDAC
	.comm	_intel_enable_tv,4,2            ; @intel_enable_tv
	.comm	_intel_disable_tv,4,2           ; @intel_disable_tv
	.comm	_intel_tv_get_hw_state,4,2      ; @intel_tv_get_hw_state
	.comm	_intel_connector_get_hw_state,4,2 ; @intel_connector_get_hw_state
	.comm	_INTEL_OUTPUT_TVOUT,4,2         ; @INTEL_OUTPUT_TVOUT
	.comm	_DRM_MODE_CONNECTOR_Unknown,4,2 ; @DRM_MODE_CONNECTOR_Unknown
	.comm	_TV_MARGIN_LEFT,8,3             ; @TV_MARGIN_LEFT
	.comm	_TV_MARGIN_TOP,8,3              ; @TV_MARGIN_TOP
	.comm	_TV_MARGIN_RIGHT,8,3            ; @TV_MARGIN_RIGHT
	.comm	_TV_MARGIN_BOTTOM,8,3           ; @TV_MARGIN_BOTTOM
	.comm	_intel_tv_helper_funcs,4,2      ; @intel_tv_helper_funcs
	.comm	_intel_tv_connector_helper_funcs,4,2 ; @intel_tv_connector_helper_funcs
.subsections_via_symbols
