	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_check_for_link_82575
_igb_check_for_link_82575:              ## @igb_check_for_link_82575
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_igb_check_for_copper_link      ## TAILCALL
LBB0_1:
	leaq	-16(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_igb_get_pcs_speed_and_duplex_82575
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_igb_config_fc_after_link_up
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error configuring flow control\n"

	.no_dead_strip	_igb_check_for_link_82575
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_check_for_link_82575
_igb_check_for_link_82575:              ; @igb_check_for_link_82575
	.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	x8, [x0, #8]
Lloh0:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_igb_check_for_copper_link
LBB0_2:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_igb_get_pcs_speed_and_duplex_82575
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
	mov	x0, x19
	bl	_igb_config_fc_after_link_up
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error configuring flow control\n"

	.no_dead_strip	_igb_check_for_link_82575
.subsections_via_symbols
