	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_build_filter_ssids
_wpa_supplicant_build_filter_ssids:     ## @wpa_supplicant_build_filter_ssids
	.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
	movq	$0, (%rsi)
	cmpl	$0, 8(%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rsi, %r14
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$1, (%rax)
	sbbq	$-1, %rdi
	jmp	LBB0_7
LBB0_8:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.9:
	movl	$16, %esi
	callq	_os_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	%rax, %r12
	movq	(%r15), %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rbx
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	shlq	$4, %rax
	movl	8(%r12,%rax), %edi
	callq	_os_memcpy
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movq	%rax, (%r12,%rcx)
	incq	(%r14)
	jmp	LBB0_15
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wpa_supplicant_build_filter_ssids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_build_filter_ssids
_wpa_supplicant_build_filter_ssids:     ; @wpa_supplicant_build_filter_ssids
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	str	xzr, [x1]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.2:
	mov	x19, x1
	mov	x0, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8]
	cmp	x9, #0
	cinc	x0, x0, ne
	b	LBB0_3
LBB0_6:
	cbz	x0, LBB0_13
; %bb.7:
	mov	w1, #16
	bl	_os_calloc
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x21, [x21]
	cbnz	x21, LBB0_10
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x2, [x21]
	cbz	x2, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	add	x8, x20, x8, lsl #4
	ldr	w0, [x8, #8]
	bl	_os_memcpy
	ldr	x8, [x21]
	ldr	x9, [x19]
	lsl	x9, x9, #4
	str	x8, [x20, x9]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_9
LBB0_13:
	mov	x20, #0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wpa_supplicant_build_filter_ssids
.subsections_via_symbols
