	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_scan_res                ## -- Begin function filter_scan_res
	.p2align	4, 0x90
_filter_scan_res:                       ## @filter_scan_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	cmpq	$0, (%rsi)
	je	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_os_free
	movq	8(%r12), %rax
	movq	$0, (%rax,%rbx,8)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r12), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpa_supplicant_filter_bssid_match
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, (%rcx,%r15,8)
	incq	%r15
	jmp	LBB0_6
LBB0_7:
	cmpq	%r15, %rdx
	je	LBB0_9
## %bb.8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	%r15d, %edx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wpa_printf
	movq	%r15, (%r12)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Filtered out %d scan results"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_scan_res                ; -- Begin function filter_scan_res
	.p2align	2
_filter_scan_res:                       ; @filter_scan_res
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x21, #0
	mov	x22, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_os_free
	ldr	x8, [x19, #8]
	str	xzr, [x8, x22, lsl #3]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x23, x22, #3
	ldr	x8, [x8, x23]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpa_supplicant_filter_bssid_match
	mov	x8, x0
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x23]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [x9, x21, lsl #3]
	add	x21, x21, #1
	b	LBB0_4
LBB0_7:
	cmp	x8, x21
	b.eq	LBB0_9
; %bb.8:
Lloh0:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	sub	w2, w8, w21
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	str	x21, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Filtered out %d scan results"

.subsections_via_symbols
