	.file	"extr_ib_multicast.c_get_leave_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_leave_state, @function
get_leave_state:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR NUM_JOIN_MEMBERSHIP_TYPES[rip]
	test	eax, eax
	jle	.L5
	lea	esi, -1[rax]
	mov	r8, QWORD PTR 8[rdi]
	xor	ecx, ecx
	xor	eax, eax
	mov	r9d, 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rcx, rdx
.L4:
	mov	edx, DWORD PTR [r8+rcx*4]
	test	edx, edx
	jne	.L3
	mov	edx, r9d
	sal	edx, cl
	or	eax, edx
.L3:
	lea	rdx, 1[rcx]
	cmp	rcx, rsi
	jne	.L6
	and	eax, DWORD PTR [rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	and	eax, DWORD PTR [rdi]
	ret
	.cfi_endproc
.LFE0:
	.size	get_leave_state, .-get_leave_state
	.comm	NUM_JOIN_MEMBERSHIP_TYPES,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_ib_multicast.c_get_leave_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_leave_state, %function
get_leave_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, lr}
	ldr	ip, [r3]
	cmp	ip, #0
	ble	.L5
	mov	r2, #0
	mov	r4, #1
	mov	lr, r2
	ldr	r3, [r0, #4]
	add	ip, r3, ip, lsl #2
	sub	ip, ip, #4
	sub	r3, r3, #4
.L4:
	ldr	r1, [r3, #4]!
	cmp	r1, #0
	orreq	lr, lr, r4, lsl r2
	cmp	r3, ip
	add	r2, r2, #1
	bne	.L4
.L2:
	ldr	r0, [r0]
	and	r0, r0, lr
	pop	{r4, pc}
.L5:
	mov	lr, #0
	b	.L2
.L10:
	.align	2
.L9:
	.word	NUM_JOIN_MEMBERSHIP_TYPES
	.size	get_leave_state, .-get_leave_state
	.comm	NUM_JOIN_MEMBERSHIP_TYPES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
