	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_set_ap_scan     ## -- Begin function wpa_supplicant_set_ap_scan
	.p2align	4, 0x90
_wpa_supplicant_set_ap_scan:            ## @wpa_supplicant_set_ap_scan
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %ebx
	cmpl	$2, %esi
	ja	LBB0_6
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	jne	LBB0_4
## %bb.2:
	movq	16(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_4:
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	movl	%r15d, (%rax)
	xorl	%ebx, %ebx
	cmpl	%r15d, %ecx
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_wpas_notify_ap_scan_changed
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.comm	_WPA_ASSOCIATING,8,3            ## @WPA_ASSOCIATING
	.comm	_WPA_COMPLETED,8,3              ## @WPA_COMPLETED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_set_ap_scan     ; -- Begin function wpa_supplicant_set_ap_scan
	.p2align	2
_wpa_supplicant_set_ap_scan:            ; @wpa_supplicant_set_ap_scan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #2
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_8
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	str	w20, [x8]
	cmp	w9, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_wpas_notify_ap_scan_changed
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.comm	_WPA_ASSOCIATING,8,3            ; @WPA_ASSOCIATING
	.comm	_WPA_COMPLETED,8,3              ; @WPA_COMPLETED
.subsections_via_symbols
