	.file	"extr_dcbnl.c_dcbnl_getfeatcfg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dcbnl_getfeatcfg, @function
dcbnl_getfeatcfg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, r8
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	mov	esi, DWORD PTR DCB_FEATCFG_ATTR_MAX[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	eax, 1[rsi]
	cdqe
	lea	rax, 15[0+rax*8]
	mov	rdx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	rax, QWORD PTR [rbx]
	mov	r13d, DWORD PTR EOPNOTSUPP[rip]
	mov	QWORD PTR -88[rbp], rsp
	neg	r13d
	cmp	QWORD PTR [rax], 0
	je	.L1
	mov	rax, QWORD PTR DCB_ATTR_FEATCFG[rip]
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	rdx, QWORD PTR [rcx+rax*8]
	neg	r13d
	test	rdx, rdx
	je	.L1
	mov	ecx, DWORD PTR dcbnl_featcfg_nest[rip]
	mov	rdi, QWORD PTR -88[rbp]
	xor	r8d, r8d
	call	nla_parse_nested_deprecated@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	rsi, QWORD PTR DCB_ATTR_FEATCFG[rip]
	mov	rdi, r12
	call	nla_nest_start_noflag@PLT
	mov	QWORD PTR -96[rbp], rax
	test	rax, rax
	je	.L26
	mov	rcx, QWORD PTR DCB_FEATCFG_ATTR_ALL[rip]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax+rcx*8]
	add	ecx, 1
	cmp	DWORD PTR DCB_FEATCFG_ATTR_MAX[rip], ecx
	mov	QWORD PTR -80[rbp], rax
	jl	.L9
	movsx	r14, ecx
	lea	r15, -60[rbp]
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	QWORD PTR -80[rbp], 0
	mov	esi, r14d
	jne	.L10
	mov	rax, QWORD PTR -88[rbp]
	cmp	QWORD PTR [rax+r14*8], 0
	je	.L11
.L10:
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR -68[rbp], esi
	mov	rdx, r15
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	mov	esi, DWORD PTR -68[rbp]
	test	eax, eax
	mov	edx, eax
	je	.L27
.L12:
	mov	rsi, QWORD PTR -96[rbp]
	mov	rdi, r12
	mov	DWORD PTR -68[rbp], edx
	call	nla_nest_cancel@PLT
	mov	edx, DWORD PTR -68[rbp]
	mov	r13d, edx
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	lea	rsp, -40[rbp]
	mov	eax, r13d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	edx, DWORD PTR -60[rbp]
	mov	rdi, r12
	call	nla_put_u8@PLT
	mov	edx, eax
	test	eax, eax
	jne	.L12
.L11:
	add	r14, 1
	cmp	DWORD PTR DCB_FEATCFG_ATTR_MAX[rip], r14d
	jge	.L13
.L9:
	mov	rsi, QWORD PTR -96[rbp]
	mov	rdi, r12
	call	nla_nest_end@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	r13d, DWORD PTR EMSGSIZE[rip]
	neg	r13d
	jmp	.L1
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dcbnl_getfeatcfg, .-dcbnl_getfeatcfg
	.comm	dcbnl_featcfg_nest,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EMSGSIZE,4,4
	.comm	EINVAL,4,4
	.comm	DCB_FEATCFG_ATTR_MAX,4,4
	.comm	DCB_FEATCFG_ATTR_ALL,8,8
	.comm	DCB_ATTR_FEATCFG,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_dcbnl.c_dcbnl_getfeatcfg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcbnl_getfeatcfg, %function
dcbnl_getfeatcfg:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r6, .L27
	ldr	r2, [r0]
	ldr	r1, [r6]
	mov	r4, r0
	ldr	r0, [r2]
	lsl	r2, r1, #2
	add	r2, r2, #11
	bic	r2, r2, #7
	sub	sp, sp, r2
	ldr	r2, .L27+4
	cmp	r0, #0
	ldr	r2, [r2]
	str	r2, [fp, #-40]
	mov	r2,#0
	ldr	r7, [fp, #4]
	beq	.L21
	ldr	r9, .L27+8
	ldr	r2, [r9]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	beq	.L22
	mov	r0, #0
	ldr	r3, .L27+12
	str	r0, [sp]
	add	r8, sp, #8
	mov	r0, r8
	ldr	r3, [r3]
	bl	nla_parse_nested_deprecated
	subs	r5, r0, #0
	beq	.L23
.L1:
	ldr	r3, .L27+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r5
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	mov	r0, r7
	ldr	r1, [r9]
	bl	nla_nest_start_noflag
	subs	r3, r0, #0
	str	r3, [fp, #-48]
	beq	.L25
	ldr	r3, .L27+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	add	r10, r3, #1
	cmp	r2, r10
	ldr	r9, [r8, r3, lsl #2]
	blt	.L6
.L10:
	cmp	r9, #0
	bne	.L7
	ldr	r3, [r8, r10, lsl #2]
	cmp	r3, #0
	beq	.L8
.L7:
	ldr	r3, [r4]
	mov	r1, r10
	ldr	r3, [r3]
	mov	r0, r4
	sub	r2, fp, #44
	blx	r3
	subs	r3, r0, #0
	beq	.L26
.L9:
	mov	r0, r7
	ldr	r1, [fp, #-48]
	str	r3, [fp, #-52]
	bl	nla_nest_cancel
	ldr	r3, [fp, #-52]
	mov	r5, r3
	b	.L1
.L26:
	mov	r1, r10
	mov	r0, r7
	ldr	r2, [fp, #-44]
	bl	nla_put_u8
	subs	r3, r0, #0
	bne	.L9
.L8:
	ldr	r3, [r6]
	add	r10, r10, #1
	cmp	r3, r10
	bge	.L10
.L6:
	mov	r0, r7
	ldr	r1, [fp, #-48]
	bl	nla_nest_end
	b	.L1
.L22:
	ldr	r3, .L27+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L21:
	ldr	r3, .L27+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L25:
	ldr	r3, .L27+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L24:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	DCB_FEATCFG_ATTR_MAX
	.word	.LC0
	.word	DCB_ATTR_FEATCFG
	.word	dcbnl_featcfg_nest
	.word	DCB_FEATCFG_ATTR_ALL
	.word	EINVAL
	.word	EOPNOTSUPP
	.word	EMSGSIZE
	.size	dcbnl_getfeatcfg, .-dcbnl_getfeatcfg
	.comm	dcbnl_featcfg_nest,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EMSGSIZE,4,4
	.comm	EINVAL,4,4
	.comm	DCB_FEATCFG_ATTR_MAX,4,4
	.comm	DCB_FEATCFG_ATTR_ALL,4,4
	.comm	DCB_ATTR_FEATCFG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
