	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_flowring_block
_brcmf_flowring_block:                  ## @brcmf_flowring_block
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_11
## %bb.1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_brcmf_flowring_ifidx_get
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.2:
	xorl	%r14d, %r14d
	movq	_RING_OPEN@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r14, %r12
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_brcmf_flowring_ifidx_get
	cmpq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.12:
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_10
LBB0_9:
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, (%rax)
	movl	8(%rbx), %edi
	callq	_dev_get_drvdata
	movq	(%rax), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_brcmf_get_ifp
	movq	_BRCMF_NETIF_STOP_REASON_FLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movl	%r14d, %edx
	callq	_brcmf_txflowblock_if
LBB0_10:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_11:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_OPEN,8,3                  ## @RING_OPEN
	.comm	_BRCMF_NETIF_STOP_REASON_FLOW,4,2 ## @BRCMF_NETIF_STOP_REASON_FLOW
	.no_dead_strip	_brcmf_flowring_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_flowring_block
_brcmf_flowring_block:                  ; @brcmf_flowring_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_10
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_brcmf_flowring_ifidx_get
	mov	x23, x0
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x24, #0
Lloh0:
	adrp	x25, _RING_OPEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RING_OPEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x26, [x8, x24, lsl #3]
	cmp	x26, #0
	ccmp	x22, x24, #4, ne
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_brcmf_flowring_ifidx_get
	cmp	x0, x23
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	cbz	w8, LBB0_3
; %bb.8:
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x22, lsl #3]
	str	w20, [x8]
	b	LBB0_10
LBB0_9:
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x22, lsl #3]
	str	w20, [x8]
	ldr	w0, [x21, #8]
	bl	_dev_get_drvdata
	ldr	x0, [x0]
	mov	x1, x23
	bl	_brcmf_get_ifp
Lloh2:
	adrp	x8, _BRCMF_NETIF_STOP_REASON_FLOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BRCMF_NETIF_STOP_REASON_FLOW@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_brcmf_txflowblock_if
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_OPEN,8,3                  ; @RING_OPEN
	.comm	_BRCMF_NETIF_STOP_REASON_FLOW,4,2 ; @BRCMF_NETIF_STOP_REASON_FLOW
	.no_dead_strip	_brcmf_flowring_block
.subsections_via_symbols
