	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8367b_mii_read
_rtl8367b_mii_read:                     ## @rtl8367b_mii_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rdi
	movl	$0, -4(%rbp)
	leaq	-4(%rbp), %rcx
	callq	_rtl8367b_read_phy_reg
	movl	%eax, %ecx
	movl	$65535, %eax                    ## imm = 0xFFFF
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movl	-4(%rbp), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl8367b_mii_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8367b_mii_read
_rtl8367b_mii_read:                     ; @rtl8367b_mii_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x0, [x0]
	stur	wzr, [x29, #-4]
	sub	x3, x29, #4
	bl	_rtl8367b_read_phy_reg
	ldur	w8, [x29, #-4]
	mov	w9, #65535
	cmp	w0, #0
	csel	w0, w8, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl8367b_mii_read
.subsections_via_symbols
