	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_phy_read_status
_b53_phy_read_status:                   ## @b53_phy_read_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	%r14, %rdi
	callq	_is5325
	movl	$100, %ecx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_is5365
	testq	%rax, %rax
	movl	$1000, %eax                     ## imm = 0x3E8
	movl	$100, %ecx
	cmovel	%eax, %ecx
LBB0_2:
	movl	%ecx, (%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$1, 4(%rbx)
	movq	_PHY_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	8(%rbx), %edi
	callq	_netif_carrier_on
	movl	8(%rbx), %edi
	callq	*16(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_PHY_RUNNING,4,2                ## @PHY_RUNNING
	.no_dead_strip	_b53_phy_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_phy_read_status
_b53_phy_read_status:                   ; @b53_phy_read_status
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
	mov	x0, x20
	bl	_is5325
	mov	w21, #100
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_is5365
	cmp	x0, #0
	mov	w8, #1000
	csel	w21, w8, w21, eq
LBB0_2:
Lloh0:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
	mov	w9, #1
	stp	w21, w9, [x19]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PHY_RUNNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_RUNNING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	w0, [x19, #8]
	bl	_netif_carrier_on
	ldr	x8, [x19, #16]
	ldr	w0, [x19, #8]
	blr	x8
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_PHY_RUNNING,4,2                ; @PHY_RUNNING
	.no_dead_strip	_b53_phy_read_status
.subsections_via_symbols
