	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_check_polarity_ife       ## -- Begin function e1000_check_polarity_ife
	.p2align	4, 0x90
_e1000_check_polarity_ife:              ## @e1000_check_polarity_ife
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_IFE_PSC_FORCE_POLARITY@GOTPCREL(%rip), %rax
	movq	_IFE_PESC_POLARITY_REVERSED@GOTPCREL(%rip), %rcx
	testq	%r14, %r14
	jne	LBB0_1
## %bb.2:
	movq	_IFE_PHY_SPECIAL_CONTROL@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_IFE_PHY_EXTENDED_STATUS_CONTROL@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	(%rax), %r12d
	movl	(%rcx), %ebx
	movl	(%rdx), %esi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_e1e_rphy
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	testq	%r14, %r14
	cmovel	%r12d, %ebx
	andl	-36(%rbp), %ebx
	jne	LBB0_5
## %bb.6:
	movq	_e1000_rev_polarity_normal@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_e1000_rev_polarity_reversed@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, (%r15)
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFE_PHY_EXTENDED_STATUS_CONTROL,4,2 ## @IFE_PHY_EXTENDED_STATUS_CONTROL
	.comm	_IFE_PESC_POLARITY_REVERSED,4,2 ## @IFE_PESC_POLARITY_REVERSED
	.comm	_IFE_PHY_SPECIAL_CONTROL,4,2    ## @IFE_PHY_SPECIAL_CONTROL
	.comm	_IFE_PSC_FORCE_POLARITY,4,2     ## @IFE_PSC_FORCE_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_ife       ; -- Begin function e1000_check_polarity_ife
	.p2align	2
_e1000_check_polarity_ife:              ; @e1000_check_polarity_ife
	.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
Lloh0:
	adrp	x8, _IFE_PSC_FORCE_POLARITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFE_PSC_FORCE_POLARITY@GOTPAGEOFF]
	ldr	x21, [x0, #8]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _IFE_PESC_POLARITY_REVERSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFE_PESC_POLARITY_REVERSED@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IFE_PHY_SPECIAL_CONTROL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFE_PHY_SPECIAL_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _IFE_PHY_EXTENDED_STATUS_CONTROL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFE_PHY_EXTENDED_STATUS_CONTROL@GOTPAGEOFF]
	cmp	x21, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_e1e_rphy
	cbnz	w0, LBB0_2
; %bb.1:
	cmp	x21, #0
	csel	w8, w20, w22, eq
	ldr	w9, [sp, #12]
Lloh10:
	adrp	x10, _e1000_rev_polarity_reversed@GOTPAGE
Lloh11:
	ldr	x10, [x10, _e1000_rev_polarity_reversed@GOTPAGEOFF]
Lloh12:
	adrp	x11, _e1000_rev_polarity_normal@GOTPAGE
Lloh13:
	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, #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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFE_PHY_EXTENDED_STATUS_CONTROL,4,2 ; @IFE_PHY_EXTENDED_STATUS_CONTROL
	.comm	_IFE_PESC_POLARITY_REVERSED,4,2 ; @IFE_PESC_POLARITY_REVERSED
	.comm	_IFE_PHY_SPECIAL_CONTROL,4,2    ; @IFE_PHY_SPECIAL_CONTROL
	.comm	_IFE_PSC_FORCE_POLARITY,4,2     ; @IFE_PSC_FORCE_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
