	.file	"extr_netlabel_unlabeled.c_netlbl_unlabel_staticadddef.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netlbl_unlabel_staticadddef, @function
netlbl_unlabel_staticadddef:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rdx, QWORD PTR NLBL_UNLABEL_A_SECCTX[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rsi]
	mov	r10d, DWORD PTR [rax+rdx*4]
	test	r10d, r10d
	je	.L2
	mov	rcx, QWORD PTR NLBL_UNLABEL_A_IPV4ADDR[rip]
	mov	rdx, QWORD PTR NLBL_UNLABEL_A_IPV6ADDR[rip]
	mov	rbx, rsi
	mov	r9d, DWORD PTR [rax+rcx*4]
	mov	edx, DWORD PTR [rax+rdx*4]
	test	r9d, r9d
	jne	.L18
.L3:
	mov	ecx, 1
	test	edx, edx
	je	.L2
.L7:
	mov	rdx, QWORD PTR NLBL_UNLABEL_A_IPV6MASK[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	xor	eax, eax
	test	esi, esi
	sete	al
	cmp	eax, ecx
	je	.L2
.L5:
	lea	rbp, 20[rsp]
	mov	rsi, rbp
	call	netlbl_netlink_auditinfo@PLT
	lea	rcx, 12[rsp]
	lea	rdx, 32[rsp]
	mov	rdi, rbx
	lea	rsi, 24[rsp]
	call	netlbl_unlabel_addrinfo_get@PLT
	test	eax, eax
	jne	.L1
	mov	rdx, QWORD PTR NLBL_UNLABEL_A_SECCTX[rip]
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	nla_len@PLT
	mov	rdx, QWORD PTR NLBL_UNLABEL_A_SECCTX[rip]
	mov	r12d, eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	nla_data@PLT
	lea	rdx, 16[rsp]
	mov	esi, r12d
	mov	edi, eax
	call	security_secctx_to_secid@PLT
	test	eax, eax
	jne	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	xor	esi, esi
	lea	rdi, init_net[rip]
	push	rbp
	.cfi_def_cfa_offset 96
	mov	r9d, DWORD PTR 32[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	rcx, QWORD PTR 48[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	call	netlbl_unlhsh_add@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L18:
	.cfi_restore_state
	mov	rcx, QWORD PTR NLBL_UNLABEL_A_IPV4MASK[rip]
	mov	r8d, DWORD PTR [rax+rcx*4]
	test	r8d, r8d
	je	.L3
	xor	ecx, ecx
	test	edx, edx
	jne	.L7
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	netlbl_unlabel_staticadddef, .-netlbl_unlabel_staticadddef
	.comm	init_net,4,4
	.comm	NLBL_UNLABEL_A_SECCTX,8,8
	.comm	NLBL_UNLABEL_A_IPV6MASK,8,8
	.comm	NLBL_UNLABEL_A_IPV6ADDR,8,8
	.comm	NLBL_UNLABEL_A_IPV4MASK,8,8
	.comm	NLBL_UNLABEL_A_IPV4ADDR,8,8
	.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_unlabel_staticadddef.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlbl_unlabel_staticadddef, %function
netlbl_unlabel_staticadddef:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L29
	ldr	r3, [r1]
	ldr	r2, [r5]
	mov	r4, r1
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, .L29+4
	sub	sp, sp, #44
	cmp	r2, #0
	ldr	r1, [r1]
	str	r1, [sp, #36]
	mov	r1,#0
	beq	.L2
	ldr	r1, .L29+8
	ldr	r2, .L29+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r1, [r3, r1, lsl #2]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r1, #0
	bne	.L27
.L3:
	cmp	r2, #0
	movne	r1, #1
	beq	.L2
.L7:
	ldr	r2, .L29+16
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	clz	r3, r3
	lsr	r3, r3, #5
	cmp	r3, r1
	beq	.L2
.L5:
	add	r1, sp, #32
	bl	netlbl_netlink_auditinfo
	mov	r0, r4
	add	r3, sp, #24
	add	r2, sp, #20
	add	r1, sp, #16
	bl	netlbl_unlabel_addrinfo_get
	cmp	r0, #0
	bne	.L1
	ldr	r3, [r4]
	ldr	r2, [r5]
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_data
	ldr	r3, [r4]
	ldr	r2, [r5]
	mov	r4, r0
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_len
	add	r2, sp, #28
	mov	r1, r0
	mov	r0, r4
	bl	security_secctx_to_secid
	cmp	r0, #0
	bne	.L1
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	add	r1, sp, #32
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	mov	r1, r0
	str	r3, [sp]
	ldr	r2, [sp, #16]
	ldr	r3, [sp, #20]
	ldr	r0, .L29+20
	bl	netlbl_unlhsh_add
	b	.L1
.L2:
	ldr	r3, .L29+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L29+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L27:
	ldr	r1, .L29+28
	ldr	r1, [r1]
	ldr	r1, [r3, r1, lsl #2]
	cmp	r1, #0
	beq	.L3
	cmp	r2, #0
	movne	r1, #0
	bne	.L7
	b	.L5
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	NLBL_UNLABEL_A_SECCTX
	.word	.LC0
	.word	NLBL_UNLABEL_A_IPV4ADDR
	.word	NLBL_UNLABEL_A_IPV6ADDR
	.word	NLBL_UNLABEL_A_IPV6MASK
	.word	init_net
	.word	EINVAL
	.word	NLBL_UNLABEL_A_IPV4MASK
	.size	netlbl_unlabel_staticadddef, .-netlbl_unlabel_staticadddef
	.comm	init_net,4,4
	.comm	NLBL_UNLABEL_A_SECCTX,4,4
	.comm	NLBL_UNLABEL_A_IPV6MASK,4,4
	.comm	NLBL_UNLABEL_A_IPV6ADDR,4,4
	.comm	NLBL_UNLABEL_A_IPV4MASK,4,4
	.comm	NLBL_UNLABEL_A_IPV4ADDR,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
