	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_delete_peer     ## -- Begin function brcmf_flowring_delete_peer
	.p2align	4, 0x90
_brcmf_flowring_delete_peer:            ## @brcmf_flowring_delete_peer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	callq	_dev_get_drvdata
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rax
	movq	(%rbx), %rcx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rbx
	movq	(%rcx,%rax,8), %rax
	movq	_ADDR_INDIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	8(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_memcmp
	testq	%rax, %rax
	sete	%cl
	je	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx), %edi
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_memcmp
	testq	%rax, %rax
	sete	%cl
	jne	LBB0_6
	jmp	LBB0_5
LBB0_1:
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_3:
	xorl	%r15d, %r15d
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	xorb	$1, %cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
LBB0_9:
	movq	_BRCMF_FLOWRING_HASHSIZE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %r13
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%r13,%r12), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	addq	$24, %r12
	movq	_BRCMF_FLOWRING_HASHSIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r13,%r12)
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rax
	movq	32(%rcx), %rcx
	movq	8(%rcx,%r12), %rsi
	movq	(%rax,%rsi,8), %rax
	movq	(%rax), %rcx
	movq	_RING_OPEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_RING_CLOSING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_brcmf_msgbuf_delete_flowring
	jmp	LBB0_16
LBB0_17:
	testb	$1, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_20
## %bb.18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r14
	testq	%r15, %r15
	movq	(%rbx), %rax
	cmoveq	%r14, %r15
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	callq	_kfree
	cmpq	$0, (%r14)
	jne	LBB0_20
## %bb.19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 8(%rax)
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ADDR_INDIRECT,8,3              ## @ADDR_INDIRECT
	.comm	_BRCMF_FLOWRING_HASHSIZE,8,3    ## @BRCMF_FLOWRING_HASHSIZE
	.comm	_RING_OPEN,8,3                  ## @RING_OPEN
	.comm	_RING_CLOSING,8,3               ## @RING_CLOSING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_flowring_delete_peer     ; -- Begin function brcmf_flowring_delete_peer
	.p2align	2
_brcmf_flowring_delete_peer:            ; @brcmf_flowring_delete_peer
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_dev_get_drvdata
	ldr	x8, [x0]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x19]
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	ldr	x8, [x8, w21, sxtw #3]
Lloh0:
	adrp	x9, _ADDR_INDIRECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADDR_INDIRECT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w26, eq
	mov	x8, x19
	ldr	x23, [x8, #16]!
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh3:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	cbz	x23, LBB0_4
; %bb.1:
	ldr	w0, [x23, #8]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcmp
	cmp	x0, #0
	cset	w8, eq
	cbz	x0, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x23
	ldr	x23, [x23]
	cbz	x23, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23, #8]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcmp
	cmp	x0, #0
	cset	w8, eq
	cbnz	x0, LBB0_2
	b	LBB0_6
LBB0_4:
	mov	x27, #0
	mov	w8, #1
	b	LBB0_8
LBB0_5:
	mov	x27, #0
LBB0_6:
	mov	w26, #0
LBB0_7:
	eor	w8, w8, #0x1
LBB0_8:
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh5:
	adrp	x28, _BRCMF_FLOWRING_HASHSIZE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _BRCMF_FLOWRING_HASHSIZE@GOTPAGEOFF]
	ldr	x8, [x28]
	cbz	x8, LBB0_16
; %bb.9:
	mov	x24, #0
	mov	x22, #0
	ldr	x25, [x19, #32]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x25, x24
	ldr	w0, [x8, #16]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcmp
	cbz	x0, LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	ldr	x8, [x28]
	add	x24, x24, #24
	cmp	x22, x8
	b.hs	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	tbz	w26, #0, LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x25, x24]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	x9, x8, [x19, #24]
	add	x8, x8, x24
	ldr	x1, [x8, #8]
	ldr	x8, [x9, x1, lsl #3]
	ldr	x9, [x8]
Lloh7:
	adrp	x10, _RING_OPEN@GOTPAGE
Lloh8:
	ldr	x10, [x10, _RING_OPEN@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh10:
	adrp	x9, _RING_CLOSING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RING_CLOSING@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x9, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_brcmf_msgbuf_delete_flowring
	b	LBB0_11
LBB0_16:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_19
; %bb.17:
	ldr	x8, [x23]
	cmp	x27, #0
	ldr	x20, [sp]                       ; 8-byte Folded Reload
	csel	x9, x20, x27, eq
	str	x8, [x9]
	mov	x0, x23
	bl	_kfree
	ldr	x8, [x20]
	cbnz	x8, LBB0_19
; %bb.18:
	str	wzr, [x19, #8]
LBB0_19:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ADDR_INDIRECT,8,3              ; @ADDR_INDIRECT
	.comm	_BRCMF_FLOWRING_HASHSIZE,8,3    ; @BRCMF_FLOWRING_HASHSIZE
	.comm	_RING_OPEN,8,3                  ; @RING_OPEN
	.comm	_RING_CLOSING,8,3               ; @RING_CLOSING
.subsections_via_symbols
