	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_restore_rx_state         ## -- Begin function fm10k_restore_rx_state
	.p2align	4, 0x90
_fm10k_restore_rx_state:                ## @fm10k_restore_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	48(%rdi), %rdx
	movl	(%rdx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_FM10K_XCAST_MODE_PROMISC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_FM10K_XCAST_MODE_ALLMULTI@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rcx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_5
## %bb.6:
	movq	_FM10K_XCAST_MODE_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_FM10K_XCAST_MODE_MULTI@GOTPCREL(%rip), %rax
LBB0_7:
	movq	56(%r13), %r12
	movq	(%r13), %rbx
	leaq	16(%r13), %r15
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_fm10k_mbx_lock
	movq	%r13, %rdi
	callq	_fm10k_host_mbx_ready
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	12(%r13), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	*32(%r13)
LBB0_9:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_FM10K_VLAN_ALL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FM10K_XCAST_MODE_PROMISC@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	cmpl	(%rax), %r14d
	sete	%cl
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_fm10k_queue_vlan_request
	movq	%r13, %rdi
	xorl	%esi, %esi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	callq	_fm10k_find_next_vlan
	movq	%rax, %r14
	movq	_VLAN_N_VID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jge	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_fm10k_queue_vlan_request
	movl	40(%r13), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_fm10k_queue_mac_request
	testq	%r12, %r12
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rcx
	movq	(%rcx,%r15,8), %rcx
	incq	%r15
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	8(%r12), %rbx
	addq	%r15, %rbx
	movl	4(%rcx), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_fm10k_queue_mac_request
	movl	(%r12), %eax
	jmp	LBB0_16
LBB0_18:
	movq	%r13, %rdi
	callq	_fm10k_host_mbx_ready
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	*24(%r13)
LBB0_20:
	movq	_fm10k_uc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fm10k_uc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	___dev_uc_sync
	movq	_fm10k_mc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fm10k_mc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	___dev_mc_sync
	testq	%r12, %r12
	je	LBB0_26
## %bb.21:
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_26
## %bb.22:
	xorl	%r14d, %r14d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_26
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rcx
	movq	(%rcx,%r14,8), %r15
	incq	%r14
	testq	%r15, %r15
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	8(%r12), %rbx
	addq	%r14, %rbx
	movq	_FM10K_XCAST_MODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	*24(%r13)
	movl	4(%r15), %edx
	movq	16(%r13), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %r8d
	callq	_fm10k_queue_mac_request
	movl	(%r12), %eax
	jmp	LBB0_25
LBB0_26:
	movq	%r13, %rdi
	callq	_fm10k_mbx_unlock
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fm10k_restore_udp_port_info    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_FM10K_XCAST_MODE_PROMISC,4,2   ## @FM10K_XCAST_MODE_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_FM10K_XCAST_MODE_ALLMULTI,4,2  ## @FM10K_XCAST_MODE_ALLMULTI
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_FM10K_XCAST_MODE_MULTI,4,2     ## @FM10K_XCAST_MODE_MULTI
	.comm	_FM10K_XCAST_MODE_NONE,4,2      ## @FM10K_XCAST_MODE_NONE
	.comm	_FM10K_VLAN_ALL,8,3             ## @FM10K_VLAN_ALL
	.comm	_VLAN_N_VID,8,3                 ## @VLAN_N_VID
	.comm	_fm10k_uc_sync,4,2              ## @fm10k_uc_sync
	.comm	_fm10k_uc_unsync,4,2            ## @fm10k_uc_unsync
	.comm	_fm10k_mc_sync,4,2              ## @fm10k_mc_sync
	.comm	_fm10k_mc_unsync,4,2            ## @fm10k_mc_unsync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_restore_rx_state         ; -- Begin function fm10k_restore_rx_state
	.p2align	2
_fm10k_restore_rx_state:                ; @fm10k_restore_rx_state
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x22, [x0, #48]
	add	x20, x0, #16
	ldr	x23, [x0]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x24, _FM10K_XCAST_MODE_PROMISC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FM10K_XCAST_MODE_PROMISC@GOTPAGEOFF]
	mov	x9, x24
	tst	w10, w8
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x9, _FM10K_XCAST_MODE_ALLMULTI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FM10K_XCAST_MODE_ALLMULTI@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _IFF_MULTICAST@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IFF_MULTICAST@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh16:
	adrp	x10, _FM10K_XCAST_MODE_MULTI@GOTPAGE
Lloh17:
	ldr	x10, [x10, _FM10K_XCAST_MODE_MULTI@GOTPAGEOFF]
Lloh18:
	adrp	x11, _FM10K_XCAST_MODE_NONE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _FM10K_XCAST_MODE_NONE@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x11, x10, eq
LBB0_4:
	ldr	x25, [x19, #56]
	ldr	w21, [x9]
	mov	x0, x19
	bl	_fm10k_mbx_lock
	mov	x0, x19
	bl	_fm10k_host_mbx_ready
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #32]
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	blr	x8
LBB0_6:
Lloh20:
	adrp	x8, _FM10K_VLAN_ALL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FM10K_VLAN_ALL@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	ldr	w8, [x24]
	cmp	w21, w8
	cset	w3, eq
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_queue_vlan_request
	mov	x0, x19
	mov	x1, #0
	bl	_fm10k_find_next_vlan
Lloh23:
	adrp	x26, _VLAN_N_VID@GOTPAGE
Lloh24:
	ldr	x26, [x26, _VLAN_N_VID@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ge	LBB0_15
; %bb.7:
	mov	x24, x0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_fm10k_find_next_vlan
	mov	x24, x0
	ldr	x8, [x26]
	cmp	x0, x8
	b.ge	LBB0_15
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	mov	x0, x19
	mov	x1, x24
	mov	w2, #0
	mov	w3, #1
	bl	_fm10k_queue_vlan_request
	ldr	w2, [x19, #40]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	mov	w4, #1
	bl	_fm10k_queue_mac_request
	cbz	x25, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x27, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x25, #8]
	add	x27, x27, #1
	add	x23, x27, x8
	ldr	w2, [x9, #4]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	mov	w4, #1
	bl	_fm10k_queue_mac_request
	ldr	w8, [x25]
	cmp	x27, w8, sxtw
	b.ge	LBB0_8
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x25, #16]
	ldr	x9, [x9, x27, lsl #3]
	cbnz	x9, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x27, x27, #1
	cmp	x27, w8, sxtw
	b.lt	LBB0_13
	b	LBB0_8
LBB0_15:
	mov	x0, x19
	bl	_fm10k_host_mbx_ready
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	blr	x8
LBB0_17:
Lloh25:
	adrp	x8, _fm10k_uc_sync@GOTPAGE
Lloh26:
	ldr	x8, [x8, _fm10k_uc_sync@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _fm10k_uc_unsync@GOTPAGE
Lloh29:
	ldr	x8, [x8, _fm10k_uc_unsync@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x22
	bl	___dev_uc_sync
Lloh31:
	adrp	x8, _fm10k_mc_sync@GOTPAGE
Lloh32:
	ldr	x8, [x8, _fm10k_mc_sync@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _fm10k_mc_unsync@GOTPAGE
Lloh35:
	ldr	x8, [x8, _fm10k_mc_unsync@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x22
	bl	___dev_mc_sync
	cbz	x25, LBB0_23
; %bb.18:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.19:
	mov	x23, #0
Lloh37:
	adrp	x24, _FM10K_XCAST_MODE_NONE@GOTPAGE
Lloh38:
	ldr	x24, [x24, _FM10K_XCAST_MODE_NONE@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x25, #8]
	add	x23, x23, #1
	add	x22, x23, x8
	ldr	x8, [x19, #24]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	ldr	w2, [x26, #4]
	ldr	x3, [x19, #16]
	mov	x0, x19
	mov	x1, x22
	mov	w4, #1
	bl	_fm10k_queue_mac_request
	ldr	w8, [x25]
	cmp	x23, w8, sxtw
	b.ge	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25, #16]
	ldr	x26, [x9, x23, lsl #3]
	cbnz	x26, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.lt	LBB0_21
LBB0_23:
	mov	x0, x19
	bl	_fm10k_mbx_unlock
	str	w21, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_fm10k_restore_udp_port_info
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_FM10K_XCAST_MODE_PROMISC,4,2   ; @FM10K_XCAST_MODE_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_FM10K_XCAST_MODE_ALLMULTI,4,2  ; @FM10K_XCAST_MODE_ALLMULTI
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_FM10K_XCAST_MODE_MULTI,4,2     ; @FM10K_XCAST_MODE_MULTI
	.comm	_FM10K_XCAST_MODE_NONE,4,2      ; @FM10K_XCAST_MODE_NONE
	.comm	_FM10K_VLAN_ALL,8,3             ; @FM10K_VLAN_ALL
	.comm	_VLAN_N_VID,8,3                 ; @VLAN_N_VID
	.comm	_fm10k_uc_sync,4,2              ; @fm10k_uc_sync
	.comm	_fm10k_uc_unsync,4,2            ; @fm10k_uc_unsync
	.comm	_fm10k_mc_sync,4,2              ; @fm10k_mc_sync
	.comm	_fm10k_mc_unsync,4,2            ; @fm10k_mc_unsync
.subsections_via_symbols
