	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_stream_features
_enable_stream_features:                ## @enable_stream_features
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %r15
	movq	_DP_DOWNSPREAD_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movl	$8, %ecx
	callq	_core_link_read_dpcd
	movq	-40(%rbp), %rax
	movq	%rax, -32(%rbp)
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx)
	setne	%cl
	movl	%ecx, -32(%rbp)
	cmpq	%rax, -32(%rbp)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movl	$8, %ecx
	callq	_core_link_write_dpcd
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_DOWNSPREAD_CTRL,4,2         ## @DP_DOWNSPREAD_CTRL
	.no_dead_strip	_enable_stream_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_stream_features
_enable_stream_features:                ; @enable_stream_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0]
	ldr	x19, [x21, #8]
Lloh0:
	adrp	x20, _DP_DOWNSPREAD_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DP_DOWNSPREAD_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #8
	bl	_core_link_read_dpcd
	ldr	x8, [sp, #8]
	str	x8, [sp]
	ldr	x9, [x21]
	cmp	x9, #0
	cset	w9, ne
	str	w9, [sp]
	ldr	x9, [sp]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #8
	bl	_core_link_write_dpcd
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_DOWNSPREAD_CTRL,4,2         ; @DP_DOWNSPREAD_CTRL
	.no_dead_strip	_enable_stream_features
.subsections_via_symbols
