	.file	"extr_ctrl_iface.c_set_bssid_filter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bssid_filter"
	.text
	.p2align 4
	.type	set_bssid_filter, @function
set_bssid_filter:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -56
	mov	QWORD PTR -80[rbp], rdi
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ETH_ALEN[rip]
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L20:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L20
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L21
.L4:
	mov	r14, rsp
	test	r12, r12
	je	.L13
	xor	r15d, r15d
	xor	r13d, r13d
	cmp	BYTE PTR [r12], 0
	je	.L22
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, r14
	mov	rdi, r12
	call	hwaddr_aton@PLT
	test	rax, rax
	jne	.L18
	mov	edx, DWORD PTR ETH_ALEN[rip]
	lea	rbx, 1[r13]
	mov	rdi, r15
	mov	rsi, rbx
	call	os_realloc_array@PLT
	mov	r8, rax
	test	rax, rax
	je	.L18
	movsx	rax, DWORD PTR ETH_ALEN[rip]
	mov	rsi, r14
	mov	QWORD PTR -72[rbp], r8
	imul	r13, rax
	mov	rdx, rax
	lea	rdi, [r8+r13*4]
	call	os_memcpy@PLT
	mov	esi, 32
	mov	rdi, r12
	call	os_strchr@PLT
	mov	r8, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L23
	cmp	BYTE PTR 1[rax], 0
	lea	r12, 1[rax]
	mov	r15, r8
	mov	r13, rbx
	jne	.L6
.L22:
	movsx	rcx, DWORD PTR ETH_ALEN[rip]
	mov	r8, r15
	mov	rbx, r13
	imul	rcx, r13
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rdx, r8
	lea	rsi, .LC0[rip]
	mov	QWORD PTR -72[rbp], r8
	call	wpa_hexdump@PLT
	mov	r15, QWORD PTR -80[rbp]
	mov	rdi, QWORD PTR 8[r15]
	call	os_free@PLT
	mov	r8, QWORD PTR -72[rbp]
	mov	QWORD PTR [r15], rbx
	xor	eax, eax
	mov	QWORD PTR 8[r15], r8
.L1:
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	movsx	rcx, DWORD PTR ETH_ALEN[rip]
	imul	rcx, rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r15
	call	os_free@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L13:
	xor	r8d, r8d
	xor	ecx, ecx
	xor	ebx, ebx
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_bssid_filter, .-set_bssid_filter
	.comm	MSG_DEBUG,4,4
	.comm	ETH_ALEN,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_ctrl_iface.c_set_bssid_filter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bssid_filter\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_bssid_filter, %function
set_bssid_filter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r8, .L17
	str	r0, [fp, #-48]
	ldr	r3, [r8]
	subs	r4, r1, #0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L17+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	beq	.L10
	mov	r10, #0
	ldrb	r3, [r4]	@ zero_extendqisi2
	mov	r9, sp
	cmp	r3, #0
	mov	r6, r10
	beq	.L14
.L3:
	mov	r1, r9
	mov	r0, r4
	bl	hwaddr_aton
	cmp	r0, #0
	bne	.L12
	add	r7, r6, #1
	mov	r1, r7
	mov	r0, r10
	ldr	r2, [r8]
	bl	os_realloc_array
	subs	r5, r0, #0
	beq	.L12
	ldr	r2, [r8]
	mov	r1, r9
	mul	r0, r6, r2
	add	r0, r5, r0, lsl #2
	bl	os_memcpy
	mov	r0, r4
	mov	r1, #32
	bl	os_strchr
	cmp	r0, #0
	beq	.L15
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	add	r4, r0, #1
	cmp	r3, #0
	mov	r10, r5
	mov	r6, r7
	bne	.L3
.L14:
	ldr	r3, [r8]
	mov	r5, r10
	mov	r7, r6
	mul	r3, r6, r3
	b	.L2
.L15:
	ldr	r3, [r8]
	mul	r3, r7, r3
.L2:
	ldr	r2, .L17+8
	ldr	r1, .L17+12
	ldr	r0, [r2]
	mov	r2, r5
	bl	wpa_hexdump
	ldr	r4, [fp, #-48]
	ldr	r0, [r4, #4]
	bl	os_free
	mov	r0, #0
	str	r5, [r4, #4]
	str	r7, [r4]
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r0, r10
	bl	os_free
	mvn	r0, #0
	b	.L1
.L10:
	mov	r5, r4
	mov	r3, r4
	mov	r7, r4
	b	.L2
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	ETH_ALEN
	.word	.LC1
	.word	MSG_DEBUG
	.word	.LC0
	.size	set_bssid_filter, .-set_bssid_filter
	.comm	MSG_DEBUG,4,4
	.comm	ETH_ALEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
