	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_pci_get_amd_l1_patch
_rtl_pci_get_amd_l1_patch:              ## @rtl_pci_get_amd_l1_patch
	.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
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %rbx
	movl	(%rax), %edi
	movl	$224, %esi
	movl	$160, %edx
	callq	_pci_write_config_byte
	movl	(%rbx), %edi
	leaq	-16(%rbp), %rdx
	movl	$224, %esi
	callq	_pci_read_config_byte
	xorl	%eax, %eax
	cmpl	$160, -16(%rbp)
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	-12(%rbp), %rdx
	movl	$228, %esi
	callq	_pci_read_config_dword
	movl	-12(%rbp), %ebx
	movl	$23, %edi
	callq	_BIT
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ecx
	setne	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl_pci_get_amd_l1_patch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_pci_get_amd_l1_patch
_rtl_pci_get_amd_l1_patch:              ; @rtl_pci_get_amd_l1_patch
	.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
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x19, x0
	ldr	w0, [x0]
	mov	w1, #224
	mov	w2, #160
	bl	_pci_write_config_byte
	ldr	w0, [x19]
	add	x2, sp, #12
	mov	w1, #224
	bl	_pci_read_config_byte
	ldr	w8, [sp, #12]
	cmp	w8, #160
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
	add	x2, sp, #8
	mov	w1, #228
	bl	_pci_read_config_dword
	ldr	w19, [sp, #8]
	mov	w0, #23
	bl	_BIT
	tst	w0, w19
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
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	_rtl_pci_get_amd_l1_patch
.subsections_via_symbols
