	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdmi_init_connector      ## -- Begin function intel_hdmi_init_connector
	.p2align	4, 0x90
_intel_hdmi_init_connector:             ## @intel_hdmi_init_connector
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	8(%rsi), %r14
	movq	8(%rdi), %r15
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	movq	_DRM_MODE_CONNECTOR_HDMIA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_intel_hdmi_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_drm_connector_init
	movq	_intel_hdmi_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_drm_connector_helper_add
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movl	$1, 8(%r12)
	movq	$0, 16(%r12)
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.3:
	movq	_GMBUS_PORT_DPB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_PORTB_HOTPLUG_INT_STATUS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_GMBUS_PORT_DPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_PORTD_HOTPLUG_INT_STATUS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_GMBUS_PORT_DPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_PORTC_HOTPLUG_INT_STATUS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_BUG
LBB0_8:
	movq	%r15, %rdi
	callq	_HAS_PCH_SPLIT
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_vlv_set_infoframes@GOTPCREL(%rip), %rax
	movq	_vlv_write_infoframe@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_9:
	movq	_g4x_set_infoframes@GOTPCREL(%rip), %rax
	movq	_g4x_write_infoframe@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:
	movq	%r15, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_hsw_set_infoframes@GOTPCREL(%rip), %rax
	movq	_hsw_write_infoframe@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	movq	_ibx_write_infoframe@GOTPCREL(%rip), %rcx
	cmoveq	_cpt_write_infoframe@GOTPCREL(%rip), %rcx
	movq	_ibx_set_infoframes@GOTPCREL(%rip), %rax
	cmoveq	_cpt_set_infoframes@GOTPCREL(%rip), %rax
LBB0_15:
	leaq	16(%r13), %r14
	leaq	8(%r13), %rbx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r13)
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	%r15, %rdi
	callq	_HAS_DDI
	movq	%rbx, %r13
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:
	movq	_intel_connector_get_hw_state@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_intel_ddi_connector_get_hw_state@GOTPCREL(%rip), %rax
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_intel_hdmi_add_properties
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_intel_connector_attach_encoder
	movq	%rbx, %rdi
	callq	_drm_sysfs_connector_add
	movq	%r15, %rdi
	callq	_IS_G4X
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	callq	_IS_GM45
	testl	%eax, %eax
	je	LBB0_21
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_PEG_BAND_GAP_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_I915_READ
                                        ## kill: def $eax killed $eax def $rax
	movl	(%rbx), %edi
	andl	$-16, %eax
	leal	13(%rax), %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_intel_hdmi_connector_funcs,4,2 ## @intel_hdmi_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_HDMIA,4,2   ## @DRM_MODE_CONNECTOR_HDMIA
	.comm	_intel_hdmi_connector_helper_funcs,4,2 ## @intel_hdmi_connector_helper_funcs
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_GMBUS_PORT_DPB,4,2             ## @GMBUS_PORT_DPB
	.comm	_PORTB_HOTPLUG_INT_STATUS,4,2   ## @PORTB_HOTPLUG_INT_STATUS
	.comm	_GMBUS_PORT_DPC,4,2             ## @GMBUS_PORT_DPC
	.comm	_PORTC_HOTPLUG_INT_STATUS,4,2   ## @PORTC_HOTPLUG_INT_STATUS
	.comm	_GMBUS_PORT_DPD,4,2             ## @GMBUS_PORT_DPD
	.comm	_PORTD_HOTPLUG_INT_STATUS,4,2   ## @PORTD_HOTPLUG_INT_STATUS
	.comm	_g4x_write_infoframe,4,2        ## @g4x_write_infoframe
	.comm	_g4x_set_infoframes,4,2         ## @g4x_set_infoframes
	.comm	_vlv_write_infoframe,4,2        ## @vlv_write_infoframe
	.comm	_vlv_set_infoframes,4,2         ## @vlv_set_infoframes
	.comm	_hsw_write_infoframe,4,2        ## @hsw_write_infoframe
	.comm	_hsw_set_infoframes,4,2         ## @hsw_set_infoframes
	.comm	_ibx_write_infoframe,4,2        ## @ibx_write_infoframe
	.comm	_ibx_set_infoframes,4,2         ## @ibx_set_infoframes
	.comm	_cpt_write_infoframe,4,2        ## @cpt_write_infoframe
	.comm	_cpt_set_infoframes,4,2         ## @cpt_set_infoframes
	.comm	_intel_ddi_connector_get_hw_state,4,2 ## @intel_ddi_connector_get_hw_state
	.comm	_intel_connector_get_hw_state,4,2 ## @intel_connector_get_hw_state
	.comm	_PEG_BAND_GAP_DATA,4,2          ## @PEG_BAND_GAP_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdmi_init_connector      ; -- Begin function intel_hdmi_init_connector
	.p2align	2
