	.file	"extr_rtnl-message.c_sd_rtnl_message_new_link.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sd_rtnl_message_new_link
	.type	sd_rtnl_message_new_link, @function
sd_rtnl_message_new_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	mov	rdi, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, DWORD PTR EINVAL[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	neg	r13d
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	call	rtnl_message_type_is_link@PLT
	mov	esi, r13d
	mov	rdi, rax
	call	assert_return@PLT
	mov	esi, DWORD PTR EINVAL[rip]
	mov	rdi, rbp
	neg	esi
	call	assert_return@PLT
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r14
	call	message_new@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR RTM_NEWLINK[rip], rbx
	mov	rdi, QWORD PTR [rax]
	je	.L6
.L3:
	call	NLMSG_DATA@PLT
	mov	edx, DWORD PTR AF_UNSPEC[rip]
	mov	DWORD PTR [rax], r12d
	mov	DWORD PTR 4[rax], edx
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR NLM_F_CREATE[rip]
	or	eax, DWORD PTR NLM_F_EXCL[rip]
	or	DWORD PTR [rdi], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	sd_rtnl_message_new_link, .-sd_rtnl_message_new_link
	.comm	RTM_NEWLINK,8,8
	.comm	NLM_F_EXCL,4,4
	.comm	NLM_F_CREATE,4,4
	.comm	EINVAL,4,4
	.comm	AF_UNSPEC,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_rtnl-message.c_sd_rtnl_message_new_link.c"
	.text
	.align	2
	.global	sd_rtnl_message_new_link
	.syntax unified
	.arm
	.fpu softvfp
	.type	sd_rtnl_message_new_link, %function
sd_rtnl_message_new_link:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r2
	mov	r6, r0
	ldr	r8, .L7
	mov	r0, r2
	mov	r7, r3
	bl	rtnl_message_type_is_link
	ldr	r1, [r8]
	rsb	r1, r1, #0
	bl	assert_return
	ldr	r1, [r8]
	mov	r0, r5
	rsb	r1, r1, #0
	bl	assert_return
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	message_new
	cmp	r0, #0
	poplt	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L7+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r0, [r2]
	cmp	r3, r4
	beq	.L6
.L3:
	bl	NLMSG_DATA
	mov	r3, r0
	ldr	r2, .L7+8
	mov	r0, #0
	ldr	r2, [r2]
	str	r7, [r3]
	str	r2, [r3, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L7+12
	ldr	r2, .L7+16
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r0]
	orr	r2, r2, r1
	orr	r3, r3, r2
	str	r3, [r0]
	b	.L3
.L8:
	.align	2
.L7:
	.word	EINVAL
	.word	RTM_NEWLINK
	.word	AF_UNSPEC
	.word	NLM_F_EXCL
	.word	NLM_F_CREATE
	.size	sd_rtnl_message_new_link, .-sd_rtnl_message_new_link
	.comm	RTM_NEWLINK,4,4
	.comm	NLM_F_EXCL,4,4
	.comm	NLM_F_CREATE,4,4
	.comm	EINVAL,4,4
	.comm	AF_UNSPEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
