	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_dcbnl_set_all
_mlx4_en_dcbnl_set_all:                 ## @mlx4_en_dcbnl_set_all
	.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
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_DCB_CAP_DCBX_VER_CEE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, (%r15)
	je	LBB0_17
## %bb.1:
	movq	40(%r15), %r8
	movq	48(%r15), %r10
	cmpq	$0, 32(%r15)
	je	LBB0_13
## %bb.2:
	movl	(%r10), %r14d
	movl	4(%r10), %ebx
	movq	_CEE_DCBX_MAX_PRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_12
## %bb.3:
	movq	24(%r15), %rsi
	xorl	%ecx, %ecx
	leaq	LJTI0_0(%rip), %r9
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %edi
	notl	%edi
	andl	%edi, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	orl	%eax, %r14d
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	je	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %eax
	shll	%cl, %eax
	movl	(%rsi,%rcx,4), %edi
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r9,%rdi,4), %rdi
	addq	%r9, %rdi
	jmpq	*%rdi
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	orl	%eax, %ebx
	notl	%eax
	andl	%eax, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	orl	%eax, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	notl	%eax
	andl	%eax, %ebx
	andl	%eax, %r14d
	jmp	LBB0_11
LBB0_12:
	xorl	%r12d, %r12d
	movl	%r14d, %eax
	orl	%ebx, %eax
	movl	$0, %r13d
	jne	LBB0_14
LBB0_13:
	movl	8(%r10), %r13d
	movl	12(%r10), %r12d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	movl	(%r8), %edi
	movl	16(%r15), %esi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	8(%r15), %rdx
	movl	%r14d, (%rsp)
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_mlx4_SET_PORT_general
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_en_err
	movl	$1, %eax
	jmp	LBB0_17
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 4(%rax)
	movl	%r14d, (%rax)
	movl	%r12d, 12(%rax)
	movl	%r13d, 8(%rax)
	xorl	%eax, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ## @DCB_CAP_DCBX_VER_CEE
	.comm	_CEE_DCBX_MAX_PRIO,4,2          ## @CEE_DCBX_MAX_PRIO
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed setting pause params\n"

	.no_dead_strip	_mlx4_en_dcbnl_set_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_dcbnl_set_all
_mlx4_en_dcbnl_set_all:                 ; @mlx4_en_dcbnl_set_all
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DCB_CAP_DCBX_VER_CEE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCB_CAP_DCBX_VER_CEE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.1:
	mov	x19, x0
	ldp	x8, x24, [x0, #40]
	ldr	x9, [x0, #32]
	cbz	x9, LBB0_14
; %bb.2:
	ldp	w20, w21, [x24]
Lloh3:
	adrp	x9, _CEE_DCBX_MAX_PRIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CEE_DCBX_MAX_PRIO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x10, #0
	ldr	x11, [x19, #24]
	mov	w12, #1
Lloh6:
	adrp	x13, lJTI0_0@PAGE
Lloh7:
	add	x13, x13, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	bic	w21, w21, w14
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	orr	w20, w14, w20
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x11, x10, lsl #2]
	sub	w15, w14, #128
	cmp	w15, #3
	b.hi	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	w14, w12, w10
	adr	x16, LBB0_4
	ldrb	w17, [x13, x15]
	add	x16, x16, x17, lsl #2
	br	x16
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	orr	w21, w14, w21
	bic	w20, w20, w14
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	orr	w21, w14, w21
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	bic	w21, w21, w14
	bic	w20, w20, w14
	b	LBB0_6
LBB0_12:
	orr	w9, w20, w21
	cbz	w9, LBB0_14
; %bb.13:
	mov	w23, #0
	mov	w22, #0
	b	LBB0_15
LBB0_14:
	mov	w21, #0
	mov	w20, #0
	ldp	w22, w23, [x24, #8]
LBB0_15:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x2, x9, x8
	mov	x3, x23
	mov	x4, x21
	mov	x5, x22
	mov	x6, x20
	bl	_mlx4_SET_PORT_general
	cbz	x0, LBB0_18
; %bb.16:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_en_err
LBB0_17:
	mov	w0, #1
	b	LBB0_19
LBB0_18:
	stp	w20, w21, [x24]
	stp	w22, w23, [x24, #8]
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_DCB_CAP_DCBX_VER_CEE,4,2       ; @DCB_CAP_DCBX_VER_CEE
	.comm	_CEE_DCBX_MAX_PRIO,4,2          ; @CEE_DCBX_MAX_PRIO
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed setting pause params\n"

	.no_dead_strip	_mlx4_en_dcbnl_set_all
.subsections_via_symbols
