	.file	"extr_ice_main.c_ice_init_mac_fltr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not add MAC filters error %d. Unregistering device\n"
	.text
	.p2align 4
	.type	ice_init_mac_fltr, @function
ice_init_mac_fltr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ETH_ALEN[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	mov	rdi, rbx
	mov	r13, rsp
	call	ice_get_main_vsi@PLT
	mov	r12, rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	test	r12, r12
	je	.L1
	mov	rax, QWORD PTR 8[r12]
	mov	edx, 1
	mov	rdi, r12
	mov	rsi, QWORD PTR [rax]
	call	ice_vsi_cfg_mac_fltr@PLT
	test	eax, eax
	je	.L18
.L7:
	mov	rdx, QWORD PTR [r12]
	mov	rsi, QWORD PTR NETREG_REGISTERED[rip]
	cmp	QWORD PTR [rdx], rsi
	je	.L19
.L9:
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rsi, QWORD PTR -40[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, r13
	call	eth_broadcast_addr@PLT
	mov	edx, 1
	mov	rsi, r13
	mov	rdi, r12
	call	ice_vsi_cfg_mac_fltr@PLT
	test	eax, eax
	je	.L1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, QWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rdi, QWORD PTR [r12]
	call	unregister_netdev@PLT
	mov	rdi, QWORD PTR [r12]
	call	free_netdev@PLT
	mov	QWORD PTR [r12], 0
	jmp	.L9
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ice_init_mac_fltr, .-ice_init_mac_fltr
	.comm	NETREG_REGISTERED,8,8
	.comm	ETH_ALEN,4,4
	.comm	EIO,4,4
	.comm	EINVAL,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_ice_main.c_ice_init_mac_fltr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not add MAC filters error %d. Unregistering d"
	.ascii	"evice\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ice_init_mac_fltr, %function
ice_init_mac_fltr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L14
	ldr	r2, .L14+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r2, [fp, #-24]
	mov	r2,#0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r4, r0
	bl	ice_get_main_vsi
	subs	r5, r0, #0
	beq	.L10
	ldr	r3, [r5, #4]
	mov	r2, #1
	ldr	r1, [r3]
	bl	ice_vsi_cfg_mac_fltr
	cmp	r0, #0
	beq	.L11
.L4:
	ldr	r2, [r5]
	ldr	r3, .L14+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
.L6:
	ldr	r3, .L14+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	mov	r6, sp
	mov	r0, r6
	bl	eth_broadcast_addr
	mov	r1, r6
	mov	r2, #1
	mov	r0, r5
	bl	ice_vsi_cfg_mac_fltr
	cmp	r0, #0
	bne	.L4
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L10:
	ldr	r3, .L14+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	mov	r2, r0
	ldr	r1, .L14+20
	ldr	r0, [r4]
	bl	dev_err
	ldr	r0, [r5]
	bl	unregister_netdev
	ldr	r0, [r5]
	bl	free_netdev
	mov	r3, #0
	str	r3, [r5]
	b	.L6
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	ETH_ALEN
	.word	.LC1
	.word	NETREG_REGISTERED
	.word	EIO
	.word	EINVAL
	.word	.LC0
	.size	ice_init_mac_fltr, .-ice_init_mac_fltr
	.comm	NETREG_REGISTERED,4,4
	.comm	ETH_ALEN,4,4
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
