	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_port_dcb_app_update
_mlxsw_sp_port_dcb_app_update:          ## @mlxsw_sp_port_dcb_app_update
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_mlxsw_sp_port_dcb_app_default_prio
	movl	%eax, %r14d
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mlxsw_sp_port_dcb_app_prio_dscp_map
	movl	%eax, %r15d
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_mlxsw_sp_port_dcb_app_dscp_prio_map
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_port_dcb_app_update_qpdpm
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mlxsw_sp_port_dcb_app_update_qpdsm
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movl	(%rbx), %edi
	callq	_netdev_err
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.7:
	movq	_MLXSW_REG_QPTS_TRUST_STATE_DSCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_sp_port_dcb_toggle_trust
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	movq	_MLXSW_REG_QPTS_TRUST_STATE_PCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_sp_port_dcb_toggle_trust
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't configure priority map\n"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't configure DSCP rewrite map\n"

	.comm	_MLXSW_REG_QPTS_TRUST_STATE_PCP,4,2 ## @MLXSW_REG_QPTS_TRUST_STATE_PCP
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't switch to trust L2\n"

	.comm	_MLXSW_REG_QPTS_TRUST_STATE_DSCP,4,2 ## @MLXSW_REG_QPTS_TRUST_STATE_DSCP
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't switch to trust L3\n"

	.no_dead_strip	_mlxsw_sp_port_dcb_app_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_port_dcb_app_update
_mlxsw_sp_port_dcb_app_update:          ; @mlxsw_sp_port_dcb_app_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_mlxsw_sp_port_dcb_app_default_prio
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_mlxsw_sp_port_dcb_app_prio_dscp_map
	mov	x21, x0
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_dcb_app_dscp_prio_map
	mov	x1, sp
	mov	x0, x19
	bl	_mlxsw_sp_port_dcb_app_update_qpdpm
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mlxsw_sp_port_dcb_app_update_qpdsm
	cbz	w0, LBB0_6
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	ldr	w0, [x19]
	bl	_netdev_err
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_6:
	cbz	w21, LBB0_9
; %bb.7:
Lloh4:
	adrp	x8, _MLXSW_REG_QPTS_TRUST_STATE_DSCP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLXSW_REG_QPTS_TRUST_STATE_DSCP@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_sp_port_dcb_toggle_trust
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.8:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_9:
Lloh9:
	adrp	x8, _MLXSW_REG_QPTS_TRUST_STATE_PCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_REG_QPTS_TRUST_STATE_PCP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mlxsw_sp_port_dcb_toggle_trust
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.10:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't configure priority map\n"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't configure DSCP rewrite map\n"

	.comm	_MLXSW_REG_QPTS_TRUST_STATE_PCP,4,2 ; @MLXSW_REG_QPTS_TRUST_STATE_PCP
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't switch to trust L2\n"

	.comm	_MLXSW_REG_QPTS_TRUST_STATE_DSCP,4,2 ; @MLXSW_REG_QPTS_TRUST_STATE_DSCP
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't switch to trust L3\n"

	.no_dead_strip	_mlxsw_sp_port_dcb_app_update
.subsections_via_symbols
