	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000e_update_rdt_wa
_e1000e_update_rdt_wa:                  ## @e1000e_update_rdt_wa
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	4(%r14), %rdi
	callq	___ew32_prepare
	movl	%eax, %r12d
	movl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_writel
	xorl	%edi, %edi
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_readl
	xorl	%edi, %edi
	cmpl	%r15d, %eax
	setne	%dil
LBB0_2:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movl	(%rbx), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_ew32
	leaq	L_.str(%rip), %rdi
	callq	_e_err
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ME firmware caused invalid RDT - resetting\n"

	.no_dead_strip	_e1000e_update_rdt_wa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000e_update_rdt_wa
_e1000e_update_rdt_wa:                  ; @e1000e_update_rdt_wa
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	add	x0, x19, #4
	bl	___ew32_prepare
	mov	x22, x0
	ldr	w1, [x21]
	mov	x0, x20
	bl	_writel
	cbz	w22, LBB0_3
; %bb.1:
	mov	w0, #0
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x20, _RCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _E1000_RCTL_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _E1000_RCTL_EN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_ew32
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_err
	mov	x0, x19
	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	_schedule_work
LBB0_3:
	ldr	w0, [x21]
	bl	_readl
	cmp	w0, w20
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_4:
	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
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ME firmware caused invalid RDT - resetting\n"

	.no_dead_strip	_e1000e_update_rdt_wa
.subsections_via_symbols
