	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_phy_hw_reset               ## -- Begin function igb_phy_hw_reset
	.p2align	4, 0x90
_igb_phy_hw_reset:                      ## @igb_phy_hw_reset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_igb_check_reset_block
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	*24(%rdi)
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_E1000_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rd32
	movl	%eax, %r15d
	movl	(%r14), %edi
	movq	_E1000_CTRL_PHY_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r15d, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movl	(%rbx), %edi
	callq	_udelay
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movl	$150, %edi
	callq	_udelay
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*8(%rdi)                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_CTRL,4,2                 ## @E1000_CTRL
	.comm	_E1000_CTRL_PHY_RST,4,2         ## @E1000_CTRL_PHY_RST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_phy_hw_reset               ; -- Begin function igb_phy_hw_reset
	.p2align	2
_igb_phy_hw_reset:                      ; @igb_phy_hw_reset
	.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, x0
	bl	_igb_check_reset_block
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_4
LBB0_3:
	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
LBB0_4:
Lloh0:
	adrp	x21, _E1000_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _E1000_CTRL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
	mov	x20, x0
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _E1000_CTRL_PHY_RST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_CTRL_PHY_RST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w20
	bl	_wr32
	bl	_wrfl
	ldr	w0, [x19]
	bl	_udelay
	ldr	w0, [x21]
	mov	x1, x20
	bl	_wr32
	bl	_wrfl
	mov	w0, #150
	bl	_udelay
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	ldr	x1, [x19, #8]
	mov	x0, x19
	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
	br	x1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_CTRL,4,2                 ; @E1000_CTRL
	.comm	_E1000_CTRL_PHY_RST,4,2         ; @E1000_CTRL_PHY_RST
.subsections_via_symbols
