	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ptys2ethtool_supported_advertised_port
_ptys2ethtool_supported_advertised_port: ## @ptys2ethtool_supported_advertised_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_MLX5E_CONNECTOR_TYPE_NUMBER@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_2
## %bb.6:
	addl	$-128, %edx
	cmpl	$7, %edx
	ja	LBB0_10
## %bb.7:
	movl	$249, %eax
	btl	%edx, %eax
	jae	LBB0_10
## %bb.8:
	movslq	%edx, %rax
	leaq	l_switch.table.ptys2ethtool_supported_advertised_port(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	jmp	LBB0_9
LBB0_2:
	movq	_MLX5E_10GBASE_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r12d
	movq	_MLX5E_10GBASE_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movq	_MLX5E_40GBASE_CR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r12d
	movq	_MLX5E_40GBASE_SR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %ebx
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	movq	_MLX5E_100GBASE_SR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r12d
	movq	_MLX5E_1000BASE_CX_SGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	orl	%r12d, %eax
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_4
## %bb.3:
	movq	_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIBRE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
LBB0_4:
	movq	_MLX5E_100GBASE_KR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r12d
	movq	_MLX5E_40GBASE_KR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movq	_MLX5E_10GBASE_KR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %r12d
	movq	_MLX5E_10GBASE_KX4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	movl	%eax, %ebx
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	movq	_MLX5E_1000BASE_KX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5E_PROT_MASK
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_10
## %bb.5:
	movq	_Backplane@GOTPCREL(%rip), %rbx
LBB0_9:
	movq	_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ethtool_link_ksettings_add_link_mode
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ethtool_link_ksettings_add_link_mode ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_CONNECTOR_TYPE_NUMBER,4,2 ## @MLX5E_CONNECTOR_TYPE_NUMBER
	.comm	_MLX5E_10GBASE_CR,4,2           ## @MLX5E_10GBASE_CR
	.comm	_MLX5E_10GBASE_SR,4,2           ## @MLX5E_10GBASE_SR
	.comm	_MLX5E_40GBASE_CR4,4,2          ## @MLX5E_40GBASE_CR4
	.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	_supported,4,2                  ## @supported
	.comm	_FIBRE,4,2                      ## @FIBRE
	.comm	_advertising,4,2                ## @advertising
	.comm	_MLX5E_100GBASE_KR4,4,2         ## @MLX5E_100GBASE_KR4
	.comm	_MLX5E_40GBASE_KR4,4,2          ## @MLX5E_40GBASE_KR4
	.comm	_MLX5E_10GBASE_KR,4,2           ## @MLX5E_10GBASE_KR
	.comm	_MLX5E_10GBASE_KX4,4,2          ## @MLX5E_10GBASE_KX4
	.comm	_MLX5E_1000BASE_KX,4,2          ## @MLX5E_1000BASE_KX
	.comm	_Backplane,4,2                  ## @Backplane
	.comm	_TP,4,2                         ## @TP
	.comm	_AUI,4,2                        ## @AUI
	.comm	_BNC,4,2                        ## @BNC
	.comm	_MII,4,2                        ## @MII
	.no_dead_strip	_ptys2ethtool_supported_advertised_port
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ptys2ethtool_supported_advertised_port
l_switch.table.ptys2ethtool_supported_advertised_port:
	.quad	_TP
	.quad	_TP
	.quad	_TP
	.quad	_MII
	.quad	_FIBRE
	.quad	_Backplane
	.quad	_BNC
	.quad	_AUI

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ptys2ethtool_supported_advertised_port
_ptys2ethtool_supported_advertised_port: ; @ptys2ethtool_supported_advertised_port
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	cbz	w2, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MLX5E_CONNECTOR_TYPE_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_CONNECTOR_TYPE_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_5
; %bb.2:
	sub	w8, w2, #128
	cmp	w8, #7
	b.hi	LBB0_10
; %bb.3:
	mov	w9, #249
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_10
; %bb.4:
Lloh3:
	adrp	x9, l_switch.table.ptys2ethtool_supported_advertised_port@PAGE
Lloh4:
	add	x9, x9, l_switch.table.ptys2ethtool_supported_advertised_port@PAGEOFF
	ldr	x20, [x9, w8, sxtw #3]
	b	LBB0_9
LBB0_5:
Lloh5:
	adrp	x8, _MLX5E_10GBASE_CR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5E_10GBASE_CR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	mov	x21, x0
Lloh8:
	adrp	x8, _MLX5E_10GBASE_SR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5E_10GBASE_SR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w0, w21
Lloh11:
	adrp	x8, _MLX5E_40GBASE_CR4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5E_40GBASE_CR4@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w21, w0
Lloh14:
	adrp	x8, _MLX5E_40GBASE_SR4@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX5E_40GBASE_SR4@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w21, w0
Lloh17:
	adrp	x8, _MLX5E_100GBASE_SR4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX5E_100GBASE_SR4@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w21, w0
Lloh20:
	adrp	x8, _MLX5E_1000BASE_CX_SGMII@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5E_1000BASE_CX_SGMII@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w8, w21, w0
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
Lloh23:
	adrp	x8, _supported@GOTPAGE
Lloh24:
	ldr	x8, [x8, _supported@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x21, _FIBRE@GOTPAGE
Lloh27:
	ldr	x21, [x21, _FIBRE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh28:
	adrp	x8, _advertising@GOTPAGE
Lloh29:
	ldr	x8, [x8, _advertising@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
LBB0_7:
Lloh31:
	adrp	x8, _MLX5E_100GBASE_KR4@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MLX5E_100GBASE_KR4@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	mov	x21, x0
Lloh34:
	adrp	x8, _MLX5E_40GBASE_KR4@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MLX5E_40GBASE_KR4@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w0, w21
Lloh37:
	adrp	x8, _MLX5E_10GBASE_KR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MLX5E_10GBASE_KR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w21, w0
Lloh40:
	adrp	x8, _MLX5E_10GBASE_KX4@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MLX5E_10GBASE_KX4@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w21, w21, w0
Lloh43:
	adrp	x8, _MLX5E_1000BASE_KX@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MLX5E_1000BASE_KX@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_MLX5E_PROT_MASK
	orr	w8, w21, w0
	tst	w8, w20
	b.eq	LBB0_10
; %bb.8:
Lloh46:
	adrp	x20, _Backplane@GOTPAGE
Lloh47:
	ldr	x20, [x20, _Backplane@GOTPAGEOFF]
LBB0_9:
Lloh48:
	adrp	x8, _supported@GOTPAGE
Lloh49:
	ldr	x8, [x8, _supported@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ethtool_link_ksettings_add_link_mode
Lloh51:
	adrp	x8, _advertising@GOTPAGE
Lloh52:
	ldr	x8, [x8, _advertising@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ethtool_link_ksettings_add_link_mode
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_CONNECTOR_TYPE_NUMBER,4,2 ; @MLX5E_CONNECTOR_TYPE_NUMBER
	.comm	_MLX5E_10GBASE_CR,4,2           ; @MLX5E_10GBASE_CR
	.comm	_MLX5E_10GBASE_SR,4,2           ; @MLX5E_10GBASE_SR
	.comm	_MLX5E_40GBASE_CR4,4,2          ; @MLX5E_40GBASE_CR4
	.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	_supported,4,2                  ; @supported
	.comm	_FIBRE,4,2                      ; @FIBRE
	.comm	_advertising,4,2                ; @advertising
	.comm	_MLX5E_100GBASE_KR4,4,2         ; @MLX5E_100GBASE_KR4
	.comm	_MLX5E_40GBASE_KR4,4,2          ; @MLX5E_40GBASE_KR4
	.comm	_MLX5E_10GBASE_KR,4,2           ; @MLX5E_10GBASE_KR
	.comm	_MLX5E_10GBASE_KX4,4,2          ; @MLX5E_10GBASE_KX4
	.comm	_MLX5E_1000BASE_KX,4,2          ; @MLX5E_1000BASE_KX
	.comm	_Backplane,4,2                  ; @Backplane
	.comm	_TP,4,2                         ; @TP
	.comm	_AUI,4,2                        ; @AUI
	.comm	_BNC,4,2                        ; @BNC
	.comm	_MII,4,2                        ; @MII
	.no_dead_strip	_ptys2ethtool_supported_advertised_port
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ptys2ethtool_supported_advertised_port
l_switch.table.ptys2ethtool_supported_advertised_port:
	.quad	_TP
	.quad	_TP
	.quad	_TP
	.quad	_MII
	.quad	_FIBRE
	.quad	_Backplane
	.quad	_BNC
	.quad	_AUI

.subsections_via_symbols
