	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __get_link_speed
___get_link_speed:                      ## @__get_link_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	_BOND_LINK_UP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.1:
	movl	8(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_5
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_AD_LINK_SPEED_BITMASK_10000MBPS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_AD_LINK_SPEED_BITMASK_1000MBPS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_AD_LINK_SPEED_BITMASK_100MBPS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_AD_LINK_SPEED_BITMASK_10MBPS@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rbx
LBB0_10:
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_pr_debug
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_BOND_LINK_UP,8,3               ## @BOND_LINK_UP
	.comm	_AD_LINK_SPEED_BITMASK_10MBPS,8,3 ## @AD_LINK_SPEED_BITMASK_10MBPS
	.comm	_AD_LINK_SPEED_BITMASK_100MBPS,8,3 ## @AD_LINK_SPEED_BITMASK_100MBPS
	.comm	_AD_LINK_SPEED_BITMASK_1000MBPS,8,3 ## @AD_LINK_SPEED_BITMASK_1000MBPS
	.comm	_AD_LINK_SPEED_BITMASK_10000MBPS,8,3 ## @AD_LINK_SPEED_BITMASK_10000MBPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Port %d Received link speed %d update from adapter\n"

	.no_dead_strip	___get_link_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __get_link_speed
___get_link_speed:                      ; @__get_link_speed
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _BOND_LINK_UP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BOND_LINK_UP@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x8, #8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _AD_LINK_SPEED_BITMASK_10000MBPS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AD_LINK_SPEED_BITMASK_10000MBPS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	x19, #0
	b	LBB0_9
LBB0_5:
Lloh7:
	adrp	x8, _AD_LINK_SPEED_BITMASK_1000MBPS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AD_LINK_SPEED_BITMASK_1000MBPS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _AD_LINK_SPEED_BITMASK_100MBPS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AD_LINK_SPEED_BITMASK_100MBPS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _AD_LINK_SPEED_BITMASK_10MBPS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AD_LINK_SPEED_BITMASK_10MBPS@GOTPAGEOFF]
LBB0_8:
	ldr	x19, [x8]
LBB0_9:
	ldr	w1, [x0]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_pr_debug
	mov	x0, x19
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_BOND_LINK_UP,8,3               ; @BOND_LINK_UP
	.comm	_AD_LINK_SPEED_BITMASK_10MBPS,8,3 ; @AD_LINK_SPEED_BITMASK_10MBPS
	.comm	_AD_LINK_SPEED_BITMASK_100MBPS,8,3 ; @AD_LINK_SPEED_BITMASK_100MBPS
	.comm	_AD_LINK_SPEED_BITMASK_1000MBPS,8,3 ; @AD_LINK_SPEED_BITMASK_1000MBPS
	.comm	_AD_LINK_SPEED_BITMASK_10000MBPS,8,3 ; @AD_LINK_SPEED_BITMASK_10000MBPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Port %d Received link speed %d update from adapter\n"

	.no_dead_strip	___get_link_speed
.subsections_via_symbols
