	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_11h_handle_chanrpt_ready ## -- Begin function mwifiex_11h_handle_chanrpt_ready
	.p2align	4, 0x90
_mwifiex_11h_handle_chanrpt_ready:      ## @mwifiex_11h_handle_chanrpt_ready
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rsi), %r13
	movl	(%rsi), %r15d
	movl	8(%r13), %edi
	callq	_le32_to_cpu
	movq	_HostCmd_RESULT_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	addl	$-12, %r15d
	xorl	%eax, %eax
	cmpl	$4, %r15d
	jb	LBB0_9
## %bb.3:
	leaq	12(%r12), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	subl	%ebx, %r15d
	addl	$-8, %r15d
	cmpl	$3, %r15d
	jbe	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	8(%r13), %edi
	callq	_le16_to_cpu
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r13)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %edi
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r14, %rdi
	callq	_cancel_delayed_work_sync
	movl	8(%r12), %edi
	movq	_NL80211_RADAR_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rsi
	callq	_cfg80211_cac_event
	jmp	LBB0_7
LBB0_1:
	movl	16(%r12), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_RESULT_OK,8,3          ## @HostCmd_RESULT_OK
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error in channel report event\n"

	.comm	_MSG,4,2                        ## @MSG
L_.str.1:                               ## @.str.1
	.asciz	"RADAR Detected on channel %d!\n"

	.comm	_NL80211_RADAR_DETECTED,4,2     ## @NL80211_RADAR_DETECTED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_11h_handle_chanrpt_ready ; -- Begin function mwifiex_11h_handle_chanrpt_ready
	.p2align	2
_mwifiex_11h_handle_chanrpt_ready:      ; @mwifiex_11h_handle_chanrpt_ready
	.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
	ldr	x23, [x1, #8]
	ldr	w20, [x1]
	ldr	w0, [x23, #8]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _HostCmd_RESULT_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_RESULT_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	sub	w24, w20, #12
	cmp	w24, #4
	b.lo	LBB0_8
; %bb.2:
	add	x20, x19, #12
Lloh3:
	adrp	x25, _MSG@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MSG@GOTPAGEOFF]
Lloh5:
	adrp	x26, _NL80211_RADAR_DETECTED@GOTPAGE
Lloh6:
	ldr	x26, [x26, _NL80211_RADAR_DETECTED@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh9:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w24, w22
	sub	w24, w8, #8
	cmp	w24, #3
	b.ls	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #12]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x23, #8]
	bl	_le16_to_cpu
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
	ldr	w1, [x25]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x2, x21
	bl	_mwifiex_dbg
	mov	x0, x20
	bl	_cancel_delayed_work_sync
	ldr	w0, [x19, #8]
	ldr	w2, [x26]
	ldr	w3, [x27]
	mov	x1, x19
	bl	_cfg80211_cac_event
	b	LBB0_3
LBB0_7:
	ldr	w0, [x19, #16]
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_RESULT_OK,8,3          ; @HostCmd_RESULT_OK
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error in channel report event\n"

	.comm	_MSG,4,2                        ; @MSG
l_.str.1:                               ; @.str.1
	.asciz	"RADAR Detected on channel %d!\n"

	.comm	_NL80211_RADAR_DETECTED,4,2     ; @NL80211_RADAR_DETECTED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
