	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpd_add_pulse
_dpd_add_pulse:                         ## @dpd_add_pulse
	.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), %rax
	movq	_NL80211_DFS_UNSET@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	8(%rsi), %esi
	callq	_channel_detector_get
	xorl	%r14d, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	(%r15), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_dpd_reset
	movq	(%r15), %rax
LBB0_4:
	movq	%rax, 8(%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %r12
	movq	%r12, %rdi
	movq	%r15, %r13
	movq	%r15, %rsi
	callq	*16(%r12)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	cmpq	16(%rbx), %r14
	movq	%r13, %r15
	jb	LBB0_6
## %bb.8:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_9:
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	movq	8(%r12), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_11:
	movl	24(%rbx), %edi
	movq	_DFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %ecx
	movq	8(%r12), %rax
	movl	(%rax), %r8d
	movl	8(%r15), %r9d
	movl	(%r15), %eax
	movl	4(%r15), %r10d
	leaq	L_.str(%rip), %rdx
	pushq	%rax
	pushq	%r10
	callq	_ath_dbg
	addq	$16, %rsp
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	*(%r12)
	movl	$1, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_DFS_UNSET,8,3          ## @NL80211_DFS_UNSET
	.comm	_DFS,4,2                        ## @DFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DFS: radar found on freq=%d: id=%d, pri=%d, count=%d, count_false=%d\n"

	.no_dead_strip	_dpd_add_pulse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpd_add_pulse
_dpd_add_pulse:                         ; @dpd_add_pulse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_DFS_UNSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_DFS_UNSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_10
LBB0_2:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1, #8]
	bl	_channel_detector_get
	cbz	x0, LBB0_10
; %bb.3:
	mov	x23, x0
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_dpd_reset
	ldr	x8, [x20]
LBB0_5:
	str	x8, [x19, #8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.6:
	mov	x25, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x22, [x8, x25, lsl #3]
	ldr	x8, [x22, #16]
	mov	x0, x22
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	ldr	x8, [x19, #16]
	cmp	x25, x8
	b.lo	LBB0_7
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x24, x0
	cbz	x21, LBB0_13
; %bb.12:
	ldr	x1, [x22, #8]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
LBB0_13:
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x8, _DFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DFS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x20, #8]
	ldr	x8, [x22, #8]
	ldr	w4, [x8]
	ldp	w6, w5, [x24, #4]
	ldr	w7, [x24]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
	ldr	x8, [x22]
	ldr	x1, [x19, #8]
	mov	x0, x22
	blr	x8
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_DFS_UNSET,8,3          ; @NL80211_DFS_UNSET
	.comm	_DFS,4,2                        ; @DFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DFS: radar found on freq=%d: id=%d, pri=%d, count=%d, count_false=%d\n"

	.no_dead_strip	_dpd_add_pulse
.subsections_via_symbols
