	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_abort_cac              ## -- Begin function mwifiex_abort_cac
	.p2align	4, 0x90
_mwifiex_abort_cac:                     ## @mwifiex_abort_cac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	%rdi, %rsi
	callq	_mwifiex_stop_radar_detection
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	12(%rbx), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
LBB0_3:
	movl	12(%rbx), %edi
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_mwifiex_dbg
	leaq	8(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movl	4(%rbx), %edi
	movq	_NL80211_RADAR_CAC_ABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cfg80211_cac_event             ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to stop CAC in FW\n"

	.comm	_MSG,4,2                        ## @MSG
L_.str.1:                               ## @.str.1
	.asciz	"Aborting delayed work for CAC.\n"

	.comm	_NL80211_RADAR_CAC_ABORTED,4,2  ## @NL80211_RADAR_CAC_ABORTED
	.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_abort_cac              ; -- Begin function mwifiex_abort_cac
	.p2align	2
_mwifiex_abort_cac:                     ; @mwifiex_abort_cac
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x1, x0
	bl	_mwifiex_stop_radar_detection
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
LBB0_3:
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x8, _MSG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
	add	x0, x19, #8
	bl	_cancel_delayed_work_sync
	ldr	w0, [x19, #4]
Lloh10:
	adrp	x8, _NL80211_RADAR_CAC_ABORTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NL80211_RADAR_CAC_ABORTED@GOTPAGEOFF]
Lloh12:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	ldr	w3, [x9]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cfg80211_cac_event
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to stop CAC in FW\n"

	.comm	_MSG,4,2                        ; @MSG
l_.str.1:                               ; @.str.1
	.asciz	"Aborting delayed work for CAC.\n"

	.comm	_NL80211_RADAR_CAC_ABORTED,4,2  ; @NL80211_RADAR_CAC_ABORTED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
