	.file	"extr_ipmr.c_ipmr_fill_mroute.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipmr_fill_mroute, @function
ipmr_fill_mroute:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	mov	r8d, 48
	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
	mov	rbp, rsi
	mov	esi, edx
	mov	edx, ecx
	mov	ecx, r9d
	mov	r9d, DWORD PTR 48[rsp]
	mov	rdi, rbp
	call	nlmsg_put@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rax
	mov	r13, rax
	call	nlmsg_data@PLT
	mov	rdi, rbp
	mov	r12, rax
	mov	eax, DWORD PTR RTNL_FAMILY_IPMR[rip]
	mov	QWORD PTR 32[r12], 0
	mov	DWORD PTR 40[r12], eax
	movabs	rax, 137438953504
	mov	QWORD PTR [r12], rax
	mov	edx, DWORD PTR [r15]
	mov	esi, DWORD PTR RTA_TABLE[rip]
	mov	DWORD PTR 28[r12], edx
	call	nla_put_u32@PLT
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR RTN_MULTICAST[rip]
	mov	edx, DWORD PTR 8[r14]
	mov	rdi, rbp
	mov	esi, DWORD PTR RTA_SRC[rip]
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR RT_SCOPE_UNIVERSE[rip]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR [r14]
	mov	QWORD PTR 8[r12], 0
	test	DWORD PTR MFC_STATIC[rip], eax
	mov	eax, DWORD PTR RTPROT_STATIC[rip]
	cmove	eax, DWORD PTR RTPROT_MROUTED[rip]
	mov	DWORD PTR 16[r12], eax
	call	nla_put_in_addr@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR 4[r14]
	mov	esi, DWORD PTR RTA_DST[rip]
	mov	rdi, rbp
	call	nla_put_in_addr@PLT
	test	rax, rax
	je	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, r13
	mov	rdi, rbp
	call	nlmsg_cancel@PLT
.L9:
	mov	eax, DWORD PTR EMSGSIZE[rip]
	neg	eax
.L1:
	pop	rbp
	.cfi_remember_state
	.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
.L11:
	.cfi_restore_state
	mov	rcx, r12
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r15
	call	mr_fill_mroute@PLT
	test	eax, eax
	jns	.L7
	add	eax, DWORD PTR ENOENT[rip]
	jne	.L4
.L7:
	mov	rsi, r13
	mov	rdi, rbp
	call	nlmsg_end@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ipmr_fill_mroute, .-ipmr_fill_mroute
	.comm	RT_SCOPE_UNIVERSE,4,4
	.comm	RTPROT_STATIC,4,4
	.comm	RTPROT_MROUTED,4,4
	.comm	RTN_MULTICAST,4,4
	.comm	RTNL_FAMILY_IPMR,4,4
	.comm	RTA_TABLE,4,4
	.comm	RTA_SRC,4,4
	.comm	RTA_DST,4,4
	.comm	MFC_STATIC,4,4
	.comm	ENOENT,4,4
	.comm	EMSGSIZE,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_ipmr.c_ipmr_fill_mroute.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipmr_fill_mroute, %function
ipmr_fill_mroute:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r1
	mov	lr, #36
	sub	sp, sp, #12
	ldr	ip, [sp, #48]
	mov	r1, r2
	mov	r8, r0
	mov	r2, r3
	mov	r0, r5
	ldr	r3, [sp, #44]
	str	lr, [sp]
	str	ip, [sp, #4]
	ldr	r9, [sp, #40]
	bl	nlmsg_put
	subs	r7, r0, #0
	beq	.L9
	bl	nlmsg_data
	mov	r1, #0
	mov	r4, r0
	mov	r3, #32
	ldr	r0, .L12
	ldr	r2, [r8]
	ldr	r0, [r0]
	str	r1, [r4, #28]
	ldr	r1, .L12+4
	str	r0, [r4, #32]
	ldr	r1, [r1]
	mov	r0, r5
	str	r3, [r4]
	str	r3, [r4, #4]
	str	r2, [r4, #24]
	bl	nla_put_u32
	cmp	r0, #0
	bne	.L4
	ldr	r2, .L12+8
	ldr	r0, [r9]
	ldr	r2, [r2]
	ldr	r3, .L12+12
	str	r2, [r4, #20]
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r3, .L12+16
	tst	r0, r1
	ldr	r3, [r3]
	mov	r0, r5
	str	r3, [r4, #16]
	ldrne	r3, .L12+20
	ldreq	r3, .L12+24
	ldr	r1, [r3]
	ldr	r3, .L12+28
	str	r1, [r4, #12]
	str	r2, [r4, #8]
	ldr	r1, [r3]
	ldr	r2, [r9, #8]
	bl	nla_put_in_addr
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L12+32
	mov	r0, r5
	ldr	r2, [r9, #4]
	ldr	r1, [r3]
	bl	nla_put_in_addr
	subs	r6, r0, #0
	beq	.L11
.L4:
	mov	r1, r7
	mov	r0, r5
	bl	nlmsg_cancel
.L9:
	ldr	r3, .L12+36
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	r3, r4
	mov	r2, r9
	mov	r0, r8
	mov	r1, r5
	bl	mr_fill_mroute
	cmp	r0, #0
	bge	.L7
	ldr	r3, .L12+40
	ldr	r3, [r3]
	cmn	r0, r3
	bne	.L4
.L7:
	mov	r1, r7
	mov	r0, r5
	bl	nlmsg_end
	b	.L1
.L13:
	.align	2
.L12:
	.word	RTNL_FAMILY_IPMR
	.word	RTA_TABLE
	.word	RTN_MULTICAST
	.word	MFC_STATIC
	.word	RT_SCOPE_UNIVERSE
	.word	RTPROT_STATIC
	.word	RTPROT_MROUTED
	.word	RTA_SRC
	.word	RTA_DST
	.word	EMSGSIZE
	.word	ENOENT
	.size	ipmr_fill_mroute, .-ipmr_fill_mroute
	.comm	RT_SCOPE_UNIVERSE,4,4
	.comm	RTPROT_STATIC,4,4
	.comm	RTPROT_MROUTED,4,4
	.comm	RTN_MULTICAST,4,4
	.comm	RTNL_FAMILY_IPMR,4,4
	.comm	RTA_TABLE,4,4
	.comm	RTA_SRC,4,4
	.comm	RTA_DST,4,4
	.comm	MFC_STATIC,4,4
	.comm	ENOENT,4,4
	.comm	EMSGSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
