	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_enqueue         ## -- Begin function brcmf_flowring_enqueue
	.p2align	4, 0x90
_brcmf_flowring_enqueue:                ## @brcmf_flowring_enqueue
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax,%rsi,8), %rbx
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_skb_queue_tail
	cmpl	$0, 4(%rbx)
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_queue_len
	movq	_BRCMF_FLOWRING_HIGH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_brcmf_flowring_block
	movq	_MSGBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_brcmf_dbg
	movq	%rbx, %rdi
	callq	_skb_queue_len
	movq	_BRCMF_FLOWRING_LOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_brcmf_flowring_block
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_queue_len                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_FLOWRING_HIGH,8,3        ## @BRCMF_FLOWRING_HIGH
	.comm	_MSGBUF,4,2                     ## @MSGBUF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flowcontrol: BLOCK for ring %d\n"

	.comm	_BRCMF_FLOWRING_LOW,8,3         ## @BRCMF_FLOWRING_LOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_enqueue         ; -- Begin function brcmf_flowring_enqueue
	.p2align	2
_brcmf_flowring_enqueue:                ; @brcmf_flowring_enqueue
	.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, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8, x1, lsl #3]
	mov	x0, x19
	mov	x1, x2
	bl	_skb_queue_tail
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_skb_queue_len
Lloh0:
	adrp	x8, _BRCMF_FLOWRING_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRCMF_FLOWRING_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_brcmf_flowring_block
Lloh3:
	adrp	x8, _MSGBUF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSGBUF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_brcmf_dbg
	mov	x0, x19
	bl	_skb_queue_len
Lloh8:
	adrp	x8, _BRCMF_FLOWRING_LOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BRCMF_FLOWRING_LOW@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_brcmf_flowring_block
LBB0_4:
	mov	x0, x19
	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	_skb_queue_len
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_FLOWRING_HIGH,8,3        ; @BRCMF_FLOWRING_HIGH
	.comm	_MSGBUF,4,2                     ; @MSGBUF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flowcontrol: BLOCK for ring %d\n"

	.comm	_BRCMF_FLOWRING_LOW,8,3         ; @BRCMF_FLOWRING_LOW
.subsections_via_symbols
