	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmgenet_mii_pdata_init
_bcmgenet_mii_pdata_init:               ## @bcmgenet_mii_pdata_init
	.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	(%rax), %rcx
	movq	_PHY_INTERFACE_MODE_MOCA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_3
## %bb.2:
	movl	8(%rax), %ecx
	movq	_PHY_MAX_ADDR@GOTPCREL(%rip), %rax
	movl	$1, %edx
	shll	%cl, %edx
	xorl	%edi, %edi
	cmpl	(%rax), %ecx
	cmovgel	%edi, %edx
	testl	%ecx, %ecx
	cmovsl	%edi, %edx
	movl	%edx, (%rsi)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERFACE_MODE_MOCA,8,3    ## @PHY_INTERFACE_MODE_MOCA
	.comm	_PHY_MAX_ADDR,4,2               ## @PHY_MAX_ADDR
	.no_dead_strip	_bcmgenet_mii_pdata_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmgenet_mii_pdata_init
_bcmgenet_mii_pdata_init:               ; @bcmgenet_mii_pdata_init
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _PHY_INTERFACE_MODE_MOCA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PHY_INTERFACE_MODE_MOCA@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w8, [x8, #8]
Lloh3:
	adrp	x9, _PHY_MAX_ADDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_MAX_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w9, #-1
	ccmp	w8, w9, #4, lt
	mov	w9, #1
	lsl	w8, w9, w8
	csel	w8, w8, wzr, gt
	str	w8, [x1]
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERFACE_MODE_MOCA,8,3    ; @PHY_INTERFACE_MODE_MOCA
	.comm	_PHY_MAX_ADDR,4,2               ; @PHY_MAX_ADDR
	.no_dead_strip	_bcmgenet_mii_pdata_init
.subsections_via_symbols
