	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_ddc_pin
_map_ddc_pin:                           ## @map_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_INTEL_PCH_TYPE
	movq	_PCH_ICP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_HAS_PCH_CNP
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_cnp_ddc_pin_map@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_icp_ddc_pin_map@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cmpl	%r14d, %eax
	jle	LBB0_7
## %bb.6:
	movslq	%r14d, %rax
	movl	(%rbx,%rax,4), %eax
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_DRM_DEBUG_KMS
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movl	%r14d, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_ICP,8,3                    ## @PCH_ICP
	.comm	_icp_ddc_pin_map,8,3            ## @icp_ddc_pin_map
	.comm	_cnp_ddc_pin_map,8,3            ## @cnp_ddc_pin_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring alternate pin: VBT claims DDC pin %d, which is not valid for this platform\n"

	.no_dead_strip	_map_ddc_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_ddc_pin
_map_ddc_pin:                           ; @map_ddc_pin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_INTEL_PCH_TYPE
Lloh0:
	adrp	x8, _PCH_ICP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCH_ICP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_HAS_PCH_CNP
	cbz	x0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _cnp_ddc_pin_map@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cnp_ddc_pin_map@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _icp_ddc_pin_map@GOTPAGE
Lloh6:
	ldr	x8, [x8, _icp_ddc_pin_map@GOTPAGEOFF]
LBB0_4:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, w19
	b.le	LBB0_6
; %bb.5:
	ldr	w0, [x20, w19, sxtw #2]
	cbnz	w0, LBB0_8
LBB0_6:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DRM_DEBUG_KMS
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x19
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_ICP,8,3                    ; @PCH_ICP
	.comm	_icp_ddc_pin_map,8,3            ; @icp_ddc_pin_map
	.comm	_cnp_ddc_pin_map,8,3            ; @cnp_ddc_pin_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring alternate pin: VBT claims DDC pin %d, which is not valid for this platform\n"

	.no_dead_strip	_map_ddc_pin
.subsections_via_symbols
