	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca8210_async_xmit_complete
_ca8210_async_xmit_complete:            ## @ca8210_async_xmit_complete
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rcx
	movq	(%rdi), %rbx
	movq	(%rbx), %rdx
	cmpq	%rsi, %rdx
	jne	LBB0_1
## %bb.2:
	movl	$0, 8(%rbx)
	incq	%rcx
	movq	%rcx, (%rbx)
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	movq	24(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_MAC_TRANSACTION_OVERFLOW@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_4
LBB0_5:
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movl	$1, %edx
	callq	_ieee802154_xmit_complete
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_1:
	movq	24(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_4:
	movl	16(%rbx), %edi
	callq	_ieee802154_wake_queue
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected msdu_handle on data confirm, Expected %d, got %d\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"Link transmission unsuccessful, status = %d\n"

	.comm	_MAC_TRANSACTION_OVERFLOW,8,3   ## @MAC_TRANSACTION_OVERFLOW
	.no_dead_strip	_ca8210_async_xmit_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca8210_async_xmit_complete
_ca8210_async_xmit_complete:            ; @ca8210_async_xmit_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	ldr	x20, [x0]
	ldr	x2, [x20]
	cmp	x2, x1
	b.ne	LBB0_4
; %bb.1:
	str	wzr, [x20, #8]
	add	x8, x1, #1
	str	x8, [x20]
	cbz	x19, LBB0_3
; %bb.2:
	ldr	x0, [x20, #24]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_err
Lloh2:
	adrp	x8, _MAC_TRANSACTION_OVERFLOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAC_TRANSACTION_OVERFLOW@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_5
LBB0_3:
	ldp	w1, w0, [x20, #12]
	mov	w2, #1
	bl	_ieee802154_xmit_complete
	b	LBB0_6
LBB0_4:
	ldr	x0, [x20, #24]
	str	x1, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	ldr	w0, [x20, #16]
	bl	_ieee802154_wake_queue
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected msdu_handle on data confirm, Expected %d, got %d\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"Link transmission unsuccessful, status = %d\n"

	.comm	_MAC_TRANSACTION_OVERFLOW,8,3   ; @MAC_TRANSACTION_OVERFLOW
	.no_dead_strip	_ca8210_async_xmit_complete
.subsections_via_symbols
