	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_dcbnl_ieee_getets
_mlx5e_dcbnl_ieee_getets:               ## @mlx5e_dcbnl_ieee_getets
	.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
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %r15
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%r14), %rdi
	callq	_mlx5_max_tc
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	testl	%eax, %eax
	movq	%rbx, %r9
	js	LBB0_28
## %bb.3:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%r10d, -64(%rbp)                ## 4-byte Spill
	movq	%r9, %r14
	movq	24(%r9), %rdx
	addq	%r13, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx5_query_port_prio_tc
	testl	%eax, %eax
	jne	LBB0_29
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx5_query_port_tc_group
	testl	%eax, %eax
	jne	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rdx
	addq	%r12, %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx5_query_port_tc_bw_alloc
	testl	%eax, %eax
	jne	LBB0_29
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %edx
	movq	_MLX5E_LOWEST_PRIO_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leal	1(%r8), %esi
	cmpl	%esi, %edx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	movl	$1, %r9d
	cmovel	%r9d, %eax
	movq	_MLX5E_MAX_BW_ALLOC@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	cmovll	%eax, %esi
	movq	_MLX5E_VENDOR_TC_GROUP_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %edx
	movl	-64(%rbp), %r10d                ## 4-byte Reload
	cmovel	%r9d, %r10d
	incq	%rbx
	movslq	(%r14), %rcx
	addq	$8, %r12
	addq	$4, %r13
	cmpq	%rcx, %rbx
	movq	%r14, %r9
	jl	LBB0_4
## %bb.8:
	movl	%ecx, %ecx
	testl	%esi, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_21
## %bb.9:
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.10:
	cmpl	$1, %ecx
	jne	LBB0_12
## %bb.11:
	xorl	%edx, %edx
LBB0_18:
	testb	$1, %cl
	je	LBB0_21
## %bb.19:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%r8d, (%rsi,%rdx,4)
	jne	LBB0_21
## %bb.20:
	movq	8(%r9), %rax
	movq	$0, (%rax,%rdx,8)
LBB0_21:
	testl	%ecx, %ecx
	jle	LBB0_28
## %bb.22:
	movq	8(%r9), %rax
	movq	_MLX5E_MAX_BW_ALLOC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movq	_IEEE_8021QAZ_TSA_ETS@GOTPCREL(%rip), %rbx
	movq	_IEEE_8021QAZ_TSA_VENDOR@GOTPCREL(%rip), %r8
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	(%rsi), %esi
	movq	(%r14), %rdi
	movl	%esi, (%rdi,%rdx,4)
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rdx
	movslq	(%r9), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_28
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	cmpq	%rcx, (%rax,%rdx,8)
	jl	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx,4), %esi
	movq	_MLX5E_VENDOR_TC_GROUP_NUM@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r8, %rsi
	testl	%r10d, %r10d
	je	LBB0_26
	jmp	LBB0_27
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_29
LBB0_28:
	movl	16(%r9), %edi
	movq	(%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%ecx, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_18
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	%r8d, (%rdi,%rdx,4)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r9), %rdi
	movq	$0, (%rdi,%rdx,8)
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	%r8d, 4(%rdi,%rdx,4)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r9), %rdi
	movq	$0, 8(%rdi,%rdx,8)
	jmp	LBB0_17
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5E_MAX_BW_ALLOC,8,3         ## @MLX5E_MAX_BW_ALLOC
	.comm	_MLX5E_LOWEST_PRIO_GROUP,4,2    ## @MLX5E_LOWEST_PRIO_GROUP
	.comm	_MLX5E_VENDOR_TC_GROUP_NUM,4,2  ## @MLX5E_VENDOR_TC_GROUP_NUM
	.comm	_IEEE_8021QAZ_TSA_ETS,4,2       ## @IEEE_8021QAZ_TSA_ETS
	.comm	_IEEE_8021QAZ_TSA_VENDOR,4,2    ## @IEEE_8021QAZ_TSA_VENDOR
	.no_dead_strip	_mlx5e_dcbnl_ieee_getets
.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_getets
_mlx5e_dcbnl_ieee_getets:               ; @mlx5e_dcbnl_ieee_getets
	.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
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh3:
	adrp	x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	mov	x0, x21
	mov	x1, x19
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_14
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_mlx5_max_tc
	add	w8, w0, #1
	str	w8, [x19]
	tbnz	w0, #31, LBB0_15
