	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_initialize_M88E1543_phy    ## -- Begin function igb_initialize_M88E1543_phy
	.p2align	4, 0x90
_igb_initialize_M88E1543_phy:           ## @igb_initialize_M88E1543_phy
	.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
	movq	%rdi, %r14
	movq	_E1000_M88E1543_PAGE_ADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$255, %edx
	callq	*(%rdi)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	movq	_E1000_M88E1512_CFG_REG_2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$8523, %edx                     ## imm = 0x214B
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.2:
	movq	_E1000_M88E1512_CFG_REG_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$8516, %edx                     ## imm = 0x2144
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.3:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$3112, %edx                     ## imm = 0xC28
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$8518, %edx                     ## imm = 0x2146
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.5:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$45619, %edx                    ## imm = 0xB233
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.6:
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$8525, %edx                     ## imm = 0x214D
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.7:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$56332, %edx                    ## imm = 0xDC0C
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.8:
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$8537, %edx                     ## imm = 0x2159
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.9:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$251, %edx
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:
	movq	_E1000_M88E1512_CFG_REG_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3085, %edx                     ## imm = 0xC0D
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.11:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$18, %edx
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.12:
	movq	_E1000_M88E1512_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$32769, %edx                    ## imm = 0x8001
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movq	_E1000_M88E1543_FIBER_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$37184, %edx                    ## imm = 0x9140
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.15:
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*(%r14)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	callq	_igb_phy_sw_reset
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	jmp	LBB0_19
LBB0_18:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	xorl	%ebx, %ebx
LBB0_19:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_M88E1543_PAGE_ADDR,4,2   ## @E1000_M88E1543_PAGE_ADDR
	.comm	_E1000_M88E1512_CFG_REG_2,4,2   ## @E1000_M88E1512_CFG_REG_2
	.comm	_E1000_M88E1512_CFG_REG_1,4,2   ## @E1000_M88E1512_CFG_REG_1
	.comm	_E1000_M88E1512_CFG_REG_3,4,2   ## @E1000_M88E1512_CFG_REG_3
	.comm	_E1000_M88E1512_MODE,4,2        ## @E1000_M88E1512_MODE
	.comm	_E1000_M88E1543_FIBER_CTRL,4,2  ## @E1000_M88E1543_FIBER_CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error committing the PHY changes\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_initialize_M88E1543_phy    ; -- Begin function igb_initialize_M88E1543_phy
	.p2align	2
_igb_initialize_M88E1543_phy:           ; @igb_initialize_M88E1543_phy
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _E1000_M88E1543_PAGE_ADDR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _E1000_M88E1543_PAGE_ADDR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #255
	blr	x8
	cbnz	x0, LBB0_19
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _E1000_M88E1512_CFG_REG_2@GOTPAGE
Lloh3:
	ldr	x21, [x21, _E1000_M88E1512_CFG_REG_2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #8523
	blr	x8
	cbnz	x0, LBB0_19
; %bb.2:
	ldr	x8, [x19]
Lloh4:
	adrp	x22, _E1000_M88E1512_CFG_REG_1@GOTPAGE
Lloh5:
	ldr	x22, [x22, _E1000_M88E1512_CFG_REG_1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #8516
	blr	x8
	cbnz	x0, LBB0_19
; %bb.3:
	ldr	x8, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #3112
	blr	x8
	cbnz	x0, LBB0_19
; %bb.4:
	ldr	x8, [x19]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #8518
	blr	x8
	cbnz	x0, LBB0_19
; %bb.5:
	ldr	x8, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #45619
	blr	x8
	cbnz	x0, LBB0_19
; %bb.6:
	ldr	x8, [x19]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #8525
	blr	x8
	cbnz	x0, LBB0_19
; %bb.7:
	ldr	x8, [x19]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #56332
	blr	x8
	cbnz	x0, LBB0_19
; %bb.8:
	ldr	x8, [x19]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #8537
	blr	x8
	cbnz	x0, LBB0_19
; %bb.9:
	ldr	x8, [x19]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #251
	blr	x8
	cbnz	x0, LBB0_19
; %bb.10:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _E1000_M88E1512_CFG_REG_3@GOTPAGE
Lloh7:
	ldr	x9, [x9, _E1000_M88E1512_CFG_REG_3@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #3085
	blr	x8
	cbnz	x0, LBB0_19
; %bb.11:
	ldr	x8, [x19]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #18
	blr	x8
	cbnz	x0, LBB0_19
; %bb.12:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _E1000_M88E1512_MODE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_M88E1512_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #32769
	blr	x8
	cbnz	x0, LBB0_19
; %bb.13:
	ldr	x8, [x19]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	blr	x8
	cbnz	x0, LBB0_19
; %bb.14:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _E1000_M88E1543_FIBER_CTRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _E1000_M88E1543_FIBER_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #37184
	blr	x8
	cbnz	x0, LBB0_19
; %bb.15:
	ldr	x8, [x19]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	cbnz	x0, LBB0_19
; %bb.16:
	mov	x0, x19
	bl	_igb_phy_sw_reset
	cbz	x0, LBB0_18
; %bb.17:
	mov	x19, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	mov	x0, x19
	b	LBB0_19
LBB0_18:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, #0
LBB0_19:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_M88E1543_PAGE_ADDR,4,2   ; @E1000_M88E1543_PAGE_ADDR
	.comm	_E1000_M88E1512_CFG_REG_2,4,2   ; @E1000_M88E1512_CFG_REG_2
	.comm	_E1000_M88E1512_CFG_REG_1,4,2   ; @E1000_M88E1512_CFG_REG_1
	.comm	_E1000_M88E1512_CFG_REG_3,4,2   ; @E1000_M88E1512_CFG_REG_3
	.comm	_E1000_M88E1512_MODE,4,2        ; @E1000_M88E1512_MODE
	.comm	_E1000_M88E1543_FIBER_CTRL,4,2  ; @E1000_M88E1543_FIBER_CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error committing the PHY changes\n"

.subsections_via_symbols
