	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83867_config_port_mirroring
_dp83867_config_port_mirroring:         ## @dp83867_config_port_mirroring
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_DP83867_PORT_MIRROING_EN@GOTPCREL(%rip), %r8
	movq	_DP83867_DEVADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DP83867_CFG4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DP83867_CFG4_PORT_MIRROR_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%r8), %rax
	jne	LBB0_2
## %bb.1:
	callq	_phy_set_bits_mmd
	jmp	LBB0_3
LBB0_2:
	callq	_phy_clear_bits_mmd
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP83867_PORT_MIRROING_EN,8,3   ## @DP83867_PORT_MIRROING_EN
	.comm	_DP83867_DEVADDR,4,2            ## @DP83867_DEVADDR
	.comm	_DP83867_CFG4,4,2               ## @DP83867_CFG4
	.comm	_DP83867_CFG4_PORT_MIRROR_EN,4,2 ## @DP83867_CFG4_PORT_MIRROR_EN
	.no_dead_strip	_dp83867_config_port_mirroring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83867_config_port_mirroring
_dp83867_config_port_mirroring:         ; @dp83867_config_port_mirroring
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _DP83867_PORT_MIRROING_EN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DP83867_PORT_MIRROING_EN@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DP83867_DEVADDR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DP83867_DEVADDR@GOTPAGEOFF]
Lloh5:
	adrp	x11, _DP83867_CFG4@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DP83867_CFG4@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x10]
Lloh8:
	ldr	w2, [x11]
Lloh9:
	adrp	x10, _DP83867_CFG4_PORT_MIRROR_EN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DP83867_CFG4_PORT_MIRROR_EN@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x10]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_phy_set_bits_mmd
	b	LBB0_3
LBB0_2:
	bl	_phy_clear_bits_mmd
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DP83867_PORT_MIRROING_EN,8,3   ; @DP83867_PORT_MIRROING_EN
	.comm	_DP83867_DEVADDR,4,2            ; @DP83867_DEVADDR
	.comm	_DP83867_CFG4,4,2               ; @DP83867_CFG4
	.comm	_DP83867_CFG4_PORT_MIRROR_EN,4,2 ; @DP83867_CFG4_PORT_MIRROR_EN
	.no_dead_strip	_dp83867_config_port_mirroring
.subsections_via_symbols
