	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_reset_rx_state           ## -- Begin function fm10k_reset_rx_state
	.p2align	4, 0x90
_fm10k_reset_rx_state:                  ## @fm10k_reset_rx_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	___FM10K_MACVLAN_SCHED@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	12(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	jmp	LBB0_2
LBB0_3:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_fm10k_clear_macvlan_queue
	movq	%rbx, %rdi
	callq	_fm10k_mbx_lock
	movq	%rbx, %rdi
	callq	_fm10k_host_mbx_ready
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	16(%rbx), %rdi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	xorl	%ecx, %ecx
	callq	*16(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_unlock
	movq	_FM10K_XCAST_MODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	___dev_uc_unsync
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___dev_mc_unsync                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___FM10K_MACVLAN_SCHED,4,2      ## @__FM10K_MACVLAN_SCHED
	.comm	_FM10K_XCAST_MODE_NONE,4,2      ## @FM10K_XCAST_MODE_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_reset_rx_state           ; -- Begin function fm10k_reset_rx_state
	.p2align	2
_fm10k_reset_rx_state:                  ; @fm10k_reset_rx_state
	.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, x0
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x21, ___FM10K_MACVLAN_SCHED@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___FM10K_MACVLAN_SCHED@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w1, [x20, #12]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	b	LBB0_1
LBB0_3:
	ldr	w1, [x20, #8]
	mov	x0, x20
	mov	w2, #1
	bl	_fm10k_clear_macvlan_queue
	mov	x0, x20
	bl	_fm10k_mbx_lock
	mov	x0, x20
	bl	_fm10k_host_mbx_ready
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x20, #16
	ldr	x8, [x20, #16]
	ldp	w2, w1, [x20, #4]
	mov	w3, #0
	blr	x8
LBB0_5:
	mov	x0, x20
	bl	_fm10k_mbx_unlock
Lloh2:
	adrp	x8, _FM10K_XCAST_MODE_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FM10K_XCAST_MODE_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, #0
	bl	___dev_uc_unsync
	mov	x0, x19
	mov	x1, #0
	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	___dev_mc_unsync
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___FM10K_MACVLAN_SCHED,4,2      ; @__FM10K_MACVLAN_SCHED
	.comm	_FM10K_XCAST_MODE_NONE,4,2      ; @FM10K_XCAST_MODE_NONE
.subsections_via_symbols
