	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1105_static_fdb_change
_sja1105_static_fdb_change:             ## @sja1105_static_fdb_change
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	(%rdi), %r13
	movq	_BLK_IDX_L2_LOOKUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$4, %rbx
	leaq	(%rbx,%r13), %r15
	callq	_sja1105_find_static_fdb_entry
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	movq	8(%r13,%rbx), %rcx
	testl	%r12d, %r12d
	je	LBB0_8
LBB0_5:
	cltq
	movl	(%r14), %edx
	movl	%edx, (%rcx,%rax,4)
	jmp	LBB0_6
LBB0_1:
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.2:
	movl	(%r15), %esi
	incl	%esi
	movq	%r15, %rdi
	callq	_sja1105_table_resize
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	(%r15), %eax
	decl	%eax
	movq	8(%r13,%rbx), %rcx
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%eax, %eax
	movslq	(%r15), %rdx
	movl	-4(%rcx,%rdx,4), %edx
	movl	%edx, (%rcx,%rax,4)
	movl	(%r15), %esi
	decl	%esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sja1105_table_resize           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_IDX_L2_LOOKUP,8,3          ## @BLK_IDX_L2_LOOKUP
	.no_dead_strip	_sja1105_static_fdb_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1105_static_fdb_change
_sja1105_static_fdb_change:             ; @sja1105_static_fdb_change
	.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	x21, x3
	mov	x19, x2
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _BLK_IDX_L2_LOOKUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_IDX_L2_LOOKUP@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	add	x20, x22, x23, lsl #4
	bl	_sja1105_find_static_fdb_entry
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x9, [x20, #8]
	cbz	w21, LBB0_6
LBB0_2:
	mov	w8, #0
	ldr	w10, [x19]
	str	w10, [x9, w0, sxtw #2]
	b	LBB0_8
LBB0_3:
	cbz	w21, LBB0_7
; %bb.4:
	ldr	w8, [x20]
	add	w1, w8, #1
	mov	x0, x20
	bl	_sja1105_table_resize
	mov	x8, x0
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	sub	w0, w8, #1
	add	x8, x22, x23, lsl #4
	ldr	x9, [x8, #8]
	b	LBB0_2
LBB0_6:
	ldrsw	x8, [x20]
	add	x8, x9, x8, lsl #2
	ldur	w8, [x8, #-4]
	str	w8, [x9, w0, uxtw #2]
	ldr	w8, [x20]
	sub	w1, w8, #1
	mov	x0, x20
	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	_sja1105_table_resize
LBB0_7:
	mov	w8, #0
LBB0_8:
	mov	x0, x8
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_IDX_L2_LOOKUP,8,3          ; @BLK_IDX_L2_LOOKUP
	.no_dead_strip	_sja1105_static_fdb_change
.subsections_via_symbols
