	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_dcbnl_ieee_getpfc
_mlx5e_dcbnl_ieee_getpfc:               ## @mlx5e_dcbnl_ieee_getpfc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	callq	_netdev_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mlx5_max_tc
	incq	%rax
	movq	%rax, 24(%r12)
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r13
	xorl	%ebx, %ebx
	movq	_rx_pause@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_tx_pause@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_PPORT_PER_PRIO_GET
	movq	16(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	(%r15), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_PPORT_PER_PRIO_GET
	movq	8(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_MLX5_BUFFER_SUPPORTED
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5_query_port_pfc            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_tx_pause,4,2                   ## @tx_pause
	.comm	_rx_pause,4,2                   ## @rx_pause
	.no_dead_strip	_mlx5e_dcbnl_ieee_getpfc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_dcbnl_ieee_getpfc
_mlx5e_dcbnl_ieee_getpfc:               ; @mlx5e_dcbnl_ieee_getpfc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_mlx5_max_tc
	add	x8, x0, #1
	str	x8, [x19, #24]
Lloh0:
	adrp	x24, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	add	x23, x21, #4
Lloh2:
	adrp	x25, _tx_pause@GOTPAGE
Lloh3:
	ldr	x25, [x25, _tx_pause@GOTPAGEOFF]
Lloh4:
	adrp	x26, _rx_pause@GOTPAGE
Lloh5:
	ldr	x26, [x26, _rx_pause@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x23
	mov	x1, x22
	bl	_PPORT_PER_PRIO_GET
	ldr	x8, [x19, #16]
	lsl	x27, x22, #3
	str	x0, [x8, x27]
	ldr	w2, [x26]
	mov	x0, x23
	mov	x1, x22
	bl	_PPORT_PER_PRIO_GET
	ldr	x8, [x19, #8]
	str	x0, [x8, x27]
	add	x22, x22, #1
	ldrsw	x8, [x24]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_MLX5_BUFFER_SUPPORTED
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x21]
	str	w8, [x19, #4]
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mlx5_query_port_pfc
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_tx_pause,4,2                   ; @tx_pause
	.comm	_rx_pause,4,2                   ; @rx_pause
	.no_dead_strip	_mlx5e_dcbnl_ieee_getpfc
.subsections_via_symbols
