	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_proto_bcdc_txcomplete    ## -- Begin function brcmf_proto_bcdc_txcomplete
	.p2align	4, 0x90
_brcmf_proto_bcdc_txcomplete:           ## @brcmf_proto_bcdc_txcomplete
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	(%r12), %edi
	callq	_brcmf_fws_fc_active
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.2:
	movl	(%r12), %edi
	movq	%r15, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_fws_bustxfail            ## TAILCALL
LBB0_3:
	movq	(%rbx), %rdi
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_brcmf_proto_bcdc_hdrpull
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_brcmu_pkt_buf_free_skb
	jmp	LBB0_6
LBB0_5:
	movq	-40(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_brcmf_txfinalize
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_proto_bcdc_txcomplete    ; -- Begin function brcmf_proto_bcdc_txcomplete
	.p2align	2
_brcmf_proto_bcdc_txcomplete:           ; @brcmf_proto_bcdc_txcomplete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	bl	_dev_get_drvdata
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	w0, [x22]
	bl	_brcmf_fws_fc_active
	cbz	x0, LBB0_3
; %bb.1:
	cbnz	w20, LBB0_6
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x19
	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
	add	sp, sp, #64
	b	_brcmf_fws_bustxfail
LBB0_3:
	ldr	x0, [x21]
	add	x3, sp, #8
	mov	w1, #0
	mov	x2, x19
	bl	_brcmf_proto_bcdc_hdrpull
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_brcmu_pkt_buf_free_skb
	b	LBB0_6
LBB0_5:
	ldr	x0, [sp, #8]
	mov	x1, x19
	mov	x2, x20
	bl	_brcmf_txfinalize
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
