	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cac_timeout
_cac_timeout:                           ## @cac_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, %r14
	movq	16(%rdi), %r15
	movq	%r15, %rdi
	callq	_IEEE80211_LOCK_ASSERT
	movq	(%r14), %rax
	movq	_IEEE80211_S_CAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.1:
	movq	8(%r15), %rdi
	callq	_IEEE80211_IS_CHAN_RADAR
	testq	%rax, %rax
	je	LBB0_2
## %bb.17:
	movq	8(%r15), %rsi
	movq	_IEEE80211_NOTIFY_CAC_RADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ieee80211_notify_cac
	movl	8(%r14), %edi
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_if_printf
	movl	24(%r15), %eax
	movl	%eax, 12(%r14)
	movq	_IEEE80211_S_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_new_state_locked     ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	8(%r14), %edi
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_if_printf
	movl	(%r15), %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.4:
	movq	8(%r15), %rsi
	movq	16(%r15), %rcx
	movl	(%rsi), %edx
	cmpl	$1, %r8d
	jne	LBB0_6
## %bb.5:
	xorl	%edi, %edi
LBB0_12:
	testb	$1, %r8b
	je	LBB0_15
## %bb.13:
	cmpl	%edx, 4(%rcx,%rdi,8)
	jne	LBB0_15
## %bb.14:
	movq	_IEEE80211_CHANSTATE_CACDONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rcx,%rdi,8)
	jmp	LBB0_15
LBB0_3:
	movq	8(%r15), %rsi
LBB0_15:
	movq	_IEEE80211_NOTIFY_CAC_EXPIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ieee80211_notify_cac
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_cac_completeswitch   ## TAILCALL
LBB0_6:
	movl	%r8d, %eax
	andl	$-2, %eax
	xorl	%edi, %edi
	movq	_IEEE80211_CHANSTATE_CACDONE@GOTPCREL(%rip), %r9
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rdi
	cmpq	%rdi, %rax
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, 4(%rcx,%rdi,8)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r9), %ebx
	orl	%ebx, (%rcx,%rdi,8)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%edx, 12(%rcx,%rdi,8)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r9), %ebx
	orl	%ebx, 8(%rcx,%rdi,8)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_S_CAC,8,3            ## @IEEE80211_S_CAC
	.comm	_IEEE80211_NOTIFY_CAC_RADAR,4,2 ## @IEEE80211_NOTIFY_CAC_RADAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CAC timer on channel %u (%u MHz) stopped due to radar\n"

	.comm	_IEEE80211_S_SCAN,4,2           ## @IEEE80211_S_SCAN
L_.str.1:                               ## @.str.1
	.asciz	"CAC timer on channel %u (%u MHz) expired; no radar detected\n"

	.comm	_IEEE80211_CHANSTATE_CACDONE,4,2 ## @IEEE80211_CHANSTATE_CACDONE
	.comm	_IEEE80211_NOTIFY_CAC_EXPIRE,4,2 ## @IEEE80211_NOTIFY_CAC_EXPIRE
	.no_dead_strip	_cac_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cac_timeout
_cac_timeout:                           ; @cac_timeout
	.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, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_IEEE80211_LOCK_ASSERT
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IEEE80211_S_CAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_S_CAC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_IEEE80211_IS_CHAN_RADAR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x1, [x20, #8]
Lloh3:
	adrp	x8, _IEEE80211_NOTIFY_CAC_RADAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_NOTIFY_CAC_RADAR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ieee80211_notify_cac
	ldr	w0, [x19, #8]
	ldr	x8, [x20, #8]
	ldp	w3, w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_if_printf
	ldr	w8, [x20, #24]
	str	w8, [x19, #12]
Lloh8:
	adrp	x8, _IEEE80211_S_SCAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_S_SCAN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_new_state_locked
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x19, #8]
	ldr	x8, [x20, #8]
	ldp	w3, w2, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_if_printf
	ldr	w8, [x20]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.5:
	ldp	x1, x9, [x20, #8]
	ldr	w10, [x1]
Lloh13:
	adrp	x11, _IEEE80211_CHANSTATE_CACDONE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _IEEE80211_CHANSTATE_CACDONE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9, #4]
	cmp	w12, w10
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w12, [x11]
	ldr	w13, [x9]
	orr	w12, w13, w12
	str	w12, [x9]
	b	LBB0_6
LBB0_9:
	ldr	x1, [x20, #8]
LBB0_10:
Lloh15:
	adrp	x8, _IEEE80211_NOTIFY_CAC_EXPIRE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_NOTIFY_CAC_EXPIRE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ieee80211_notify_cac
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_cac_completeswitch
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_S_CAC,8,3            ; @IEEE80211_S_CAC
	.comm	_IEEE80211_NOTIFY_CAC_RADAR,4,2 ; @IEEE80211_NOTIFY_CAC_RADAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CAC timer on channel %u (%u MHz) stopped due to radar\n"

	.comm	_IEEE80211_S_SCAN,4,2           ; @IEEE80211_S_SCAN
l_.str.1:                               ; @.str.1
	.asciz	"CAC timer on channel %u (%u MHz) expired; no radar detected\n"

	.comm	_IEEE80211_CHANSTATE_CACDONE,4,2 ; @IEEE80211_CHANSTATE_CACDONE
	.comm	_IEEE80211_NOTIFY_CAC_EXPIRE,4,2 ; @IEEE80211_NOTIFY_CAC_EXPIRE
	.no_dead_strip	_cac_timeout
.subsections_via_symbols
