	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_set_pauseparam
_nicvf_set_pauseparam:                  ## @nicvf_set_pauseparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	$0, -24(%rbp)
	movq	(%rax), %rax
	movq	_BGX_MODE_SGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_BGX_MODE_QSGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_BGX_MODE_RGMII@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.5:
	cmpq	$0, 8(%r14)
	je	LBB0_6
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_NIC_MBOX_MSG_PFC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	$0, -32(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -36(%rbp)
	movl	(%r14), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_nicvf_send_msg_to_pf
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_8:
	movl	4(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_BGX_MODE_SGMII,8,3             ## @BGX_MODE_SGMII
	.comm	_BGX_MODE_QSGMII,8,3            ## @BGX_MODE_QSGMII
	.comm	_BGX_MODE_RGMII,8,3             ## @BGX_MODE_RGMII
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NIC_MBOX_MSG_PFC,4,2           ## @NIC_MBOX_MSG_PFC
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nicvf_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_set_pauseparam
_nicvf_set_pauseparam:                  ; @nicvf_set_pauseparam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	str	xzr, [sp, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BGX_MODE_SGMII@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BGX_MODE_SGMII@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BGX_MODE_QSGMII@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BGX_MODE_QSGMII@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _BGX_MODE_RGMII@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BGX_MODE_RGMII@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	mov	x20, x0
Lloh11:
	adrp	x8, _NIC_MBOX_MSG_PFC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NIC_MBOX_MSG_PFC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	ldr	d0, [x19]
	str	d0, [sp, #8]
	add	x1, sp, #8
	bl	_nicvf_send_msg_to_pf
	cbz	x0, LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	ldr	d0, [x19]
	str	d0, [x20, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BGX_MODE_SGMII,8,3             ; @BGX_MODE_SGMII
	.comm	_BGX_MODE_QSGMII,8,3            ; @BGX_MODE_QSGMII
	.comm	_BGX_MODE_RGMII,8,3             ; @BGX_MODE_RGMII
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NIC_MBOX_MSG_PFC,4,2           ; @NIC_MBOX_MSG_PFC
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nicvf_set_pauseparam
.subsections_via_symbols
