	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_offchannel_send_action_done    ## -- Begin function offchannel_send_action_done
	.p2align	4, 0x90
_offchannel_send_action_done:           ## @offchannel_send_action_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rdx
	movq	_WPA_DRIVER_FLAGS_OFFCHANNEL_TX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	movq	32(%rbx), %r8
	movq	16(%rbx), %rax
	movq	24(%rbx), %r9
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	40(%rbx), %rdi
	callq	_wpabuf_free
	movq	$0, 40(%rbx)
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 32(%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_wpa_drv_send_action_cancel_wait
	jmp	LBB0_7
LBB0_4:
	leaq	16(%rbx), %r14
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, (%r14)
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_wpa_drv_cancel_remain_on_channel
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
LBB0_7:
	movq	$0, 8(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Off-channel: Action frame sequence done notification: pending_action_tx=%p drv_offchan_tx=%d action_tx_wait_time=%d off_channel_freq=%d roc_waiting_drv_freq=%d"

	.comm	_WPA_DRIVER_FLAGS_OFFCHANNEL_TX,4,2 ## @WPA_DRIVER_FLAGS_OFFCHANNEL_TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_offchannel_send_action_done    ; -- Begin function offchannel_send_action_done
	.p2align	2
_offchannel_send_action_done:           ; @offchannel_send_action_done
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x4, x2, [x19, #32]
	ldr	w8, [x19]
Lloh3:
	adrp	x21, _WPA_DRIVER_FLAGS_OFFCHANNEL_TX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _WPA_DRIVER_FLAGS_OFFCHANNEL_TX@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	cset	w3, ne
	ldr	x5, [x19, #24]
	mov	x20, x19
	ldr	x6, [x20, #16]!
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #40]
	bl	_wpabuf_free
	str	xzr, [x19, #40]
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_wpa_drv_send_action_cancel_wait
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_wpa_drv_cancel_remain_on_channel
	stp	xzr, xzr, [x20]
LBB0_7:
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Off-channel: Action frame sequence done notification: pending_action_tx=%p drv_offchan_tx=%d action_tx_wait_time=%d off_channel_freq=%d roc_waiting_drv_freq=%d"

	.comm	_WPA_DRIVER_FLAGS_OFFCHANNEL_TX,4,2 ; @WPA_DRIVER_FLAGS_OFFCHANNEL_TX
.subsections_via_symbols
