	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function combios_check_dl_dvi
_combios_check_dl_dvi:                  ## @combios_check_dl_dvi
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %rax
	movq	_RADEON_IS_IGP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	testl	%r14d, %r14d
	jne	LBB0_2
LBB0_9:
	movq	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_COMBIOS_EXT_TMDS_INFO_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_combios_get_table_offset
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_RBIOS8
	movl	%eax, %r15d
	addq	$9, %rbx
	movq	%rbx, %rdi
	callq	_RBIOS8
	cmpl	$3, %r15d
	jge	LBB0_5
## %bb.7:
	testb	$1, %al
	jne	LBB0_5
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_9
LBB0_2:
	movq	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.6:
	movq	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_IS_IGP,4,2              ## @RADEON_IS_IGP
	.comm	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D,4,2 ## @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D
	.comm	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I,4,2 ## @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I
	.comm	_COMBIOS_EXT_TMDS_INFO_TABLE,4,2 ## @COMBIOS_EXT_TMDS_INFO_TABLE
	.comm	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D,4,2 ## @CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D
	.comm	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I,4,2 ## @CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I
	.no_dead_strip	_combios_check_dl_dvi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combios_check_dl_dvi
_combios_check_dl_dvi:                  ; @combios_check_dl_dvi
	.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	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _RADEON_IS_IGP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADEON_IS_IGP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I@GOTPAGEOFF]
LBB0_2:
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	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_3:
Lloh7:
	adrp	x8, _COMBIOS_EXT_TMDS_INFO_TABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMBIOS_EXT_TMDS_INFO_TABLE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_combios_get_table_offset
	cbz	x0, LBB0_1
; %bb.4:
	mov	x20, x0
	bl	_RBIOS8
	mov	x21, x0
	add	x0, x20, #9
	bl	_RBIOS8
	cmp	w21, #3
	b.ge	LBB0_6
; %bb.5:
	tbz	w0, #0, LBB0_1
LBB0_6:
Lloh10:
	adrp	x8, _CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D@GOTPAGEOFF]
Lloh12:
	adrp	x9, _CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_IS_IGP,4,2              ; @RADEON_IS_IGP
	.comm	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D,4,2 ; @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_D
	.comm	_CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I,4,2 ; @CONNECTOR_OBJECT_ID_SINGLE_LINK_DVI_I
	.comm	_COMBIOS_EXT_TMDS_INFO_TABLE,4,2 ; @COMBIOS_EXT_TMDS_INFO_TABLE
	.comm	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D,4,2 ; @CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D
	.comm	_CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I,4,2 ; @CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I
	.no_dead_strip	_combios_check_dl_dvi
.subsections_via_symbols
