	.file	"extr_netlabel_cipso_v4.c_netlbl_cipsov4_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netlbl_cipsov4_list, @function
netlbl_cipsov4_list:
.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, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR NLBL_CIPSOV4_A_DOI[rip]
	mov	QWORD PTR 8[rsp], rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR 28[rsp], 3
	mov	QWORD PTR 16[rsp], 1
	test	eax, eax
	je	.L41
.L2:
	mov	rdi, QWORD PTR 16[rsp]
	imul	rdi, QWORD PTR NLMSG_DEFAULT_SIZE[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	nlmsg_new@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L39
	mov	r8d, DWORD PTR NLBL_CIPSOV4_C_LIST[rip]
	mov	rsi, QWORD PTR 8[rsp]
	xor	ecx, ecx
	mov	rdi, rax
	lea	rdx, netlbl_cipsov4_gnl_family[rip]
	call	genlmsg_put_reply@PLT
	mov	QWORD PTR 32[rsp], rax
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR NLBL_CIPSOV4_A_DOI[rip]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	nla_get_u32@PLT
	mov	r12, rax
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	rdi, r12
	call	cipso_v4_doi_getdef@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L42
	mov	rdx, QWORD PTR [rax]
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MTYPE[rip]
	mov	rdi, rbp
	call	nla_put_u32@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L7
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_TAGLST[rip]
	mov	rdi, rbp
	call	nla_nest_start_noflag@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
	xor	r13d, r13d
	cmp	QWORD PTR CIPSO_V4_TAG_MAXCNT[rip], 0
	jne	.L9
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_TAG[rip]
	mov	rdi, rbp
	call	nla_put_u8@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L7
	add	r13, 1
	cmp	QWORD PTR CIPSO_V4_TAG_MAXCNT[rip], r13
	jbe	.L12
.L9:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rax+r13*8]
	cmp	rdx, QWORD PTR CIPSO_V4_TAG_INVALID[rip]
	jne	.L13
.L12:
	mov	rsi, r12
	mov	rdi, rbp
	call	nla_nest_end@PLT
	cmp	QWORD PTR [rbx], 128
	jne	.L11
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSLVLLST[rip]
	mov	rdi, rbp
	call	nla_nest_start_noflag@PLT
	mov	QWORD PTR 40[rsp], rax
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR 16[rbx]
	xor	r14d, r14d
	cmp	QWORD PTR 16[rax], 0
	je	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR CIPSO_V4_INV_LVL[rip]
	lea	r13, 0[0+r14*8]
	cmp	QWORD PTR [rdx+r14*8], rcx
	je	.L17
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSLVL[rip]
	mov	rdi, rbp
	call	nla_nest_start_noflag@PLT
	mov	r12, rax
	test	rax, rax
	je	.L38
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSLVLLOC[rip]
	mov	rdx, r14
	mov	rdi, rbp
	call	nla_put_u32@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSLVLREM[rip]
	mov	rdi, rbp
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR [rax+r13]
	call	nla_put_u32@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L19
	mov	rsi, r12
	mov	rdi, rbp
	call	nla_nest_end@PLT
	mov	rax, QWORD PTR 16[rbx]
.L17:
	add	r14, 1
	cmp	QWORD PTR 16[rax], r14
	ja	.L15
.L16:
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, rbp
	call	nla_nest_end@PLT
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSCATLST[rip]
	mov	rdi, rbp
	call	nla_nest_start_noflag@PLT
	mov	QWORD PTR 40[rsp], rax
	test	rax, rax
	je	.L38
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR [rax], 0
	je	.L22
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR CIPSO_V4_INV_CAT[rip]
	lea	r14, 0[0+r13*8]
	cmp	QWORD PTR [rdx+r13*8], rcx
	je	.L23
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSCAT[rip]
	mov	rdi, rbp
	call	nla_nest_start_noflag@PLT
	mov	r12, rax
	test	rax, rax
	je	.L38
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSCATLOC[rip]
	mov	rdx, r13
	mov	rdi, rbp
	call	nla_put_u32@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR NLBL_CIPSOV4_A_MLSCATREM[rip]
	mov	rdi, rbp
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rax+r14]
	call	nla_put_u32@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L19
	mov	rsi, r12
	mov	rdi, rbp
	call	nla_nest_end@PLT
	mov	rax, QWORD PTR 16[rbx]
