	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_update_xc_addr_pf
_fm10k_update_xc_addr_pf:               ## @fm10k_update_xc_addr_pf
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FM10K_VLAN_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_fm10k_glort_valid_pf
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	notl	%ebx
	andl	%r15d, %ebx
	movq	_FM10K_VLAN_TABLE_VID_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_2
## %bb.3:
	movl	16(%r14), %eax
	movl	24(%r14), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	32(%r14), %edi
	shll	$8, %edi
	orl	%ecx, %edi
	orl	40(%r14), %edi
	callq	_cpu_to_le32
	movl	%eax, -104(%rbp)
	movl	(%r14), %edi
	shll	$8, %edi
	orl	8(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, -112(%rbp)
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	%rax, -120(%rbp)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, -128(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movl	%eax, -144(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	_FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_fm10k_tlv_msg_init
	movq	_FM10K_PF_ATTR_ID_MAC_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-144(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$48, %ecx
	callq	_fm10k_tlv_attr_put_le_struct
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	*(%r13)
	jmp	LBB0_4
LBB0_2:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_VLAN_CLEAR,4,2           ## @FM10K_VLAN_CLEAR
	.comm	_FM10K_VLAN_TABLE_VID_MAX,4,2   ## @FM10K_VLAN_TABLE_VID_MAX
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE,4,2 ## @FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE
	.comm	_FM10K_PF_ATTR_ID_MAC_UPDATE,4,2 ## @FM10K_PF_ATTR_ID_MAC_UPDATE
	.no_dead_strip	_fm10k_update_xc_addr_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_update_xc_addr_pf
_fm10k_update_xc_addr_pf:               ; @fm10k_update_xc_addr_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x24, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _FM10K_VLAN_CLEAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_VLAN_CLEAR@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	bl	_fm10k_glort_valid_pf
	cbz	w0, LBB0_3
; %bb.1:
	bic	w24, w24, w25
Lloh6:
	adrp	x8, _FM10K_VLAN_TABLE_VID_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FM10K_VLAN_TABLE_VID_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ge	LBB0_3
; %bb.2:
	ldr	w8, [x23, #16]
	ldr	w9, [x23, #24]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldr	w9, [x23, #32]
	orr	w8, w8, w9, lsl #8
	ldr	w9, [x23, #40]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [sp, #40]
	ldr	w8, [x23]
	ldr	w9, [x23, #8]
	orr	w0, w9, w8, lsl #8
	bl	_cpu_to_le16
	str	x0, [sp, #32]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	mov	x0, x22
	bl	_cpu_to_le16
	cmp	w21, #0
	cset	w8, eq
	str	w8, [sp]
	stp	x20, x0, [sp, #8]
Lloh9:
	adrp	x8, _FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #52
	bl	_fm10k_tlv_msg_init
Lloh12:
	adrp	x8, _FM10K_PF_ATTR_ID_MAC_UPDATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FM10K_PF_ATTR_ID_MAC_UPDATE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #52
	mov	x2, sp
	mov	w3, #48
	bl	_fm10k_tlv_attr_put_le_struct
	ldr	x8, [x19]
	add	x2, sp, #52
	mov	x0, x19
	mov	x1, x19
	blr	x8
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_4:
	ldr	x8, [sp, #72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_VLAN_CLEAR,4,2           ; @FM10K_VLAN_CLEAR
	.comm	_FM10K_VLAN_TABLE_VID_MAX,4,2   ; @FM10K_VLAN_TABLE_VID_MAX
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE,4,2 ; @FM10K_PF_MSG_ID_UPDATE_MAC_FWD_RULE
	.comm	_FM10K_PF_ATTR_ID_MAC_UPDATE,4,2 ; @FM10K_PF_ATTR_ID_MAC_UPDATE
	.no_dead_strip	_fm10k_update_xc_addr_pf
.subsections_via_symbols
