	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_recalc_radar_chanctx ## -- Begin function ieee80211_recalc_radar_chanctx
	.p2align	4, 0x90
_ieee80211_recalc_radar_chanctx:        ## @ieee80211_recalc_radar_chanctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$12, %rdi
	callq	_lockdep_assert_held
	movq	%rbx, %rdi
	callq	_ieee80211_is_radar_required
	cmpl	(%r14), %eax
	jne	LBB0_1
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, (%r14)
	movl	%eax, (%rbx)
	cmpl	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	%eax, 4(%rbx)
	movq	_IEEE80211_CONF_CHANGE_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_hw_config
LBB0_3:
	movq	_IEEE80211_CHANCTX_CHANGE_RADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drv_change_chanctx             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ## @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CHANCTX_CHANGE_RADAR,4,2 ## @IEEE80211_CHANCTX_CHANGE_RADAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_recalc_radar_chanctx ; -- Begin function ieee80211_recalc_radar_chanctx
	.p2align	2
_ieee80211_recalc_radar_chanctx:        ; @ieee80211_recalc_radar_chanctx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #12
	bl	_lockdep_assert_held
	mov	x0, x20
	bl	_ieee80211_is_radar_required
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	str	w0, [x19]
	str	w0, [x20]
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_4
; %bb.3:
	str	w0, [x20, #4]
Lloh0:
	adrp	x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CONF_CHANGE_CHANNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_hw_config
LBB0_4:
Lloh3:
	adrp	x8, _IEEE80211_CHANCTX_CHANGE_RADAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CHANCTX_CHANGE_RADAR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drv_change_chanctx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CONF_CHANGE_CHANNEL,4,2 ; @IEEE80211_CONF_CHANGE_CHANNEL
	.comm	_IEEE80211_CHANCTX_CHANGE_RADAR,4,2 ; @IEEE80211_CHANCTX_CHANGE_RADAR
.subsections_via_symbols
