	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_reset_ap_probe
_ieee80211_reset_ap_probe:              ## @ieee80211_reset_ap_probe
	.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	(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_IEEE80211_STA_BEACON_POLL@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STA_CONNECTION_POLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	___ieee80211_stop_poll
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_ieee80211_recalc_ps
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	(%rbx), %rax
	movq	_IEEE80211_HW_CONNECTION_MONITOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ieee80211_sta_reset_beacon_monitor
	addq	$12, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CONNECTION_IDLE_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_round_jiffies_up
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mod_timer
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_BEACON_POLL,4,2  ## @IEEE80211_STA_BEACON_POLL
	.comm	_IEEE80211_STA_CONNECTION_POLL,4,2 ## @IEEE80211_STA_CONNECTION_POLL
	.comm	_IEEE80211_HW_CONNECTION_MONITOR,4,2 ## @IEEE80211_HW_CONNECTION_MONITOR
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IEEE80211_CONNECTION_IDLE_TIME,8,3 ## @IEEE80211_CONNECTION_IDLE_TIME
	.no_dead_strip	_ieee80211_reset_ap_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_reset_ap_probe
_ieee80211_reset_ap_probe:              ; @ieee80211_reset_ap_probe
	.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	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x20, #8]
Lloh0:
	adrp	x9, _IEEE80211_STA_BEACON_POLL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_STA_BEACON_POLL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IEEE80211_STA_CONNECTION_POLL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_STA_CONNECTION_POLL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	___ieee80211_stop_poll
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	mov	x0, x19
	mov	w1, #-1
	bl	_ieee80211_recalc_ps
	mov	x0, x21
	bl	_mutex_unlock
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _IEEE80211_HW_CONNECTION_MONITOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_HW_CONNECTION_MONITOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_ieee80211_sta_reset_beacon_monitor
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x20, x20, #12
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _IEEE80211_CONNECTION_IDLE_TIME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_CONNECTION_IDLE_TIME@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies_up
	mov	x1, x0
	mov	x0, x20
	bl	_mod_timer
LBB0_3:
	mov	x0, x19
	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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_BEACON_POLL,4,2  ; @IEEE80211_STA_BEACON_POLL
	.comm	_IEEE80211_STA_CONNECTION_POLL,4,2 ; @IEEE80211_STA_CONNECTION_POLL
	.comm	_IEEE80211_HW_CONNECTION_MONITOR,4,2 ; @IEEE80211_HW_CONNECTION_MONITOR
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IEEE80211_CONNECTION_IDLE_TIME,8,3 ; @IEEE80211_CONNECTION_IDLE_TIME
	.no_dead_strip	_ieee80211_reset_ap_probe
.subsections_via_symbols
