	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_msgbuf_process_txstatus
_brcmf_msgbuf_process_txstatus:         ## @brcmf_msgbuf_process_txstatus
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	callq	_le32_to_cpu
	leaq	-1(%rax), %r15
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	movq	%r15, %rdx
	callq	_brcmf_msgbuf_get_pktid
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	subq	%r13, %r12
	movl	16(%rbx), %esi
	movq	%r12, %rdi
	callq	_set_bit
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_atomic_dec
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	callq	_brcmf_get_ifp
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_txfinalize               ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART,8,3 ## @BRCMF_H2D_MSGRING_FLOWRING_IDSTART
	.no_dead_strip	_brcmf_msgbuf_process_txstatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_msgbuf_process_txstatus
_brcmf_msgbuf_process_txstatus:         ; @brcmf_msgbuf_process_txstatus
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #4]
	bl	_le32_to_cpu
	sub	x21, x0, #1
	ldr	w0, [x19, #8]
	bl	_le16_to_cpu
	mov	x22, x0
Lloh0:
	adrp	x8, _BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_H2D_MSGRING_FLOWRING_IDSTART@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x20, #20]
	mov	x2, x21
	bl	_brcmf_msgbuf_get_pktid
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	sub	x22, x22, x23
	ldr	w1, [x20, #16]
	mov	x0, x22
	bl	_set_bit
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x22, lsl #3]
	bl	_atomic_dec
	ldr	x0, [x20]
	ldr	w1, [x19]
	bl	_brcmf_get_ifp
	mov	x1, x21
	mov	w2, #1
	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
	b	_brcmf_txfinalize
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_H2D_MSGRING_FLOWRING_IDSTART,8,3 ; @BRCMF_H2D_MSGRING_FLOWRING_IDSTART
	.no_dead_strip	_brcmf_msgbuf_process_txstatus
.subsections_via_symbols
