	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nic_pause_frame
_nic_pause_frame:                       ## @nic_pause_frame
	.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
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movslq	%esi, %r13
	movl	(%rax,%r13,4), %edi
	callq	_NIC_GET_BGX_FROM_VF_LMAC_MAP
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movl	(%rax,%r13,4), %edi
	callq	_NIC_GET_LMAC_FROM_VF_LMAC_MAP
	cmpq	$0, 16(%r15)
	movl	4(%rbx), %edi
	je	LBB0_4
## %bb.2:
	leaq	-80(%rbp), %rcx
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_bgx_lmac_get_pfc
	movq	_NIC_MBOX_MSG_PFC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	-72(%rbp), %eax
	movl	%eax, -48(%rbp)
	movq	-80(%rbp), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nic_send_msg_to_vf
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_bgx_lmac_set_pfc
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nic_mbx_send_ack               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIC_MBOX_MSG_PFC,4,2           ## @NIC_MBOX_MSG_PFC
	.no_dead_strip	_nic_pause_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nic_pause_frame
_nic_pause_frame:                       ; @nic_pause_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	sbfiz	x23, x19, #2, #32
	ldr	w0, [x8, x23]
	bl	_NIC_GET_BGX_FROM_VF_LMAC_MAP
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x23]
	bl	_NIC_GET_LMAC_FROM_VF_LMAC_MAP
	mov	x2, x0
	ldr	x8, [x21, #16]
	ldr	w0, [x20, #4]
	cbz	x8, LBB0_4
; %bb.2:
	add	x3, sp, #24
	mov	x1, x22
	bl	_bgx_lmac_get_pfc
Lloh0:
	adrp	x8, _NIC_MBOX_MSG_PFC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIC_MBOX_MSG_PFC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #32]
	stp	w9, w8, [sp, #16]
	ldr	d0, [sp, #24]
	str	d0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_nic_send_msg_to_vf
LBB0_3:
	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
	add	sp, sp, #112
	ret
LBB0_4:
	mov	x1, x22
	mov	x3, x21
	bl	_bgx_lmac_set_pfc
	mov	x0, x20
	mov	x1, x19
	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
	add	sp, sp, #112
	b	_nic_mbx_send_ack
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIC_MBOX_MSG_PFC,4,2           ; @NIC_MBOX_MSG_PFC
	.no_dead_strip	_nic_pause_frame
.subsections_via_symbols
