	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_ndis_scan_native80211
_wpa_driver_ndis_scan_native80211:      ## @wpa_driver_ndis_scan_native80211
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_os_memset
	movq	_dot11_BSS_type_any@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	-40(%rbp), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %esi
	callq	_os_memset
	movq	_dot11_scan_type_auto@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_OID_DOT11_SCAN_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	$24, %ecx
	callq	_ndis_set_oid
	movl	%eax, %r14d
	movq	_wpa_driver_ndis_scan_timeout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movq	%rbx, %rsi
	callq	_eloop_cancel_timeout
	movl	(%r15), %edx
	movl	(%rbx), %r8d
	movl	$7, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_eloop_register_timeout
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dot11_BSS_type_any,4,2         ## @dot11_BSS_type_any
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_dot11_scan_type_auto,4,2       ## @dot11_scan_type_auto
	.comm	_OID_DOT11_SCAN_REQUEST,4,2     ## @OID_DOT11_SCAN_REQUEST
	.comm	_wpa_driver_ndis_scan_timeout,4,2 ## @wpa_driver_ndis_scan_timeout
	.no_dead_strip	_wpa_driver_ndis_scan_native80211
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_ndis_scan_native80211
_wpa_driver_ndis_scan_native80211:      ; @wpa_driver_ndis_scan_native80211
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_os_memset
Lloh0:
	adrp	x8, _dot11_BSS_type_any@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dot11_BSS_type_any@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x0, [sp, #16]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #255
	bl	_os_memset
Lloh6:
	adrp	x8, _dot11_scan_type_auto@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dot11_scan_type_auto@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh9:
	adrp	x8, _OID_DOT11_SCAN_REQUEST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OID_DOT11_SCAN_REQUEST@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #24
	bl	_ndis_set_oid
	mov	x20, x0
Lloh12:
	adrp	x21, _wpa_driver_ndis_scan_timeout@GOTPAGE
Lloh13:
	ldr	x21, [x21, _wpa_driver_ndis_scan_timeout@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [x19]
	mov	x1, x19
	bl	_eloop_cancel_timeout
	ldr	w2, [x21]
	ldr	w4, [x19]
	mov	w0, #7
	mov	w1, #0
	mov	x3, x19
	bl	_eloop_register_timeout
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dot11_BSS_type_any,4,2         ; @dot11_BSS_type_any
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_dot11_scan_type_auto,4,2       ; @dot11_scan_type_auto
	.comm	_OID_DOT11_SCAN_REQUEST,4,2     ; @OID_DOT11_SCAN_REQUEST
	.comm	_wpa_driver_ndis_scan_timeout,4,2 ; @wpa_driver_ndis_scan_timeout
	.no_dead_strip	_wpa_driver_ndis_scan_native80211
.subsections_via_symbols
