	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_mcp_update_bw
_qed_mcp_update_bw:                     ## @qed_mcp_update_bw
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	callq	_MCP_PF_ID
	leaq	-40(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_qed_mcp_get_shmem_func
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_qed_read_pf_bandwidth
	movq	8(%rbx), %r15
	movl	(%rbx), %edi
	movl	4(%r15), %esi
	callq	_qed_configure_pf_min_bandwidth
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_qed_configure_pf_max_bandwidth
	movq	_DRV_MSG_CODE_BW_UPDATE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %r8
	leaq	-28(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_mcp_cmd
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_MSG_CODE_BW_UPDATE_ACK,4,2 ## @DRV_MSG_CODE_BW_UPDATE_ACK
	.no_dead_strip	_qed_mcp_update_bw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_mcp_update_bw
_qed_mcp_update_bw:                     ; @qed_mcp_update_bw
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp]
	bl	_MCP_PF_ID
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_qed_mcp_get_shmem_func
	add	x1, sp, #8
	mov	x0, x20
	bl	_qed_read_pf_bandwidth
	ldr	x21, [x20, #8]
	ldr	w0, [x20]
	ldr	w1, [x21, #4]
	bl	_qed_configure_pf_min_bandwidth
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_qed_configure_pf_max_bandwidth
Lloh0:
	adrp	x8, _DRV_MSG_CODE_BW_UPDATE_ACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_MSG_CODE_BW_UPDATE_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_mcp_cmd
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_MSG_CODE_BW_UPDATE_ACK,4,2 ; @DRV_MSG_CODE_BW_UPDATE_ACK
	.no_dead_strip	_qed_mcp_update_bw
.subsections_via_symbols
