	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quirk_brcm_5719_limit_mrrs
_quirk_brcm_5719_limit_mrrs:            ## @quirk_brcm_5719_limit_mrrs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-12(%rbp), %rdx
	movl	$244, %esi
	callq	_pci_read_config_dword
	cmpl	$91328512, -12(%rbp)            ## imm = 0x5719000
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_pcie_get_readrq
	cmpl	$2049, %eax                     ## imm = 0x801
	jl	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$2048, %esi                     ## imm = 0x800
	callq	_pcie_set_readrq
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_quirk_brcm_5719_limit_mrrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quirk_brcm_5719_limit_mrrs
_quirk_brcm_5719_limit_mrrs:            ; @quirk_brcm_5719_limit_mrrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x2, sp, #12
	mov	w1, #244
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	mov	w9, #36864
	movk	w9, #1393, lsl #16
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_pcie_get_readrq
	cmp	w0, #2049
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #2048
	bl	_pcie_set_readrq
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_quirk_brcm_5719_limit_mrrs
.subsections_via_symbols
