	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_dcbnl_setbuffer
_mlx5e_dcbnl_setbuffer:                 ## @mlx5e_dcbnl_setbuffer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rsp, %r12
	movq	8(%rax), %r13
	movq	_MLX5E_MAX_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_MLX5_BUFFER_SUPPORTED
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_DCBX_MAX_BUFFERS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_mlx5_core_dbg
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_MLX5E_MAX_PRIORITY@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_mlx5_core_dbg
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_mlx5e_port_query_priority2buffer
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_25
## %bb.8:
	movq	_MLX5E_MAX_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.9:
	movq	8(%r14), %r13
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rcx,8), %rdx
	cmpq	(%rbx,%rcx,8), %rdx
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_10
LBB0_12:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_13:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_14:
	movq	_MLX5E_PORT_BUFFER_PRIO2BUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_15:
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mlx5e_port_query_buffer
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_25
## %bb.16:
	movq	_MLX5E_MAX_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.17:
	movq	-88(%rbp), %rdx
	movq	(%r14), %r8
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	cmpq	(%r8,%rsi,8), %rdi
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_18
LBB0_21:
	xorl	%r8d, %r8d
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_24:
	movl	$1, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_mlx5e_port_manual_buffer_config
                                        ## kill: def $eax killed $eax def $rax
LBB0_25:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.26:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_MLX5E_PORT_BUFFER_SIZE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_24
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_MAX_PRIORITY,4,2         ## @MLX5E_MAX_PRIORITY
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_DCBX_MAX_BUFFERS,4,2           ## @DCBX_MAX_BUFFERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer[%d]=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"priority %d buffer%d\n"

	.comm	_MLX5E_PORT_BUFFER_PRIO2BUFFER,8,3 ## @MLX5E_PORT_BUFFER_PRIO2BUFFER
	.comm	_MLX5E_MAX_BUFFER,4,2           ## @MLX5E_MAX_BUFFER
	.comm	_MLX5E_PORT_BUFFER_SIZE,8,3     ## @MLX5E_PORT_BUFFER_SIZE
	.no_dead_strip	_mlx5e_dcbnl_setbuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_dcbnl_setbuffer
_mlx5e_dcbnl_setbuffer:                 ; @mlx5e_dcbnl_setbuffer
	.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	x21, x1
	mov	x19, x0
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
	mov	x26, sp
	ldr	x23, [x0, #8]
Lloh3:
	adrp	x27, _MLX5E_MAX_PRIORITY@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MLX5E_MAX_PRIORITY@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x23
	bl	_MLX5_BUFFER_SUPPORTED
	cbz	w0, LBB0_13
; %bb.1:
Lloh7:
	adrp	x28, _DCBX_MAX_BUFFERS@GOTPAGE
Lloh8:
	ldr	x28, [x28, _DCBX_MAX_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, #0
Lloh9:
	adrp	x25, l_.str@PAGE
Lloh10:
	add	x25, x25, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x3, [x8, x24, lsl #3]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_mlx5_core_dbg
	add	x24, x24, #1
	ldrsw	x8, [x28]
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x24, #0
Lloh11:
	adrp	x25, l_.str.1@PAGE
Lloh12:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x3, [x8, x24, lsl #3]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_mlx5_core_dbg
	add	x24, x24, #1
	ldrsw	x8, [x27]
	cmp	x24, x8
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x23
	mov	x1, x22
	bl	_mlx5e_port_query_priority2buffer
	cbnz	w0, LBB0_24
; %bb.8:
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x8, #0
	ldr	x23, [x21, #8]
	lsl	x9, x9, #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x23, x8]
	ldr	x11, [x22, x8]
	cmp	x10, x11
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_10
LBB0_12:
	mov	x23, #0
	mov	x22, #0
	b	LBB0_15
LBB0_13:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_14:
Lloh16:
	adrp	x8, _MLX5E_PORT_BUFFER_PRIO2BUFFER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MLX5E_PORT_BUFFER_PRIO2BUFFER@GOTPAGEOFF]
Lloh18:
	ldr	x22, [x8]
LBB0_15:
	sub	x1, x29, #96
	mov	x0, x20
	bl	_mlx5e_port_query_buffer
	cbnz	w0, LBB0_24
; %bb.16:
Lloh19:
	adrp	x8, _MLX5E_MAX_BUFFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MLX5E_MAX_BUFFER@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_20
; %bb.17:
	mov	x8, #0
	ldur	x9, [x29, #-96]
	ldr	x4, [x21]
	lsl	x10, x10, #3
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x8]
	ldr	x12, [x4, x8]
	cmp	x11, x12
	b.ne	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x8, x8, #8
	cmp	x10, x8
	b.ne	LBB0_18
LBB0_20:
	mov	x4, #0
	cbz	x22, LBB0_23
LBB0_21:
	mov	w8, #1
	str	w8, [x20]
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x22
	mov	x3, #0
	mov	x5, x23
	bl	_mlx5e_port_manual_buffer_config
	b	LBB0_24
LBB0_22:
Lloh22:
	adrp	x8, _MLX5E_PORT_BUFFER_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MLX5E_PORT_BUFFER_SIZE@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	orr	x22, x8, x22
	cbnz	x22, LBB0_21
LBB0_23:
	mov	w0, #0
LBB0_24:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	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_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_MAX_PRIORITY,4,2         ; @MLX5E_MAX_PRIORITY
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_DCBX_MAX_BUFFERS,4,2           ; @DCBX_MAX_BUFFERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer[%d]=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"priority %d buffer%d\n"

	.comm	_MLX5E_PORT_BUFFER_PRIO2BUFFER,8,3 ; @MLX5E_PORT_BUFFER_PRIO2BUFFER
	.comm	_MLX5E_MAX_BUFFER,4,2           ; @MLX5E_MAX_BUFFER
	.comm	_MLX5E_PORT_BUFFER_SIZE,8,3     ; @MLX5E_PORT_BUFFER_SIZE
	.no_dead_strip	_mlx5e_dcbnl_setbuffer
.subsections_via_symbols
