	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_phy_hw_reset_sgmii_82575
_igb_phy_hw_reset_sgmii_82575:          ## @igb_phy_hw_reset_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	movq	%rbx, %rdi
	movl	$27, %esi
	movl	$32900, %edx                    ## imm = 0x8084
	callq	*8(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_igb_phy_sw_reset
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	(%rbx), %rcx
	movq	_M88E1512_E_PHY_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_igb_initialize_M88E1512_phy
	movq	(%rbx), %rcx
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	_M88E1543_E_PHY_ID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_igb_initialize_M88E1543_phy    ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Soft resetting SGMII attached PHY...\n"

	.comm	_M88E1512_E_PHY_ID,8,3          ## @M88E1512_E_PHY_ID
	.comm	_M88E1543_E_PHY_ID,8,3          ## @M88E1543_E_PHY_ID
	.no_dead_strip	_igb_phy_hw_reset_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_phy_hw_reset_sgmii_82575
_igb_phy_hw_reset_sgmii_82575:          ; @igb_phy_hw_reset_sgmii_82575
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #27
	mov	w2, #32900
	blr	x8
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_igb_phy_sw_reset
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _M88E1512_E_PHY_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M88E1512_E_PHY_ID@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_igb_initialize_M88E1512_phy
	ldr	x8, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
Lloh5:
	adrp	x9, _M88E1543_E_PHY_ID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M88E1543_E_PHY_ID@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_igb_initialize_M88E1543_phy
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Soft resetting SGMII attached PHY...\n"

	.comm	_M88E1512_E_PHY_ID,8,3          ; @M88E1512_E_PHY_ID
	.comm	_M88E1543_E_PHY_ID,8,3          ; @M88E1543_E_PHY_ID
	.no_dead_strip	_igb_phy_hw_reset_sgmii_82575
.subsections_via_symbols
