	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_conn_type_mismatch
_xgbe_phy_conn_type_mismatch:           ## @xgbe_phy_conn_type_mismatch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_7
## %bb.1:
	movl	$242, %edx
	btl	%ecx, %edx
	jae	LBB0_2
## %bb.4:
	movl	4(%rax), %ecx
	movq	_XGBE_CONN_TYPE_MDIO@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movl	$12, %edx
	btl	%ecx, %edx
	jae	LBB0_5
## %bb.3:
	movl	4(%rax), %ecx
	movq	_XGBE_CONN_TYPE_BACKPLANE@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movl	4(%rax), %ecx
	movq	_XGBE_CONN_TYPE_SFP@GOTPCREL(%rip), %rdx
LBB0_6:
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_8
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_CONN_TYPE_BACKPLANE,4,2   ## @XGBE_CONN_TYPE_BACKPLANE
	.comm	_XGBE_CONN_TYPE_MDIO,4,2        ## @XGBE_CONN_TYPE_MDIO
	.comm	_XGBE_CONN_TYPE_SFP,4,2         ## @XGBE_CONN_TYPE_SFP
	.no_dead_strip	_xgbe_phy_conn_type_mismatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_conn_type_mismatch
_xgbe_phy_conn_type_mismatch:           ; @xgbe_phy_conn_type_mismatch
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	sub	w9, w9, #128
	cmp	w9, #7
	b.hi	LBB0_9
; %bb.1:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #242
	tst	w9, w10
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [x8, #4]
Lloh0:
	adrp	x9, _XGBE_CONN_TYPE_MDIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_CONN_TYPE_MDIO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	tst	w9, #0xc
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [x8, #4]
Lloh3:
	adrp	x9, _XGBE_CONN_TYPE_BACKPLANE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XGBE_CONN_TYPE_BACKPLANE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _XGBE_CONN_TYPE_SFP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XGBE_CONN_TYPE_SFP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	ret
LBB0_9:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_CONN_TYPE_BACKPLANE,4,2   ; @XGBE_CONN_TYPE_BACKPLANE
	.comm	_XGBE_CONN_TYPE_MDIO,4,2        ; @XGBE_CONN_TYPE_MDIO
	.comm	_XGBE_CONN_TYPE_SFP,4,2         ; @XGBE_CONN_TYPE_SFP
	.no_dead_strip	_xgbe_phy_conn_type_mismatch
.subsections_via_symbols
