	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_filter_set_eth_local
_efx_filter_set_eth_local:              ## @efx_filter_set_eth_local
	.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	%rdx, %r15
	movq	%rdi, %r14
	movq	_EFX_FILTER_VID_UNSPEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.1:
	cmpq	%rsi, %rax
	jne	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_3:
	cmpq	%rsi, %rax
	je	LBB0_5
## %bb.4:
	movq	_EFX_FILTER_MATCH_OUTER_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	movq	%rsi, %rdi
	callq	_htons
	movl	%eax, 8(%r14)
LBB0_5:
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	_EFX_FILTER_MATCH_LOC_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_ether_addr_copy
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_FILTER_VID_UNSPEC,8,3      ## @EFX_FILTER_VID_UNSPEC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFX_FILTER_MATCH_OUTER_VID,4,2 ## @EFX_FILTER_MATCH_OUTER_VID
	.comm	_EFX_FILTER_MATCH_LOC_MAC,4,2   ## @EFX_FILTER_MATCH_LOC_MAC
	.no_dead_strip	_efx_filter_set_eth_local
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_filter_set_eth_local
_efx_filter_set_eth_local:              ; @efx_filter_set_eth_local
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _EFX_FILTER_VID_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_FILTER_VID_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x2, LBB0_3
; %bb.1:
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_3:
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _EFX_FILTER_MATCH_OUTER_VID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFX_FILTER_MATCH_OUTER_VID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x0, x1
	bl	_htons
	str	w0, [x20, #8]
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _EFX_FILTER_MATCH_LOC_MAC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFX_FILTER_MATCH_LOC_MAC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldp	w0, w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x1, x19
	bl	_ether_addr_copy
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_FILTER_VID_UNSPEC,8,3      ; @EFX_FILTER_VID_UNSPEC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFX_FILTER_MATCH_OUTER_VID,4,2 ; @EFX_FILTER_MATCH_OUTER_VID
	.comm	_EFX_FILTER_MATCH_LOC_MAC,4,2   ; @EFX_FILTER_MATCH_LOC_MAC
	.no_dead_strip	_efx_filter_set_eth_local
.subsections_via_symbols
