	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6123_61_65_probe
_mv88e6123_61_65_probe:                 ## @mv88e6123_61_65_probe
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_REG_PORT
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	$3, %ecx
	callq	___mv88e6xxx_reg_read
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	andl	$65520, %eax                    ## imm = 0xFFF0
	cmpl	$4624, %eax                     ## imm = 0x1210
	je	LBB0_2
## %bb.3:
	movzwl	%ax, %eax
	cmpl	$5712, %eax                     ## imm = 0x1650
	je	LBB0_6
## %bb.4:
	cmpl	$5648, %eax                     ## imm = 0x1610
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Marvell 88E6123"

L_.str.1:                               ## @.str.1
	.asciz	"Marvell 88E6161"

L_.str.2:                               ## @.str.2
	.asciz	"Marvell 88E6165"

	.no_dead_strip	_mv88e6123_61_65_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6123_61_65_probe
_mv88e6123_61_65_probe:                 ; @mv88e6123_61_65_probe
	.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, x1
	mov	x20, x0
	mov	w0, #0
	bl	_REG_PORT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	w3, #3
	bl	___mv88e6xxx_reg_read
	tbnz	w0, #31, LBB0_5
; %bb.1:
	and	w8, w0, #0xfff0
	mov	w9, #4624
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
	mov	w9, #5712
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.3:
	mov	w9, #5648
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
	mov	x0, #0
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Marvell 88E6123"

l_.str.1:                               ; @.str.1
	.asciz	"Marvell 88E6161"

l_.str.2:                               ; @.str.2
	.asciz	"Marvell 88E6165"

	.no_dead_strip	_mv88e6123_61_65_probe
.subsections_via_symbols
