	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __e1000e_read_phy_reg_igp
___e1000e_read_phy_reg_igp:             ## @__e1000e_read_phy_reg_igp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	testl	%ecx, %ecx
	je	LBB0_1
LBB0_4:
	movq	_MAX_PHY_MULTI_PAGE_REG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_6
## %bb.5:
	movq	_IGP01E1000_PHY_PAGE_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_e1000e_write_phy_reg_mdic
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movq	_MAX_PHY_REG_ADDRESS@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_e1000e_read_phy_reg_mdic
	movq	%rax, %r13
LBB0_7:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	*(%r12)
	jmp	LBB0_9
LBB0_1:
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	callq	*%rax
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_4
LBB0_2:
	xorl	%r13d, %r13d
LBB0_9:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PHY_MULTI_PAGE_REG,4,2     ## @MAX_PHY_MULTI_PAGE_REG
	.comm	_IGP01E1000_PHY_PAGE_SELECT,4,2 ## @IGP01E1000_PHY_PAGE_SELECT
	.comm	_MAX_PHY_REG_ADDRESS,4,2        ## @MAX_PHY_REG_ADDRESS
	.no_dead_strip	___e1000e_read_phy_reg_igp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __e1000e_read_phy_reg_igp
___e1000e_read_phy_reg_igp:             ; @__e1000e_read_phy_reg_igp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cbz	w3, LBB0_6
LBB0_1:
Lloh0:
	adrp	x8, _MAX_PHY_MULTI_PAGE_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PHY_MULTI_PAGE_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ge	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IGP01E1000_PHY_PAGE_SELECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGP01E1000_PHY_PAGE_SELECT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_e1000e_write_phy_reg_mdic
	mov	x23, x0
	cbnz	x0, LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _MAX_PHY_REG_ADDRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_PHY_REG_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w1, w8, w22
	mov	x0, x19
	mov	x2, x21
	bl	_e1000e_read_phy_reg_mdic
	mov	x23, x0
LBB0_4:
	cbnz	w20, LBB0_9
; %bb.5:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_9
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	blr	x8
	mov	x23, x0
	cbnz	x0, LBB0_9
	b	LBB0_1
LBB0_8:
	mov	x23, #0
LBB0_9:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PHY_MULTI_PAGE_REG,4,2     ; @MAX_PHY_MULTI_PAGE_REG
	.comm	_IGP01E1000_PHY_PAGE_SELECT,4,2 ; @IGP01E1000_PHY_PAGE_SELECT
	.comm	_MAX_PHY_REG_ADDRESS,4,2        ; @MAX_PHY_REG_ADDRESS
	.no_dead_strip	___e1000e_read_phy_reg_igp
.subsections_via_symbols