; %bb.2:
	mov	x28, #0
	mov	x26, #0
	mov	x22, #0
	mov	w27, #0
	mov	w24, #0
Lloh8:
	adrp	x25, _MLX5E_LOWEST_PRIO_GROUP@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MLX5E_LOWEST_PRIO_GROUP@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x2, x8, x28
	mov	x0, x21
	mov	x1, x22
	bl	_mlx5_query_port_prio_tc
	cbnz	w0, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, x23, x28
	mov	x0, x21
	mov	x1, x22
	bl	_mlx5_query_port_tc_group
	cbnz	w0, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x2, x8, x26
	mov	x0, x21
	mov	x1, x22
	bl	_mlx5_query_port_tc_bw_alloc
	cbnz	w0, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x8, x22, lsl #3]
Lloh10:
	adrp	x8, _MLX5E_MAX_BW_ALLOC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MLX5E_MAX_BW_ALLOC@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x8]
	ldr	w11, [x23, x22, lsl #2]
	ldr	w8, [x25]
	add	w12, w8, #1
	cmp	w11, w12
	ccmp	x9, x10, #0, eq
	csinc	w27, w27, wzr, ge
Lloh13:
	adrp	x9, _MLX5E_VENDOR_TC_GROUP_NUM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MLX5E_VENDOR_TC_GROUP_NUM@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w11, w9
	csinc	w24, w24, wzr, ne
	add	x22, x22, #1
	ldrsw	x9, [x19]
	add	x26, x26, #8
	add	x28, x28, #4
	cmp	x22, x9
	b.lt	LBB0_3
; %bb.7:
	and	x9, x9, #0xffffffff
	cmp	w27, #0
	ccmp	w9, #1, #8, ne
	b.ge	LBB0_18
LBB0_8:
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.9:
	mov	x8, #0
	ldr	x9, [x19, #8]
Lloh16:
	adrp	x10, _MLX5E_MAX_BW_ALLOC@GOTPAGE
Lloh17:
	ldr	x10, [x10, _MLX5E_MAX_BW_ALLOC@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
Lloh19:
	adrp	x11, _IEEE_8021QAZ_TSA_ETS@GOTPAGE
Lloh20:
	ldr	x11, [x11, _IEEE_8021QAZ_TSA_ETS@GOTPAGEOFF]
Lloh21:
	adrp	x12, _IEEE_8021QAZ_TSA_VENDOR@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IEEE_8021QAZ_TSA_VENDOR@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w13, [x13]
	ldr	x14, [x20]
	str	w13, [x14, x8, lsl #2]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, #1
	ldrsw	x13, [x19]
	cmp	x8, x13
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x9, x8, lsl #3]
	mov	x13, x11
	cmp	x14, x10
	b.lt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w13, [x23, x8, lsl #2]
Lloh23:
	adrp	x14, _MLX5E_VENDOR_TC_GROUP_NUM@GOTPAGE
Lloh24:
	ldr	x14, [x14, _MLX5E_VENDOR_TC_GROUP_NUM@GOTPAGEOFF]
Lloh25:
	ldr	w14, [x14]
	cmp	w13, w14
	ccmp	w24, #0, #0, eq
	mov	x13, x12
	b.eq	LBB0_10
	b	LBB0_11
LBB0_14:
Lloh26:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_15:
	ldr	w0, [x19, #16]
	ldr	x1, [x20]
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.17:
	sub	sp, x29, #80
	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
	ret
LBB0_18:
	mov	x10, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x23, x10, lsl #2]
	cmp	w11, w8
	b.ne	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x11, [x19, #8]
	str	xzr, [x11, x10, lsl #3]
	b	LBB0_19
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5E_MAX_BW_ALLOC,8,3         ; @MLX5E_MAX_BW_ALLOC
	.comm	_MLX5E_LOWEST_PRIO_GROUP,4,2    ; @MLX5E_LOWEST_PRIO_GROUP
	.comm	_MLX5E_VENDOR_TC_GROUP_NUM,4,2  ; @MLX5E_VENDOR_TC_GROUP_NUM
	.comm	_IEEE_8021QAZ_TSA_ETS,4,2       ; @IEEE_8021QAZ_TSA_ETS
	.comm	_IEEE_8021QAZ_TSA_VENDOR,4,2    ; @IEEE_8021QAZ_TSA_VENDOR
	.no_dead_strip	_mlx5e_dcbnl_ieee_getets
.subsections_via_symbols
