	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port_has_10g
_port_has_10g:                          ## @port_has_10g
	.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), %r8
	movq	_PHY_TYPE_PMA_PMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r8,%rax,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movq	8(%rdi), %rdx
	movq	(%rdx,%rax,8), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rdx,%rax,4)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_2
LBB0_4:
	movq	_PHY_TYPE_PCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r8,%rcx,4), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:
	movq	8(%rdi), %rdx
	movq	(%rdx,%rcx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rcx,%rdx,4)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_6
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TYPE_PMA_PMD,8,3           ## @PHY_TYPE_PMA_PMD
	.comm	_PHY_TYPE_PCS,8,3               ## @PHY_TYPE_PCS
	.no_dead_strip	_port_has_10g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port_has_10g
_port_has_10g:                          ; @port_has_10g
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PHY_TYPE_PMA_PMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_TYPE_PMA_PMD@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
	ldr	w9, [x8, x10, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x11, [x0, #8]
	ldr	x10, [x11, x10, lsl #3]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w11, w1
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #4
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
Lloh3:
	adrp	x9, _PHY_TYPE_PCS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_TYPE_PCS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x10, [x0, #8]
	ldr	x9, [x10, x9, lsl #3]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w1
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_8:
	mov	w0, #0
	ret
LBB0_9:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TYPE_PMA_PMD,8,3           ; @PHY_TYPE_PMA_PMD
	.comm	_PHY_TYPE_PCS,8,3               ; @PHY_TYPE_PCS
	.no_dead_strip	_port_has_10g
.subsections_via_symbols
