	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_farch_filter_table_restore ## -- Begin function efx_farch_filter_table_restore
	.p2align	4, 0x90
_efx_farch_filter_table_restore:        ## @efx_farch_filter_table_restore
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_down_write
	movq	_EFX_FARCH_FILTER_TABLE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	xorl	%esi, %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFX_FARCH_FILTER_TABLE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movl	%eax, %ecx
	cmpq	%rcx, %rsi
	jae	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	8(%rbx), %rcx
	movq	%rsi, %rdx
	shlq	$5, %rdx
	cmpl	$0, (%rcx,%rdx)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rcx,%rdx)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %r14
	leaq	(%rcx,%rdx), %r15
	addq	$4, %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	movl	(%r15), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	20(%r15), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	12(%r15), %rsi
	addq	%r12, %rsi
	leaq	-68(%rbp), %r13
	movq	%r13, %rdi
	callq	_efx_farch_filter_build
	movl	(%r14), %edx
	imull	%ebx, %edx
	addq	4(%r15), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_efx_writeo
	jmp	LBB0_7
LBB0_10:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_efx_farch_filter_push_rx_config
	movq	%r14, %rdi
	callq	_efx_farch_filter_push_tx_limits
	movq	%rbx, %rdi
	callq	_up_write
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_FARCH_FILTER_TABLE_COUNT,4,2 ## @EFX_FARCH_FILTER_TABLE_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_farch_filter_table_restore ; -- Begin function efx_farch_filter_table_restore
	.p2align	2
_efx_farch_filter_table_restore:        ; @efx_farch_filter_table_restore
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_down_write
Lloh0:
	adrp	x8, _EFX_FARCH_FILTER_TABLE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_FARCH_FILTER_TABLE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh3:
	adrp	x8, _EFX_FARCH_FILTER_TABLE_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFX_FARCH_FILTER_TABLE_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, uxtw
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x9, [x19, #8]
	add	x24, x9, x23, lsl #5
	ldr	w10, [x24]
	cbz	w10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x24
	ldr	w10, [x25, #4]!
	cbz	w10, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	mov	x21, #0
	add	x8, x9, x23, lsl #5
	add	x27, x8, #24
	add	x28, x8, #16
	add	x22, x8, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x21, x21, #1
	ldr	w8, [x25]
	add	x26, x26, #4
	cmp	x21, x8
	b.hs	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x27]
	mov	x0, x21
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x28]
	add	x1, x8, x26
	add	x0, sp, #12
	bl	_efx_farch_filter_build
	ldr	x8, [x22]
	ldr	w9, [x24]
	mul	w9, w9, w21
	add	x2, x8, x9
	add	x1, sp, #12
	mov	x0, x20
	bl	_efx_writeo
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	bl	_efx_farch_filter_push_rx_config
	mov	x0, x20
	bl	_efx_farch_filter_push_tx_limits
	mov	x0, x19
	bl	_up_write
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_FARCH_FILTER_TABLE_COUNT,4,2 ; @EFX_FARCH_FILTER_TABLE_COUNT
.subsections_via_symbols