_intel_hdmi_init_connector:             ; @intel_hdmi_init_connector
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x24, x0
	add	x20, x1, #8
	mov	x23, x0
	ldr	w26, [x23], #16
	mov	x22, x0
	ldr	x19, [x22, #8]!
	ldr	x25, [x19]
Lloh0:
	adrp	x8, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_HDMIA@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, _intel_hdmi_connector_funcs@GOTPAGE
Lloh4:
	ldr	x2, [x2, _intel_hdmi_connector_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_drm_connector_init
Lloh5:
	adrp	x1, _intel_hdmi_connector_helper_funcs@GOTPAGE
Lloh6:
	ldr	x1, [x1, _intel_hdmi_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
Lloh7:
	adrp	x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	mov	w8, #1
	str	w8, [x21, #8]
	str	xzr, [x21, #16]
	cmp	w26, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w26, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w26, #130
	b.ne	LBB0_7
; %bb.3:
Lloh10:
	adrp	x8, _GMBUS_PORT_DPB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GMBUS_PORT_DPB@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x24, #24]
Lloh13:
	adrp	x8, _PORTB_HOTPLUG_INT_STATUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PORTB_HOTPLUG_INT_STATUS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x8, _GMBUS_PORT_DPD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GMBUS_PORT_DPD@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x24, #24]
Lloh18:
	adrp	x8, _PORTD_HOTPLUG_INT_STATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PORTD_HOTPLUG_INT_STATUS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh20:
	adrp	x8, _GMBUS_PORT_DPC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GMBUS_PORT_DPC@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x24, #24]
Lloh23:
	adrp	x8, _PORTC_HOTPLUG_INT_STATUS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PORTC_HOTPLUG_INT_STATUS@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w8, w9, w8
	str	w8, [x25]
	b	LBB0_8
LBB0_7:
	bl	_BUG
LBB0_8:
	mov	x0, x19
	bl	_HAS_PCH_SPLIT
	cbz	w0, LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbz	x0, LBB0_12
; %bb.10:
Lloh25:
	adrp	x8, _vlv_set_infoframes@GOTPAGE
Lloh26:
	ldr	x8, [x8, _vlv_set_infoframes@GOTPAGEOFF]
Lloh27:
	adrp	x9, _vlv_write_infoframe@GOTPAGE
Lloh28:
	ldr	x9, [x9, _vlv_write_infoframe@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh29:
	adrp	x8, _g4x_set_infoframes@GOTPAGE
Lloh30:
	ldr	x8, [x8, _g4x_set_infoframes@GOTPAGEOFF]
Lloh31:
	adrp	x9, _g4x_write_infoframe@GOTPAGE
Lloh32:
	ldr	x9, [x9, _g4x_write_infoframe@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	bl	_IS_HASWELL
	cbz	x0, LBB0_14
; %bb.13:
Lloh33:
	adrp	x8, _hsw_set_infoframes@GOTPAGE
Lloh34:
	ldr	x8, [x8, _hsw_set_infoframes@GOTPAGEOFF]
Lloh35:
	adrp	x9, _hsw_write_infoframe@GOTPAGE
Lloh36:
	ldr	x9, [x9, _hsw_write_infoframe@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_HAS_PCH_IBX
Lloh37:
	adrp	x8, _ibx_write_infoframe@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ibx_write_infoframe@GOTPAGEOFF]
Lloh39:
	adrp	x9, _cpt_write_infoframe@GOTPAGE
Lloh40:
	ldr	x9, [x9, _cpt_write_infoframe@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x8, eq
Lloh41:
	adrp	x8, _ibx_set_infoframes@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ibx_set_infoframes@GOTPAGEOFF]
Lloh43:
	adrp	x10, _cpt_set_infoframes@GOTPAGE
Lloh44:
	ldr	x10, [x10, _cpt_set_infoframes@GOTPAGEOFF]
	csel	x8, x10, x8, eq
LBB0_15:
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w8, w9, [x24, #16]
	mov	x0, x19
	bl	_HAS_DDI
Lloh45:
	adrp	x8, _intel_connector_get_hw_state@GOTPAGE
Lloh46:
	ldr	x8, [x8, _intel_connector_get_hw_state@GOTPAGEOFF]
Lloh47:
	adrp	x9, _intel_ddi_connector_get_hw_state@GOTPAGE
Lloh48:
	ldr	x9, [x9, _intel_ddi_connector_get_hw_state@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x23
	mov	x1, x20
	bl	_intel_hdmi_add_properties
	mov	x0, x21
	mov	x1, x22
	bl	_intel_connector_attach_encoder
	mov	x0, x20
	bl	_drm_sysfs_connector_add
	mov	x0, x19
	bl	_IS_G4X
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_IS_GM45
	cbz	w0, LBB0_18
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh49:
	adrp	x19, _PEG_BAND_GAP_DATA@GOTPAGE
Lloh50:
	ldr	x19, [x19, _PEG_BAND_GAP_DATA@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_I915_READ
	mov	x1, x0
	ldr	w0, [x19]
	mov	w8, #13
	bfxil	w1, w8, #0, #4
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_intel_hdmi_connector_funcs,4,2 ; @intel_hdmi_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_HDMIA,4,2   ; @DRM_MODE_CONNECTOR_HDMIA
	.comm	_intel_hdmi_connector_helper_funcs,4,2 ; @intel_hdmi_connector_helper_funcs
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_GMBUS_PORT_DPB,4,2             ; @GMBUS_PORT_DPB
	.comm	_PORTB_HOTPLUG_INT_STATUS,4,2   ; @PORTB_HOTPLUG_INT_STATUS
	.comm	_GMBUS_PORT_DPC,4,2             ; @GMBUS_PORT_DPC
	.comm	_PORTC_HOTPLUG_INT_STATUS,4,2   ; @PORTC_HOTPLUG_INT_STATUS
	.comm	_GMBUS_PORT_DPD,4,2             ; @GMBUS_PORT_DPD
	.comm	_PORTD_HOTPLUG_INT_STATUS,4,2   ; @PORTD_HOTPLUG_INT_STATUS
	.comm	_g4x_write_infoframe,4,2        ; @g4x_write_infoframe
	.comm	_g4x_set_infoframes,4,2         ; @g4x_set_infoframes
	.comm	_vlv_write_infoframe,4,2        ; @vlv_write_infoframe
	.comm	_vlv_set_infoframes,4,2         ; @vlv_set_infoframes
	.comm	_hsw_write_infoframe,4,2        ; @hsw_write_infoframe
	.comm	_hsw_set_infoframes,4,2         ; @hsw_set_infoframes
	.comm	_ibx_write_infoframe,4,2        ; @ibx_write_infoframe
	.comm	_ibx_set_infoframes,4,2         ; @ibx_set_infoframes
	.comm	_cpt_write_infoframe,4,2        ; @cpt_write_infoframe
	.comm	_cpt_set_infoframes,4,2         ; @cpt_set_infoframes
	.comm	_intel_ddi_connector_get_hw_state,4,2 ; @intel_ddi_connector_get_hw_state
	.comm	_intel_connector_get_hw_state,4,2 ; @intel_connector_get_hw_state
	.comm	_PEG_BAND_GAP_DATA,4,2          ; @PEG_BAND_GAP_DATA
.subsections_via_symbols
