	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_linkspeedext
_dump_linkspeedext:                     ## @dump_linkspeedext
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%edx, %edx
	je	LBB0_11
## %bb.1:
	movl	%edx, %r12d
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	testb	$1, %r12b
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rax, %rbx
LBB0_3:
	testb	$2, %r12b
	je	LBB0_6
## %bb.4:
	cmpl	%r15d, %ebx
	jge	LBB0_6
## %bb.5:
	movslq	%ebx, %rdi
	addq	%r14, %rdi
	movl	%r15d, %esi
	subl	%ebx, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_6:
	cmpl	%r15d, %ebx
	jge	LBB0_8
## %bb.7:
	cmpl	$4, %r12d
	jae	LBB0_12
LBB0_8:
	cmpl	$4, %r15d
	jl	LBB0_10
## %bb.9:
	movslq	%ebx, %rax
	movb	$0, -4(%rax,%r14)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_12:
	movslq	%ebx, %rax
	addq	%rax, %r14
	subl	%ebx, %r15d
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"14.0625 Gbps or "

L_.str.2:                               ## @.str.2
	.asciz	"25.78125 Gbps or "

L_.str.3:                               ## @.str.3
	.asciz	"undefined (%d)"

	.no_dead_strip	_dump_linkspeedext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_linkspeedext
_dump_linkspeedext:                     ; @dump_linkspeedext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	cbz	w2, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	tbnz	w2, #0, LBB0_4
; %bb.2:
	mov	w22, #0
	tbnz	w20, #1, LBB0_5
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_sprintf
LBB0_4:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_snprintf
	mov	x22, x0
	tbz	w20, #1, LBB0_7
LBB0_5:
	cmp	w22, w21
	b.ge	LBB0_7
; %bb.6:
	add	x0, x19, w22, sxtw
	sub	w1, w21, w22
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	add	w22, w22, w0
LBB0_7:
	cmp	w22, w21
	b.ge	LBB0_9
; %bb.8:
	cmp	w20, #4
	b.hs	LBB0_11
LBB0_9:
	cmp	w21, #4
	b.lt	LBB0_12
; %bb.10:
	add	x8, x19, w22, sxtw
	sturb	wzr, [x8, #-4]
	b	LBB0_12
LBB0_11:
	add	x0, x19, w22, sxtw
	sub	w1, w21, w22
	str	x20, [sp]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"14.0625 Gbps or "

l_.str.2:                               ; @.str.2
	.asciz	"25.78125 Gbps or "

l_.str.3:                               ; @.str.3
	.asciz	"undefined (%d)"

	.no_dead_strip	_dump_linkspeedext
.subsections_via_symbols
