	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sfp_parse_port                 ## -- Begin function sfp_parse_port
	.p2align	4, 0x90
_sfp_parse_port:                        ## @sfp_parse_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	(%rsi), %edx
	leal	-128(%rdx), %eax
	cmpl	$14, %eax
	ja	LBB0_5
## %bb.1:
	movl	$144, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	testq	%r14, %r14
	je	LBB0_14
## %bb.9:
	cmpl	$144, %ebx
	je	LBB0_10
## %bb.11:
	cmpl	$143, %ebx
	jne	LBB0_14
## %bb.12:
	movq	_TP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_FIBRE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_phylink_set
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	jmp	LBB0_6
LBB0_4:
	movl	$143, %ebx
	cmpl	$0, 4(%rsi)
	jne	LBB0_8
	jmp	LBB0_6
LBB0_2:
	movl	$143, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	_PORT_DA@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_PORT_DA,4,2                    ## @PORT_DA
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SFP: unknown connector id 0x%02x\n"

	.comm	_FIBRE,4,2                      ## @FIBRE
	.comm	_TP,4,2                         ## @TP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sfp_parse_port                 ; -- Begin function sfp_parse_port
	.p2align	2
_sfp_parse_port:                        ; @sfp_parse_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, x2
	ldr	w2, [x1]
	sub	w8, w2, #128
	cmp	w8, #14
	b.hi	LBB0_11
; %bb.1:
	mov	w20, #144
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _PORT_OTHER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_OTHER@GOTPAGEOFF]
LBB0_3:
	ldr	w20, [x8]
LBB0_4:
	cbz	x19, LBB0_10
LBB0_5:
	cmp	w20, #144
	b.eq	LBB0_8
; %bb.6:
	cmp	w20, #143
	b.ne	LBB0_10
; %bb.7:
Lloh4:
	adrp	x8, _TP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TP@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _FIBRE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FIBRE@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phylink_set
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w0, [x0]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_2
LBB0_12:
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_2
LBB0_13:
	mov	w20, #143
	cbnz	x19, LBB0_5
	b	LBB0_10
LBB0_14:
Lloh10:
	adrp	x8, _PORT_DA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PORT_DA@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_PORT_DA,4,2                    ; @PORT_DA
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SFP: unknown connector id 0x%02x\n"

	.comm	_FIBRE,4,2                      ; @FIBRE
	.comm	_TP,4,2                         ; @TP
.subsections_via_symbols
