	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_check_downshift            ## -- Begin function igb_check_downshift
	.p2align	4, 0x90
_igb_check_downshift:                   ## @igb_check_downshift
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	xorl	%eax, %eax
	cmpl	$5, %ecx
	ja	LBB0_3
## %bb.1:
	movslq	%ecx, %rax
	leaq	l_switch.table.igb_check_downshift(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.igb_check_downshift.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %r14d
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	testl	%r14d, -20(%rbp)
	setne	%al
LBB0_3:
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M88E1000_PHY_SPEC_STATUS,4,2   ## @M88E1000_PHY_SPEC_STATUS
	.comm	_M88E1000_PSSR_DOWNSHIFT,4,2    ## @M88E1000_PSSR_DOWNSHIFT
	.comm	_IGP01E1000_PHY_LINK_HEALTH,4,2 ## @IGP01E1000_PHY_LINK_HEALTH
	.comm	_IGP01E1000_PLHR_SS_DOWNGRADE,4,2 ## @IGP01E1000_PLHR_SS_DOWNGRADE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.igb_check_downshift
l_switch.table.igb_check_downshift:
	.quad	_M88E1000_PHY_SPEC_STATUS
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_M88E1000_PHY_SPEC_STATUS
	.quad	_M88E1000_PHY_SPEC_STATUS

	.p2align	3                               ## @switch.table.igb_check_downshift.1
l_switch.table.igb_check_downshift.1:
	.quad	_M88E1000_PSSR_DOWNSHIFT
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_M88E1000_PSSR_DOWNSHIFT
	.quad	_M88E1000_PSSR_DOWNSHIFT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_check_downshift            ; -- Begin function igb_check_downshift
	.p2align	2
_igb_check_downshift:                   ; @igb_check_downshift
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.igb_check_downshift@PAGE
Lloh1:
	add	x9, x9, l_switch.table.igb_check_downshift@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.igb_check_downshift.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.igb_check_downshift.1@PAGEOFF
	ldr	x8, [x10, x8]
	ldr	w20, [x8]
	ldr	w1, [x9]
	ldr	x8, [x19, #8]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
	tst	w8, w20
	cset	w8, ne
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	mov	w0, #0
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M88E1000_PHY_SPEC_STATUS,4,2   ; @M88E1000_PHY_SPEC_STATUS
	.comm	_M88E1000_PSSR_DOWNSHIFT,4,2    ; @M88E1000_PSSR_DOWNSHIFT
	.comm	_IGP01E1000_PHY_LINK_HEALTH,4,2 ; @IGP01E1000_PHY_LINK_HEALTH
	.comm	_IGP01E1000_PLHR_SS_DOWNGRADE,4,2 ; @IGP01E1000_PLHR_SS_DOWNGRADE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.igb_check_downshift
l_switch.table.igb_check_downshift:
	.quad	_M88E1000_PHY_SPEC_STATUS
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_IGP01E1000_PHY_LINK_HEALTH
	.quad	_M88E1000_PHY_SPEC_STATUS
	.quad	_M88E1000_PHY_SPEC_STATUS

	.p2align	3                               ; @switch.table.igb_check_downshift.1
l_switch.table.igb_check_downshift.1:
	.quad	_M88E1000_PSSR_DOWNSHIFT
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_IGP01E1000_PLHR_SS_DOWNGRADE
	.quad	_M88E1000_PSSR_DOWNSHIFT
	.quad	_M88E1000_PSSR_DOWNSHIFT

.subsections_via_symbols
