	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adin_config_init
_adin_config_init:                      ## @adin_config_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ETH_TP_MDI_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	callq	_adin_config_rgmii_mode
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_adin_config_rmii_mode
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_adin_set_downshift
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	_ETHTOOL_PHY_EDPD_DFLT_TX_MSECS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_adin_set_edpd
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_phy_modes
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_phydev_dbg
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_TP_MDI_AUTO,4,2            ## @ETH_TP_MDI_AUTO
	.comm	_ETHTOOL_PHY_EDPD_DFLT_TX_MSECS,4,2 ## @ETHTOOL_PHY_EDPD_DFLT_TX_MSECS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PHY is using mode '%s'\n"

	.no_dead_strip	_adin_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adin_config_init
_adin_config_init:                      ; @adin_config_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ETH_TP_MDI_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_TP_MDI_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	bl	_adin_config_rgmii_mode
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_adin_config_rmii_mode
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #4
	bl	_adin_set_downshift
	tbnz	w0, #31, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _ETHTOOL_PHY_EDPD_DFLT_TX_MSECS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_PHY_EDPD_DFLT_TX_MSECS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_adin_set_edpd
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	bl	_phy_modes
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_phydev_dbg
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_TP_MDI_AUTO,4,2            ; @ETH_TP_MDI_AUTO
	.comm	_ETHTOOL_PHY_EDPD_DFLT_TX_MSECS,4,2 ; @ETHTOOL_PHY_EDPD_DFLT_TX_MSECS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PHY is using mode '%s'\n"

	.no_dead_strip	_adin_config_init
.subsections_via_symbols
