	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_read_phy_reg_sgmii_82575
_igb_read_phy_reg_sgmii_82575:          ## @igb_read_phy_reg_sgmii_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_E1000_MAX_SGMII_PHY_REG_ADDR@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jge	LBB0_2
## %bb.1:
	movq	_E1000_ERR_PARAM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_hw_dbg
	jmp	LBB0_4
LBB0_2:
	movq	%rdx, %r15
	movq	%rdi, %r12
	callq	*8(%rdi)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_igb_read_phy_reg_i2c
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	*(%r12)
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_PARAM,8,3            ## @E1000_ERR_PARAM
	.comm	_E1000_MAX_SGMII_PHY_REG_ADDR,8,3 ## @E1000_MAX_SGMII_PHY_REG_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PHY Address %u is out of range\n"

	.no_dead_strip	_igb_read_phy_reg_sgmii_82575
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_read_phy_reg_sgmii_82575
_igb_read_phy_reg_sgmii_82575:          ; @igb_read_phy_reg_sgmii_82575
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
Lloh0:
	adrp	x8, _E1000_MAX_SGMII_PHY_REG_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_MAX_SGMII_PHY_REG_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _E1000_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	neg	x22, x8
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_hw_dbg
	b	LBB0_3
LBB0_2:
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x0, #8]
	blr	x8
	mov	x22, x0
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x22
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_igb_read_phy_reg_i2c
	mov	x19, x0
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	mov	x0, x19
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_PARAM,8,3            ; @E1000_ERR_PARAM
	.comm	_E1000_MAX_SGMII_PHY_REG_ADDR,8,3 ; @E1000_MAX_SGMII_PHY_REG_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PHY Address %u is out of range\n"

	.no_dead_strip	_igb_read_phy_reg_sgmii_82575
.subsections_via_symbols
