	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_link
_disable_link:                          ## @disable_link
	.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, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_dc_is_dp_signal
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	callq	_dc_is_dp_sst_signal
	movq	%r14, %rdi
	movl	%ebx, %esi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_dp_disable_link_phy
	jmp	LBB0_5
LBB0_4:
	movq	16(%r14), %rdi
	movq	(%rdi), %rax
	movl	%ebx, %esi
	callq	*(%rax)
	jmp	LBB0_5
LBB0_3:
	callq	_dp_disable_link_phy_mst
LBB0_5:
	movq	_SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 8(%r14)
	jg	LBB0_8
LBB0_7:
	movl	$0, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ## @SIGNAL_TYPE_DISPLAY_PORT_MST
	.no_dead_strip	_disable_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_link
_disable_link:                          ; @disable_link
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_dc_is_dp_signal
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_dc_is_dp_sst_signal
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_dp_disable_link_phy
	b	LBB0_5
LBB0_3:
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x20
	blr	x8
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_dp_disable_link_phy_mst
LBB0_5:
Lloh0:
	adrp	x8, _SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGNAL_TYPE_DISPLAY_PORT_MST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	b.gt	LBB0_8
LBB0_7:
	str	wzr, [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
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNAL_TYPE_DISPLAY_PORT_MST,4,2 ; @SIGNAL_TYPE_DISPLAY_PORT_MST
	.no_dead_strip	_disable_link
.subsections_via_symbols
