	.file	"extr_cmd.c_mlx4_get_slave_default_vlan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx4_get_slave_default_vlan
	.type	mlx4_get_slave_default_vlan, @function
mlx4_get_slave_default_vlan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movsx	r12, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	mlx4_priv@PLT
	mov	edx, r15d
	mov	esi, r12d
	mov	rdi, r13
	mov	r14, rax
	call	mlx4_slaves_closest_port@PLT
	mov	rdx, QWORD PTR [r14]
	xor	r8d, r8d
	cdqe
	sal	rax, 4
	add	rax, QWORD PTR [rdx+r12*8]
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, QWORD PTR MLX4_VGT[rip]
	je	.L1
	test	rbp, rbp
	je	.L3
	mov	QWORD PTR 0[rbp], rdx
.L3:
	mov	r8d, 1
	test	rbx, rbx
	je	.L1
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR [rbx], eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mlx4_get_slave_default_vlan, .-mlx4_get_slave_default_vlan
	.comm	MLX4_VGT,8,8
	.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_cmd.c_mlx4_get_slave_default_vlan.c"
	.text
	.align	2
	.global	mlx4_get_slave_default_vlan
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_get_slave_default_vlan, %function
mlx4_get_slave_default_vlan:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r8, r1
	mov	r6, r3
	mov	r7, r0
	bl	mlx4_priv
	mov	r5, r0
	mov	r2, r8
	mov	r1, r4
	mov	r0, r7
	bl	mlx4_slaves_closest_port
	ldr	r2, [r5]
	ldr	r3, .L11
	ldr	r2, [r2, r4, lsl #2]
	ldr	r1, [r3]
	ldr	r3, [r2, r0, lsl #3]
	add	r0, r2, r0, lsl #3
	cmp	r3, r1
	beq	.L4
	cmp	r6, #0
	strne	r3, [r6]
	ldr	r3, [sp, #24]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r0, #4]
	ldr	r2, [sp, #24]
	mov	r0, #1
	str	r3, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	MLX4_VGT
	.size	mlx4_get_slave_default_vlan, .-mlx4_get_slave_default_vlan
	.comm	MLX4_VGT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
