	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_cancel_remain_on_chnl_event_rx
_ath6kl_wmi_cancel_remain_on_chnl_event_rx: ## @ath6kl_wmi_cancel_remain_on_chnl_event_rx
	.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
	cmpl	$11, %edx
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_2:
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %r13
	movl	8(%rsi), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	_ATH6KL_DBG_WMI@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_ieee80211_get_channel
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	leaq	1(%rsi), %rdx
	movq	8(%r14), %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ath6kl_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	movq	8(%r14), %rcx
LBB0_7:
	movq	%rcx, %rsi
LBB0_8:
	movq	$0, (%r14)
	addq	$16, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_cfg80211_remain_on_channel_expired
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ## @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cancel_remain_on_chnl: freq=%u dur=%u status=%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"cancel_remain_on_chnl: Unknown channel (freq=%u)\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ath6kl_wmi_cancel_remain_on_chnl_event_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_cancel_remain_on_chnl_event_rx
_ath6kl_wmi_cancel_remain_on_chnl_event_rx: ; @ath6kl_wmi_cancel_remain_on_chnl_event_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cmp	w2, #11
	b.ls	LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x21, x1
	ldr	x23, [x0]
	ldr	w0, [x1, #8]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
Lloh0:
	adrp	x22, _ATH6KL_DBG_WMI@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH6KL_DBG_WMI@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x21]
	stp	x0, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x2, x20
	bl	_ath6kl_dbg
	ldr	w0, [x23]
	mov	x1, x20
	bl	_ieee80211_get_channel
	cbz	x0, LBB0_4
; %bb.2:
	mov	x2, x0
	ldr	x1, [x19]
	cbz	x1, LBB0_6
; %bb.3:
	add	x9, x1, #1
	ldr	x8, [x19, #8]
	cmp	x9, x8
	b.ne	LBB0_7
	b	LBB0_8
LBB0_4:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_ath6kl_dbg
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	ldr	x8, [x19, #8]
LBB0_7:
	mov	x1, x8
LBB0_8:
	str	xzr, [x19], #16
Lloh9:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_cfg80211_remain_on_channel_expired
	mov	w0, #0
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATH6KL_DBG_WMI,4,2             ; @ATH6KL_DBG_WMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cancel_remain_on_chnl: freq=%u dur=%u status=%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"cancel_remain_on_chnl: Unknown channel (freq=%u)\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ath6kl_wmi_cancel_remain_on_chnl_event_rx
.subsections_via_symbols
