	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88e1318_config_init
_m88e1318_config_init:                  ## @m88e1318_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
	callq	_phy_interrupt_is_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_MII_MARVELL_LED_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MII_88E1318S_PHY_LED_TCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MII_88E1318S_PHY_LED_TCR_FORCE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MII_88E1318S_PHY_LED_TCR_INTn_ENABLE@GOTPCREL(%rip), %rax
	movq	_MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	orl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_phy_modify_paged
	testl	%eax, %eax
	js	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_marvell_config_init            ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_MARVELL_LED_PAGE,4,2       ## @MII_MARVELL_LED_PAGE
	.comm	_MII_88E1318S_PHY_LED_TCR,4,2   ## @MII_88E1318S_PHY_LED_TCR
	.comm	_MII_88E1318S_PHY_LED_TCR_FORCE_INT,4,2 ## @MII_88E1318S_PHY_LED_TCR_FORCE_INT
	.comm	_MII_88E1318S_PHY_LED_TCR_INTn_ENABLE,4,2 ## @MII_88E1318S_PHY_LED_TCR_INTn_ENABLE
	.comm	_MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW,4,2 ## @MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW
	.no_dead_strip	_m88e1318_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88e1318_config_init
_m88e1318_config_init:                  ; @m88e1318_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
	bl	_phy_interrupt_is_valid
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MII_MARVELL_LED_PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_MARVELL_LED_PAGE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MII_88E1318S_PHY_LED_TCR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MII_88E1318S_PHY_LED_TCR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x8, _MII_88E1318S_PHY_LED_TCR_FORCE_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_88E1318S_PHY_LED_TCR_FORCE_INT@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MII_88E1318S_PHY_LED_TCR_INTn_ENABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MII_88E1318S_PHY_LED_TCR_INTn_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	ldr	w8, [x9]
Lloh12:
	adrp	x9, _MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	bl	_phy_modify_paged
	tbnz	w0, #31, LBB0_3
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_marvell_config_init
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_MARVELL_LED_PAGE,4,2       ; @MII_MARVELL_LED_PAGE
	.comm	_MII_88E1318S_PHY_LED_TCR,4,2   ; @MII_88E1318S_PHY_LED_TCR
	.comm	_MII_88E1318S_PHY_LED_TCR_FORCE_INT,4,2 ; @MII_88E1318S_PHY_LED_TCR_FORCE_INT
	.comm	_MII_88E1318S_PHY_LED_TCR_INTn_ENABLE,4,2 ; @MII_88E1318S_PHY_LED_TCR_INTn_ENABLE
	.comm	_MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW,4,2 ; @MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW
	.no_dead_strip	_m88e1318_config_init
.subsections_via_symbols
