	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz8795_r_dyn_mac_table
_ksz8795_r_dyn_mac_table:               ## @ksz8795_r_dyn_mac_table
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	16(%rbp), %r13
	movq	_TABLE_DYNAMIC_MAC@GOTPCREL(%rip), %rax
	movq	_TABLE_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_IND_ACC_TABLE
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_REG_IND_CTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_ksz_write16
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ksz8795_valid_dyn_entry
	movl	%eax, %ebx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	jne	LBB0_3
## %bb.1:
	testl	%r15d, %r15d
	jne	LBB0_6
	jmp	LBB0_2
LBB0_3:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_5
LBB0_2:
	movl	$0, (%r13)
	jmp	LBB0_6
LBB0_5:
	movl	$0, -44(%rbp)
	movq	_REG_IND_DATA_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ksz_read64
	movl	-44(%rbp), %eax
	movl	%eax, 20(%r14)
	movl	%eax, %ecx
	sarl	$8, %ecx
	movl	%ecx, 16(%r14)
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%ecx, 12(%r14)
	sarl	$24, %eax
	movl	%eax, 8(%r14)
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TABLE_DYNAMIC_MAC,4,2          ## @TABLE_DYNAMIC_MAC
	.comm	_TABLE_READ,4,2                 ## @TABLE_READ
	.comm	_REG_IND_CTRL_0,4,2             ## @REG_IND_CTRL_0
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_REG_IND_DATA_HI,4,2            ## @REG_IND_DATA_HI
	.comm	_DYNAMIC_MAC_TABLE_ENTRIES_H,4,2 ## @DYNAMIC_MAC_TABLE_ENTRIES_H
	.comm	_DYNAMIC_MAC_ENTRIES_H_S,4,2    ## @DYNAMIC_MAC_ENTRIES_H_S
	.comm	_DYNAMIC_MAC_TABLE_ENTRIES,4,2  ## @DYNAMIC_MAC_TABLE_ENTRIES
	.comm	_DYNAMIC_MAC_ENTRIES_S,4,2      ## @DYNAMIC_MAC_ENTRIES_S
	.comm	_DYNAMIC_MAC_TABLE_FID,4,2      ## @DYNAMIC_MAC_TABLE_FID
	.comm	_DYNAMIC_MAC_FID_S,4,2          ## @DYNAMIC_MAC_FID_S
	.comm	_DYNAMIC_MAC_TABLE_SRC_PORT,4,2 ## @DYNAMIC_MAC_TABLE_SRC_PORT
	.comm	_DYNAMIC_MAC_SRC_PORT_S,4,2     ## @DYNAMIC_MAC_SRC_PORT_S
	.comm	_DYNAMIC_MAC_TABLE_TIMESTAMP,4,2 ## @DYNAMIC_MAC_TABLE_TIMESTAMP
	.comm	_DYNAMIC_MAC_TIMESTAMP_S,4,2    ## @DYNAMIC_MAC_TIMESTAMP_S
	.no_dead_strip	_ksz8795_r_dyn_mac_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ksz8795_r_dyn_mac_table
lCPI0_0:
	.long	4294967272                      ; 0xffffffe8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ksz8795_r_dyn_mac_table:               ; @ksz8795_r_dyn_mac_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x6
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TABLE_DYNAMIC_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TABLE_DYNAMIC_MAC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TABLE_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TABLE_READ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_IND_ACC_TABLE
	orr	w22, w0, w23
	mov	x0, x19
	bl	_mutex_lock
Lloh6:
	adrp	x8, _REG_IND_CTRL_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_IND_CTRL_0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_ksz_write16
	add	x1, sp, #12
	mov	x0, x19
	bl	_ksz8795_valid_dyn_entry
	mov	x22, x0
Lloh9:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
	cbnz	w23, LBB0_5
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _ENXIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w22, w8
	b.ne	LBB0_4
LBB0_3:
	str	wzr, [x21]
	b	LBB0_5
LBB0_4:
	str	wzr, [sp, #8]
Lloh15:
	adrp	x8, _REG_IND_DATA_HI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_IND_DATA_HI@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ksz_read64
	mov	w22, #0
	ldr	w8, [sp, #8]
	asr	w9, w8, #8
	stp	w9, w8, [x20, #16]
	dup.2s	v0, w8
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	str	d0, [x20, #8]
LBB0_5:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TABLE_DYNAMIC_MAC,4,2          ; @TABLE_DYNAMIC_MAC
	.comm	_TABLE_READ,4,2                 ; @TABLE_READ
	.comm	_REG_IND_CTRL_0,4,2             ; @REG_IND_CTRL_0
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_REG_IND_DATA_HI,4,2            ; @REG_IND_DATA_HI
	.comm	_DYNAMIC_MAC_TABLE_ENTRIES_H,4,2 ; @DYNAMIC_MAC_TABLE_ENTRIES_H
	.comm	_DYNAMIC_MAC_ENTRIES_H_S,4,2    ; @DYNAMIC_MAC_ENTRIES_H_S
	.comm	_DYNAMIC_MAC_TABLE_ENTRIES,4,2  ; @DYNAMIC_MAC_TABLE_ENTRIES
	.comm	_DYNAMIC_MAC_ENTRIES_S,4,2      ; @DYNAMIC_MAC_ENTRIES_S
	.comm	_DYNAMIC_MAC_TABLE_FID,4,2      ; @DYNAMIC_MAC_TABLE_FID
	.comm	_DYNAMIC_MAC_FID_S,4,2          ; @DYNAMIC_MAC_FID_S
	.comm	_DYNAMIC_MAC_TABLE_SRC_PORT,4,2 ; @DYNAMIC_MAC_TABLE_SRC_PORT
	.comm	_DYNAMIC_MAC_SRC_PORT_S,4,2     ; @DYNAMIC_MAC_SRC_PORT_S
	.comm	_DYNAMIC_MAC_TABLE_TIMESTAMP,4,2 ; @DYNAMIC_MAC_TABLE_TIMESTAMP
	.comm	_DYNAMIC_MAC_TIMESTAMP_S,4,2    ; @DYNAMIC_MAC_TIMESTAMP_S
	.no_dead_strip	_ksz8795_r_dyn_mac_table
.subsections_via_symbols
