	.file	"extr_dcbnl.c_dcb_doit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dcb_doit, @function
dcb_doit:
.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdi
	push	r13
	push	r12
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 56
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	sock_net@PLT
	mov	rdi, r12
	mov	QWORD PTR -72[rbp], rax
	call	nlmsg_data@PLT
	mov	rcx, rsp
	mov	r13, rax
	mov	eax, DWORD PTR DCB_ATTR_MAX[rip]
	add	eax, 1
	cdqe
	lea	rax, 15[0+rax*8]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	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	rdi, r14
	mov	r15, rsp
	call	NETLINK_CB@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR RTM_SETDCB[rip]
	cmp	QWORD PTR [r12], rax
	je	.L26
.L5:
	mov	r8d, DWORD PTR dcbnl_rtnl_policy[rip]
	mov	r9, rbx
	mov	rdx, r15
	mov	rdi, r12
	mov	ecx, DWORD PTR DCB_ATTR_MAX[rip]
	mov	esi, 8
	call	nlmsg_parse_deprecated@PLT
	mov	r9d, eax
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 0[r13]
	cmp	rax, QWORD PTR DCB_CMD_MAX[rip]
	ja	.L9
	sal	rax, 4
	add	rax, QWORD PTR reply_funcs[rip]
	cmp	QWORD PTR [rax], 0
	mov	rbx, rax
	je	.L22
	mov	rax, QWORD PTR DCB_ATTR_IFNAME[rip]
	mov	rdi, QWORD PTR [r15+rax*8]
	test	rdi, rdi
	je	.L9
	call	nla_data@PLT
	mov	rdi, QWORD PTR -72[rbp]
	mov	esi, eax
	call	__dev_get_by_name@PLT
	mov	r9d, DWORD PTR ENODEV[rip]
	mov	r10, rax
	neg	r9d
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L22
	mov	rsi, QWORD PTR 0[r13]
	mov	edi, DWORD PTR 8[rbx]
	lea	r9, -64[rbp]
	mov	QWORD PTR -88[rbp], r10
	mov	ecx, DWORD PTR 8[r12]
	mov	r8d, DWORD PTR 12[r12]
	mov	edx, DWORD PTR -76[rbp]
	call	dcbnl_newmsg@PLT
	mov	r9d, DWORD PTR ENOBUFS[rip]
	mov	r10, QWORD PTR -88[rbp]
	mov	r13, rax
	neg	r9d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR 8[r12]
	mov	r8, rax
	mov	rcx, r15
	mov	rsi, r12
	mov	rdi, r10
	call	[QWORD PTR [rbx]]
	test	eax, eax
	js	.L27
	mov	rsi, QWORD PTR -64[rbp]
	mov	rdi, r13
	call	nlmsg_end@PLT
	mov	edx, DWORD PTR -76[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	rdi, r13
	call	rtnl_unicast@PLT
	mov	r9d, eax
	.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, r9d
	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
.L26:
	.cfi_restore_state
	mov	esi, DWORD PTR CAP_NET_ADMIN[rip]
	mov	rdi, r14
	call	netlink_capable@PLT
	mov	r9d, DWORD PTR EPERM[rip]
	neg	r9d
	test	eax, eax
	jne	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r9d, DWORD PTR EINVAL[rip]
	neg	r9d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	mov	r9d, DWORD PTR EOPNOTSUPP[rip]
	neg	r9d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, r13
	mov	DWORD PTR -72[rbp], eax
	call	nlmsg_free@PLT
	mov	r9d, DWORD PTR -72[rbp]
	jmp	.L1
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dcb_doit, .-dcb_doit
	.comm	reply_funcs,8,8
	.comm	dcbnl_rtnl_policy,4,4
	.comm	RTM_SETDCB,8,8
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENODEV,4,4
	.comm	ENOBUFS,4,4
	.comm	EINVAL,4,4
	.comm	DCB_CMD_MAX,8,8
	.comm	DCB_ATTR_MAX,4,4
	.comm	DCB_ATTR_IFNAME,8,8
	.comm	CAP_NET_ADMIN,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_dcbnl.c_dcb_doit.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcb_doit, %function
dcb_doit:
	@ args = 0, 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	r3, .L23
	mov	r10, r0
	ldr	r0, [r0]
	mov	r4, r1
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	sock_net
	mov	r6, r0
	mov	r0, r4
	bl	nlmsg_data
	ldr	r7, .L23+4
	mov	r5, r0
	ldr	r3, [r7]
	mov	r0, r10
	lsl	r3, r3, #2
	add	r3, r3, #11
	bic	r3, r3, #7
	sub	sp, sp, r3
	bl	NETLINK_CB
	mov	r3, #0
	ldr	r1, .L23+8
	ldr	ip, [r4]
	ldr	r1, [r1]
	str	r0, [fp, #-48]
	cmp	ip, r1
	add	r8, sp, #8
	str	r3, [fp, #-44]
	beq	.L18
.L2:
	ldr	r3, .L23+12
	str	r9, [sp, #4]
	ldr	r1, [r3]
	mov	r2, r8
	ldr	r3, [r7]
	mov	r0, r4
	str	r1, [sp]
	mov	r1, #4
	bl	nlmsg_parse_deprecated
	subs	r9, r0, #0
	blt	.L1
	ldr	r3, .L23+16
	ldr	r9, [r5]
	ldr	r3, [r3]
	cmp	r9, r3
	bhi	.L6
	ldr	r3, .L23+20
	ldr	r10, [r3]
	ldr	r2, [r10, r9, lsl #3]
	add	r3, r10, r9, lsl #3
	cmp	r2, #0
	beq	.L16
	ldr	r2, .L23+24
	str	r3, [fp, #-52]
	ldr	r2, [r2]
	ldr	r0, [r8, r2, lsl #2]
	cmp	r0, #0
	beq	.L6
	bl	nla_data
	mov	r1, r0
	mov	r0, r6
	bl	__dev_get_by_name
	subs	r3, r0, #0
	mov	r7, r3
	ldr	r3, [fp, #-52]
	beq	.L19
	ldr	r2, [r7]
	cmp	r2, #0
	beq	.L16
	ldr	r2, [r4, #8]
	ldr	r0, [r3, #4]
	sub	r3, fp, #44
	ldr	r1, [r5]
	stm	sp, {r2, r3}
	ldr	r2, [fp, #-48]
	ldr	r3, [r4, #4]
	bl	dcbnl_newmsg
	subs	r5, r0, #0
	beq	.L20
	str	r5, [sp]
	ldr	r9, [r10, r9, lsl #3]
	mov	r3, r8
	mov	r0, r7
	mov	r1, r4
	ldr	r2, [r4, #4]
	blx	r9
	subs	r9, r0, #0
	blt	.L21
	ldr	r1, [fp, #-44]
	mov	r0, r5
	bl	nlmsg_end
	mov	r1, r6
	mov	r0, r5
	ldr	r2, [fp, #-48]
	bl	rtnl_unicast
	mov	r9, r0
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r9
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r3, .L23+28
	ldr	r9, [r3]
	rsb	r9, r9, #0
	b	.L1
.L18:
	ldr	r3, .L23+32
	mov	r0, r10
	ldr	r1, [r3]
	bl	netlink_capable
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L23+36
	ldr	r9, [r3]
	rsb	r9, r9, #0
	b	.L1
.L16:
	ldr	r3, .L23+40
	ldr	r9, [r3]
	rsb	r9, r9, #0
	b	.L1
.L19:
	ldr	r3, .L23+44
	ldr	r9, [r3]
	rsb	r9, r9, #0
	b	.L1
.L21:
	mov	r0, r5
	bl	nlmsg_free
	b	.L1
.L20:
	ldr	r3, .L23+48
	ldr	r9, [r3]
	rsb	r9, r9, #0
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	DCB_ATTR_MAX
	.word	RTM_SETDCB
	.word	dcbnl_rtnl_policy
	.word	DCB_CMD_MAX
	.word	reply_funcs
	.word	DCB_ATTR_IFNAME
	.word	EINVAL
	.word	CAP_NET_ADMIN
	.word	EPERM
	.word	EOPNOTSUPP
	.word	ENODEV
	.word	ENOBUFS
	.size	dcb_doit, .-dcb_doit
	.comm	reply_funcs,4,4
	.comm	dcbnl_rtnl_policy,4,4
	.comm	RTM_SETDCB,4,4
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENODEV,4,4
	.comm	ENOBUFS,4,4
	.comm	EINVAL,4,4
	.comm	DCB_CMD_MAX,4,4
	.comm	DCB_ATTR_MAX,4,4
	.comm	DCB_ATTR_IFNAME,4,4
	.comm	CAP_NET_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
