	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_offchannel_ps_disable
_ieee80211_offchannel_ps_disable:       ## @ieee80211_offchannel_ps_disable
	.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, %r14
	movq	(%rdi), %rbx
	cmpl	$0, 32(%rbx)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_IEEE80211_CONF_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movq	_IEEE80211_CONF_CHANGE_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_hw_config
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ieee80211_send_nullfunc
	jmp	LBB0_6
LBB0_4:
	cmpq	$0, (%rbx)
	jle	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ieee80211_send_nullfunc
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%rbx), %rdi
	addq	$16, %rbx
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
LBB0_6:
	movq	%r14, %rdi
	callq	_ieee80211_sta_reset_beacon_monitor
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_sta_reset_conn_monitor ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CONF_PS,4,2          ## @IEEE80211_CONF_PS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ## @IEEE80211_CONF_CHANGE_PS
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_ieee80211_offchannel_ps_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_offchannel_ps_disable
_ieee80211_offchannel_ps_disable:       ; @ieee80211_offchannel_ps_disable
	.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, x0
	ldr	x20, [x0]
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _IEEE80211_CONF_PS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CONF_PS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
Lloh3:
	adrp	x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_PS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_hw_config
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_ieee80211_send_nullfunc
	b	LBB0_6
LBB0_4:
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_ieee80211_send_nullfunc
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	ldr	x0, [x20], #16
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
LBB0_6:
	mov	x0, x19
	bl	_ieee80211_sta_reset_beacon_monitor
	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	_ieee80211_sta_reset_conn_monitor
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CONF_PS,4,2          ; @IEEE80211_CONF_PS
	.comm	_IEEE80211_CONF_CHANGE_PS,4,2   ; @IEEE80211_CONF_CHANGE_PS
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_ieee80211_offchannel_ps_disable
.subsections_via_symbols
