	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_handle_frame_finish         ## -- Begin function br_handle_frame_finish
	.p2align	4, 0x90
_br_handle_frame_finish:                ## @br_handle_frame_finish
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_eth_hdr
	movq	(%rax), %r15
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_BR_STATE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.2:
	movq	8(%rbx), %r14
	movq	%r13, %rdi
	callq	_eth_hdr
	movl	8(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_br_fdb_update
	movq	%r15, %rdi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	(%rbx), %rax
	movq	_BR_STATE_LEARNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.6:
	movq	(%r14), %rbx
	movq	%r13, %rdi
	callq	_BR_INPUT_SKB_CB
	movq	%rbx, 8(%rax)
	movq	(%r14), %rax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r12d, %r12d
	andl	(%rax), %ecx
	cmovneq	%r13, %r12
	movq	%r15, %rdi
	callq	_is_broadcast_ether_addr
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_br_flood_forward
	movq	%rbx, %r12
LBB0_19:
	movq	%r12, %r13
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_24
LBB0_3:
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_br_multicast_rcv
	testq	%rax, %rax
	je	LBB0_5
LBB0_23:
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_24:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_is_multicast_ether_addr
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%r13, %rsi
	callq	_br_mdb_get
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:
	cmpq	$0, (%rbx)
	jne	LBB0_14
	jmp	LBB0_13
LBB0_15:
	movq	%r15, %rsi
	callq	___br_fdb_get
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	cmpq	$0, 8(%rax)
	jne	LBB0_22
## %bb.18:
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_br_forward
	jmp	LBB0_19
LBB0_9:
	movq	%r13, %rdi
	callq	_BR_INPUT_SKB_CB
	cmpq	$0, (%rax)
	je	LBB0_10
LBB0_13:
	movq	%r14, %rdi
	callq	_br_multicast_is_router
	testq	%rax, %rax
	je	LBB0_20
LBB0_14:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	callq	_br_multicast_forward
LBB0_21:
	movq	(%r14), %rax
	incl	4(%rax)
LBB0_22:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_br_pass_frame_up               ## TAILCALL
LBB0_16:
	movq	%r12, %rbx
	jmp	LBB0_11
LBB0_20:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_br_multicast_forward
	testq	%r12, %r12
	jne	LBB0_21
	jmp	LBB0_24
LBB0_10:
	movq	(%r14), %rax
	incl	4(%rax)
	movq	%r13, %rbx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_STATE_DISABLED,8,3          ## @BR_STATE_DISABLED
	.comm	_BR_STATE_LEARNING,8,3          ## @BR_STATE_LEARNING
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_handle_frame_finish         ; -- Begin function br_handle_frame_finish
	.p2align	2
_br_handle_frame_finish:                ; @br_handle_frame_finish
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_eth_hdr
	ldr	x21, [x0]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_rcu_dereference
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BR_STATE_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BR_STATE_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.2:
	ldr	x20, [x22, #8]
	mov	x0, x19
	bl	_eth_hdr
	ldr	w2, [x0, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_br_fdb_update
	mov	x0, x21
	bl	_is_broadcast_ether_addr
	cbz	x0, LBB0_7
LBB0_3:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _BR_STATE_LEARNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BR_STATE_LEARNING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.4:
	ldr	x22, [x20]
	mov	x0, x19
	bl	_BR_INPUT_SKB_CB
	str	x22, [x0, #8]
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x22, xzr, x19, eq
	mov	x0, x21
	bl	_is_broadcast_ether_addr
	mov	x23, x19
	cbz	x0, LBB0_11
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_br_flood_forward
	mov	x22, x23
LBB0_6:
	mov	x19, x22
	cbnz	x22, LBB0_21
	b	LBB0_10
LBB0_7:
	mov	x0, x21
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_3
; %bb.8:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_br_multicast_rcv
	cbz	x0, LBB0_3
LBB0_9:
	mov	x0, x19
	bl	_kfree_skb
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x21
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_14
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	bl	_br_mdb_get
	mov	x21, x0
	cbz	x0, LBB0_17
; %bb.13:
	ldr	x8, [x21]
	cbnz	x8, LBB0_19
	b	LBB0_18
LBB0_14:
	mov	x0, x20
	mov	x1, x21
	bl	___br_fdb_get
	cbz	x0, LBB0_22
; %bb.15:
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_21
; %bb.16:
	ldr	w0, [x0]
	mov	x1, x19
	mov	x2, x22
	bl	_br_forward
	b	LBB0_6
LBB0_17:
	mov	x0, x19
	bl	_BR_INPUT_SKB_CB
	ldr	x8, [x0]
	cbz	x8, LBB0_24
LBB0_18:
	mov	x0, x20
	bl	_br_multicast_is_router
	cbz	x0, LBB0_23
LBB0_19:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x19
	bl	_br_multicast_forward
LBB0_20:
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_br_pass_frame_up
LBB0_22:
	mov	x23, x22
	b	LBB0_5
LBB0_23:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_br_multicast_forward
	cbnz	x22, LBB0_20
	b	LBB0_10
LBB0_24:
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	mov	x23, x19
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_STATE_DISABLED,8,3          ; @BR_STATE_DISABLED
	.comm	_BR_STATE_LEARNING,8,3          ; @BR_STATE_LEARNING
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
.subsections_via_symbols
