	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7530_port_fdb_add
_mt7530_port_fdb_add:                   ## @mt7530_port_fdb_add
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	(%rdi), %rbx
	movl	%esi, %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_STATIC_ENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movl	$-1, %r8d
	callq	_mt7530_fdb_write
	movq	_MT7530_FDB_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mt7530_fdb_cmd
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATIC_ENT,4,2                 ## @STATIC_ENT
	.comm	_MT7530_FDB_WRITE,4,2           ## @MT7530_FDB_WRITE
	.no_dead_strip	_mt7530_port_fdb_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7530_port_fdb_add
_mt7530_port_fdb_add:                   ; @mt7530_port_fdb_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	ldr	x21, [x0]
	mov	x0, x1
	bl	_BIT
	mov	x22, x0
	mov	x0, x21
	bl	_mutex_lock
Lloh0:
	adrp	x8, _STATIC_ENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATIC_ENT@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	mov	w4, #-1
	bl	_mt7530_fdb_write
Lloh3:
	adrp	x8, _MT7530_FDB_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT7530_FDB_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_mt7530_fdb_cmd
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STATIC_ENT,4,2                 ; @STATIC_ENT
	.comm	_MT7530_FDB_WRITE,4,2           ; @MT7530_FDB_WRITE
	.no_dead_strip	_mt7530_port_fdb_add
.subsections_via_symbols
