	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_pipe_mbus_enable
_icl_pipe_mbus_enable:                  ## @icl_pipe_mbus_enable
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r15
	movl	(%rbx), %r14d
	movl	$2, %edi
	callq	_MBUS_DBOX_A_CREDIT
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_INTEL_GEN
	xorl	%ecx, %ecx
	cmpl	$12, %eax
	setge	%cl
	leal	8(,%rcx,4), %r15d
	movl	%ecx, %edi
	incl	%edi
	callq	_MBUS_DBOX_BW_CREDIT
	orl	%eax, %ebx
	movl	%r15d, %edi
	callq	_MBUS_DBOX_B_CREDIT
	orl	%eax, %ebx
	movl	%r14d, %edi
	callq	_PIPE_MBUS_DBOX_CTL
	movl	%eax, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_icl_pipe_mbus_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_pipe_mbus_enable
_icl_pipe_mbus_enable:                  ; @icl_pipe_mbus_enable
	.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, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	mov	x20, x0
	ldr	w19, [x19]
	mov	w0, #2
	bl	_MBUS_DBOX_A_CREDIT
	mov	x21, x0
	mov	x0, x20
	bl	_INTEL_GEN
	mov	w8, #1
	mov	w9, #8
	mov	w10, #12
	cmp	w0, #11
	csel	w20, w10, w9, gt
	cinc	w0, w8, gt
	bl	_MBUS_DBOX_BW_CREDIT
	orr	w21, w0, w21
	mov	x0, x20
	bl	_MBUS_DBOX_B_CREDIT
	orr	w20, w21, w0
	mov	x0, x19
	bl	_PIPE_MBUS_DBOX_CTL
	mov	x1, 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
	b	_I915_WRITE
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_icl_pipe_mbus_enable
.subsections_via_symbols
