	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_create          ## -- Begin function brcmf_flowring_create
	.p2align	4, 0x90
_brcmf_flowring_create:                 ## @brcmf_flowring_create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	_brcmf_flowring_prio2fifo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %r12
	movq	(%rdi), %rax
	movq	(%rax,%rcx,8), %rax
	movq	_ADDR_INDIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.4:
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_brcmf_flowring_is_tdls_mac
	testq	%rax, %rax
	jne	LBB0_3
LBB0_6:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_BRCMF_FLOWRING_HASH_STA
	jmp	LBB0_7
LBB0_1:
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ALLFFMAC@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%r12d, %r12d
LBB0_3:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_BRCMF_FLOWRING_HASH_AP
LBB0_7:
	movq	_BRCMF_FLOWRING_HASHSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.8:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	24(%rdx), %r12
	leal	-1(%rcx), %r15d
	andl	%eax, %r15d
	xorl	%r13d, %r13d
	movq	_BRCMF_FLOWRING_INVALID_IFIDX@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r15d
	leal	-1(%rcx), %eax
	andl	%eax, %r15d
	incl	%r13d
	cmpl	%ecx, %r13d
	jge	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %r14
	movq	(%r12,%r14,8), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	20(%r12,%r14,8), %edi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_BRCMF_FLOWRING_HASHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_12
LBB0_13:
	movq	_BRCMF_FLOWRING_INVALID_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_23:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.19:
	movq	16(%r13), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_16
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_20
	jmp	LBB0_22
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	cmpl	%eax, %ebx
	je	LBB0_22
## %bb.17:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	leaq	(%r12,%r14,8), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	20(%rcx), %edi
	movq	%rax, %r13
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12,%r14,8)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%ebx, 16(%r12,%r14,8)
	movl	%r15d, (%r13)
	movq	_RING_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	%r13, %rdi
	addq	$4, %rdi
	callq	_skb_queue_head_init
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	%ebx, %ecx
	movq	%r13, (%rax,%rcx,8)
	jmp	LBB0_23
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_brcmf_flowring_prio2fifo,8,3   ## @brcmf_flowring_prio2fifo
	.comm	_ADDR_INDIRECT,8,3              ## @ADDR_INDIRECT
	.comm	_ALLFFMAC,8,3                   ## @ALLFFMAC
	.comm	_BRCMF_FLOWRING_HASHSIZE,4,2    ## @BRCMF_FLOWRING_HASHSIZE
	.comm	_BRCMF_FLOWRING_INVALID_IFIDX,8,3 ## @BRCMF_FLOWRING_INVALID_IFIDX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_RING_CLOSED,4,2                ## @RING_CLOSED
	.comm	_BRCMF_FLOWRING_INVALID_ID,4,2  ## @BRCMF_FLOWRING_INVALID_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_create          ; -- Begin function brcmf_flowring_create
	.p2align	2
_brcmf_flowring_create:                 ; @brcmf_flowring_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _brcmf_flowring_prio2fifo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _brcmf_flowring_prio2fifo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x21, [x8, x2, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8, x3, lsl #3]
Lloh3:
	adrp	x9, _ADDR_INDIRECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADDR_INDIRECT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	bl	_brcmf_flowring_is_tdls_mac
	cbnz	x0, LBB0_6
LBB0_3:
	stp	x22, x21, [sp, #8]              ; 16-byte Folded Spill
	mov	x0, x21
	mov	x1, x20
	bl	_BRCMF_FLOWRING_HASH_STA
	b	LBB0_7
LBB0_4:
	mov	x0, x22
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, #0
Lloh6:
	adrp	x8, _ALLFFMAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALLFFMAC@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
LBB0_6:
	stp	x22, x21, [sp, #8]              ; 16-byte Folded Spill
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_BRCMF_FLOWRING_HASH_AP
LBB0_7:
Lloh9:
	adrp	x23, _BRCMF_FLOWRING_HASHSIZE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _BRCMF_FLOWRING_HASHSIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	subs	w9, w8, #1
	b.lt	LBB0_13
; %bb.8:
	mov	w21, #0
	ldr	x26, [x19, #24]
	and	w25, w9, w0
	mov	w22, #24
Lloh11:
	adrp	x20, _BRCMF_FLOWRING_INVALID_IFIDX@GOTPAGE
Lloh12:
	ldr	x20, [x20, _BRCMF_FLOWRING_INVALID_IFIDX@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w9, w25, #1
	sub	w10, w8, #1
	and	w25, w10, w9
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	smaddl	x27, w25, w22, x26
	ldr	x9, [x27]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sxtw	x28, w25
	madd	x24, x28, x22, x26
	ldr	w0, [x24, #20]!
	bl	_is_zero_ether_addr
	cbnz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x23]
	b	LBB0_9
LBB0_13:
Lloh13:
	adrp	x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BRCMF_FLOWRING_INVALID_ID@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
LBB0_14:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.16:
	mov	x23, #0
	ldr	x9, [x19, #16]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x23, lsl #3]
	cbz	x10, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x23, x23, #1
	cmp	x8, x23
	b.ne	LBB0_17
	b	LBB0_23
LBB0_19:
	mov	w23, #0
LBB0_20:
	cmp	w23, w8
	b.eq	LBB0_23
; %bb.21:
Lloh16:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_23
; %bb.22:
	mov	x20, x0
	ldr	w0, [x24]
Lloh19:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_memcpy
	mov	w8, #24
	madd	x8, x28, x8, x26
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	x9, [x8, #8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x9, [x27]
	str	w23, [x8, #16]
	str	w25, [x20]
Lloh22:
	adrp	x8, _RING_CLOSED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RING_CLOSED@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	add	x0, x20, #4
	bl	_skb_queue_head_init
	ldr	x8, [x19, #16]
	str	x20, [x8, w23, uxtw #3]
	b	LBB0_14
LBB0_23:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_brcmf_flowring_prio2fifo,8,3   ; @brcmf_flowring_prio2fifo
	.comm	_ADDR_INDIRECT,8,3              ; @ADDR_INDIRECT
	.comm	_ALLFFMAC,8,3                   ; @ALLFFMAC
	.comm	_BRCMF_FLOWRING_HASHSIZE,4,2    ; @BRCMF_FLOWRING_HASHSIZE
	.comm	_BRCMF_FLOWRING_INVALID_IFIDX,8,3 ; @BRCMF_FLOWRING_INVALID_IFIDX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_RING_CLOSED,4,2                ; @RING_CLOSED
	.comm	_BRCMF_FLOWRING_INVALID_ID,4,2  ; @BRCMF_FLOWRING_INVALID_ID
.subsections_via_symbols
