	.file	"extr_en_netdev.c_mlx4_en_clear_promisc_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Leaving promiscuous mode\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Failed disabling promiscuous mode\n"
	.align 8
.LC2:
	.string	"Failed disabling unicast promiscuous mode\n"
	.align 8
.LC3:
	.string	"Failed disabling multicast promiscuous mode\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Failed enabling VLAN filter\n"
	.text
	.p2align 4
	.type	mlx4_en_clear_promisc_mode, @function
mlx4_en_clear_promisc_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netif_msg_rx_status@PLT
	test	rax, rax
	jne	.L29
.L2:
	mov	eax, DWORD PTR MLX4_EN_FLAG_PROMISC[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	esi, DWORD PTR 8[rbp]
	not	eax
	and	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 129
	je	.L3
	cmp	eax, 130
	je	.L4
	cmp	eax, 128
	je	.L30
.L5:
	mov	edx, DWORD PTR 4[rbp]
	call	mlx4_SET_VLAN_FLTR@PLT
	test	eax, eax
	jne	.L31
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	en_warn@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	en_err@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	edx, DWORD PTR MLX4_FS_ALL_DEFAULT[rip]
	call	mlx4_flow_steer_promisc_remove@PLT
	test	eax, eax
	jne	.L32
.L8:
	mov	eax, DWORD PTR MLX4_EN_FLAG_MC_PROMISC[rip]
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rbx]
	not	eax
	and	DWORD PTR 0[rbp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 12[rbp]
	xor	ecx, ecx
	call	mlx4_SET_PORT_qpn_calc@PLT
	test	eax, eax
	jne	.L9
.L27:
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, DWORD PTR 12[rbp]
	mov	edx, esi
	mov	esi, r8d
	call	mlx4_unicast_promisc_remove@PLT
	test	eax, eax
	jne	.L33
.L7:
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rbx]
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR MLX4_EN_FLAG_MC_PROMISC[rip], eax
	je	.L5
	mov	r8d, DWORD PTR 12[rbp]
	mov	edx, esi
	mov	esi, r8d
	call	mlx4_multicast_promisc_remove@PLT
	test	eax, eax
	je	.L8
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	en_err@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	en_err@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	en_err@PLT
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	en_err@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	mlx4_en_clear_promisc_mode, .-mlx4_en_clear_promisc_mode
	.comm	MLX4_FS_ALL_DEFAULT,4,4
	.comm	MLX4_EN_FLAG_PROMISC,4,4
	.comm	MLX4_EN_FLAG_MC_PROMISC,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_en_netdev.c_mlx4_en_clear_promisc_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Leaving promiscuous mode\012\000"
	.align	2
.LC1:
	.ascii	"Failed disabling promiscuous mode\012\000"
	.align	2
.LC2:
	.ascii	"Failed disabling unicast promiscuous mode\012\000"
	.align	2
.LC3:
	.ascii	"Failed disabling multicast promiscuous mode\012\000"
	.align	2
.LC4:
	.ascii	"Failed enabling VLAN filter\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_en_clear_promisc_mode, %function
mlx4_en_clear_promisc_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	bl	netif_msg_rx_status
	cmp	r0, #0
	bne	.L29
.L2:
	ldr	r3, .L34
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, [r4]
	ldr	r3, [r0]
	bic	r2, r2, r1
	cmp	r3, #129
	ldr	r1, [r4, #8]
	str	r2, [r4]
	beq	.L3
	cmp	r3, #130
	beq	.L4
	cmp	r3, #128
	beq	.L30
.L5:
	ldr	r2, [r4, #4]
	bl	mlx4_SET_VLAN_FLTR
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L34+4
	b	en_err
.L29:
	mov	r0, r4
	ldr	r1, .L34+8
	bl	en_warn
	b	.L2
.L3:
	mov	r2, r1
	ldr	r1, [r4, #12]
	bl	mlx4_unicast_promisc_remove
	cmp	r0, #0
	bne	.L31
.L7:
	ldr	r6, .L34+12
	ldr	r2, [r4]
	ldr	r3, [r6]
	ldr	r0, [r5]
	tst	r2, r3
	ldr	r1, [r4, #8]
	beq	.L5
	mov	r2, r1
	ldr	r1, [r4, #12]
	bl	mlx4_multicast_promisc_remove
	cmp	r0, #0
	bne	.L32
.L8:
	ldr	r2, [r6]
	ldr	r3, [r4]
	ldr	r0, [r5]
	bic	r3, r3, r2
	ldr	r1, [r4, #8]
	str	r3, [r4]
	b	.L5
.L30:
	ldr	r3, .L34+16
	ldr	r2, [r3]
	bl	mlx4_flow_steer_promisc_remove
	cmp	r0, #0
	bne	.L33
.L6:
	ldr	r2, .L34+12
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r0, [r5]
	bic	r3, r3, r2
	ldr	r1, [r4, #8]
	str	r3, [r4]
	b	.L5
.L4:
	mov	r3, #0
	ldr	r2, [r4, #12]
	bl	mlx4_SET_PORT_qpn_calc
	cmp	r0, #0
	bne	.L9
.L27:
	ldr	r0, [r5]
	ldr	r1, [r4, #8]
	b	.L5
.L9:
	mov	r0, r4
	ldr	r1, .L34+20
	bl	en_err
	b	.L27
.L33:
	mov	r0, r4
	ldr	r1, .L34+20
	bl	en_err
	b	.L6
.L31:
	mov	r0, r4
	ldr	r1, .L34+24
	bl	en_err
	b	.L7
.L32:
	mov	r0, r4
	ldr	r1, .L34+28
	bl	en_err
	b	.L8
.L35:
	.align	2
.L34:
	.word	MLX4_EN_FLAG_PROMISC
	.word	.LC4
	.word	.LC0
	.word	MLX4_EN_FLAG_MC_PROMISC
	.word	MLX4_FS_ALL_DEFAULT
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	mlx4_en_clear_promisc_mode, .-mlx4_en_clear_promisc_mode
	.comm	MLX4_FS_ALL_DEFAULT,4,4
	.comm	MLX4_EN_FLAG_PROMISC,4,4
	.comm	MLX4_EN_FLAG_MC_PROMISC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
