	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e82545_rx_ctl
_e82545_rx_ctl:                         ## @e82545_rx_ctl
	.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, %ecx
	movq	%rdi, %r14
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %r12d
	andl	%esi, %r12d
	movl	%esi, %edx
	andl	$115323902, %edx                ## imm = 0x6DFB3FE
	xorl	%ebx, %ebx
	cmpl	%r15d, %r12d
	sete	%bl
	movl	%edx, (%rdi)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTF
	cmpl	%ebx, 4(%r14)
	je	LBB0_3
## %bb.1:
	cmpl	%r15d, %r12d
	jne	LBB0_2
## %bb.4:
	movq	_E1000_RCTL_LBM_TCVR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%r14), %eax
	setne	%cl
	movl	%ecx, 8(%r14)
	movq	%r14, %rdi
	callq	_e82545_rx_update_rdba
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e82545_rx_enable               ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	callq	_e82545_rx_disable
	movl	$0, 8(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx_ctl - %s RCTL %x, val %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"on"

L_.str.2:                               ## @.str.2
	.asciz	"off"

	.comm	_E1000_RCTL_LBM_TCVR,4,2        ## @E1000_RCTL_LBM_TCVR
	.no_dead_strip	_e82545_rx_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e82545_rx_ctl
_e82545_rx_ctl:                         ; @e82545_rx_ctl
	.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	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _E1000_RCTL_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_RCTL_EN@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	and	w21, w20, w1
	cmp	w21, w20
	cset	w22, eq
	mov	w8, #46078
	movk	w8, #1759, lsl #16
	and	w2, w1, w8
	str	w2, [x0]
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x1, x9, x8, eq
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTF
	ldr	w8, [x19, #4]
	cmp	w8, w22
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, w20
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _E1000_RCTL_LBM_TCVR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_RCTL_LBM_TCVR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_e82545_rx_update_rdba
	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	_e82545_rx_enable
LBB0_3:
	mov	x0, x19
	bl	_e82545_rx_disable
	str	wzr, [x19, #8]
	stp	xzr, xzr, [x19, #16]
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	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx_ctl - %s RCTL %x, val %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"on"

l_.str.2:                               ; @.str.2
	.asciz	"off"

	.comm	_E1000_RCTL_LBM_TCVR,4,2        ; @E1000_RCTL_LBM_TCVR
	.no_dead_strip	_e82545_rx_ctl
.subsections_via_symbols