.L23:
	add	r13, 1
	cmp	QWORD PTR [rax], r13
	ja	.L21
.L22:
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, rbp
	call	nla_nest_end@PLT
.L11:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, rbp
	call	genlmsg_end@PLT
	mov	rsi, QWORD PTR 8[rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	genlmsg_reply@PLT
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	mov	r15d, DWORD PTR ENOMEM[rip]
	neg	r15d
.L19:
	sub	DWORD PTR 28[rsp], 1
	je	.L7
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	rdi, rbp
	call	kfree_skb@PLT
	sal	QWORD PTR 16[rsp]
	jmp	.L2
.L42:
	mov	r15d, DWORD PTR EINVAL[rip]
	neg	r15d
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	call	rcu_read_unlock@PLT
.L3:
	mov	rdi, rbp
	call	kfree_skb@PLT
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L41:
	.cfi_restore_state
	mov	r15d, DWORD PTR EINVAL[rip]
	xor	ebp, ebp
	neg	r15d
	jmp	.L3
.L39:
	mov	r15d, DWORD PTR ENOMEM[rip]
	neg	r15d
	jmp	.L3
.L14:
	mov	r15d, DWORD PTR ENOMEM[rip]
	neg	r15d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	netlbl_cipsov4_list, .-netlbl_cipsov4_list
	.comm	netlbl_cipsov4_gnl_family,4,4
	.comm	NLMSG_DEFAULT_SIZE,8,8
	.comm	NLBL_CIPSOV4_C_LIST,4,4
	.comm	NLBL_CIPSOV4_A_TAGLST,4,4
	.comm	NLBL_CIPSOV4_A_TAG,4,4
	.comm	NLBL_CIPSOV4_A_MTYPE,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLREM,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLLST,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLLOC,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVL,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATREM,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATLST,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATLOC,4,4
	.comm	NLBL_CIPSOV4_A_MLSCAT,4,4
	.comm	NLBL_CIPSOV4_A_DOI,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CIPSO_V4_TAG_MAXCNT,8,8
	.comm	CIPSO_V4_TAG_INVALID,8,8
	.comm	CIPSO_V4_INV_LVL,8,8
	.comm	CIPSO_V4_INV_CAT,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_netlabel_cipso_v4.c_netlbl_cipsov4_list.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netlbl_cipsov4_list, %function
netlbl_cipsov4_list:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L47
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r1]
	ldr	r2, [r2]
	sub	sp, sp, #36
	ldr	r3, [r3, r2, lsl #2]
	str	r1, [sp, #12]
	cmp	r3, #0
	beq	.L45
	mov	r3, #3
	str	r3, [sp, #24]
	mov	r3, #1
	ldr	r9, .L47+4
	str	r3, [sp, #16]
.L2:
	ldr	r3, .L47+8
	ldr	r0, [r3]
	ldr	r3, .L47+12
	ldr	r1, [r3]
	ldr	r3, [sp, #16]
	mul	r3, r0, r3
	mov	r0, r3
	bl	nlmsg_new
	subs	r10, r0, #0
	beq	.L43
	ldr	r3, .L47+16
	ldr	r1, [sp, #12]
	ldr	r2, [r3]
	mov	r3, #0
	str	r2, [sp]
	ldr	r2, .L47+20
	bl	genlmsg_put_reply
	subs	r3, r0, #0
	str	r3, [sp, #28]
	beq	.L43
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	ldr	r3, [r3]
	ldr	r0, [r3, r2, lsl #2]
	bl	nla_get_u32
	mov	r4, r0
	bl	rcu_read_lock
	mov	r0, r4
	bl	cipso_v4_doi_getdef
	subs	r4, r0, #0
	beq	.L46
	ldr	r3, .L47+24
	ldr	r2, [r4]
	mov	r0, r10
	ldr	r1, [r3]
	bl	nla_put_u32
	subs	r2, r0, #0
	bne	.L7
	ldr	r3, .L47+28
	mov	r0, r10
	ldr	r1, [r3]
	str	r2, [sp, #20]
	bl	nla_nest_start_noflag
	subs	r7, r0, #0
	beq	.L14
	ldr	r6, .L47+32
	ldr	r2, [sp, #20]
	ldr	r3, [r6]
	cmp	r3, #0
	movne	r5, r2
	ldrne	r8, .L47+36
	bne	.L9
	b	.L12
.L13:
	mov	r0, r10
	ldr	r1, [r9]
	bl	nla_put_u8
	cmp	r0, #0
	bne	.L35
	ldr	r3, [r6]
	cmp	r3, r5
	bls	.L12
.L9:
	ldr	r2, [r4, #4]
	ldr	r3, [r8]
	ldr	r2, [r2, r5, lsl #2]
	add	r5, r5, #1
	cmp	r2, r3
	bne	.L13
.L12:
	mov	r1, r7
	mov	r0, r10
	bl	nla_nest_end
	ldr	r3, [r4]
	cmp	r3, #128
	bne	.L11
	ldr	r3, .L47+40
	mov	r0, r10
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	r3, r0, #0
	str	r3, [sp, #20]
	beq	.L14
	ldr	r0, [r4, #8]
	ldr	r3, [r0, #8]
	cmp	r3, #0
	beq	.L16
	mov	fp, #0
	ldr	r7, .L47+44
	ldr	r8, .L47+48
.L15:
	ldr	r2, [r0, #12]
	ldr	r3, [r7]
	ldr	r2, [r2, fp, lsl #2]
	lsl	r6, fp, #2
	cmp	r2, r3
	beq	.L17
	mov	r0, r10
	ldr	r1, [r8]
	bl	nla_nest_start_noflag
	subs	r5, r0, #0
	beq	.L42
	ldr	r3, .L47+52
	mov	r2, fp
	mov	r0, r10
	ldr	r1, [r3]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L39
	ldr	r3, [r4, #8]
	ldr	r2, .L47+56
	ldr	r3, [r3, #12]
	ldr	r1, [r2]
	mov	r0, r10
	ldr	r2, [r3, r6]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L39
	mov	r1, r5
	mov	r0, r10
	bl	nla_nest_end
	ldr	r0, [r4, #8]
.L17:
	ldr	r3, [r0, #8]
	add	fp, fp, #1
	cmp	r3, fp
	bhi	.L15
.L16:
	ldr	r1, [sp, #20]
	mov	r0, r10
	bl	nla_nest_end
	ldr	r3, .L47+60
	mov	r0, r10
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	r3, r0, #0
	str	r3, [sp, #20]
	beq	.L42
	ldr	r0, [r4, #8]
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L22
	mov	fp, #0
	ldr	r7, .L47+64
	ldr	r8, .L47+68
.L21:
	ldr	r2, [r0, #4]
	ldr	r3, [r7]
	ldr	r2, [r2, fp, lsl #2]
	lsl	r6, fp, #2
	cmp	r2, r3
	beq	.L23
	ldr	r3, .L47+72
	mov	r0, r10
	ldr	r1, [r3]
	bl	nla_nest_start_noflag
	subs	r5, r0, #0
	beq	.L42
	mov	r2, fp
	mov	r0, r10
	ldr	r1, [r8]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L39
	ldr	r3, [r4, #8]
	ldr	r2, .L47+76
	ldr	r3, [r3, #4]
	ldr	r1, [r2]
	mov	r0, r10
	ldr	r2, [r3, r6]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L39
	mov	r1, r5
	mov	r0, r10
	bl	nla_nest_end
	ldr	r0, [r4, #8]
.L23:
	ldr	r3, [r0]
	add	fp, fp, #1
	cmp	r3, fp
	bhi	.L21
.L22:
	mov	r0, r10
	ldr	r1, [sp, #20]
	bl	nla_nest_end
.L11:
	bl	rcu_read_unlock
	ldr	r1, [sp, #28]
	mov	r0, r10
	bl	genlmsg_end
	mov	r0, r10
	ldr	r1, [sp, #12]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	genlmsg_reply
.L14:
	ldr	r3, .L47+80
	ldr	r2, [r3]
	rsb	r2, r2, #0
.L7:
	str	r2, [sp, #12]
	bl	rcu_read_unlock
	ldr	r2, [sp, #12]
.L3:
	mov	r0, r10
	str	r2, [sp, #12]
	bl	kfree_skb
	ldr	r2, [sp, #12]
	mov	r0, r2
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L42:
	ldr	r3, .L47+80
	ldr	r2, [r3]
	rsb	r2, r2, #0
.L19:
	ldr	r3, [sp, #24]
	subs	r3, r3, #1
	str	r3, [sp, #24]
	beq	.L7
	bl	rcu_read_unlock
	mov	r0, r10
	bl	kfree_skb
	ldr	r3, [sp, #16]
	lsl	r3, r3, #1
	str	r3, [sp, #16]
	b	.L2
.L45:
	ldr	r2, .L47+84
	mov	r10, r3
	ldr	r0, [r2]
	rsb	r2, r0, #0
	b	.L3
.L39:
	mov	r2, r0
	b	.L19
.L35:
	mov	r2, r0
	b	.L7
.L43:
	ldr	r3, .L47+80
	ldr	r2, [r3]
	rsb	r2, r2, #0
	b	.L3
.L46:
	ldr	r3, .L47+84
	ldr	r2, [r3]
	rsb	r2, r2, #0
	b	.L7
.L48:
	.align	2
.L47:
	.word	NLBL_CIPSOV4_A_DOI
	.word	NLBL_CIPSOV4_A_TAG
	.word	NLMSG_DEFAULT_SIZE
	.word	GFP_KERNEL
	.word	NLBL_CIPSOV4_C_LIST
	.word	netlbl_cipsov4_gnl_family
	.word	NLBL_CIPSOV4_A_MTYPE
	.word	NLBL_CIPSOV4_A_TAGLST
	.word	CIPSO_V4_TAG_MAXCNT
	.word	CIPSO_V4_TAG_INVALID
	.word	NLBL_CIPSOV4_A_MLSLVLLST
	.word	CIPSO_V4_INV_LVL
	.word	NLBL_CIPSOV4_A_MLSLVL
	.word	NLBL_CIPSOV4_A_MLSLVLLOC
	.word	NLBL_CIPSOV4_A_MLSLVLREM
	.word	NLBL_CIPSOV4_A_MLSCATLST
	.word	CIPSO_V4_INV_CAT
	.word	NLBL_CIPSOV4_A_MLSCATLOC
	.word	NLBL_CIPSOV4_A_MLSCAT
	.word	NLBL_CIPSOV4_A_MLSCATREM
	.word	ENOMEM
	.word	EINVAL
	.size	netlbl_cipsov4_list, .-netlbl_cipsov4_list
	.comm	netlbl_cipsov4_gnl_family,4,4
	.comm	NLMSG_DEFAULT_SIZE,4,4
	.comm	NLBL_CIPSOV4_C_LIST,4,4
	.comm	NLBL_CIPSOV4_A_TAGLST,4,4
	.comm	NLBL_CIPSOV4_A_TAG,4,4
	.comm	NLBL_CIPSOV4_A_MTYPE,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLREM,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLLST,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVLLOC,4,4
	.comm	NLBL_CIPSOV4_A_MLSLVL,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATREM,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATLST,4,4
	.comm	NLBL_CIPSOV4_A_MLSCATLOC,4,4
	.comm	NLBL_CIPSOV4_A_MLSCAT,4,4
	.comm	NLBL_CIPSOV4_A_DOI,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	CIPSO_V4_TAG_MAXCNT,4,4
	.comm	CIPSO_V4_TAG_INVALID,4,4
	.comm	CIPSO_V4_INV_LVL,4,4
	.comm	CIPSO_V4_INV_CAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
