	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_driver_nl80211_scan_timeout ## -- Begin function wpa_driver_nl80211_scan_timeout
	.p2align	4, 0x90
_wpa_driver_nl80211_scan_timeout:       ## @wpa_driver_nl80211_scan_timeout
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_nl80211_abort_scan
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	(%rbx), %rsi
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rsi
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	callq	_wpa_driver_nl80211_set_mode
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_4:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	_EVENT_SCAN_RESULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_supplicant_event           ## TAILCALL
LBB0_5:
	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	"nl80211: Scan timeout - try to abort it"

L_.str.1:                               ## @.str.1
	.asciz	"nl80211: Failed to abort scan"

	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ## @NL80211_IFTYPE_UNSPECIFIED
L_.str.2:                               ## @.str.2
	.asciz	"nl80211: Try to get scan results"

	.comm	_EVENT_SCAN_RESULTS,4,2         ## @EVENT_SCAN_RESULTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_driver_nl80211_scan_timeout ; -- Begin function wpa_driver_nl80211_scan_timeout
	.p2align	2
_wpa_driver_nl80211_scan_timeout:       ; @wpa_driver_nl80211_scan_timeout
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_nl80211_abort_scan
	cbz	x0, LBB0_5
LBB0_2:
	ldr	w0, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x1, [x20]
Lloh6:
	adrp	x22, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
	bl	_wpa_driver_nl80211_set_mode
	ldr	x8, [x22]
	str	x8, [x20]
LBB0_4:
	ldr	w0, [x21]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh10:
	adrp	x8, _EVENT_SCAN_RESULTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVENT_SCAN_RESULTS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	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
	b	_wpa_supplicant_event
LBB0_5:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Scan timeout - try to abort it"

l_.str.1:                               ; @.str.1
	.asciz	"nl80211: Failed to abort scan"

	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ; @NL80211_IFTYPE_UNSPECIFIED
l_.str.2:                               ; @.str.2
	.asciz	"nl80211: Try to get scan results"

	.comm	_EVENT_SCAN_RESULTS,4,2         ; @EVENT_SCAN_RESULTS
.subsections_via_symbols
