	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1105_bridge_member
_sja1105_bridge_member:                 ## @sja1105_bridge_member
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %edx
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	_BLK_IDX_L2_FORWARDING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	(%rax,%rsi,8), %r13
	movq	_SJA1105_NUM_PORTS@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	xorl	%r12d, %r12d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%rbx), %rax
	addq	$4, %r13
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dsa_is_user_port
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, %r15
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dsa_to_port
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_sja1105_port_allow_traffic
	movq	%r15, %rdi
	movq	%rbx, %r15
	movq	_SJA1105_NUM_PORTS@GOTPCREL(%rip), %rbx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	callq	_sja1105_port_allow_traffic
	movq	_BLK_IDX_L2_FORWARDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	$1, %r8d
	callq	_sja1105_dynamic_config_write
	testl	%eax, %eax
	jns	LBB0_6
## %bb.9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_BLK_IDX_L2_FORWARDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	movslq	%edx, %rax
	leaq	(,%rax,4), %rcx
	addq	%r13, %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r8d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sja1105_dynamic_config_write   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_IDX_L2_FORWARDING,8,3      ## @BLK_IDX_L2_FORWARDING
	.comm	_SJA1105_NUM_PORTS,4,2          ## @SJA1105_NUM_PORTS
	.no_dead_strip	_sja1105_bridge_member
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1105_bridge_member
_sja1105_bridge_member:                 ; @sja1105_bridge_member
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	ldr	x20, [x0]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _BLK_IDX_L2_FORWARDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BLK_IDX_L2_FORWARDING@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	ldr	x21, [x8, x1, lsl #3]
Lloh3:
	adrp	x28, _SJA1105_NUM_PORTS@GOTPAGE
Lloh4:
	ldr	x28, [x28, _SJA1105_NUM_PORTS@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, x3
	mov	x23, x2
	mov	x24, x0
	mov	x25, #0
	mov	w26, w19
	mov	x27, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x28]
	add	x27, x27, #4
	cmp	x25, x8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_dsa_is_user_port
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x26, x25
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_dsa_to_port
	ldr	x8, [x0]
	cmp	x8, x23
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x26
	mov	x3, x22
	bl	_sja1105_port_allow_traffic
	mov	x0, x21
	mov	x1, x19
	mov	x2, x25
	mov	x3, x22
	bl	_sja1105_port_allow_traffic
Lloh5:
	adrp	x8, _BLK_IDX_L2_FORWARDING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BLK_IDX_L2_FORWARDING@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	x0, x20
	mov	x2, x25
	mov	x3, x27
	mov	w4, #1
	bl	_sja1105_dynamic_config_write
	tbz	w0, #31, LBB0_2
; %bb.7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh8:
	adrp	x8, _BLK_IDX_L2_FORWARDING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BLK_IDX_L2_FORWARDING@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
LBB0_9:
	add	x3, x21, w19, sxtw #2
	mov	x0, x20
	mov	x2, x19
	mov	w4, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sja1105_dynamic_config_write
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_IDX_L2_FORWARDING,8,3      ; @BLK_IDX_L2_FORWARDING
	.comm	_SJA1105_NUM_PORTS,4,2          ; @SJA1105_NUM_PORTS
	.no_dead_strip	_sja1105_bridge_member
.subsections_via_symbols
