	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_check_polarity_82577     ## -- Begin function e1000_check_polarity_82577
	.p2align	4, 0x90
_e1000_check_polarity_82577:            ## @e1000_check_polarity_82577
	.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	_I82577_PHY_STATUS_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_e1e_rphy
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_I82577_PHY_STATUS2_REV_POLARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-12(%rbp), %ecx
	jne	LBB0_2
## %bb.3:
	movq	_e1000_rev_polarity_normal@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_e1000_rev_polarity_reversed@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I82577_PHY_STATUS_2,4,2        ## @I82577_PHY_STATUS_2
	.comm	_I82577_PHY_STATUS2_REV_POLARITY,4,2 ## @I82577_PHY_STATUS2_REV_POLARITY
	.comm	_e1000_rev_polarity_reversed,4,2 ## @e1000_rev_polarity_reversed
	.comm	_e1000_rev_polarity_normal,4,2  ## @e1000_rev_polarity_normal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_check_polarity_82577     ; -- Begin function e1000_check_polarity_82577
	.p2align	2
_e1000_check_polarity_82577:            ; @e1000_check_polarity_82577
	.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
Lloh0:
	adrp	x8, _I82577_PHY_STATUS_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I82577_PHY_STATUS_2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_e1e_rphy
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _I82577_PHY_STATUS2_REV_POLARITY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I82577_PHY_STATUS2_REV_POLARITY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _e1000_rev_polarity_reversed@GOTPAGE
Lloh7:
	ldr	x10, [x10, _e1000_rev_polarity_reversed@GOTPAGEOFF]
Lloh8:
	adrp	x11, _e1000_rev_polarity_normal@GOTPAGE
Lloh9:
	ldr	x11, [x11, _e1000_rev_polarity_normal@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I82577_PHY_STATUS_2,4,2        ; @I82577_PHY_STATUS_2
	.comm	_I82577_PHY_STATUS2_REV_POLARITY,4,2 ; @I82577_PHY_STATUS2_REV_POLARITY
	.comm	_e1000_rev_polarity_reversed,4,2 ; @e1000_rev_polarity_reversed
	.comm	_e1000_rev_polarity_normal,4,2  ; @e1000_rev_polarity_normal
.subsections_via_symbols
