	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_ndis_poll_timeout
_wpa_driver_ndis_poll_timeout:          ## @wpa_driver_ndis_poll_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpq	$0, 16(%rbx)
	jne	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpa_driver_ndis_get_bssid
	movl	12(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	12(%rbx), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_os_memset
	movq	_EVENT_DISASSOC@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	12(%rbx), %edi
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_os_memcpy
	movq	%rbx, %rdi
	callq	_wpa_driver_ndis_get_associnfo
	movq	_EVENT_ASSOC@GOTPCREL(%rip), %rax
LBB0_6:
	movl	8(%rbx), %edi
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_wpa_supplicant_event
LBB0_7:
	leaq	_wpa_driver_ndis_poll_timeout(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EVENT_DISASSOC,4,2             ## @EVENT_DISASSOC
	.comm	_EVENT_ASSOC,4,2                ## @EVENT_ASSOC
	.comm	_IEEE80211_MODE_IBSS,8,3        ## @IEEE80211_MODE_IBSS
	.no_dead_strip	_wpa_driver_ndis_poll_timeout
.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_poll_timeout
_wpa_driver_ndis_poll_timeout:          ; @wpa_driver_ndis_poll_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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_8
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_wpa_driver_ndis_get_bssid
	mov	x8, x0
	ldr	w0, [x19, #12]
	cbz	x8, LBB0_4
; %bb.2:
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	w0, [x19, #12]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_os_memset
Lloh7:
	adrp	x8, _EVENT_DISASSOC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVENT_DISASSOC@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w2, [x21]
	mov	x1, x20
	bl	_os_memcmp
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x19, #12]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_os_memcpy
	mov	x0, x19
	bl	_wpa_driver_ndis_get_associnfo
Lloh9:
	adrp	x8, _EVENT_ASSOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EVENT_ASSOC@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x19, #8]
	ldr	w1, [x8]
	mov	x2, #0
	bl	_wpa_supplicant_event
LBB0_7:
Lloh11:
	adrp	x2, _wpa_driver_ndis_poll_timeout@PAGE
Lloh12:
	add	x2, x2, _wpa_driver_ndis_poll_timeout@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #32
	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
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EVENT_DISASSOC,4,2             ; @EVENT_DISASSOC
	.comm	_EVENT_ASSOC,4,2                ; @EVENT_ASSOC
	.comm	_IEEE80211_MODE_IBSS,8,3        ; @IEEE80211_MODE_IBSS
	.no_dead_strip	_wpa_driver_ndis_poll_timeout
.subsections_via_symbols
