	.file	"extr_spectrum_dcb.c_mlxsw_sp_port_dcb_app_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Couldn't configure priority map\n"
	.align 8
.LC1:
	.string	"Couldn't configure DSCP rewrite map\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Couldn't switch to trust L2\n"
.LC3:
	.string	"Couldn't switch to trust L3\n"
	.text
	.p2align 4
	.type	mlxsw_sp_port_dcb_app_update, @function
mlxsw_sp_port_dcb_app_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	lea	r13, 4[rsp]
	call	mlxsw_sp_port_dcb_app_default_prio@PLT
	mov	rsi, r14
	mov	rdi, rbx
	mov	r12d, eax
	call	mlxsw_sp_port_dcb_app_prio_dscp_map@PLT
	mov	esi, r12d
	mov	rdi, rbx
	mov	rdx, r13
	mov	ebp, eax
	call	mlxsw_sp_port_dcb_app_dscp_prio_map@PLT
	mov	rsi, r13
	mov	rdi, rbx
	call	mlxsw_sp_port_dcb_app_update_qpdpm@PLT
	test	eax, eax
	jne	.L15
	mov	rsi, r14
	mov	rdi, rbx
	call	mlxsw_sp_port_dcb_app_update_qpdsm@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L16
	test	ebp, ebp
	je	.L17
	mov	esi, DWORD PTR MLXSW_REG_QPTS_TRUST_STATE_DSCP[rip]
	mov	rdi, rbx
	call	mlxsw_sp_port_dcb_toggle_trust@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	netdev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR MLXSW_REG_QPTS_TRUST_STATE_PCP[rip]
	mov	rdi, rbx
	call	mlxsw_sp_port_dcb_toggle_trust@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	netdev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	netdev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC3[rip]
	call	netdev_err@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp_port_dcb_app_update, .-mlxsw_sp_port_dcb_app_update
	.comm	MLXSW_REG_QPTS_TRUST_STATE_PCP,4,4
	.comm	MLXSW_REG_QPTS_TRUST_STATE_DSCP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_spectrum_dcb.c_mlxsw_sp_port_dcb_app_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't configure priority map\012\000"
	.align	2
.LC1:
	.ascii	"Couldn't configure DSCP rewrite map\012\000"
	.align	2
.LC2:
	.ascii	"Couldn't switch to trust L2\012\000"
	.align	2
.LC3:
	.ascii	"Couldn't switch to trust L3\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp_port_dcb_app_update, %function
mlxsw_sp_port_dcb_app_update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L20
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	bl	mlxsw_sp_port_dcb_app_default_prio
	add	r1, sp, #4
	mov	r4, r0
	mov	r0, r5
	bl	mlxsw_sp_port_dcb_app_prio_dscp_map
	mov	r1, r4
	add	r2, sp, #8
	mov	r6, r0
	mov	r0, r5
	bl	mlxsw_sp_port_dcb_app_dscp_prio_map
	mov	r0, r5
	add	r1, sp, #8
	bl	mlxsw_sp_port_dcb_app_update_qpdpm
	subs	r4, r0, #0
	bne	.L15
	mov	r0, r5
	add	r1, sp, #4
	bl	mlxsw_sp_port_dcb_app_update_qpdsm
	subs	r4, r0, #0
	bne	.L16
	cmp	r6, #0
	beq	.L17
	ldr	r3, .L20+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	mlxsw_sp_port_dcb_toggle_trust
	subs	r4, r0, #0
	bne	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r0, [r5]
	ldr	r1, .L20+8
	bl	netdev_err
	b	.L1
.L17:
	ldr	r3, .L20+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	mlxsw_sp_port_dcb_toggle_trust
	subs	r4, r0, #0
	beq	.L1
	ldr	r0, [r5]
	ldr	r1, .L20+16
	bl	netdev_err
	b	.L1
.L16:
	ldr	r0, [r5]
	ldr	r1, .L20+20
	bl	netdev_err
	b	.L1
.L18:
	ldr	r0, [r5]
	ldr	r1, .L20+24
	bl	netdev_err
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	MLXSW_REG_QPTS_TRUST_STATE_DSCP
	.word	.LC0
	.word	MLXSW_REG_QPTS_TRUST_STATE_PCP
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	mlxsw_sp_port_dcb_app_update, .-mlxsw_sp_port_dcb_app_update
	.comm	MLXSW_REG_QPTS_TRUST_STATE_PCP,4,4
	.comm	MLXSW_REG_QPTS_TRUST_STATE_DSCP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
