	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_msgbuf_remove_flowring
_brcmf_msgbuf_remove_flowring:          ## @brcmf_msgbuf_remove_flowring
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSGBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_brcmf_dbg
	movq	_BRCMF_H2D_TXFLOWRING_MAX_ITEM@GOTPCREL(%rip), %rax
	movq	_BRCMF_H2D_TXFLOWRING_ITEMSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	imull	(%rax), %esi
	movq	24(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rdx
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movl	(%rax,%r14,4), %ecx
	callq	_dma_free_coherent
	movl	(%rbx), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_brcmf_flowring_delete          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSGBUF,4,2                     ## @MSGBUF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Removing flowring %d\n"

	.comm	_BRCMF_H2D_TXFLOWRING_MAX_ITEM,4,2 ## @BRCMF_H2D_TXFLOWRING_MAX_ITEM
	.comm	_BRCMF_H2D_TXFLOWRING_ITEMSIZE,4,2 ## @BRCMF_H2D_TXFLOWRING_ITEMSIZE
	.no_dead_strip	_brcmf_msgbuf_remove_flowring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_msgbuf_remove_flowring
_brcmf_msgbuf_remove_flowring:          ; @brcmf_msgbuf_remove_flowring
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MSGBUF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSGBUF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_brcmf_dbg
Lloh5:
	adrp	x8, _BRCMF_H2D_TXFLOWRING_MAX_ITEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BRCMF_H2D_TXFLOWRING_MAX_ITEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _BRCMF_H2D_TXFLOWRING_ITEMSIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BRCMF_H2D_TXFLOWRING_ITEMSIZE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	mul	w1, w9, w8
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x2, [x8]
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w3, [x9, x19, lsl #2]
	bl	_dma_free_coherent
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_brcmf_flowring_delete
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSGBUF,4,2                     ; @MSGBUF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Removing flowring %d\n"

	.comm	_BRCMF_H2D_TXFLOWRING_MAX_ITEM,4,2 ; @BRCMF_H2D_TXFLOWRING_MAX_ITEM
	.comm	_BRCMF_H2D_TXFLOWRING_ITEMSIZE,4,2 ; @BRCMF_H2D_TXFLOWRING_ITEMSIZE
	.no_dead_strip	_brcmf_msgbuf_remove_flowring
.subsections_via_symbols
