	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hdmi_ddc_pin
_intel_hdmi_ddc_pin:                    ## @intel_hdmi_ddc_pin
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %r12
	movl	%esi, %r13d
	movq	(%r12,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_port_name
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_DRM_DEBUG_KMS
	movq	(%r12,%r13,8), %rbx
	jmp	LBB0_15
LBB0_2:
	movq	%rdi, %r15
	callq	_HAS_PCH_MCC
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mcc_port_to_ddc_pin
	jmp	LBB0_14
LBB0_4:
	movq	%r15, %rdi
	callq	_HAS_PCH_TGP
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_HAS_PCH_ICP
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_icl_port_to_ddc_pin
LBB0_14:
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_port_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_DRM_DEBUG_KMS
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_HAS_PCH_CNP
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_cnp_port_to_ddc_pin
	jmp	LBB0_14
LBB0_9:
	movq	%r15, %rdi
	callq	_IS_GEN9_LP
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_bxt_port_to_ddc_pin
	jmp	LBB0_14
LBB0_11:
	movq	%r15, %rdi
	callq	_IS_CHERRYVIEW
	movq	%r15, %rdi
	movl	%r14d, %esi
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	callq	_chv_port_to_ddc_pin
	jmp	LBB0_14
LBB0_13:
	callq	_g4x_port_to_ddc_pin
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Using DDC pin 0x%x for port %c (VBT)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Using DDC pin 0x%x for port %c (platform default)\n"

	.no_dead_strip	_intel_hdmi_ddc_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_hdmi_ddc_pin
_intel_hdmi_ddc_pin:                    ; @intel_hdmi_ddc_pin
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x22, [x0]
	ldr	x21, [x22, w1, uxtw #3]
	cbz	x21, LBB0_2
; %bb.1:
	mov	w20, w19
	mov	x0, x19
	bl	_port_name
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DRM_DEBUG_KMS
	ldr	x20, [x22, x20, lsl #3]
	b	LBB0_8
LBB0_2:
	mov	x20, x0
	bl	_HAS_PCH_MCC
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_mcc_port_to_ddc_pin
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_HAS_PCH_TGP
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_HAS_PCH_ICP
	cbz	x0, LBB0_9
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_icl_port_to_ddc_pin
LBB0_7:
	mov	x20, x0
	mov	x0, x19
	bl	_port_name
	mov	x2, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_DRM_DEBUG_KMS
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	bl	_HAS_PCH_CNP
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	_cnp_port_to_ddc_pin
	b	LBB0_7
LBB0_11:
	mov	x0, x20
	bl	_IS_GEN9_LP
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	bl	_bxt_port_to_ddc_pin
	b	LBB0_7
LBB0_13:
	mov	x0, x20
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	bl	_chv_port_to_ddc_pin
	b	LBB0_7
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_g4x_port_to_ddc_pin
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Using DDC pin 0x%x for port %c (VBT)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Using DDC pin 0x%x for port %c (platform default)\n"

	.no_dead_strip	_intel_hdmi_ddc_pin
.subsections_via_symbols
