	.file	"extr_multicast.c_batadv_mcast_tvlv_flags_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	batadv_mcast_tvlv_flags_get, @function
batadv_mcast_tvlv_flags_get:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR BATADV_NO_FLAGS[rip]
	mov	r8d, DWORD PTR BATADV_MCAST_WANT_ALL_IPV4[rip]
	mov	ecx, DWORD PTR BATADV_MCAST_WANT_ALL_IPV6[rip]
	test	edi, edi
	je	.L18
	test	rsi, rsi
	je	.L2
	cmp	edx, 3
	ja	.L20
.L3:
	test	eax, r8d
	je	.L4
	or	eax, DWORD PTR BATADV_MCAST_WANT_NO_RTR4[rip]
.L4:
	test	eax, ecx
	je	.L1
	or	eax, DWORD PTR BATADV_MCAST_WANT_NO_RTR6[rip]
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	test	edi, edi
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	or	eax, r8d
	or	eax, ecx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, DWORD PTR [rsi]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	batadv_mcast_tvlv_flags_get, .-batadv_mcast_tvlv_flags_get
	.comm	BATADV_NO_FLAGS,4,4
	.comm	BATADV_MCAST_WANT_NO_RTR6,4,4
	.comm	BATADV_MCAST_WANT_NO_RTR4,4,4
	.comm	BATADV_MCAST_WANT_ALL_IPV6,4,4
	.comm	BATADV_MCAST_WANT_ALL_IPV4,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_multicast.c_batadv_mcast_tvlv_flags_get.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	batadv_mcast_tvlv_flags_get, %function
batadv_mcast_tvlv_flags_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	cmpne	r1, #0
	push	{r4, lr}
	ldr	ip, .L14
	ldr	r4, .L14+4
	ldr	lr, .L14+8
	mov	r3, r0
	ldr	lr, [lr]
	ldr	r0, [r4]
	ldr	ip, [ip]
	beq	.L2
	cmp	r2, #3
	ldrhi	r0, [r1]
.L3:
	tst	r0, lr
	ldrne	r3, .L14+12
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	tst	r0, ip
	ldrne	r3, .L14+16
	ldrne	r3, [r3]
	orrne	r0, r0, r3
	pop	{r4, pc}
.L2:
	cmp	r3, #0
	orreq	r0, r0, lr
	orreq	r0, r0, ip
	b	.L3
.L15:
	.align	2
.L14:
	.word	BATADV_MCAST_WANT_ALL_IPV6
	.word	BATADV_NO_FLAGS
	.word	BATADV_MCAST_WANT_ALL_IPV4
	.word	BATADV_MCAST_WANT_NO_RTR4
	.word	BATADV_MCAST_WANT_NO_RTR6
	.size	batadv_mcast_tvlv_flags_get, .-batadv_mcast_tvlv_flags_get
	.comm	BATADV_NO_FLAGS,4,4
	.comm	BATADV_MCAST_WANT_NO_RTR6,4,4
	.comm	BATADV_MCAST_WANT_NO_RTR4,4,4
	.comm	BATADV_MCAST_WANT_ALL_IPV6,4,4
	.comm	BATADV_MCAST_WANT_ALL_IPV4,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
