	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_arl_op
_b53_arl_op:                            ## @b53_arl_op
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	$0, -52(%rbp)
	movl	$0, -44(%rbp)
	movq	%rcx, %rdi
	callq	_ether_addr_to_u64
	movl	%eax, %r12d
	movq	_B53_ARLIO_PAGE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_B53_MAC_ADDR_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	callq	_b53_write48
	movl	(%r13), %esi
	movq	_B53_VLAN_ID_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_b53_write16
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_b53_arl_rw_op
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leaq	-96(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_b53_arl_read
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.2:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	$0, -72(%rbp)
	movl	$1, -44(%rbp)
LBB0_4:
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movl	%r13d, -92(%rbp)
	movl	%r15d, -80(%rbp)
	movl	$1, -88(%rbp)
	movl	-84(%rbp), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	leaq	-52(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdx
	callq	_b53_arl_from_entry
	movq	_B53_ARLIO_PAGE@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movl	-44(%rbp), %edi
	callq	_B53_ARLTBL_MAC_VID_ENTRY
	movl	-52(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b53_write64
	movl	(%r15), %r14d
	movl	-44(%rbp), %edi
	callq	_B53_ARLTBL_DATA_ENTRY
	movq	-72(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b53_write32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_b53_arl_rw_op
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B53_ARLIO_PAGE,4,2             ## @B53_ARLIO_PAGE
	.comm	_B53_MAC_ADDR_IDX,4,2           ## @B53_MAC_ADDR_IDX
	.comm	_B53_VLAN_ID_IDX,4,2            ## @B53_VLAN_ID_IDX
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_b53_arl_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_arl_op
_b53_arl_op:                            ; @b53_arl_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x22, x5
	mov	x21, x4
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	x0, x3
	bl	_ether_addr_to_u64
	mov	x25, x0
Lloh0:
	adrp	x26, _B53_ARLIO_PAGE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _B53_ARLIO_PAGE@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh2:
	adrp	x8, _B53_MAC_ADDR_IDX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B53_MAC_ADDR_IDX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x25
	bl	_b53_write48
	ldr	w1, [x26]
Lloh5:
	adrp	x8, _B53_VLAN_ID_IDX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B53_VLAN_ID_IDX@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_b53_write16
	mov	x0, x19
	mov	w1, #1
	bl	_b53_arl_rw_op
	cbnz	w0, LBB0_5
; %bb.1:
	add	x3, sp, #24
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	mov	x5, x22
	bl	_b53_arl_read
	cbnz	w24, LBB0_5
; %bb.2:
	cbz	w0, LBB0_4
; %bb.3:
	str	xzr, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #8]
LBB0_4:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	stp	w23, w22, [sp, #24]
	mov	w8, #1
	str	w21, [sp, #40]
	str	w8, [sp, #32]
	ldr	w0, [sp, #36]
Lloh8:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_memcpy
	add	x0, sp, #12
	add	x1, sp, #16
	add	x2, sp, #24
	bl	_b53_arl_from_entry
	ldr	w20, [x26]
	ldr	w0, [sp, #8]
	bl	_B53_ARLTBL_MAC_VID_ENTRY
	mov	x2, x0
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_b53_write64
	ldr	w20, [x26]
	ldr	w0, [sp, #8]
	bl	_B53_ARLTBL_DATA_ENTRY
	mov	x2, x0
	ldr	x3, [sp, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_b53_write32
	mov	x0, x19
	mov	w1, #0
	bl	_b53_arl_rw_op
LBB0_5:
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_B53_ARLIO_PAGE,4,2             ; @B53_ARLIO_PAGE
	.comm	_B53_MAC_ADDR_IDX,4,2           ; @B53_MAC_ADDR_IDX
	.comm	_B53_VLAN_ID_IDX,4,2            ; @B53_VLAN_ID_IDX
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_b53_arl_op
.subsections_via_symbols
