	.file	"extr_lag_mp.c_mlx5_lag_set_port_affinity.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid affinity port %d"
	.text
	.p2align 4
	.type	mlx5_lag_set_port_affinity, @function
mlx5_lag_set_port_affinity:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	__mlx5_lag_is_multipath@PLT
	test	eax, eax
	je	.L1
	cmp	r12d, 1
	je	.L3
	cmp	r12d, 2
	je	.L4
	test	r12d, r12d
	je	.L16
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR [rax]
	call	mlx5_core_warn@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	movabs	rdx, 4294967297
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rdx
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR MLX5_DEV_EVENT_PORT_AFFINITY[rip]
	xor	edx, edx
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	mlx5_notifier_call_chain@PLT
	mov	rax, QWORD PTR [rsp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L7
.L9:
	mov	rsi, rsp
	mov	rdi, rbp
	call	mlx5_modify_lag@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	movabs	rcx, 4294967297
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], rcx
.L7:
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR MLX5_DEV_EVENT_PORT_AFFINITY[rip]
	xor	edx, edx
	mov	rax, QWORD PTR 8[rax]
	mov	edi, DWORD PTR [rax]
	call	mlx5_notifier_call_chain@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	movabs	rcx, 4294967297
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], 0
	jmp	.L6
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5_lag_set_port_affinity, .-mlx5_lag_set_port_affinity
	.comm	MLX5_DEV_EVENT_PORT_AFFINITY,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_lag_mp.c_mlx5_lag_set_port_affinity.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid affinity port %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5_lag_set_port_affinity, %function
mlx5_lag_set_port_affinity:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #12
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	__mlx5_lag_is_multipath
	cmp	r0, #0
	beq	.L1
	cmp	r4, #1
	beq	.L3
	cmp	r4, #2
	beq	.L4
	cmp	r4, #0
	beq	.L16
	ldr	r3, [r5]
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L18+4
	bl	mlx5_core_warn
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L16:
	mov	r2, #1
	ldr	r3, [sp]
	str	r2, [r3]
	str	r2, [r3, #8]
	str	r2, [r3, #4]
	str	r2, [r3, #12]
.L6:
	ldr	r3, [r5]
	ldr	r4, .L18+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r0, [r3]
	ldr	r1, [r4]
	bl	mlx5_notifier_call_chain
	ldr	r3, [sp]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L7
.L9:
	mov	r0, r5
	mov	r1, sp
	bl	mlx5_modify_lag
	b	.L1
.L4:
	mov	r1, #0
	mov	r2, #1
	ldr	r3, [sp]
	ldr	r4, .L18+8
	stmib	r3, {r1, r2}
	str	r1, [r3]
	str	r2, [r3, #12]
.L7:
	ldr	r3, [r5]
	mov	r2, #0
	ldr	r3, [r3, #4]
	ldr	r1, [r4]
	ldr	r0, [r3]
	bl	mlx5_notifier_call_chain
	b	.L9
.L3:
	mov	r2, #0
	ldr	r3, [sp]
	str	r2, [r3, #8]
	str	r4, [r3]
	str	r4, [r3, #4]
	str	r2, [r3, #12]
	b	.L6
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LC0
	.word	MLX5_DEV_EVENT_PORT_AFFINITY
	.size	mlx5_lag_set_port_affinity, .-mlx5_lag_set_port_affinity
	.comm	MLX5_DEV_EVENT_PORT_AFFINITY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
