	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipg_set_phy_default_param
_ipg_set_phy_default_param:             ## @ipg_set_phy_default_param
	.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
	movq	_DefaultPhyParam@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movzwl	(%r12), %eax
	movl	%eax, %ebx
	andw	$255, %bx
	je	LBB0_6
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addq	$2, %r12
	shrl	$8, %eax
	cmpb	%dil, %al
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	andl	$65534, %ebx                    ## imm = 0xFFFE
	movzwl	(%r12,%rbx), %eax
	addq	%rbx, %r12
	movl	%eax, %ebx
	andw	$255, %bx
	jne	LBB0_2
	jmp	LBB0_6
LBB0_3:
	cmpw	$2, %bx
	jb	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	(%r12), %edx
	movzwl	2(%r12), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mdio_write
	addl	$-4, %ebx
	addq	$4, %r12
	cmpw	$1, %bx
	ja	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DefaultPhyParam,8,3            ## @DefaultPhyParam
	.no_dead_strip	_ipg_set_phy_default_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipg_set_phy_default_param
_ipg_set_phy_default_param:             ; @ipg_set_phy_default_param
	.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
Lloh0:
	adrp	x8, _DefaultPhyParam@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DefaultPhyParam@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrh	w9, [x8]
	ands	w21, w9, #0xff
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	lsr	w9, w9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x8, #2
	cmp	w9, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	and	x8, x21, #0xfffe
	add	x8, x22, x8
	ldrh	w10, [x8]
	lsr	w9, w10, #8
	ands	w21, w10, #0xff
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	and	w8, w21, #0xffff
	cmp	w8, #2
	b.lo	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrh	w2, [x22]
	ldrh	w3, [x22, #2]
	mov	x0, x20
	mov	x1, x19
	bl	_mdio_write
	sub	w21, w21, #4
	and	w8, w21, #0xffff
	add	x22, x22, #4
	cmp	w8, #1
	b.hi	LBB0_5
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DefaultPhyParam,8,3            ; @DefaultPhyParam
	.no_dead_strip	_ipg_set_phy_default_param
.subsections_via_symbols
