	.file	"extr_netlabel_unlabeled.c_netlbl_unlhsh_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	netlbl_unlhsh_remove
	.type	netlbl_unlhsh_remove, @function
netlbl_unlhsh_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	r8d, 4
	je	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, rsi
	xor	eax, eax
	mov	rbp, rdi
	mov	r13, rdx
	mov	r14, rcx
	mov	rbx, r9
	call	rcu_read_lock@PLT
	test	r12, r12
	je	.L4
	mov	rsi, r12
	mov	rdi, rbp
	call	dev_get_by_name@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
	mov	edi, DWORD PTR [rax]
	call	netlbl_unlhsh_search_iface@PLT
	mov	rdi, r12
	mov	r15, rax
	call	dev_put@PLT
.L7:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	test	r15, r15
	je	.L6
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r15
	mov	rdi, rbp
	call	netlbl_unlhsh_remove_addr4@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L12
.L6:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR netlbl_unlhsh_def[rip]
	call	rcu_dereference@PLT
	mov	r15, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r15
	call	netlbl_unlhsh_condremove_iface@PLT
	lea	rdi, netlabel_mgmt_protocount[rip]
	call	atomic_dec@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	netlbl_unlhsh_remove, .-netlbl_unlhsh_remove
	.comm	netlbl_unlhsh_def,4,4
	.comm	netlabel_mgmt_protocount,4,4
	.comm	ENOENT,4,4
	.comm	ENODEV,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_netlabel_unlabeled.c_netlbl_unlhsh_remove.c"
	.text
	.align	2
	.global	netlbl_unlhsh_remove
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlbl_unlhsh_remove, %function
netlbl_unlhsh_remove:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	ldr	ip, [sp, #32]
	cmp	ip, #4
	beq	.L2
	ldr	r3, .L14
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r4, r1
	mov	r7, r0
	mov	r6, r2
	mov	r5, r3
	bl	rcu_read_lock
	cmp	r4, #0
	beq	.L4
	mov	r1, r4
	mov	r0, r7
	bl	dev_get_by_name
	subs	r4, r0, #0
	beq	.L11
	ldr	r0, [r4]
	bl	netlbl_unlhsh_search_iface
	mov	r8, r0
	mov	r0, r4
	bl	dev_put
.L7:
	cmp	r8, #0
	beq	.L12
	ldr	r3, [sp, #36]
	mov	r2, r6
	str	r3, [sp]
	mov	r0, r7
	mov	r3, r5
	mov	r1, r8
	bl	netlbl_unlhsh_remove_addr4
	subs	r4, r0, #0
	beq	.L13
.L6:
	bl	rcu_read_unlock
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L14+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L6
.L4:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	bl	rcu_dereference
	mov	r8, r0
	b	.L7
.L12:
	ldr	r3, .L14+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L6
.L13:
	mov	r0, r8
	bl	netlbl_unlhsh_condremove_iface
	ldr	r0, .L14+16
	bl	atomic_dec
	b	.L6
.L15:
	.align	2
.L14:
	.word	EINVAL
	.word	ENODEV
	.word	netlbl_unlhsh_def
	.word	ENOENT
	.word	netlabel_mgmt_protocount
	.size	netlbl_unlhsh_remove, .-netlbl_unlhsh_remove
	.comm	netlbl_unlhsh_def,4,4
	.comm	netlabel_mgmt_protocount,4,4
	.comm	ENOENT,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
