	.file	"extr_main.c_wlcore_roc_if_possible.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlcore_roc_if_possible, @function
wlcore_roc_if_possible:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR WL12XX_MAX_ROLES[rip]
	mov	edi, DWORD PTR [rdi]
	call	find_first_bit@PLT
	cmp	rax, QWORD PTR WL12XX_MAX_ROLES[rip]
	jge	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	edi, edi
	mov	rax, QWORD PTR WL12XX_INVALID_ROLE_ID[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	mov	ecx, DWORD PTR 12[rbp]
	mov	r8d, DWORD PTR 8[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	mov	rdx, QWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	wl12xx_roc@PLT
	.cfi_endproc
.LFE0:
	.size	wlcore_roc_if_possible, .-wlcore_roc_if_possible
	.comm	WL12XX_MAX_ROLES,8,8
	.comm	WL12XX_INVALID_ROLE_ID,8,8
	.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_main.c_wlcore_roc_if_possible.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlcore_roc_if_possible, %function
wlcore_roc_if_possible:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L8
	mov	r6, r0
	mov	r4, r1
	ldr	r0, [r0]
	ldr	r1, [r5]
	sub	sp, sp, #8
	bl	find_first_bit
	ldr	r3, [r5]
	cmp	r0, r3
	bge	.L7
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L8+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	bne	.L1
	ldr	r3, [r4, #4]
	mov	r0, r6
	str	r3, [sp]
	mov	r1, r4
	ldr	r3, [r4, #8]
	ldr	r2, [r4]
	bl	wl12xx_roc
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	WL12XX_MAX_ROLES
	.word	WL12XX_INVALID_ROLE_ID
	.size	wlcore_roc_if_possible, .-wlcore_roc_if_possible
	.comm	WL12XX_MAX_ROLES,4,4
	.comm	WL12XX_INVALID_ROLE_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
