	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_get_port_type
_be_get_port_type:                      ## @be_get_port_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_7
## %bb.1:
	movq	_PORT_TP@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_SFP_PLUS_COPPER_CABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_QSFP_PLUS_CR4_CABLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	jne	LBB0_6
LBB0_4:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_PORT_DA@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_SFP_PLUS_COPPER_CABLE,4,2      ## @SFP_PLUS_COPPER_CABLE
	.comm	_PORT_DA,4,2                    ## @PORT_DA
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_QSFP_PLUS_CR4_CABLE,4,2        ## @QSFP_PLUS_CR4_CABLE
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.no_dead_strip	_be_get_port_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_get_port_type
_be_get_port_type:                      ; @be_get_port_type
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #7
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _PORT_TP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_TP@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh4:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh7:
	adrp	x8, _PORT_OTHER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PORT_OTHER@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
LBB0_5:
	ldr	w8, [x0, #4]
Lloh10:
	adrp	x9, _SFP_PLUS_COPPER_CABLE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SFP_PLUS_COPPER_CABLE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x0, #4]
Lloh12:
	adrp	x9, _QSFP_PLUS_CR4_CABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QSFP_PLUS_CR4_CABLE@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _PORT_DA@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PORT_DA@GOTPAGEOFF]
Lloh16:
	adrp	x11, _PORT_FIBRE@GOTPAGE
Lloh17:
	ldr	x11, [x11, _PORT_FIBRE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_SFP_PLUS_COPPER_CABLE,4,2      ; @SFP_PLUS_COPPER_CABLE
	.comm	_PORT_DA,4,2                    ; @PORT_DA
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_QSFP_PLUS_CR4_CABLE,4,2        ; @QSFP_PLUS_CR4_CABLE
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.no_dead_strip	_be_get_port_type
.subsections_via_symbols
