	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_cancel_remain_on_channel
_mwifiex_cfg80211_cancel_remain_on_channel: ## @mwifiex_cfg80211_cancel_remain_on_channel
	.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	%rdx, %r14
	movq	%rsi, %r15
	movl	(%rsi), %edi
	callq	_mwifiex_netdev_get_priv
	cmpq	%r14, 8(%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_HostCmd_ACT_GEN_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_mwifiex_remain_on_chan_cfg
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %r13
	addq	$8, %r13
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_cfg80211_remain_on_channel_expired
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%rbx), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	callq	_mwifiex_dbg
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_HostCmd_ACT_GEN_REMOVE,4,2     ## @HostCmd_ACT_GEN_REMOVE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: cancel ROC, cookie = 0x%llx\n"

	.no_dead_strip	_mwifiex_cfg80211_cancel_remain_on_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_cancel_remain_on_channel
_mwifiex_cfg80211_cancel_remain_on_channel: ; @mwifiex_cfg80211_cancel_remain_on_channel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x22, x1
	ldr	w0, [x1]
	bl	_mwifiex_netdev_get_priv
	mov	x21, x0
	ldr	x8, [x21, #8]!
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _HostCmd_ACT_GEN_REMOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_ACT_GEN_REMOVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x23, x0, #16
	mov	x2, x23
	mov	w3, #0
	bl	_mwifiex_remain_on_chan_cfg
	cbnz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_cfg80211_remain_on_channel_expired
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	bl	_mwifiex_dbg
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_HostCmd_ACT_GEN_REMOVE,4,2     ; @HostCmd_ACT_GEN_REMOVE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: cancel ROC, cookie = 0x%llx\n"

	.no_dead_strip	_mwifiex_cfg80211_cancel_remain_on_channel
.subsections_via_symbols
