	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_update_xcast_mode_pf
_fm10k_update_xcast_mode_pf:            ## @fm10k_update_xcast_mode_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_FM10K_XCAST_MODE_NONE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jl	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_fm10k_glort_valid_pf
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	shll	$16, %ebx
	orl	%r15d, %ebx
	movq	_FM10K_PF_MSG_ID_XCAST_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_fm10k_tlv_msg_init
	movq	_FM10K_PF_ATTR_ID_XCAST_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_fm10k_tlv_attr_put_u32
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*(%r14)
	jmp	LBB0_4
LBB0_1:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_XCAST_MODE_NONE,8,3      ## @FM10K_XCAST_MODE_NONE
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_PF_MSG_ID_XCAST_MODES,4,2 ## @FM10K_PF_MSG_ID_XCAST_MODES
	.comm	_FM10K_PF_ATTR_ID_XCAST_MODE,4,2 ## @FM10K_PF_ATTR_ID_XCAST_MODE
	.no_dead_strip	_fm10k_update_xcast_mode_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_xcast_mode_pf
_fm10k_update_xcast_mode_pf:            ; @fm10k_update_xcast_mode_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _FM10K_XCAST_MODE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_XCAST_MODE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x2
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_fm10k_glort_valid_pf
	cbz	w0, LBB0_3
; %bb.2:
	orr	w20, w21, w20, lsl #16
Lloh6:
	adrp	x8, _FM10K_PF_MSG_ID_XCAST_MODES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FM10K_PF_MSG_ID_XCAST_MODES@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_fm10k_tlv_msg_init
Lloh9:
	adrp	x8, _FM10K_PF_ATTR_ID_XCAST_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FM10K_PF_ATTR_ID_XCAST_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	x2, x20
	bl	_fm10k_tlv_attr_put_u32
	ldr	x8, [x19]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x19
	blr	x8
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_4:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_XCAST_MODE_NONE,8,3      ; @FM10K_XCAST_MODE_NONE
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_PF_MSG_ID_XCAST_MODES,4,2 ; @FM10K_PF_MSG_ID_XCAST_MODES
	.comm	_FM10K_PF_ATTR_ID_XCAST_MODE,4,2 ; @FM10K_PF_ATTR_ID_XCAST_MODE
	.no_dead_strip	_fm10k_update_xcast_mode_pf
.subsections_via_symbols
