	.file	"extr_drp-avail.c_uwb_drp_avail_ie_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	uwb_drp_avail_ie_update
	.type	uwb_drp_avail_ie_update, @function
uwb_drp_avail_ie_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR 16[rdi]
	mov	esi, DWORD PTR 20[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	ecx, DWORD PTR UWB_NUM_MAS[rip]
	mov	edi, DWORD PTR 4[rsp]
	call	bitmap_and@PLT
	mov	edx, DWORD PTR UWB_NUM_MAS[rip]
	mov	eax, DWORD PTR UWB_IE_DRP_AVAILABILITY[rip]
	lea	rsi, 4[rsp]
	mov	edi, DWORD PTR 4[rbx]
	test	edx, edx
	mov	DWORD PTR 12[rbx], eax
	lea	eax, 7[rdx]
	cmovns	eax, edx
	sar	eax, 3
	mov	DWORD PTR 8[rbx], eax
	call	uwb_mas_bm_copy_le@PLT
	mov	DWORD PTR [rbx], 1
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uwb_drp_avail_ie_update, .-uwb_drp_avail_ie_update
	.comm	UWB_NUM_MAS,4,4
	.comm	UWB_IE_DRP_AVAILABILITY,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_drp-avail.c_uwb_drp_avail_ie_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	uwb_drp_avail_ie_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	uwb_drp_avail_ie_update, %function
uwb_drp_avail_ie_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L6
	sub	sp, sp, #12
	ldr	ip, .L6+4
	mov	r4, r0
	ldr	r2, [r0, #16]
	ldr	r1, [r0, #20]
	ldr	r3, [r5]
	ldr	r0, [sp]
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bl	bitmap_and
	ldr	r3, [r5]
	ldr	r2, .L6+8
	cmp	r3, #0
	add	r1, r3, #7
	movlt	r3, r1
	ldr	r2, [r2]
	asr	r3, r3, #3
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	mov	r1, sp
	ldr	r0, [r4, #4]
	bl	uwb_mas_bm_copy_le
	mov	r3, #1
	str	r3, [r4]
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	UWB_NUM_MAS
	.word	.LC0
	.word	UWB_IE_DRP_AVAILABILITY
	.size	uwb_drp_avail_ie_update, .-uwb_drp_avail_ie_update
	.comm	UWB_NUM_MAS,4,4
	.comm	UWB_IE_DRP_AVAILABILITY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
