	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_connector_port
_get_connector_port:                    ## @get_connector_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_MLX5E_CONNECTOR_TYPE_NUMBER@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_3
## %bb.2:
	movq	_ptys2connector_type@GOTPCREL(%rip), %rax
	shlq	$3, %rsi
	addq	(%rax), %rsi
	jmp	LBB0_10
LBB0_3:
	movq	_MLX5E_10GBASE_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r15d
	movq	_MLX5E_40GBASE_SR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_MLX5E_100GBASE_SR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r15d
	movq	_MLX5E_1000BASE_CX_SGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	orl	%r15d, %eax
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_5
## %bb.4:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
LBB0_5:
	movq	_MLX5E_40GBASE_CR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r15d
	movq	_MLX5E_10GBASE_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_MLX5E_100GBASE_CR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_7
## %bb.6:
	movq	_PORT_DA@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
LBB0_7:
	movq	_MLX5E_10GBASE_KX4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r15d
	movq	_MLX5E_10GBASE_KR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_MLX5E_40GBASE_KR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r15d
	movq	_MLX5E_100GBASE_KR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	orl	%r15d, %eax
	orl	%ebx, %eax
	testl	%r14d, %eax
	jne	LBB0_8
## %bb.9:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rsi
	jmp	LBB0_10
LBB0_8:
	movq	_PORT_NONE@GOTPCREL(%rip), %rsi
LBB0_10:
	movq	(%rsi), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_CONNECTOR_TYPE_NUMBER,8,3 ## @MLX5E_CONNECTOR_TYPE_NUMBER
	.comm	_ptys2connector_type,8,3        ## @ptys2connector_type
	.comm	_MLX5E_10GBASE_SR,4,2           ## @MLX5E_10GBASE_SR
	.comm	_MLX5E_40GBASE_SR4,4,2          ## @MLX5E_40GBASE_SR4
	.comm	_MLX5E_100GBASE_SR4,4,2         ## @MLX5E_100GBASE_SR4
	.comm	_MLX5E_1000BASE_CX_SGMII,4,2    ## @MLX5E_1000BASE_CX_SGMII
	.comm	_PORT_FIBRE,8,3                 ## @PORT_FIBRE
	.comm	_MLX5E_40GBASE_CR4,4,2          ## @MLX5E_40GBASE_CR4
	.comm	_MLX5E_10GBASE_CR,4,2           ## @MLX5E_10GBASE_CR
	.comm	_MLX5E_100GBASE_CR4,4,2         ## @MLX5E_100GBASE_CR4
	.comm	_PORT_DA,8,3                    ## @PORT_DA
	.comm	_MLX5E_10GBASE_KX4,4,2          ## @MLX5E_10GBASE_KX4
	.comm	_MLX5E_10GBASE_KR,4,2           ## @MLX5E_10GBASE_KR
	.comm	_MLX5E_40GBASE_KR4,4,2          ## @MLX5E_40GBASE_KR4
	.comm	_MLX5E_100GBASE_KR4,4,2         ## @MLX5E_100GBASE_KR4
	.comm	_PORT_NONE,8,3                  ## @PORT_NONE
	.comm	_PORT_OTHER,8,3                 ## @PORT_OTHER
	.no_dead_strip	_get_connector_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_connector_port
_get_connector_port:                    ; @get_connector_port
	.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, x0
	cbz	x1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _MLX5E_CONNECTOR_TYPE_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_CONNECTOR_TYPE_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ptys2connector_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptys2connector_type@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, x1, lsl #3
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _MLX5E_10GBASE_SR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5E_10GBASE_SR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	mov	x20, x0
Lloh9:
	adrp	x8, _MLX5E_40GBASE_SR4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5E_40GBASE_SR4@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w20, w0, w20
Lloh12:
	adrp	x8, _MLX5E_100GBASE_SR4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5E_100GBASE_SR4@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w20, w20, w0
Lloh15:
	adrp	x8, _MLX5E_1000BASE_CX_SGMII@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLX5E_1000BASE_CX_SGMII@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w8, w20, w0
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh20:
	adrp	x8, _MLX5E_40GBASE_CR4@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5E_40GBASE_CR4@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	mov	x20, x0
Lloh23:
	adrp	x8, _MLX5E_10GBASE_CR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MLX5E_10GBASE_CR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w20, w0, w20
Lloh26:
	adrp	x8, _MLX5E_100GBASE_CR4@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MLX5E_100GBASE_CR4@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w8, w20, w0
	tst	w8, w19
	b.eq	LBB0_7
; %bb.6:
Lloh29:
	adrp	x8, _PORT_DA@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PORT_DA@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh31:
	adrp	x8, _MLX5E_10GBASE_KX4@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MLX5E_10GBASE_KX4@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	mov	x20, x0
Lloh34:
	adrp	x8, _MLX5E_10GBASE_KR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MLX5E_10GBASE_KR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w20, w0, w20
Lloh37:
	adrp	x8, _MLX5E_40GBASE_KR4@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MLX5E_40GBASE_KR4@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w20, w20, w0
Lloh40:
	adrp	x8, _MLX5E_100GBASE_KR4@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MLX5E_100GBASE_KR4@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w8, w20, w0
Lloh43:
	adrp	x9, _PORT_NONE@GOTPAGE
Lloh44:
	ldr	x9, [x9, _PORT_NONE@GOTPAGEOFF]
Lloh45:
	adrp	x10, _PORT_OTHER@GOTPAGE
Lloh46:
	ldr	x10, [x10, _PORT_OTHER@GOTPAGEOFF]
	tst	w8, w19
	csel	x8, x10, x9, eq
LBB0_8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_CONNECTOR_TYPE_NUMBER,8,3 ; @MLX5E_CONNECTOR_TYPE_NUMBER
	.comm	_ptys2connector_type,8,3        ; @ptys2connector_type
	.comm	_MLX5E_10GBASE_SR,4,2           ; @MLX5E_10GBASE_SR
	.comm	_MLX5E_40GBASE_SR4,4,2          ; @MLX5E_40GBASE_SR4
	.comm	_MLX5E_100GBASE_SR4,4,2         ; @MLX5E_100GBASE_SR4
	.comm	_MLX5E_1000BASE_CX_SGMII,4,2    ; @MLX5E_1000BASE_CX_SGMII
	.comm	_PORT_FIBRE,8,3                 ; @PORT_FIBRE
	.comm	_MLX5E_40GBASE_CR4,4,2          ; @MLX5E_40GBASE_CR4
	.comm	_MLX5E_10GBASE_CR,4,2           ; @MLX5E_10GBASE_CR
	.comm	_MLX5E_100GBASE_CR4,4,2         ; @MLX5E_100GBASE_CR4
	.comm	_PORT_DA,8,3                    ; @PORT_DA
	.comm	_MLX5E_10GBASE_KX4,4,2          ; @MLX5E_10GBASE_KX4
	.comm	_MLX5E_10GBASE_KR,4,2           ; @MLX5E_10GBASE_KR
	.comm	_MLX5E_40GBASE_KR4,4,2          ; @MLX5E_40GBASE_KR4
	.comm	_MLX5E_100GBASE_KR4,4,2         ; @MLX5E_100GBASE_KR4
	.comm	_PORT_NONE,8,3                  ; @PORT_NONE
	.comm	_PORT_OTHER,8,3                 ; @PORT_OTHER
	.no_dead_strip	_get_connector_port
.subsections_via_symbols
