	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_timeout
_dfs_timeout:                           ## @dfs_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_IEEE80211_LOCK_ASSERT
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.1:
	movq	_ticks@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movslq	%ecx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%r13,4), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	addq	$12, %r15
	cmpq	%rax, %r13
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r14
	leaq	(%r14,%r15), %rbx
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_RADAR
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rax
	movslq	(%rax,%r13,4), %rsi
	movq	_NOL_TIMEOUT@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_time_after_eq
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_CHANSTATE_RADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14,%r15), %eax
	movl	%eax, (%r14,%r15)
	movq	_IEEE80211_CHANSTATE_NORADAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%r15), %ecx
	movl	8(%r14,%r15), %edx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_ic_printf
	movq	_IEEE80211_CHANSTATE_NORADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14,%r15)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_notify_radar
	jmp	LBB0_7
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_10
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	addq	$24, %r12
	movslq	%eax, %rsi
	subq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	_NOL_TIMEOUT@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_callout_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ticks,4,2                      ## @ticks
	.comm	_NOL_TIMEOUT,8,3                ## @NOL_TIMEOUT
	.comm	_IEEE80211_CHANSTATE_RADAR,4,2  ## @IEEE80211_CHANSTATE_RADAR
	.comm	_IEEE80211_CHANSTATE_NORADAR,4,2 ## @IEEE80211_CHANSTATE_NORADAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"radar on channel %u (%u MHz) cleared after timeout\n"

	.no_dead_strip	_dfs_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_timeout
_dfs_timeout:                           ; @dfs_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_IEEE80211_LOCK_ASSERT
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x25, #0
	mov	x26, #0
Lloh0:
	adrp	x8, _ticks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ticks@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x23, _NOL_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NOL_TIMEOUT@GOTPAGEOFF]
Lloh5:
	adrp	x28, _IEEE80211_CHANSTATE_RADAR@GOTPAGE
Lloh6:
	ldr	x28, [x28, _IEEE80211_CHANSTATE_RADAR@GOTPAGEOFF]
	sxtw	x8, w20
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh7:
	adrp	x24, _IEEE80211_CHANSTATE_NORADAR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IEEE80211_CHANSTATE_NORADAR@GOTPAGEOFF]
	mov	x27, x20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x26, lsl #2]
	cmp	w8, w27
	csel	w27, w8, w27, lt
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x19]
	add	x25, x25, #12
	cmp	x26, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, #8]
	add	x22, x21, x25
	mov	x0, x22
	bl	_IEEE80211_IS_CHAN_RADAR
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, x26, lsl #2]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x20
	bl	_ieee80211_time_after_eq
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, x25]
	ldr	w9, [x28]
	bic	w8, w8, w9
	str	w8, [x21, x25]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, x25
	ldp	w3, w2, [x21, #4]
	mov	x0, x19
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ic_printf
	ldr	w8, [x24]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x22
	bl	_ieee80211_notify_radar
	b	LBB0_3
LBB0_8:
	cmp	w27, w20
	b.ne	LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	add	x0, x19, #24
	sxtw	x8, w27
	ldr	x9, [x23]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	sub	x8, x8, x10
	add	x1, x8, x9
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_callout_schedule
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ticks,4,2                      ; @ticks
	.comm	_NOL_TIMEOUT,8,3                ; @NOL_TIMEOUT
	.comm	_IEEE80211_CHANSTATE_RADAR,4,2  ; @IEEE80211_CHANSTATE_RADAR
	.comm	_IEEE80211_CHANSTATE_NORADAR,4,2 ; @IEEE80211_CHANSTATE_NORADAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"radar on channel %u (%u MHz) cleared after timeout\n"

	.no_dead_strip	_dfs_timeout
.subsections_via_symbols
