	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_usb_tx_complete
_brcmf_usb_tx_complete:                 ## @brcmf_usb_tx_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	%rdi, %r15
	movq	(%rdi), %rdx
	movq	8(%rdi), %r14
	movq	(%r14), %rcx
	movq	8(%r14), %rbx
	movq	_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_brcmf_usb_del_fromq
	movl	24(%rbx), %edi
	movq	(%r14), %rsi
	xorl	%edx, %edx
	cmpq	$0, (%r15)
	sete	%dl
	callq	_brcmf_proto_bcdc_txcomplete
	movq	$0, (%r14)
	leaq	28(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_brcmf_usb_enq
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jle	LBB0_3
## %bb.1:
	cmpl	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_brcmf_proto_bcdc_txflowblock
	movl	$0, 16(%rbx)
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB,4,2                        ## @USB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter, urb->status=%d, skb=%p\n"

	.no_dead_strip	_brcmf_usb_tx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_usb_tx_complete
_brcmf_usb_tx_complete:                 ; @brcmf_usb_tx_complete
	.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	x20, x0
Lloh0:
	adrp	x8, _USB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x2, x21, [x20]
	ldp	x3, x19, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x19
	mov	x1, x21
	bl	_brcmf_usb_del_fromq
	ldr	w0, [x19, #24]
	ldr	x1, [x21]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w2, eq
	bl	_brcmf_proto_bcdc_txcomplete
	str	xzr, [x21]
	add	x1, x19, #28
	mov	x0, x19
	mov	x2, x21
	mov	x3, x19
	bl	_brcmf_usb_enq
	add	x20, x19, #20
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_brcmf_proto_bcdc_txflowblock
	str	wzr, [x19, #16]
LBB0_3:
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB,4,2                        ; @USB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter, urb->status=%d, skb=%p\n"

	.no_dead_strip	_brcmf_usb_tx_complete
.subsections_via_symbols
