	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_add_scan_ssid
_wpa_add_scan_ssid:                     ## @wpa_add_scan_ssid
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	(%rsi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	$8, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movl	%eax, %ecx
	addq	$16, %rbx
	cmpq	%rcx, %r13
	jae	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	cmpq	%r15, -8(%rcx,%rbx)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	incl	%eax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jbe	LBB0_9
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wpa_ssid_txt
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r12), %rax
	movl	(%r12), %ecx
	leal	1(%rcx), %edx
	shlq	$4, %rcx
	movq	%r14, 8(%rax,%rcx)
	movq	%r15, (%rax,%rcx)
	movl	%edx, (%r12)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"Over max scan SSIDs for manual request"

L_.str.1:                               ## @.str.1
	.asciz	"Scan SSID (manual request): %s"

	.no_dead_strip	_wpa_add_scan_ssid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_add_scan_ssid
_wpa_add_scan_ssid:                     ; @wpa_add_scan_ssid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	add	x23, x23, #16
	cmp	x24, w8, uxtw
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x10, [x9, x23]
	cmp	x10, x19
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x23
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x21
	mov	x2, x19
	bl	_os_memcmp
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	b	LBB0_2
LBB0_7:
	add	w8, w8, #1
Lloh0:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x9]
	cmp	x8, x22
	b.ls	LBB0_9
; %bb.8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wpa_printf
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	bl	_wpa_ssid_txt
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_wpa_printf
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
	add	x8, x8, x9, lsl #4
	stp	x19, x21, [x8]
	add	w8, w9, #1
	str	w8, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Over max scan SSIDs for manual request"

l_.str.1:                               ; @.str.1
	.asciz	"Scan SSID (manual request): %s"

	.no_dead_strip	_wpa_add_scan_ssid
.subsections_via_symbols
