	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_dfs           ## -- Begin function ath10k_wmi_event_dfs
	.p2align	4, 0x90
_ath10k_wmi_event_dfs:                  ## @ath10k_wmi_event_dfs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r10d
	movq	%rsi, %rax
	movl	(%rsi), %ebx
	movl	16(%rsi), %r9d
	movq	_ATH10K_DBG_REGULATORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	24(%rax), %ecx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	20(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	pushq	%rbx
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	pushq	%r10
	callq	_ath10k_dbg
	addq	$16, %rsp
	movq	_CONFIG_ATH10K_DFS_CERTIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movq	_pulses_total@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ATH10K_DFS_STAT_INC
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.2:
	xorl	%r12d, %r12d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r12d
	addl	$12, %r12d
	cmpl	%ebx, %r12d
	jge	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r15
	leaq	12(%r15), %r14
	cmpq	%rbx, %r14
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %r13
	movl	8(%r13,%r15,4), %edi
	callq	___le16_to_cpu
	shlq	$2, %r14
	addq	8(%rbx), %r14
	movl	%eax, %ecx
	movq	_ATH10K_DBG_REGULATORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13,%r15,4), %r8d
	movl	4(%r13,%r15,4), %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rdx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movl	(%r13,%r15,4), %eax
	cmpl	$128, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$129, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r15
	cmpq	%rbx, %r15
	ja	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_ath10k_dfs_radar_report
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %r15
	ja	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_ath10k_dfs_fft_report
	testl	%eax, %eax
	je	LBB0_14
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_REGULATORY,4,2      ## @ATH10K_DBG_REGULATORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmi event dfs err_code %d rssi %d tsfl 0x%X tsf64 0x%llX len %d\n"

	.comm	_CONFIG_ATH10K_DFS_CERTIFIED,4,2 ## @CONFIG_ATH10K_DFS_CERTIFIED
	.comm	_pulses_total,4,2               ## @pulses_total
L_.str.1:                               ## @.str.1
	.asciz	"too short buf for tlv header (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"wmi event dfs tlv_len %d tlv_tag 0x%02X tlv_sig 0x%02X\n"

L_.str.3:                               ## @.str.3
	.asciz	"too short radar pulse summary (%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"too short fft report (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_event_dfs           ; -- Begin function ath10k_wmi_event_dfs
	.p2align	2
_ath10k_wmi_event_dfs:                  ; @ath10k_wmi_event_dfs
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w27, [x1]
Lloh0:
	adrp	x28, _ATH10K_DBG_REGULATORY@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ATH10K_DBG_REGULATORY@GOTPAGEOFF]
	ldr	w1, [x28]
	ldp	w4, w3, [x21, #20]
	ldr	w5, [x21, #16]
	stp	x20, x27, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath10k_dbg
Lloh4:
	adrp	x8, _CONFIG_ATH10K_DFS_CERTIFIED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CONFIG_ATH10K_DFS_CERTIFIED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_11
; %bb.1:
Lloh7:
	adrp	x8, _pulses_total@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pulses_total@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ATH10K_DFS_STAT_INC
	cmp	w27, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w8, #0
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w23, w25
	add	w8, w8, #12
	cmp	w8, w27
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x23, w8
	add	x26, x23, #12
	cmp	x26, x27
	b.hi	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	add	x22, x8, x23, lsl #2
	ldr	w0, [x22, #8]
	bl	___le16_to_cpu
	mov	x25, x0
	ldr	x8, [x21, #8]
	add	x26, x8, x26, lsl #2
	ldr	w1, [x28]
	ldp	w4, w5, [x22]
	mov	x0, x19
	mov	x2, x24
	mov	x3, x25
	bl	_ath10k_dbg
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x23, #16
	cmp	x8, x27
	b.hi	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x26
	mov	x3, x20
	bl	_ath10k_dfs_radar_report
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x23, #16
	cmp	x8, x27
	b.hi	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x26
	mov	x3, x20
	bl	_ath10k_dfs_fft_report
	cbz	w0, LBB0_3
LBB0_11:
	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_12:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_15:
	mov	x0, x19
	mov	x2, x23
	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	_ath10k_warn
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_REGULATORY,4,2      ; @ATH10K_DBG_REGULATORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmi event dfs err_code %d rssi %d tsfl 0x%X tsf64 0x%llX len %d\n"

	.comm	_CONFIG_ATH10K_DFS_CERTIFIED,4,2 ; @CONFIG_ATH10K_DFS_CERTIFIED
	.comm	_pulses_total,4,2               ; @pulses_total
l_.str.1:                               ; @.str.1
	.asciz	"too short buf for tlv header (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"wmi event dfs tlv_len %d tlv_tag 0x%02X tlv_sig 0x%02X\n"

l_.str.3:                               ; @.str.3
	.asciz	"too short radar pulse summary (%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"too short fft report (%d)\n"

.subsections_via_symbols
